Home
last modified time | relevance | path

Searched refs:coord (Results 1 – 10 of 10) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DViews.java41 final int[] coord = new int[2]; in isEventOver() local
42 view.getLocationOnScreen(coord); in isEventOver()
44 final Rect viewRect = new Rect(coord[0], coord[1], coord[0] + view.getMeasuredWidth(), in isEventOver()
45 coord[1] + view.getMeasuredHeight()); in isEventOver()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DBaseDragLayer.java403 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
404 mTmpXY[0] = coord[0]; in getDescendantCoordRelativeToSelf()
405 mTmpXY[1] = coord[1]; in getDescendantCoordRelativeToSelf()
407 Utilities.roundArray(mTmpXY, coord); in getDescendantCoordRelativeToSelf()
411 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord) { in getDescendantCoordRelativeToSelf() argument
412 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()
427 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord, in getDescendantCoordRelativeToSelf() argument
430 coord, includeRootScroll); in getDescendantCoordRelativeToSelf()
436 public void mapCoordInSelfToDescendant(View descendant, float[] coord) { in mapCoordInSelfToDescendant() argument
437 Utilities.mapCoordInSelfToDescendant(descendant, this, coord); in mapCoordInSelfToDescendant()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java175 View descendant, View ancestor, float[] coord, boolean includeRootScroll) { in getDescendantCoordRelativeToAncestor() argument
176 return getDescendantCoordRelativeToAncestor(descendant, ancestor, coord, includeRootScroll, in getDescendantCoordRelativeToAncestor()
195 float[] coord, boolean includeRootScroll, boolean ignoreTransform) { in getDescendantCoordRelativeToAncestor() argument
202 offsetPoints(coord, -v.getScrollX(), -v.getScrollY()); in getDescendantCoordRelativeToAncestor()
206 v.getMatrix().mapPoints(coord); in getDescendantCoordRelativeToAncestor()
208 offsetPoints(coord, v.getLeft(), v.getTop()); in getDescendantCoordRelativeToAncestor()
219 public static void mapCoordInSelfToDescendant(View descendant, View root, float[] coord) { in mapCoordInSelfToDescendant() argument
230 sInverseMatrix.mapPoints(coord); in mapCoordInSelfToDescendant()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java262 float coord[] = new float[2]; in animateViewIntoPosition() local
265 coord[0] = lp.x + (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition()
266 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
270 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
275 int toX = Math.round(coord[0]); in animateViewIntoPosition()
276 int toY = Math.round(coord[1]); in animateViewIntoPosition()
/packages/apps/Camera2/src/com/android/camera/
DShutterButton.java56 void onShutterCoordinate(TouchCoordinate coord); in onShutterCoordinate() argument
DCaptureModule.java482 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
483 mLastShutterTouchCoordinate = coord; in onShutterCoordinate()
DPhotoModule.java1355 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
1356 mShutterTouchCoordinate = coord; in onShutterCoordinate()
DVideoModule.java721 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptionsOverlay.java136 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java1477 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument