Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/views/
DBaseDragLayer.java366 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
367 mTmpXY[0] = coord[0]; in getDescendantCoordRelativeToSelf()
368 mTmpXY[1] = coord[1]; in getDescendantCoordRelativeToSelf()
370 Utilities.roundArray(mTmpXY, coord); in getDescendantCoordRelativeToSelf()
374 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord) { in getDescendantCoordRelativeToSelf() argument
375 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()
390 public float getDescendantCoordRelativeToSelf(View descendant, float[] coord, in getDescendantCoordRelativeToSelf() argument
393 coord, includeRootScroll); in getDescendantCoordRelativeToSelf()
399 public void mapCoordInSelfToDescendant(View descendant, float[] coord) { in mapCoordInSelfToDescendant() argument
400 Utilities.mapCoordInSelfToDescendant(descendant, this, coord); in mapCoordInSelfToDescendant()
[all …]
/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/
DUtilities.java164 View descendant, View ancestor, float[] coord, boolean includeRootScroll) { in getDescendantCoordRelativeToAncestor() argument
165 return getDescendantCoordRelativeToAncestor(descendant, ancestor, coord, includeRootScroll, in getDescendantCoordRelativeToAncestor()
186 float[] coord, boolean includeRootScroll, boolean ignoreTransform, in getDescendantCoordRelativeToAncestor() argument
194 offsetPoints(coord, -v.getScrollX(), -v.getScrollY()); in getDescendantCoordRelativeToAncestor()
202 sMatrix.mapPoints(coord); in getDescendantCoordRelativeToAncestor()
210 v.getMatrix().mapPoints(coord); in getDescendantCoordRelativeToAncestor()
212 offsetPoints(coord, v.getLeft(), v.getTop()); in getDescendantCoordRelativeToAncestor()
223 public static void mapCoordInSelfToDescendant(View descendant, View root, float[] coord) { in mapCoordInSelfToDescendant() argument
234 sInverseMatrix.mapPoints(coord); in mapCoordInSelfToDescendant()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java264 float coord[] = new float[2]; in animateViewIntoPosition() local
266 coord[0] = lp.x + (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition()
267 coord[1] = lp.y + (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
271 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