Esempio n. 1
0
 public final void aCs()
 {
   if ((has == null) || (has.size() <= 0)) {
     return;
   }
   int i = 0;
   label20:
   int j;
   if (i < has.size())
   {
     j = has.keyAt(i);
     if (has.get(j) != null) {
       break label68;
     }
   }
   label68:
   for (SmileyGrid localSmileyGrid = null;; localSmileyGrid = (SmileyGrid)((SoftReference)has.get(j)).get())
   {
     if (localSmileyGrid != null) {
       localSmileyGrid.release();
     }
     i += 1;
     break label20;
     break;
   }
 }
Esempio n. 2
0
 public final Object a(ViewGroup paramViewGroup, int paramInt)
 {
   if (har)
   {
     t.v("!64@/B4Tb64lLpIUhDmLVZ6YSfFgXjzkEDm0SGvdmwO2++q4dTPr74yTErfz7EPUuQJc", "get item: %d pass---- --- ", new Object[] { Integer.valueOf(paramInt) });
     return null;
   }
   t.v("!64@/B4Tb64lLpIUhDmLVZ6YSfFgXjzkEDm0SGvdmwO2++q4dTPr74yTErfz7EPUuQJc", "get item: %d", new Object[] { Integer.valueOf(paramInt) });
   if (has.get(paramInt) != null) {}
   for (Object localObject = (SmileyGrid)((SoftReference)has.get(paramInt)).get();; localObject = null)
   {
     if (localObject == null)
     {
       long l = System.currentTimeMillis();
       localObject = gZn;
       t.d("!44@/B4Tb64lLpIUhDmLVZ6YSfFgXjzkEDm0qRffxBlWzAE=", "get Item: %d", new Object[] { Integer.valueOf(paramInt) });
       l locall = (l)gZB.gYX.get(((e)localObject).lM(paramInt));
       if (locall == null)
       {
         localObject = new SmileyGrid(bnZ);
         localObject = (SmileyGrid)localObject;
         if (localObject == null) {
           break label239;
         }
         paramViewGroup.addView((View)localObject, 0);
         has.put(paramInt, new SoftReference(localObject));
       }
       for (;;)
       {
         t.d("!64@/B4Tb64lLpIUhDmLVZ6YSfFgXjzkEDm0SGvdmwO2++q4dTPr74yTErfz7EPUuQJc", "instance one item : %d, expense Time: %d", new Object[] { Integer.valueOf(paramInt), Long.valueOf(System.currentTimeMillis() - l) });
         return localObject;
         localObject = (View)locall.getItem(paramInt - gZm);
         break;
         label239:
         t.e("!64@/B4Tb64lLpIUhDmLVZ6YSfFgXjzkEDm0SGvdmwO2++q4dTPr74yTErfz7EPUuQJc", "smileygrid == null!");
       }
     }
     if (((SmileyGrid)localObject).getParent() != null) {
       ((ViewGroup)((SmileyGrid)localObject).getParent()).removeView((View)localObject);
     }
     paramViewGroup.addView((View)localObject, 0);
     return localObject;
   }
 }