@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(); }*/ } }
public void addSource(String filecode) { for (int i = 1; i <= 9; i++) { colorfiles.add(filecode + "_" + i); blackfiles.add(filecode + "_" + i + "_b"); } }
public PartitionPhoto(Context context) { super(context); timeAllow = 25000; for (int i = 0; i < GlobalResource.PARTITION_PIECE; i++) parts.add(i); Collections.shuffle(parts); }