Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPercentageBarChart.java95 final float lastX = nextX - entryWidth; in onDraw() local
96 if (lastX < left) { in onDraw()
101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
102 nextX = lastX; in onDraw()
108 float lastX = left; in onDraw() local
119 final float nextX = lastX + entryWidth; in onDraw()
121 canvas.drawRect(lastX, top, right, bottom, e.paint); in onDraw()
125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
126 lastX = nextX; in onDraw()
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint); in onDraw()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java95 final float lastX = nextX - entryWidth; in onDraw() local
96 if (lastX < left) { in onDraw()
101 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
102 nextX = lastX; in onDraw()
108 float lastX = left; in onDraw() local
119 final float nextX = lastX + entryWidth; in onDraw()
121 canvas.drawRect(lastX, top, right, bottom, e.paint); in onDraw()
125 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
126 lastX = nextX; in onDraw()
130 canvas.drawRect(lastX, top, right, bottom, mEmptyPaint); in onDraw()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java793 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processPhantomSuddenMoveHack() argument
798 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack()
799 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack()
807 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processProximateBogusDownMoveUpEventHack() argument
818 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack()
833 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in dragFingerFromOldKeyToNewKey() argument
847 && getDistance(x, y, lastX, lastY) >= mPhantomSuddenMoveThreshold) { in dragFingerFromOldKeyToNewKey()
848 processPhantomSuddenMoveHack(key, x, y, eventTime, oldKey, lastX, lastY); in dragFingerFromOldKeyToNewKey()
855 processProximateBogusDownMoveUpEventHack(key, x, y, eventTime, oldKey, lastX, lastY); in dragFingerFromOldKeyToNewKey()
892 final int lastX = mLastX; in onMoveEventInternal() local
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchChipViewManager.java364 float lastX = isRtl ? mChipGroup.getWidth() - chipSpacing : chipSpacing; in reorderCheckedChips() local
387 lastX -= chip.getMeasuredWidth(); in reorderCheckedChips()
390 ObjectAnimator animator = ObjectAnimator.ofFloat(chip, "x", chip.getX(), lastX); in reorderCheckedChips()
393 lastX -= chipSpacing; in reorderCheckedChips()
395 lastX += chip.getMeasuredWidth() + chipSpacing; in reorderCheckedChips()
/packages/apps/Launcher3/iconloaderlib/src/com/android/launcher3/icons/
DIconNormalizer.java284 int firstX, lastX; in getScale() local
287 firstX = lastX = -1; in getScale()
293 lastX = x; in getScale()
300 mRightBorder[y] = lastX; in getScale()
310 rightX = Math.max(rightX, lastX); in getScale()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java239 private void endMotion(boolean forceSnapBack, float lastX, float lastY) { in endMotion() argument
241 flingWithCurrentVelocity(forceSnapBack, lastX, lastY); in endMotion()
357 private void flingWithCurrentVelocity(boolean forceSnapBack, float lastX, float lastY) { in flingWithCurrentVelocity() argument
358 float vel = getCurrentVelocity(lastX, lastY); in flingWithCurrentVelocity()
549 private float getCurrentVelocity(float lastX, float lastY) { in getCurrentVelocity() argument
556 float bX = lastX - initialTouchX; in getCurrentVelocity()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DNinePatchTexture.java275 float lastX = 0; in stretch() local
284 x[i + 1] = lastX + (div[i] - lastU) + 0.5f; in stretch()
293 lastX = x[i + 1] + partX; in stretch()
295 x[i + 2] = lastX - 0.5f; in stretch()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java235 final int lastX = mXCoordinates.get(lastIndex); in detectFastMove() local
237 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove()
240 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DUsageGraph.java206 int lastX = localPaths.keyAt(localPaths.size() - 1); in calculateLocalPaths() local
208 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()
/packages/apps/Settings/src/com/android/settings/widget/
DUsageGraph.java206 int lastX = localPaths.keyAt(localPaths.size() - 1); in calculateLocalPaths() local
208 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()