今奥全景相机
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.

134 lines
3.1 KiB

.class Lcom/viatech/gallery/AttachPopupWindow$1;
.super Ljava/lang/Object;
.source "AttachPopupWindow.java"
# interfaces
.implements Landroid/support/v4/view/ViewPager$OnPageChangeListener;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/viatech/gallery/AttachPopupWindow;->initView()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/viatech/gallery/AttachPopupWindow;
# direct methods
.method constructor <init>(Lcom/viatech/gallery/AttachPopupWindow;)V
.locals 0
.prologue
.line 96
iput-object p1, p0, Lcom/viatech/gallery/AttachPopupWindow$1;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public onPageScrollStateChanged(I)V
.locals 0
.prologue
.line 119
return-void
.end method
.method public onPageScrolled(IFI)V
.locals 0
.prologue
.line 100
return-void
.end method
.method public onPageSelected(I)V
.locals 4
.prologue
.line 104
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$1;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$000(Lcom/viatech/gallery/AttachPopupWindow;)Ljava/util/ArrayList;
move-result-object v0
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$1;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$000(Lcom/viatech/gallery/AttachPopupWindow;)Ljava/util/ArrayList;
move-result-object v0
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v0
if-lez v0, :cond_1
.line 106
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$1;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$100(Lcom/viatech/gallery/AttachPopupWindow;)Landroid/widget/LinearLayout;
move-result-object v0
invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I
move-result v2
.line 107
const/4 v0, 0x0
move v1, v0
:goto_0
if-ge v1, v2, :cond_1
.line 108
iget-object v0, p0, Lcom/viatech/gallery/AttachPopupWindow$1;->this$0:Lcom/viatech/gallery/AttachPopupWindow;
invoke-static {v0}, Lcom/viatech/gallery/AttachPopupWindow;->access$100(Lcom/viatech/gallery/AttachPopupWindow;)Landroid/widget/LinearLayout;
move-result-object v0
invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->getChildAt(I)Landroid/view/View;
move-result-object v3
.line 109
if-ne p1, v1, :cond_0
const v0, 0x7f02016c
:goto_1
invoke-virtual {v3, v0}, Landroid/view/View;->setBackgroundResource(I)V
.line 107
add-int/lit8 v0, v1, 0x1
move v1, v0
goto :goto_0
.line 109
:cond_0
const v0, 0x7f02016b
goto :goto_1
.line 114
:cond_1
return-void
.end method