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.java385 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
386 mTmpXY[0] = coord[0]; in getDescendantCoordRelativeToSelf()
387 mTmpXY[1] = coord[1]; in getDescendantCoordRelativeToSelf()
389 Utilities.roundArray(mTmpXY, coord); in getDescendantCoordRelativeToSelf()
393 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord) { in getDescendantCoordRelativeToSelf() argument
394 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()
409 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord, in getDescendantCoordRelativeToSelf() argument
412 coord, includeRootScroll); in getDescendantCoordRelativeToSelf()
418 public void mapCoordInSelfToDescendant(View descendant, float[] coord) { in mapCoordInSelfToDescendant() argument
419 Utilities.mapCoordInSelfToDescendant(descendant, this, coord); in mapCoordInSelfToDescendant()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java249 float coord[] = new float[2]; in animateViewIntoPosition() local
252 coord[0] = lp.x + (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition()
253 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
257 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
262 int toX = Math.round(coord[0]); in animateViewIntoPosition()
263 int toY = Math.round(coord[1]); in animateViewIntoPosition()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java194 View descendant, View ancestor, float[] coord, boolean includeRootScroll) { in getDescendantCoordRelativeToAncestor() argument
195 return getDescendantCoordRelativeToAncestor(descendant, ancestor, coord, includeRootScroll, in getDescendantCoordRelativeToAncestor()
214 float[] coord, boolean includeRootScroll, boolean ignoreTransform) { in getDescendantCoordRelativeToAncestor() argument
221 offsetPoints(coord, -v.getScrollX(), -v.getScrollY()); in getDescendantCoordRelativeToAncestor()
225 v.getMatrix().mapPoints(coord); in getDescendantCoordRelativeToAncestor()
227 offsetPoints(coord, v.getLeft(), v.getTop()); in getDescendantCoordRelativeToAncestor()
265 public static void mapCoordInSelfToDescendant(View descendant, View root, float[] coord) { in mapCoordInSelfToDescendant() argument
276 sInverseMatrix.mapPoints(coord); in mapCoordInSelfToDescendant()
/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.java718 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.java1478 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument