- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
190 lines
4.8 KiB
Smali
190 lines
4.8 KiB
Smali
.class Landroidx/viewpager/widget/ViewPager$4;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Landroidx/core/view/OnApplyWindowInsetsListener;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/viewpager/widget/ViewPager;->initViewPager()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x1
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final mTempRect:Landroid/graphics/Rect;
|
|
|
|
.field final synthetic this$0:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/viewpager/widget/ViewPager;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/viewpager/widget/ViewPager$4;->this$0:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
.line 428
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 429
|
|
new-instance p1, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {p1}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/viewpager/widget/ViewPager$4;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
|
.locals 5
|
|
|
|
.line 436
|
|
invoke-static {p1, p2}, Landroidx/core/view/ViewCompat;->onApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
move-result-object p1
|
|
|
|
.line 437
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->isConsumed()Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
return-object p1
|
|
|
|
:cond_0
|
|
iget-object p2, p0, Landroidx/viewpager/widget/ViewPager$4;->mTempRect:Landroid/graphics/Rect;
|
|
|
|
.line 450
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 451
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 452
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 453
|
|
invoke-virtual {p1}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
|
|
|
move-result v0
|
|
|
|
iput v0, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
iget-object v0, p0, Landroidx/viewpager/widget/ViewPager$4;->this$0:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
.line 455
|
|
invoke-virtual {v0}, Landroid/view/ViewGroup;->getChildCount()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
iget-object v2, p0, Landroidx/viewpager/widget/ViewPager$4;->this$0:Landroidx/viewpager/widget/ViewPager;
|
|
|
|
.line 457
|
|
invoke-virtual {v2, v1}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-static {v2, p1}, Landroidx/core/view/ViewCompat;->dispatchApplyWindowInsets(Landroid/view/View;Landroidx/core/view/WindowInsetsCompat;)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
move-result-object v2
|
|
|
|
.line 460
|
|
invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetLeft()I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
.line 462
|
|
invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetTop()I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
.line 464
|
|
invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetRight()I
|
|
|
|
move-result v3
|
|
|
|
iget v4, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v3
|
|
|
|
iput v3, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
.line 466
|
|
invoke-virtual {v2}, Landroidx/core/view/WindowInsetsCompat;->getSystemWindowInsetBottom()I
|
|
|
|
move-result v2
|
|
|
|
iget v3, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
invoke-static {v2, v3}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result v2
|
|
|
|
iput v2, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 471
|
|
:cond_1
|
|
iget v0, p2, Landroid/graphics/Rect;->left:I
|
|
|
|
iget v1, p2, Landroid/graphics/Rect;->top:I
|
|
|
|
iget v2, p2, Landroid/graphics/Rect;->right:I
|
|
|
|
iget p2, p2, Landroid/graphics/Rect;->bottom:I
|
|
|
|
invoke-virtual {p1, v0, v1, v2, p2}, Landroidx/core/view/WindowInsetsCompat;->replaceSystemWindowInsets(IIII)Landroidx/core/view/WindowInsetsCompat;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|