Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java186 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/
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/fuelgauge/
DBatteryHistoryChart.java85 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/
DPointerTracker.java1077 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/
DMediaPlaybackActivity.java696 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/
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/
DGestureStroke.java291 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/
DResearchLogger.java1555 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()