CustomSpeedLinearLayoutManager$1.smali
.class Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager$1;
.super Landroidx/recyclerview/widget/LinearSmoothScroller;
.source "CustomSpeedLinearLayoutManager.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;->smoothScrollToPosition(Landroidx/recyclerview/widget/RecyclerView;Landroidx/recyclerview/widget/RecyclerView$State;I)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;
# direct methods
.method constructor <init>(Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;Landroid/content/Context;)V
.registers 3
.line 41
iput-object p1, p0, Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;
invoke-direct {p0, p2}, Landroidx/recyclerview/widget/LinearSmoothScroller;-><init>(Landroid/content/Context;)V
return-void
.end method
# virtual methods
.method protected calculateSpeedPerPixel(Landroid/util/DisplayMetrics;)F
.registers 3
.line 50
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;
# getter for: Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;->scrollSpeedInMsPerInch:F
invoke-static {v0}, Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;->access$000(Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;)F
move-result v0
iget p1, p1, Landroid/util/DisplayMetrics;->densityDpi:I
int-to-float p1, p1
div-float/2addr v0, p1
return v0
.end method
.method public computeScrollVectorForPosition(I)Landroid/graphics/PointF;
.registers 3
.line 45
iget-object v0, p0, Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager$1;->this$0:Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;
invoke-virtual {v0, p1}, Lhurriyet/mobil/android/hurriyet/utils/CustomSpeedLinearLayoutManager;->computeScrollVectorForPosition(I)Landroid/graphics/PointF;
move-result-object p1
return-object p1
.end method