/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartNetworkSeriesView.java | 186 float lastX = 0; in generatePath() local 188 long lastTime = mHoriz.convertToValue(lastX); in generatePath() 191 mPathStroke.moveTo(lastX, lastY); in generatePath() 192 mPathFill.moveTo(lastX, lastY); in generatePath() 231 lastX = endX; in generatePath() 238 lastX = mHoriz.convertToPoint(mEndTime); in generatePath() 240 mPathStroke.lineTo(lastX, lastY); in generatePath() 241 mPathFill.lineTo(lastX, lastY); in generatePath() 252 mPathFill.lineTo(lastX, height); in generatePath() 259 mPathEstimate.moveTo(lastX, lastY); in generatePath() [all …]
|
/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/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 85 int lastBin=0, lastX=0; in draw() local 92 canvas.drawRect(lastX, top, x, bottom, mPaints[lastBin]); in draw() 95 lastX = x; in draw() 398 int lastX, boolean lastCharging, boolean lastScreenOn, boolean lastGpsOn, in finishPaths() argument 401 if (lastX >= 0 && lastX < w) { in finishPaths() 516 int x = 0, y = 0, startX = 0, lastX = -1, lastY = -1; in onSizeChanged() local 530 if (lastX != x) { in onSizeChanged() 557 lastX = x; in onSizeChanged() 635 finishPaths(x+1, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged() 638 lastX = lastY = -1; in onSizeChanged() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | PointerTracker.java | 1077 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processPhantomSuddenMoveHack() argument 1082 getDistance(x, y, lastX, lastY), in processPhantomSuddenMoveHack() 1083 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processPhantomSuddenMoveHack() 1088 ResearchLogger.pointerTracker_onMoveEvent(x, y, lastX, lastY); in processPhantomSuddenMoveHack() 1095 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in processProximateBogusDownMoveUpEventHack() argument 1106 lastX, lastY, Constants.printableCode(oldKey.getCode()), in processProximateBogusDownMoveUpEventHack() 1121 final long eventTime, final Key oldKey, final int lastX, final int lastY) { in slideFromOldKeyToNewKey() argument 1135 && getDistance(x, y, lastX, lastY) >= mPhantonSuddenMoveThreshold) { in slideFromOldKeyToNewKey() 1136 processPhantomSuddenMoveHack(key, x, y, eventTime, oldKey, lastX, lastY); in slideFromOldKeyToNewKey() 1143 processProximateBogusDownMoveUpEventHack(key, x, y, eventTime, oldKey, lastX, lastY); in slideFromOldKeyToNewKey() [all …]
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackActivity.java | 696 private int lastX; field in MediaPlaybackActivity 707 if(x == lastX && y == lastY) dir = 0; in seekMethod1() 708 else if (y == 0 && lastY == 0 && x > lastX) dir = 1; in seekMethod1() 709 else if (y == 0 && lastY == 0 && x < lastX) dir = -1; in seekMethod1() 711 else if (y == 2 && lastY == 2 && x > lastX) dir = -1; in seekMethod1() 712 else if (y == 2 && lastY == 2 && x < lastX) dir = 1; in seekMethod1() 719 lastX = x; in seekMethod1() 730 lastX = -1; in seekMethod1()
|
/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 | GestureStroke.java | 291 final int lastX = mXCoordinates.get(lastIndex); in detectFastMove() local 293 final int dist = getDistance(lastX, lastY, x, y); in detectFastMove() 296 final int pixels = getDistance(lastX, lastY, x, y); in detectFastMove()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
D | ResearchLogger.java | 1555 public static void pointerTracker_onMoveEvent(final int x, final int y, final int lastX, in pointerTracker_onMoveEvent() argument 1557 getInstance().enqueueEvent(LOGSTATEMENT_POINTERTRACKER_ONMOVEEVENT, x, y, lastX, lastY); in pointerTracker_onMoveEvent()
|