Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DMotionEventHelper.java62 float[] xy = new float[pointerCoords.length * 2]; in transformEventOld() local
64 xy[2 * i] = pointerCoords[i].x; in transformEventOld()
65 xy[2 * i + 1] = pointerCoords[i].y; in transformEventOld()
67 m.mapPoints(xy); in transformEventOld()
69 pointerCoords[i].x = xy[2 * i]; in transformEventOld()
70 pointerCoords[i].y = xy[2 * i + 1]; in transformEventOld()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionableToastBar.java301 int[] xy = new int[2]; in isEventInToastBar() local
304 getLocationOnScreen(xy); in isEventInToastBar()
305 return (x > xy[0] && x < (xy[0] + getWidth()) && y > xy[1] && y < xy[1] + getHeight()); in isEventInToastBar()
/packages/apps/Launcher2/src/com/android/launcher2/
DUtilities.java179 int[] xy = new int[2]; in drawSelectedAllAppsBitmap() local
180 Bitmap mask = src.extractAlpha(sBlurPaint, xy); in drawSelectedAllAppsBitmap()
184 dest.drawBitmap(mask, px + xy[0], py + xy[1], in drawSelectedAllAppsBitmap()
DWorkspace.java2566 void mapPointFromSelfToChild(View v, float[] xy) {
2567 mapPointFromSelfToChild(v, xy, null);
2580 void mapPointFromSelfToChild(View v, float[] xy, Matrix cachedInverseMatrix) {
2589 xy[0] = xy[0] + scrollX - v.getLeft();
2590 xy[1] = xy[1] + getScrollY() - v.getTop();
2591 cachedInverseMatrix.mapPoints(xy);
2595 void mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) {
2597 xy[0] = xy[0] - hotseat.getLeft() - hotseat.getLayout().getLeft();
2598 xy[1] = xy[1] - hotseat.getTop() - hotseat.getLayout().getTop();
2599 mTempInverseMatrix.mapPoints(xy);
[all …]
DInstallShortcutReceiver.java336 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, in findEmptyCell() argument
361 return CellLayout.findVacantCell(xy, 1, 1, xCount, yCount, occupied); in findEmptyCell()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java334 float xy[] = new float[VERTEX_BUFFER_SIZE]; in prepareVertexData() local
340 xy[xIndex] = x[i]; in prepareVertexData()
341 xy[yIndex] = y[j]; in prepareVertexData()
389 mXyBuffer.put(xy, 0, pntCount * 2).position(0); in prepareVertexData()
/packages/apps/Dialer/java/com/android/incallui/
DAccelerometerListener.java156 final double xy = Math.hypot(x, y); in onSensorEvent() local
158 double angle = Math.atan2(xy, z); in onSensorEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2908 void mapPointFromSelfToChild(View v, float[] xy) {
2909 xy[0] = xy[0] - v.getLeft();
2910 xy[1] = xy[1] - v.getTop();
2924 void mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) {
2925 mTempXY[0] = (int) xy[0];
2926 mTempXY[1] = (int) xy[1];
2930 xy[0] = mTempXY[0];
2931 xy[1] = mTempXY[1];
2940 void mapPointFromChildToSelf(View v, float[] xy) {
2941 xy[0] += v.getLeft();
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/
DAddWorkspaceItemsTask.java255 int[] xy, int spanX, int spanY) { in findNextAvailableIconSpaceInScreen() argument
264 return occupied.findVacantCell(xy, spanX, spanY); in findNextAvailableIconSpaceInScreen()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...