Searched refs:xy (Results 1 - 10 of 10) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
H A D | ActionableToastBar.java | 187 int[] xy = new int[2]; 190 getLocationOnScreen(xy); 191 return (x > xy[0] && x < (xy[0] + getWidth()) && y > xy[1] && y < xy[1] + getHeight());
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | MotionEventHelper.java | 62 float[] xy = new float[pointerCoords.length * 2]; 64 xy[2 * i] = pointerCoords[i].x; 65 xy[2 * i + 1] = pointerCoords[i].y; 67 m.mapPoints(xy); 69 pointerCoords[i].x = xy[2 * i]; 70 pointerCoords[i].y = xy[2 * i + 1];
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | ActionableToastBar.java | 301 int[] xy = new int[2]; 304 getLocationOnScreen(xy); 305 return (x > xy[0] && x < (xy[0] + getWidth()) && y > xy[1] && y < xy[1] + getHeight());
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | AccelerometerListener.java | 123 final double xy = Math.hypot(x, y); 125 double angle = Math.atan2(xy, z);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | Utilities.java | 179 int[] xy = new int[2]; 180 Bitmap mask = src.extractAlpha(sBlurPaint, xy); 184 dest.drawBitmap(mask, px + xy[0], py + xy[1],
|
H A D | InstallShortcutReceiver.java | 336 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, argument 361 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied);
|
H A D | Workspace.java | 2562 * Convert the 2D coordinate xy from the parent View's coordinate space to this CellLayout's 2563 * coordinate space. The argument xy is modified with the return result. 2566 void mapPointFromSelfToChild(View v, float[] xy) { argument 2567 mapPointFromSelfToChild(v, xy, null); 2572 * Convert the 2D coordinate xy from the parent View's coordinate space to this CellLayout's 2573 * coordinate space. The argument xy is modified with the return result. 2580 void mapPointFromSelfToChild(View v, float[] xy, Matrix cachedInverseMatrix) { argument 2589 xy[0] = xy[0] + scrollX - v.getLeft(); 2590 xy[ 2595 mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) argument 2608 mapPointFromChildToSelf(View v, float[] xy) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
H A D | NinePatchTexture.java | 199 // Names for buffer names: xy, uv, index. 334 float xy[] = new float[VERTEX_BUFFER_SIZE]; 340 xy[xIndex] = x[i]; 341 xy[yIndex] = y[j]; 389 mXyBuffer.put(xy, 0, pntCount * 2).position(0);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Workspace.java | 2988 * Convert the 2D coordinate xy from the parent View's coordinate space to this CellLayout's 2989 * coordinate space. The argument xy is modified with the return result. 2996 void mapPointFromSelfToChild(View v, float[] xy, Matrix cachedInverseMatrix) { argument 2997 xy[0] = xy[0] - v.getLeft(); 2998 xy[1] = xy[1] - v.getTop(); 3017 void mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) { argument 3018 mTempPt[0] = (int) xy[0]; 3019 mTempPt[1] = (int) xy[ 3033 mapPointFromChildToSelf(View v, float[] xy) argument [all...] |
H A D | LauncherModel.java | 419 int[] xy, int spanX, int spanY) { 436 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); 418 findNextAvailableIconSpaceInScreen(ArrayList<ItemInfo> occupiedPos, int[] xy, int spanX, int spanY) argument
|
Completed in 1042 milliseconds