d.smali

.class public Lcom/bumptech/glide/load/a/a/d;
.super Ljava/lang/Object;
.source "MediaStoreVideoThumbLoader.java"

# interfaces
.implements Lcom/bumptech/glide/load/a/u;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/bumptech/glide/load/a/a/d$a;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Lcom/bumptech/glide/load/a/u<",
        "Landroid/net/Uri;",
        "Ljava/io/InputStream;",
        ">;"
    }
.end annotation


# instance fields
.field private final a:Landroid/content/Context;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .registers 2

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

    .line 2
    invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object p1

    iput-object p1, p0, Lcom/bumptech/glide/load/a/a/d;->a:Landroid/content/Context;

    return-void
.end method

.method private a(Lcom/bumptech/glide/load/k;)Z
    .registers 6

    .line 3
    sget-object v0, Lcom/bumptech/glide/load/resource/bitmap/D;->a:Lcom/bumptech/glide/load/j;

    invoke-virtual {p1, v0}, Lcom/bumptech/glide/load/k;->a(Lcom/bumptech/glide/load/j;)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Ljava/lang/Long;

    if-eqz p1, :cond_16

    .line 4
    invoke-virtual {p1}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    const-wide/16 v2, -0x1

    cmp-long p1, v0, v2

    if-nez p1, :cond_16

    const/4 p1, 0x1

    goto :goto_17

    :cond_16
    const/4 p1, 0x0

    :goto_17
    return p1
.end method


# virtual methods
.method public a(Landroid/net/Uri;IILcom/bumptech/glide/load/k;)Lcom/bumptech/glide/load/a/u$a;
    .registers 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/net/Uri;",
            "II",
            "Lcom/bumptech/glide/load/k;",
            ")",
            "Lcom/bumptech/glide/load/a/u$a<",
            "Ljava/io/InputStream;",
            ">;"
        }
    .end annotation

    .line 1
    invoke-static {p2, p3}, Lcom/bumptech/glide/load/data/a/b;->a(II)Z

    move-result p2

    if-eqz p2, :cond_1d

    invoke-direct {p0, p4}, Lcom/bumptech/glide/load/a/a/d;->a(Lcom/bumptech/glide/load/k;)Z

    move-result p2

    if-eqz p2, :cond_1d

    .line 2
    new-instance p2, Lcom/bumptech/glide/load/a/u$a;

    new-instance p3, Lcom/bumptech/glide/d/d;

    invoke-direct {p3, p1}, Lcom/bumptech/glide/d/d;-><init>(Ljava/lang/Object;)V

    iget-object p4, p0, Lcom/bumptech/glide/load/a/a/d;->a:Landroid/content/Context;

    invoke-static {p4, p1}, Lcom/bumptech/glide/load/data/a/c;->b(Landroid/content/Context;Landroid/net/Uri;)Lcom/bumptech/glide/load/data/a/c;

    move-result-object p1

    invoke-direct {p2, p3, p1}, Lcom/bumptech/glide/load/a/u$a;-><init>(Lcom/bumptech/glide/load/h;Lcom/bumptech/glide/load/data/d;)V

    return-object p2

    :cond_1d
    const/4 p1, 0x0

    return-object p1
.end method

.method public a(Landroid/net/Uri;)Z
    .registers 2

    .line 5
    invoke-static {p1}, Lcom/bumptech/glide/load/data/a/b;->c(Landroid/net/Uri;)Z

    move-result p1

    return p1
.end method

.method public bridge synthetic buildLoadData(Ljava/lang/Object;IILcom/bumptech/glide/load/k;)Lcom/bumptech/glide/load/a/u$a;
    .registers 5

    .line 1
    check-cast p1, Landroid/net/Uri;

    invoke-virtual {p0, p1, p2, p3, p4}, Lcom/bumptech/glide/load/a/a/d;->a(Landroid/net/Uri;IILcom/bumptech/glide/load/k;)Lcom/bumptech/glide/load/a/u$a;

    move-result-object p1

    return-object p1
.end method

.method public bridge synthetic handles(Ljava/lang/Object;)Z
    .registers 2

    .line 1
    check-cast p1, Landroid/net/Uri;

    invoke-virtual {p0, p1}, Lcom/bumptech/glide/load/a/a/d;->a(Landroid/net/Uri;)Z

    move-result p1

    return p1
.end method