Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 11 of 11) 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DCompositeCircleViewLabeler.java137 int maxX = metrics.getBounds().right; in onLayout() local
142 } else if ((x + width) > maxX) { in onLayout()
143 offset = x + width - maxX; in onLayout()
/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/Settings/src/com/android/settings/widget/
DUsageView.java113 public void configureGraph(int maxX, int maxY) { in configureGraph() argument
114 mUsageGraph.setMax(maxX, maxY); in configureGraph()
DUsageGraph.java116 void setMax(int maxX, int maxY) { in setMax() argument
118 mMaxX = maxX; in setMax()
/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/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/apps/Car/Notification/src/com/android/car/notification/
DCarHeadsUpNotificationManager.java415 int maxX = mTmpTwoArray[0] + cardView.getWidth(); in setInternalInsetsInfo() local
418 info.touchableRegion.set(minX, mNotificationHeadsUpCardMarginTop, maxX, in setInternalInsetsInfo()
/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);