Searched refs:xy (Results 1 - 9 of 9) sorted by relevance
/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/Dialer/java/com/android/incallui/ |
H A D | AccelerometerListener.java | 156 final double xy = Math.hypot(x, y); 158 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/model/ |
H A D | AddWorkspaceItemsTask.java | 304 int[] xy, int spanX, int spanY) { 313 return occupied.findVacantCell(xy, spanX, spanY); 302 findNextAvailableIconSpaceInScreen( LauncherAppState app, ArrayList<ItemInfo> occupiedPos, int[] xy, int spanX, int spanY) argument
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | Workspace.java | 2812 * Convert the 2D coordinate xy from the parent View's coordinate space to this CellLayout's 2813 * coordinate space. The argument xy is modified with the return result. 2815 void mapPointFromSelfToChild(View v, float[] xy) { argument 2816 xy[0] = xy[0] - v.getLeft(); 2817 xy[1] = xy[1] - v.getTop(); 2831 void mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) { argument 2832 mTempXY[0] = (int) xy[0]; 2833 mTempXY[1] = (int) xy[ 2847 mapPointFromChildToSelf(View v, float[] xy) argument [all...] |
Completed in 743 milliseconds