/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | Views.java | 41 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/ |
D | BaseDragLayer.java | 403 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/ |
D | Utilities.java | 175 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/ |
D | DragLayer.java | 262 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/ |
D | ShutterButton.java | 56 void onShutterCoordinate(TouchCoordinate coord); in onShutterCoordinate() argument
|
D | CaptureModule.java | 482 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument 483 mLastShutterTouchCoordinate = coord; in onShutterCoordinate()
|
D | PhotoModule.java | 1355 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument 1356 mShutterTouchCoordinate = coord; in onShutterCoordinate()
|
D | VideoModule.java | 721 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | ModeOptionsOverlay.java | 136 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | CameraAppUI.java | 1477 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
|