今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

115 lines
3.8 KiB

.class Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter$1;
.super Landroid/support/v7/widget/RecyclerView$ItemDecoration;
.source "AttachPopupWindow.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;->instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$1:Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;
# direct methods
.method constructor <init>(Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;)V
.locals 0
.prologue
.line 199
iput-object p1, p0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter$1;->this$1:Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;
invoke-direct {p0}, Landroid/support/v7/widget/RecyclerView$ItemDecoration;-><init>()V
return-void
.end method
# virtual methods
.method public getItemOffsets(Landroid/graphics/Rect;Landroid/view/View;Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;)V
.locals 3
.prologue
const/high16 v2, 0x41a00000 # 20.0f
.line 202
invoke-super {p0, p1, p2, p3, p4}, Landroid/support/v7/widget/RecyclerView$ItemDecoration;->getItemOffsets(Landroid/graphics/Rect;Landroid/view/View;Landroid/support/v7/widget/RecyclerView;Landroid/support/v7/widget/RecyclerView$State;)V
.line 203
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter$1;->this$1:Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;
iget-object v0, v0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$300(Lcom/viatech/gallery/AttachPopupWindow;)Landroid/content/Context;
move-result-object v0
const/high16 v1, 0x41200000 # 10.0f
invoke-static {v0, v1}, Lcom/viatech/util/UIUtils;->dp2px(Landroid/content/Context;F)F
move-result v0
float-to-int v0, v0
iput v0, p1, Landroid/graphics/Rect;->left:I
.line 204
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter$1;->this$1:Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;
iget-object v0, v0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$300(Lcom/viatech/gallery/AttachPopupWindow;)Landroid/content/Context;
move-result-object v0
invoke-static {v0, v2}, Lcom/viatech/util/UIUtils;->dp2px(Landroid/content/Context;F)F
move-result v0
float-to-int v0, v0
iput v0, p1, Landroid/graphics/Rect;->bottom:I
.line 205
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter$1;->this$1:Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;
iget-object v0, v0, Lcom/viatech/gallery/AttachPopupWindow$AttachPageAdapter;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$300(Lcom/viatech/gallery/AttachPopupWindow;)Landroid/content/Context;
move-result-object v0
invoke-static {v0, v2}, Lcom/viatech/util/UIUtils;->dp2px(Landroid/content/Context;F)F
move-result v0
float-to-int v0, v0
iput v0, p1, Landroid/graphics/Rect;->top:I
.line 206
invoke-virtual {p3, p2}, Landroid/support/v7/widget/RecyclerView;->getChildLayoutPosition(Landroid/view/View;)I
move-result v0
rem-int/lit8 v0, v0, 0x4
if-nez v0, :cond_0
.line 207
const/4 v0, 0x0
iput v0, p1, Landroid/graphics/Rect;->left:I
.line 209
:cond_0
return-void
.end method