Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCoordinate.java25 private float maxX; field in TouchCoordinate
35 public TouchCoordinate(float x, float y, float maxX, float maxY) { in TouchCoordinate() argument
38 this.maxX = maxX; in TouchCoordinate()
51 return this.maxX; in getMaxX()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java391 public boolean springBack(int startX, int startY, int minX, int maxX, int minY, int maxY) { in springBack() argument
395 final boolean spingbackX = mScrollerX.springback(startX, minX, maxX); in springBack()
401 int minX, int maxX, int minY, int maxY) { in fling() argument
402 fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY, 0, 0); in fling()
433 int minX, int maxX, int minY, int maxY, int overX, int overY) { in fling() argument
446 mScrollerX.fling(startX, velocityX, minX, maxX, overX); in fling()
DScroller.java367 int minX, int maxX, int minY, int maxY) { in fling() argument
407 mMaxX = maxX; in fling()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DFlingScroller.java77 int minX, int maxX, int minY, int maxY) { in fling() argument
82 mMaxX = maxX; in fling()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActivity.java260 float maxX = event.getDevice().getMotionRange(MotionEvent.AXIS_X).getMax(); in onGenericMotionEvent() local
263 float scaleX = decor.getWidth() / maxX; in onGenericMotionEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DMoreKeysKeyboardView.java135 final int maxX = parentView.getMeasuredWidth() - container.getMeasuredWidth(); in showMoreKeysPanel() local
136 final int panelX = Math.max(0, Math.min(maxX, x)) + CoordinateUtils.x(mCoordinates); in showMoreKeysPanel()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherScroller.java404 int minX, int maxX, int minY, int maxY) { in fling() argument
443 mMaxX = maxX; in fling()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolder.java332 int maxX = 0; in placeInReadingOrder() local
336 if (item.cellX > maxX) { in placeInReadingOrder()
337 maxX = item.cellX; in placeInReadingOrder()
341 GridComparator gridComparator = new GridComparator(maxX + 1); in placeInReadingOrder()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2187 int maxX = estimateMaxX(item.getAdapterIndex(), item.getLeftPosition(), w);
2189 mScrollGesture.fling(mCenterX, 0, (int) -velocityX, 0, minX, maxX, 0, 0);
2565 int minX, int maxX,
2567 mScroller.fling(startX, startY, velocityX, velocityY, minX, maxX, minY, maxY);