BigoBlurStrategyFactory.smali
.class public Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory$BigoImageFactoryHolder;
}
.end annotation
# instance fields
.field private mBlurStrategySupplier:Lcom/facebook/common/internal/Supplier;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/drawee/view/bigo/blur/BigoBlurStrategy;",
">;"
}
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.registers 1
.line 13
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method synthetic constructor <init>(Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory$1;)V
.registers 2
.line 9
invoke-direct {p0}, Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;-><init>()V
return-void
.end method
.method public static getInstance()Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;
.registers 1
.line 16
# getter for: Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory$BigoImageFactoryHolder;->sHolder:Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;
invoke-static {}, Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory$BigoImageFactoryHolder;->access$000()Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;
move-result-object v0
return-object v0
.end method
# virtual methods
.method public getBlurStrategy()Lcom/facebook/drawee/view/bigo/blur/BigoBlurStrategy;
.registers 2
.line 29
iget-object v0, p0, Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;->mBlurStrategySupplier:Lcom/facebook/common/internal/Supplier;
if-nez v0, :cond_6
const/4 v0, 0x0
return-object v0
:cond_6
invoke-interface {v0}, Lcom/facebook/common/internal/Supplier;->get()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/facebook/drawee/view/bigo/blur/BigoBlurStrategy;
return-object v0
.end method
.method public setBlurStrategy(Lcom/facebook/common/internal/Supplier;)Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/facebook/common/internal/Supplier<",
"Lcom/facebook/drawee/view/bigo/blur/BigoBlurStrategy;",
">;)",
"Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;"
}
.end annotation
.line 24
iput-object p1, p0, Lcom/facebook/drawee/view/bigo/BigoBlurStrategyFactory;->mBlurStrategySupplier:Lcom/facebook/common/internal/Supplier;
return-object p0
.end method