2019-12-06 03:29:40 +00:00
|
|
|
.class public Lcom/lytefast/flexinput/adapters/FileListAdapter$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
|
|
|
|
.source "FileListAdapter.kt"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x1
|
|
|
|
name = "b"
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final a:Landroid/animation/AnimatorSet;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final b:Landroid/animation/AnimatorSet;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public d:Landroid/widget/ImageView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public e:Landroid/widget/TextView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public f:Landroid/widget/TextView;
|
2019-12-03 21:42:56 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public g:Lcom/lytefast/flexinput/model/Attachment;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Lcom/lytefast/flexinput/model/Attachment<",
|
|
|
|
"+",
|
|
|
|
"Ljava/io/File;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
.field public final synthetic h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method public constructor <init>(Lcom/lytefast/flexinput/adapters/FileListAdapter;Landroid/view/View;)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"(",
|
|
|
|
"Landroid/view/View;",
|
|
|
|
")V"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz p2, :cond_2
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-direct {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V
|
|
|
|
|
|
|
|
sget p1, Lcom/lytefast/flexinput/R$e;->thumb_iv:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "itemView.findViewById(R.id.thumb_iv)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget p1, Lcom/lytefast/flexinput/R$e;->type_iv:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "itemView.findViewById(R.id.type_iv)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/ImageView;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->d:Landroid/widget/ImageView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget p1, Lcom/lytefast/flexinput/R$e;->file_name_tv:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "itemView.findViewById(R.id.file_name_tv)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->e:Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget p1, Lcom/lytefast/flexinput/R$e;->file_subtitle_tv:I
|
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "itemView.findViewById(R.id.file_subtitle_tv)"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
check-cast p1, Landroid/widget/TextView;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->f:Landroid/widget/TextView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v0, "this.itemView"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1, v0}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setClickable(Z)V
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
new-instance v0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-direct {v0, p0}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$a;-><init>(Lcom/lytefast/flexinput/adapters/FileListAdapter$b;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget v0, Lcom/lytefast/flexinput/R$a;->selection_shrink:I
|
|
|
|
|
|
|
|
invoke-static {p1, v0}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
const-string v0, "null cannot be cast to non-null type android.animation.AnimatorSet"
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
check-cast p1, Landroid/animation/AnimatorSet;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a:Landroid/animation/AnimatorSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a:Landroid/animation/AnimatorSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
invoke-virtual {p2}, Landroid/view/View;->getContext()Landroid/content/Context;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
sget p2, Lcom/lytefast/flexinput/R$a;->selection_grow:I
|
|
|
|
|
|
|
|
invoke-static {p1, p2}, Landroid/animation/AnimatorInflater;->loadAnimator(Landroid/content/Context;I)Landroid/animation/Animator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
check-cast p1, Landroid/animation/AnimatorSet;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b:Landroid/animation/AnimatorSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b:Landroid/animation/AnimatorSet;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object p2, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Landroid/animation/AnimatorSet;->setTarget(Ljava/lang/Object;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance p1, Lw/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p1, v0}, Lw/l;-><init>(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
2020-02-20 19:33:18 +00:00
|
|
|
new-instance p1, Lw/l;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-direct {p1, v0}, Lw/l;-><init>(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:cond_2
|
|
|
|
const-string p1, "itemView"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {p1}, Lw/u/b/j;->a(Ljava/lang/String;)V
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 p1, 0x0
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
throw p1
|
2019-07-24 11:27:29 +00:00
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-12-06 03:29:40 +00:00
|
|
|
.method public final a(Ljava/io/File;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
.locals 16
|
|
|
|
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v0, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v2, v0, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
sget-object v3, Landroid/provider/MediaStore$Images$Media;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
|
|
|
|
|
|
|
const-string v0, "_id"
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const-string v4, "mini_thumb_magic"
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
filled-new-array {v0, v4}, [Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
move-result-object v4
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const/4 v8, 0x1
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
new-array v6, v8, [Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
invoke-virtual/range {p1 .. p1}, Ljava/io/File;->getPath()Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v5
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
const/4 v9, 0x0
|
|
|
|
|
|
|
|
aput-object v5, v6, v9
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
const/4 v7, 0x0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-string v5, "_data=?"
|
|
|
|
|
2019-10-04 20:11:59 +00:00
|
|
|
invoke-virtual/range {v2 .. v7}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
|
|
|
if-eqz v2, :cond_4
|
|
|
|
|
|
|
|
:try_start_0
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v2}, Landroid/database/Cursor;->moveToFirst()Z
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v3
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const/4 v4, 0x0
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez v3, :cond_0
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v2, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_1
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v2, v9}, Landroid/database/Cursor;->getLong(I)J
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-wide v5
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v2, v8}, Landroid/database/Cursor;->getLong(I)J
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-wide v10
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
const-wide/16 v12, 0x0
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
cmp-long v3, v10, v12
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez v3, :cond_1
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v3, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v3, v3, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {v3, v5, v6, v8, v4}, Landroid/provider/MediaStore$Images$Thumbnails;->getThumbnail(Landroid/content/ContentResolver;JILandroid/graphics/BitmapFactory$Options;)Landroid/graphics/Bitmap;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v3
|
|
|
|
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {v3}, Landroid/graphics/Bitmap;->recycle()V
|
|
|
|
|
|
|
|
:cond_1
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v3, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->h:Lcom/lytefast/flexinput/adapters/FileListAdapter;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v10, v3, Lcom/lytefast/flexinput/adapters/FileListAdapter;->c:Landroid/content/ContentResolver;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
sget-object v11, Landroid/provider/MediaStore$Images$Thumbnails;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
filled-new-array {v0}, [Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
move-result-object v12
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
const-string v13, "image_id=?"
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
new-array v14, v8, [Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {v5, v6}, Ljava/lang/Long;->toString(J)Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-11-20 22:09:14 +00:00
|
|
|
aput-object v0, v14, v9
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
const/4 v15, 0x0
|
|
|
|
|
|
|
|
invoke-virtual/range {v10 .. v15}, Landroid/content/ContentResolver;->query(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result-object v3
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_2
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-eqz v3, :cond_3
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
:try_start_2
|
|
|
|
invoke-interface {v3}, Landroid/database/Cursor;->moveToFirst()Z
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
move-result v0
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
if-nez v0, :cond_2
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
:try_start_3
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v3, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_2
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v2, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:try_start_4
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-interface {v3, v9}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v5, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-static {}, Le/j/g/a/a/b;->b()Le/j/g/a/a/d;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v6
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iget-object v7, v1, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v7}, Lcom/facebook/drawee/view/DraweeView;->getController()Le/j/g/h/a;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v7
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-object v7, v6, Le/j/g/c/a;->n:Le/j/g/h/a;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
sget-object v7, Landroid/provider/MediaStore$Images$Thumbnails;->EXTERNAL_CONTENT_URI:Landroid/net/Uri;
|
|
|
|
|
|
|
|
invoke-static {v7, v0}, Landroid/net/Uri;->withAppendedPath(Landroid/net/Uri;Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v6, v0}, Le/j/g/a/a/d;->a(Landroid/net/Uri;)Le/j/g/a/a/d;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
iput-boolean v8, v6, Le/j/g/c/a;->j:Z
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v6}, Le/j/g/c/a;->a()Lcom/facebook/drawee/controller/AbstractDraweeController;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
invoke-virtual {v5, v0}, Lcom/facebook/drawee/view/DraweeView;->setController(Le/j/g/h/a;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_4
|
|
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
|
|
|
|
|
|
|
:try_start_5
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v3, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
:try_end_5
|
|
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_2
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v4, v0
|
|
|
|
|
|
|
|
:try_start_6
|
|
|
|
throw v4
|
|
|
|
:try_end_6
|
|
|
|
.catchall {:try_start_6 .. :try_end_6} :catchall_1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v5, v0
|
|
|
|
|
|
|
|
:try_start_7
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v3, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
throw v5
|
|
|
|
:try_end_7
|
|
|
|
.catchall {:try_start_7 .. :try_end_7} :catchall_2
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_0
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v2, v4}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-12-06 03:29:40 +00:00
|
|
|
goto :goto_1
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
:catchall_2
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v3, v0
|
|
|
|
|
|
|
|
:try_start_8
|
|
|
|
throw v3
|
|
|
|
:try_end_8
|
|
|
|
.catchall {:try_start_8 .. :try_end_8} :catchall_3
|
|
|
|
|
|
|
|
:catchall_3
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
move-object v4, v0
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v2, v3}, Le/k/a/c/e/p/g;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
2019-10-04 20:11:59 +00:00
|
|
|
|
|
|
|
throw v4
|
|
|
|
|
|
|
|
:cond_4
|
2019-12-06 03:29:40 +00:00
|
|
|
:goto_1
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(ZZ)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
iget-object v0, p0, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;->itemView:Landroid/view/View;
|
|
|
|
|
|
|
|
const-string v1, "itemView"
|
|
|
|
|
2020-02-20 19:33:18 +00:00
|
|
|
invoke-static {v0, v1}, Lw/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
2019-12-06 03:29:40 +00:00
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Landroid/view/View;->setSelected(Z)V
|
|
|
|
|
|
|
|
new-instance v0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;
|
|
|
|
|
|
|
|
invoke-direct {v0, p2}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;-><init>(Z)V
|
|
|
|
|
|
|
|
const/high16 p2, 0x3f800000 # 1.0f
|
|
|
|
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
cmpg-float p1, p1, p2
|
|
|
|
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->a:Landroid/animation/AnimatorSet;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->a(Landroid/animation/AnimatorSet;)V
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->c:Lcom/facebook/drawee/view/SimpleDraweeView;
|
|
|
|
|
|
|
|
invoke-virtual {p1}, Landroid/widget/ImageView;->getScaleX()F
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
cmpg-float p1, p1, p2
|
|
|
|
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
|
|
|
|
iget-object p1, p0, Lcom/lytefast/flexinput/adapters/FileListAdapter$b;->b:Landroid/animation/AnimatorSet;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p1}, Lcom/lytefast/flexinput/adapters/FileListAdapter$b$b;->a(Landroid/animation/AnimatorSet;)V
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-10-04 20:11:59 +00:00
|
|
|
return-void
|
|
|
|
.end method
|