Home
last modified time | relevance | path

Searched refs:gapToSide (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPositionController.java409 return IMAGE_GAP + Math.max(gapToSide(a), gapToSide(b)); in getDefaultGapSize()
424 private int gapToSide(Box b) { in gapToSide() method in PositionController
DPhotoView.java1508 int threshold = MOVE_THRESHOLD + gapToSide(r.width(), viewW);
1534 private static int gapToSide(int imageWidth, int viewWidth) { in gapToSide() method