Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterGrad.java130 float[] coord = new float[2]; in runFilter() local
132 coord[0] = x1[i]; in runFilter()
133 coord[1] = y1[i]; in runFilter()
134 m.mapPoints(coord); in runFilter()
135 x1[i] = (int) coord[0]; in runFilter()
136 y1[i] = (int) coord[1]; in runFilter()
137 coord[0] = x2[i]; in runFilter()
138 coord[1] = y2[i]; in runFilter()
139 m.mapPoints(coord); in runFilter()
140 x2[i] = (int) coord[0]; in runFilter()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java402 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
403 return getDescendantCoordRelativeToSelf(descendant, coord, false); in getDescendantCoordRelativeToSelf()
418 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord, in getDescendantCoordRelativeToSelf() argument
421 coord, includeRootScroll); in getDescendantCoordRelativeToSelf()
427 public void mapCoordInSelfToDescendant(View descendant, int[] coord) { in mapCoordInSelfToDescendant() argument
428 Utilities.mapCoordInSelfToDescendant(descendant, this, coord); in mapCoordInSelfToDescendant()
590 int coord[] = new int[2]; in animateViewIntoPosition() local
592 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition()
593 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
597 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java165 View descendant, View ancestor, int[] coord, boolean includeRootScroll) { in getDescendantCoordRelativeToAncestor() argument
166 sPoint[0] = coord[0]; in getDescendantCoordRelativeToAncestor()
167 sPoint[1] = coord[1]; in getDescendantCoordRelativeToAncestor()
187 coord[0] = Math.round(sPoint[0]); in getDescendantCoordRelativeToAncestor()
188 coord[1] = Math.round(sPoint[1]); in getDescendantCoordRelativeToAncestor()
195 public static void mapCoordInSelfToDescendant(View descendant, View root, int[] coord) { in mapCoordInSelfToDescendant() argument
207 sPoint[0] = coord[0]; in mapCoordInSelfToDescendant()
208 sPoint[1] = coord[1]; in mapCoordInSelfToDescendant()
210 coord[0] = Math.round(sPoint[0]); in mapCoordInSelfToDescendant()
211 coord[1] = Math.round(sPoint[1]); in mapCoordInSelfToDescendant()
/packages/apps/Launcher2/src/com/android/launcher2/
DDragLayer.java322 public float getDescendantCoordRelativeToSelf(View descendant, int[] coord) { in getDescendantCoordRelativeToSelf() argument
324 float[] pt = {coord[0], coord[1]}; in getDescendantCoordRelativeToSelf()
338 coord[0] = (int) Math.round(pt[0]); in getDescendantCoordRelativeToSelf()
339 coord[1] = (int) Math.round(pt[1]); in getDescendantCoordRelativeToSelf()
484 int coord[] = new int[2]; in animateViewIntoPosition() local
486 coord[0] = lp.x + (int) (child.getMeasuredWidth() * (1 - childScale) / 2); in animateViewIntoPosition()
487 coord[1] = lp.y + (int) (child.getMeasuredHeight() * (1 - childScale) / 2); in animateViewIntoPosition()
491 float scale = getDescendantCoordRelativeToSelf((View) child.getParent(), coord); in animateViewIntoPosition()
495 int toX = coord[0]; in animateViewIntoPosition()
496 int toY = 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