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/InCallUI/src/com/android/incallui/
DAccelerometerListener.java126 final double xy = Math.hypot(x, y); in onSensorEvent() local
128 double angle = Math.atan2(xy, z); in onSensorEvent()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java3146 void mapPointFromSelfToChild(View v, float[] xy, Matrix cachedInverseMatrix) {
3147 xy[0] = xy[0] - v.getLeft();
3148 xy[1] = xy[1] - v.getTop();
3167 void mapPointFromSelfToHotseatLayout(Hotseat hotseat, float[] xy) {
3168 mTempPt[0] = (int) xy[0];
3169 mTempPt[1] = (int) xy[1];
3173 xy[0] = mTempPt[0];
3174 xy[1] = mTempPt[1];
3183 void mapPointFromChildToSelf(View v, float[] xy) {
3184 xy[0] += v.getLeft();
[all …]
DLauncherModel.java404 int[] xy, int spanX, int spanY) { in findNextAvailableIconSpaceInScreen() argument
421 return Utilities.findVacantCell(xy, spanX, spanY, xCount, yCount, occupied); in findNextAvailableIconSpaceInScreen()
/packages/inputmethods/LatinIME/dictionaries/
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...