.class Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager; .super Ljava/lang/Object; .source "DecodeJob.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/bumptech/glide/load/engine/DecodeJob; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0xa name = "ReleaseManager" .end annotation # instance fields .field private isEncodeComplete:Z .field private isFailed:Z .field private isReleased:Z # direct methods .method constructor ()V .registers 1 .line 625 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method private isComplete(Z)Z .registers 3 .line 649 iget-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isFailed:Z if-nez v0, :cond_a if-nez p1, :cond_a iget-boolean p1, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isEncodeComplete:Z if-eqz p1, :cond_10 :cond_a iget-boolean p1, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isReleased:Z if-eqz p1, :cond_10 const/4 p1, 0x1 goto :goto_11 :cond_10 const/4 p1, 0x0 :goto_11 return p1 .end method # virtual methods .method declared-synchronized onEncodeComplete()Z .registers 2 monitor-enter p0 const/4 v0, 0x1 .line 633 :try_start_2 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isEncodeComplete:Z const/4 v0, 0x0 .line 634 invoke-direct {p0, v0}, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isComplete(Z)Z move-result v0 :try_end_9 .catchall {:try_start_2 .. :try_end_9} :catchall_b monitor-exit p0 return v0 :catchall_b move-exception v0 :try_start_c monitor-exit p0 :try_end_d .catchall {:try_start_c .. :try_end_d} :catchall_b throw v0 .end method .method declared-synchronized onFailed()Z .registers 2 monitor-enter p0 const/4 v0, 0x1 .line 638 :try_start_2 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isFailed:Z const/4 v0, 0x0 .line 639 invoke-direct {p0, v0}, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isComplete(Z)Z move-result v0 :try_end_9 .catchall {:try_start_2 .. :try_end_9} :catchall_b monitor-exit p0 return v0 :catchall_b move-exception v0 :try_start_c monitor-exit p0 :try_end_d .catchall {:try_start_c .. :try_end_d} :catchall_b throw v0 .end method .method declared-synchronized release(Z)Z .registers 3 monitor-enter p0 const/4 v0, 0x1 .line 628 :try_start_2 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isReleased:Z .line 629 invoke-direct {p0, p1}, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isComplete(Z)Z move-result p1 :try_end_8 .catchall {:try_start_2 .. :try_end_8} :catchall_a monitor-exit p0 return p1 :catchall_a move-exception p1 :try_start_b monitor-exit p0 :try_end_c .catchall {:try_start_b .. :try_end_c} :catchall_a throw p1 .end method .method declared-synchronized reset()V .registers 2 monitor-enter p0 const/4 v0, 0x0 .line 643 :try_start_2 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isEncodeComplete:Z .line 644 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isReleased:Z .line 645 iput-boolean v0, p0, Lcom/bumptech/glide/load/engine/DecodeJob$ReleaseManager;->isFailed:Z :try_end_8 .catchall {:try_start_2 .. :try_end_8} :catchall_a .line 646 monitor-exit p0 return-void :catchall_a move-exception v0 :try_start_b monitor-exit p0 :try_end_c .catchall {:try_start_b .. :try_end_c} :catchall_a throw v0 .end method