Home
last modified time | relevance | path

Searched refs:SCREEN_NAIL_MAX (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java179 public static final int SCREEN_NAIL_MAX = 3; field in PhotoView
189 new RangeArray<Picture>(-SCREEN_NAIL_MAX, SCREEN_NAIL_MAX);
190 private Size[] mSizes = new Size[2 * SCREEN_NAIL_MAX + 1];
306 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; i++) { in PhotoView()
411 for (int i = 0; i < 2 * SCREEN_NAIL_MAX + 1; i++) { in notifyDataChange()
413 mTouchBoxIndex = i - SCREEN_NAIL_MAX; in notifyDataChange()
427 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; i++) { in notifyDataChange()
430 mSizes[i + SCREEN_NAIL_MAX] = p.getSize(); in notifyDataChange()
439 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; i++) { in notifyDataChange()
498 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; i++) { in onLayout()
[all …]
DPositionController.java101 private static final int BOX_MAX = PhotoView.SCREEN_NAIL_MAX;
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java64 private static final int SCREEN_NAIL_MAX = PhotoView.SCREEN_NAIL_MAX; field in PhotoDataAdapter
65 private static final int IMAGE_CACHE_SIZE = 2 * SCREEN_NAIL_MAX + 1;
244 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; ++i) { in fireDataChange()
246 if (mChanges[i + SCREEN_NAIL_MAX] != newVersion) { in fireDataChange()
247 mChanges[i + SCREEN_NAIL_MAX] = newVersion; in fireDataChange()
266 mPaths[i] = getPath(mCurrentIndex + i - SCREEN_NAIL_MAX); in fireDataChange()
284 fromIndex[i] = (j < N) ? j - SCREEN_NAIL_MAX : Integer.MAX_VALUE; in fireDataChange()
319 for (int i = -SCREEN_NAIL_MAX; i <= SCREEN_NAIL_MAX; ++i) { in updateScreenNail()