Esempio n. 1
0
 @Override
 public void resetTouch() {
   // TODO Auto-generated method stub
   for (int i = 0; i < GlobalResource.PARTITION_PIECE; i++) {
     parts.add(i);
     /*Drawable drawable = ((ImageView)((Activity)photoContext).findViewById(GlobalResource.partviewID[i])).getDrawable();
     if (drawable instanceof BitmapDrawable) {
     BitmapDrawable bitmapDrawable = (BitmapDrawable) drawable;
     Bitmap bitmap = bitmapDrawable.getBitmap();
     bitmap.recycle();
     }*/
   }
 }
Esempio n. 2
0
 public void addSource(String filecode) {
   for (int i = 1; i <= 9; i++) {
     colorfiles.add(filecode + "_" + i);
     blackfiles.add(filecode + "_" + i + "_b");
   }
 }
Esempio n. 3
0
 public PartitionPhoto(Context context) {
   super(context);
   timeAllow = 25000;
   for (int i = 0; i < GlobalResource.PARTITION_PIECE; i++) parts.add(i);
   Collections.shuffle(parts);
 }