mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
265 lines
6.1 KiB
Smali
265 lines
6.1 KiB
Smali
.class public abstract Landroidx/viewpager/widget/PagerAdapter;
|
|
.super Ljava/lang/Object;
|
|
.source "PagerAdapter.java"
|
|
|
|
|
|
# static fields
|
|
.field public static final POSITION_NONE:I = -0x2
|
|
|
|
.field public static final POSITION_UNCHANGED:I = -0x1
|
|
|
|
|
|
# instance fields
|
|
.field private final mObservable:Landroid/database/DataSetObservable;
|
|
|
|
.field private mViewPagerObserver:Landroid/database/DataSetObserver;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 81
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 82
|
|
new-instance v0, Landroid/database/DataSetObservable;
|
|
|
|
invoke-direct {v0}, Landroid/database/DataSetObservable;-><init>()V
|
|
|
|
iput-object v0, p0, Landroidx/viewpager/widget/PagerAdapter;->mObservable:Landroid/database/DataSetObservable;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public destroyItem(Landroid/view/View;ILjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 202
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p1, "Required method destroyItem was not overridden"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public destroyItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 129
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/viewpager/widget/PagerAdapter;->destroyItem(Landroid/view/View;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finishUpdate(Landroid/view/View;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public finishUpdate(Landroid/view/ViewGroup;)V
|
|
.locals 0
|
|
|
|
.line 154
|
|
invoke-virtual {p0, p1}, Landroidx/viewpager/widget/PagerAdapter;->finishUpdate(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract getCount()I
|
|
.end method
|
|
|
|
.method public getItemPosition(Ljava/lang/Object;)I
|
|
.locals 0
|
|
|
|
const/4 p0, -0x1
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public getPageTitle(I)Ljava/lang/CharSequence;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public getPageWidth(I)F
|
|
.locals 0
|
|
|
|
const/high16 p0, 0x3f800000 # 1.0f
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public instantiateItem(Landroid/view/View;I)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
.line 184
|
|
new-instance p0, Ljava/lang/UnsupportedOperationException;
|
|
|
|
const-string p1, "Required method instantiateItem was not overridden"
|
|
|
|
invoke-direct {p0, p1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public instantiateItem(Landroid/view/ViewGroup;I)Ljava/lang/Object;
|
|
.locals 0
|
|
|
|
.line 115
|
|
invoke-virtual {p0, p1, p2}, Landroidx/viewpager/widget/PagerAdapter;->instantiateItem(Landroid/view/View;I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public abstract isViewFromObject(Landroid/view/View;Ljava/lang/Object;)Z
|
|
.end method
|
|
|
|
.method public notifyDataSetChanged()V
|
|
.locals 1
|
|
|
|
.line 289
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/viewpager/widget/PagerAdapter;->mViewPagerObserver:Landroid/database/DataSetObserver;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 291
|
|
invoke-virtual {v0}, Landroid/database/DataSetObserver;->onChanged()V
|
|
|
|
.line 293
|
|
:cond_0
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
iget-object p0, p0, Landroidx/viewpager/widget/PagerAdapter;->mObservable:Landroid/database/DataSetObservable;
|
|
|
|
.line 294
|
|
invoke-virtual {p0}, Landroid/database/DataSetObservable;->notifyChanged()V
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 293
|
|
:try_start_1
|
|
monitor-exit p0
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public registerDataSetObserver(Landroid/database/DataSetObserver;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/viewpager/widget/PagerAdapter;->mObservable:Landroid/database/DataSetObservable;
|
|
|
|
.line 303
|
|
invoke-virtual {p0, p1}, Landroid/database/DataSetObservable;->registerObserver(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public restoreState(Landroid/os/Parcelable;Ljava/lang/ClassLoader;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public saveState()Landroid/os/Parcelable;
|
|
.locals 0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public setPrimaryItem(Landroid/view/View;ILjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setPrimaryItem(Landroid/view/ViewGroup;ILjava/lang/Object;)V
|
|
.locals 0
|
|
|
|
.line 143
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/viewpager/widget/PagerAdapter;->setPrimaryItem(Landroid/view/View;ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method setViewPagerObserver(Landroid/database/DataSetObserver;)V
|
|
.locals 0
|
|
|
|
.line 316
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iput-object p1, p0, Landroidx/viewpager/widget/PagerAdapter;->mViewPagerObserver:Landroid/database/DataSetObserver;
|
|
|
|
.line 318
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public startUpdate(Landroid/view/View;)V
|
|
.locals 0
|
|
.annotation runtime Ljava/lang/Deprecated;
|
|
.end annotation
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public startUpdate(Landroid/view/ViewGroup;)V
|
|
.locals 0
|
|
|
|
.line 99
|
|
invoke-virtual {p0, p1}, Landroidx/viewpager/widget/PagerAdapter;->startUpdate(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public unregisterDataSetObserver(Landroid/database/DataSetObserver;)V
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Landroidx/viewpager/widget/PagerAdapter;->mObservable:Landroid/database/DataSetObservable;
|
|
|
|
.line 312
|
|
invoke-virtual {p0, p1}, Landroid/database/DataSetObservable;->unregisterObserver(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|