.class public abstract Lcom/bumptech/glide/load/resource/bitmap/h; .super Ljava/lang/Object; .source "BitmapTransformation.java" # interfaces .implements Lu4/h; # annotations .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Lu4/h<", "Landroid/graphics/Bitmap;", ">;" } .end annotation # direct methods .method public constructor ()V .locals 0 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public final a(Landroid/content/Context;Lcom/bumptech/glide/load/engine/s;II)Lcom/bumptech/glide/load/engine/s; .locals 2 .param p1 # Landroid/content/Context; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Lcom/bumptech/glide/load/engine/s; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation system Ldalvik/annotation/Signature; value = { "(", "Landroid/content/Context;", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/Bitmap;", ">;II)", "Lcom/bumptech/glide/load/engine/s<", "Landroid/graphics/Bitmap;", ">;" } .end annotation .line 1 invoke-static {p3, p4}, Lm5/m;->w(II)Z move-result v0 if-eqz v0, :cond_3 .line 2 invoke-static {p1}, Lcom/bumptech/glide/b;->e(Landroid/content/Context;)Lcom/bumptech/glide/b; move-result-object p1 invoke-virtual {p1}, Lcom/bumptech/glide/b;->h()Lcom/bumptech/glide/load/engine/bitmap_recycle/e; move-result-object p1 .line 3 invoke-interface {p2}, Lcom/bumptech/glide/load/engine/s;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Landroid/graphics/Bitmap; const/high16 v1, -0x80000000 if-ne p3, v1, :cond_0 .line 4 invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I move-result p3 :cond_0 if-ne p4, v1, :cond_1 .line 5 invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I move-result p4 .line 6 :cond_1 invoke-virtual {p0, p1, v0, p3, p4}, Lcom/bumptech/glide/load/resource/bitmap/h;->c(Lcom/bumptech/glide/load/engine/bitmap_recycle/e;Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap; move-result-object p3 .line 7 invoke-virtual {v0, p3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z move-result p4 if-eqz p4, :cond_2 goto :goto_0 .line 8 :cond_2 invoke-static {p3, p1}, Lcom/bumptech/glide/load/resource/bitmap/g;->d(Landroid/graphics/Bitmap;Lcom/bumptech/glide/load/engine/bitmap_recycle/e;)Lcom/bumptech/glide/load/resource/bitmap/g; move-result-object p2 :goto_0 return-object p2 .line 9 :cond_3 new-instance p1, Ljava/lang/IllegalArgumentException; const-string p2, "Cannot apply transformation on width: " const-string v0, " or height: " const-string v1, " less than or equal to zero and not Target.SIZE_ORIGINAL" invoke-static {p2, p3, v0, p4, v1}, Landroidx/room/k;->a(Ljava/lang/String;ILjava/lang/String;ILjava/lang/String;)Ljava/lang/String; move-result-object p2 invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p1 .end method .method public abstract c(Lcom/bumptech/glide/load/engine/bitmap_recycle/e;Landroid/graphics/Bitmap;II)Landroid/graphics/Bitmap; .param p1 # Lcom/bumptech/glide/load/engine/bitmap_recycle/e; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .param p2 # Landroid/graphics/Bitmap; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .end method