/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 | 385 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/ |
D | DragLayer.java | 249 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/ |
D | Utilities.java | 194 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/ |
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 | 718 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 | 1478 public void onShutterCoordinate(TouchCoordinate coord) { in onShutterCoordinate() argument
|