/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/ |
D | PercentageBarChart.java | 95 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/ |
D | PercentageBarChart.java | 95 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/ |
D | PointerTracker.java | 793 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/Launcher3/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 284 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/DocumentsUI/src/com/android/documentsui/queries/ |
D | SearchChipViewManager.java | 364 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/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonHelper.java | 239 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/ |
D | NinePatchTexture.java | 275 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/ |
D | GestureStrokeRecognitionPoints.java | 235 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/ |
D | UsageGraph.java | 206 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/ |
D | UsageGraph.java | 206 int lastX = localPaths.keyAt(localPaths.size() - 1); in calculateLocalPaths() local 208 if (lastY != PATH_DELIM && !hasDiff(lastX, lx) && !hasDiff(lastY, ly)) { in calculateLocalPaths()
|