AbstractRefreshDrawable.smali
.class public abstract Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;
.super Landroid/graphics/drawable/Drawable;
# interfaces
.implements Landroid/graphics/drawable/Animatable;
.implements Landroid/graphics/drawable/Drawable$Callback;
# instance fields
.field private mRefreshLayout:Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
# direct methods
.method public constructor <init>(Landroid/content/Context;Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;)V
.registers 3
invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V
iput-object p2, p0, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->mRefreshLayout:Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
return-void
.end method
# virtual methods
.method public getContext()Landroid/content/Context;
.registers 2
iget-object v0, p0, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->mRefreshLayout:Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
if-eqz v0, :cond_b
iget-object v0, p0, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->mRefreshLayout:Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
invoke-virtual {v0}, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;->getContext()Landroid/content/Context;
move-result-object v0
:goto_a
return-object v0
:cond_b
const/4 v0, 0x0
goto :goto_a
.end method
.method public getOpacity()I
.registers 2
const/4 v0, -0x3
return v0
.end method
.method public getRefreshLayout()Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
.registers 2
iget-object v0, p0, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->mRefreshLayout:Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/PullRefreshLayout;
return-object v0
.end method
.method public invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
.registers 3
invoke-virtual {p0}, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object v0
if-eqz v0, :cond_9
invoke-interface {v0, p0}, Landroid/graphics/drawable/Drawable$Callback;->invalidateDrawable(Landroid/graphics/drawable/Drawable;)V
:cond_9
return-void
.end method
.method public abstract offsetTopAndBottom(I)V
.end method
.method public scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V
.registers 6
invoke-virtual {p0}, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object v0
if-eqz v0, :cond_9
invoke-interface {v0, p0, p2, p3, p4}, Landroid/graphics/drawable/Drawable$Callback;->scheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V
:cond_9
return-void
.end method
.method public setAlpha(I)V
.registers 2
return-void
.end method
.method public setColorFilter(Landroid/graphics/ColorFilter;)V
.registers 2
return-void
.end method
.method public abstract setColorSchemeColors([I)V
.end method
.method public abstract setPercent(F)V
.end method
.method public unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
.registers 4
invoke-virtual {p0}, Lcom/sdk/orion/ui/baselibrary/widget/pullrefresh/AbstractRefreshDrawable;->getCallback()Landroid/graphics/drawable/Drawable$Callback;
move-result-object v0
if-eqz v0, :cond_9
invoke-interface {v0, p0, p2}, Landroid/graphics/drawable/Drawable$Callback;->unscheduleDrawable(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;)V
:cond_9
return-void
.end method