synchronized (ImageManager.ew()) { if (!ImageManager.ex().contains(locala.uri)) { ImageManager.ex().add(locala.uri); ((ImageManager.ImageReceiver)localObject1).ey(); } return; }
synchronized (ImageManager.zznm()) { if (!ImageManager.zznn().contains(localzza.uri)) { ImageManager.zznn().add(localzza.uri); ((ImageManager.ImageReceiver)localObject1).zzno(); } return; }
public void zzno() { Intent localIntent = new Intent("com.google.android.gms.common.images.LOAD_IMAGE"); localIntent.putExtra("com.google.android.gms.extras.uri", this.mUri); localIntent.putExtra("com.google.android.gms.extras.resultReceiver", this); localIntent.putExtra("com.google.android.gms.extras.priority", 3); ImageManager.zzb(ImageManager.this).sendBroadcast(localIntent); }
private void a(ageReceiver agereceiver, boolean flag) { agereceiver = ageReceiver.a(agereceiver); int j = agereceiver.size(); int i = 0; while (i < j) { a a1 = (a)agereceiver.get(i); if (flag) { a1.a(ImageManager.b(Ci), mBitmap, false); } else { a1.a(ImageManager.b(Ci), ImageManager.c(Ci), false); } if (!(a1 instanceof Ci)) { ImageManager.a(Ci).remove(a1); } i++; } }
private void a(ImageManager.ImageReceiver paramImageReceiver, boolean paramBoolean) { paramImageReceiver = ImageManager.ImageReceiver.a(paramImageReceiver); int j = paramImageReceiver.size(); int i = 0; if (i < j) { a locala = (a)paramImageReceiver.get(i); if (paramBoolean) { locala.a(ImageManager.b(ImageManager.this), this.mBitmap, false); } for (;;) { if (!(locala instanceof a.c)) { ImageManager.a(ImageManager.this).remove(locala); } i += 1; break; locala.a(ImageManager.b(ImageManager.this), ImageManager.c(ImageManager.this), false); } } }
private void zza(ImageManager.ImageReceiver paramImageReceiver, boolean paramBoolean) { paramImageReceiver = ImageManager.ImageReceiver.zza(paramImageReceiver); int j = paramImageReceiver.size(); int i = 0; if (i < j) { zza localzza = (zza)paramImageReceiver.get(i); if (paramBoolean) { localzza.zza(ImageManager.zzb(ImageManager.this), this.mBitmap, false); } for (;;) { if (!(localzza instanceof zza.zzc)) { ImageManager.zza(ImageManager.this).remove(localzza); } i += 1; break; ImageManager.zzd(ImageManager.this).put(this.mUri, Long.valueOf(SystemClock.elapsedRealtime())); localzza.zza(ImageManager.zzb(ImageManager.this), ImageManager.zzc(ImageManager.this), false); } } }
public void run() { zzb.zzbY("OnBitmapLoadedRunnable must be executed in the main thread"); boolean bool; if (this.mBitmap != null) { bool = true; } while (ImageManager.zzh(ImageManager.this) != null) { if (this.zzZb) { ImageManager.zzh(ImageManager.this).evictAll(); System.gc(); this.zzZb = false; ImageManager.zzg(ImageManager.this).post(this); return; bool = false; } else if (bool) { ImageManager.zzh(ImageManager.this).put(new zza.zza(this.mUri), this.mBitmap); } } ??? = (ImageManager.ImageReceiver)ImageManager.zze(ImageManager.this).remove(this.mUri);
public void run() { zzb.zzbZ("LoadBitmapFromDiskRunnable can't be executed in the main thread"); boolean bool1 = false; boolean bool2 = false; Bitmap localBitmap = null; CountDownLatch localCountDownLatch = null; if (this.zzYZ != null) {} try { localBitmap = BitmapFactory.decodeFileDescriptor(this.zzYZ.getFileDescriptor()); bool1 = bool2; Object localObject; return; } catch (OutOfMemoryError localOutOfMemoryError) { try { for (;;) { this.zzYZ.close(); localCountDownLatch = new CountDownLatch(1); ImageManager.zzg(ImageManager.this).post(new ImageManager.zzf(ImageManager.this, this.mUri, localBitmap, bool1, localCountDownLatch)); try { localCountDownLatch.await(); return; } catch (InterruptedException localInterruptedException) { Log.w("ImageManager", "Latch interrupted while posting " + this.mUri); } localOutOfMemoryError = localOutOfMemoryError; Log.e("ImageManager", "OOM while loading bitmap for uri: " + this.mUri, localOutOfMemoryError); bool1 = true; localObject = localCountDownLatch; } } catch (IOException localIOException) { for (;;) { Log.e("ImageManager", "closed failed", localIOException); } } } }
public void run() { fb.aj("LoadImageRunnable must be executed on the main thread"); Object localObject1 = (ImageManager.ImageReceiver)ImageManager.a(ImageManager.this).get(this.Ck); if (localObject1 != null) { ImageManager.a(ImageManager.this).remove(this.Ck); ((ImageManager.ImageReceiver)localObject1).c(this.Ck); } a.a locala = this.Ck.Cm; if (locala.uri == null) { this.Ck.a(ImageManager.b(ImageManager.this), ImageManager.c(ImageManager.this), true); return; } localObject1 = ImageManager.a(ImageManager.this, locala); if (localObject1 != null) { this.Ck.a(ImageManager.b(ImageManager.this), (Bitmap)localObject1, true); return; } this.Ck.a(ImageManager.b(ImageManager.this), ImageManager.c(ImageManager.this)); ??? = (ImageManager.ImageReceiver)ImageManager.d(ImageManager.this).get(locala.uri);
public void run() { fb.aj("OnBitmapLoadedRunnable must be executed in the main thread"); boolean flag; if (mBitmap != null) { flag = true; } else { flag = false; } if (ImageManager.g(Ci) != null) { if (Cl) { ImageManager.g(Ci).evictAll(); System.gc(); Cl = false; ImageManager.f(Ci).post(this); return; } if (flag) { ImageManager.g(Ci).put(new put(mUri), mBitmap); } } ageReceiver agereceiver = (ageReceiver)ImageManager.d(Ci).remove(mUri); if (agereceiver != null) { a(agereceiver, flag); } AD.countDown(); synchronized (ImageManager.ew()) { ImageManager.ex().remove(mUri); } return; exception; obj; JVM INSTR monitorexit ; throw exception; }
synchronized (ImageManager.ew()) { ImageManager.ex().remove(this.mUri); return; }
public void run() { zzb.zzbY("LoadImageRunnable must be executed on the main thread"); Object localObject1 = (ImageManager.ImageReceiver)ImageManager.zza(ImageManager.this).get(this.zzZa); if (localObject1 != null) { ImageManager.zza(ImageManager.this).remove(this.zzZa); ((ImageManager.ImageReceiver)localObject1).zzc(this.zzZa); } zza.zza localzza = this.zzZa.zzZc; if (localzza.uri == null) { this.zzZa.zza(ImageManager.zzb(ImageManager.this), ImageManager.zzc(ImageManager.this), true); return; } localObject1 = ImageManager.zza(ImageManager.this, localzza); if (localObject1 != null) { this.zzZa.zza(ImageManager.zzb(ImageManager.this), (Bitmap)localObject1, true); return; } localObject1 = (Long)ImageManager.zzd(ImageManager.this).get(localzza.uri); if (localObject1 != null) { if (SystemClock.elapsedRealtime() - ((Long)localObject1).longValue() < 3600000L) { this.zzZa.zza(ImageManager.zzb(ImageManager.this), ImageManager.zzc(ImageManager.this), true); return; } ImageManager.zzd(ImageManager.this).remove(localzza.uri); } this.zzZa.zza(ImageManager.zzb(ImageManager.this), ImageManager.zzc(ImageManager.this)); ??? = (ImageManager.ImageReceiver)ImageManager.zze(ImageManager.this).get(localzza.uri);
synchronized (ImageManager.zznm()) { ImageManager.zznn().remove(this.mUri); return; }
public void onReceiveResult(int paramInt, Bundle paramBundle) { paramBundle = (ParcelFileDescriptor)paramBundle.getParcelable("com.google.android.gms.extra.fileDescriptor"); ImageManager.zzf(ImageManager.this).execute(new ImageManager.zzc(ImageManager.this, this.mUri, paramBundle)); }
if (!(this.Ck instanceof a.c)) { ImageManager.a(ImageManager.this).put(this.Ck, localObject1); }
{ localObject1 = new ImageManager.ImageReceiver(ImageManager.this, localzza.uri); ImageManager.zze(ImageManager.this).put(localzza.uri, localObject1); }
if (!(this.zzZa instanceof zza.zzc)) { ImageManager.zza(ImageManager.this).put(this.zzZa, localObject1); }