.class public Lt3/d;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Lm3/w;
.implements Lm3/s;


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lm3/w<",
        "Landroid/graphics/Bitmap;",
        ">;",
        "Lm3/s;"
    }
.end annotation


# instance fields
.field public final r:Landroid/graphics/Bitmap;

.field public final s:Ln3/c;


# direct methods
.method public constructor <init>(Landroid/graphics/Bitmap;Ln3/c;)V
    .registers 4

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const-string v0, "Bitmap must not be null"

    .line 1
    invoke-static {p1, v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 2
    iput-object p1, p0, Lt3/d;->r:Landroid/graphics/Bitmap;

    const-string p1, "BitmapPool must not be null"

    .line 3
    invoke-static {p2, p1}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;

    .line 4
    iput-object p2, p0, Lt3/d;->s:Ln3/c;

    return-void
.end method

.method public static d(Landroid/graphics/Bitmap;Ln3/c;)Lt3/d;
    .registers 3

    if-nez p0, :cond_4

    const/4 p0, 0x0

    return-object p0

    :cond_4
    new-instance v0, Lt3/d;

    invoke-direct {v0, p0, p1}, Lt3/d;-><init>(Landroid/graphics/Bitmap;Ln3/c;)V

    return-object v0
.end method


# virtual methods
.method public a()I
    .registers 2

    iget-object v0, p0, Lt3/d;->r:Landroid/graphics/Bitmap;

    invoke-static {v0}, Lg4/j;->d(Landroid/graphics/Bitmap;)I

    move-result v0

    return v0
.end method

.method public b()Ljava/lang/Class;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class<",
            "Landroid/graphics/Bitmap;",
            ">;"
        }
    .end annotation

    const-class v0, Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public c()V
    .registers 3

    iget-object v0, p0, Lt3/d;->s:Ln3/c;

    iget-object v1, p0, Lt3/d;->r:Landroid/graphics/Bitmap;

    invoke-interface {v0, v1}, Ln3/c;->e(Landroid/graphics/Bitmap;)V

    return-void
.end method

.method public get()Ljava/lang/Object;
    .registers 2

    .line 1
    iget-object v0, p0, Lt3/d;->r:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public initialize()V
    .registers 2

    iget-object v0, p0, Lt3/d;->r:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->prepareToDraw()V

    return-void
.end method
