Home
last modified time | relevance | path

Searched refs:lastX (Results 1 – 9 of 9) 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.java74 float lastX = left; in onDraw() local
85 final float nextX = lastX + entryWidth; in onDraw()
87 canvas.drawRect(lastX, top, right, bottom, e.paint); in onDraw()
91 canvas.drawRect(lastX, top, nextX, bottom, e.paint); in onDraw()
92 lastX = nextX; in onDraw()
96 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/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DCropView.java58 private float lastX; field in CropView
185 lastX = x; in onTouchEvent()
191 moveEdges(x - lastX, y - lastY); in onTouchEvent()
193 lastX = x; in onTouchEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java558 final int lastX = mLastX; in onMoveEvent() local
598 final int dx = x - lastX; in onMoveEvent()
606 + "up[%d,%d]/down[%d,%d] events", lastX, lastY, x, y)); in onMoveEvent()
609 ResearchLogger.pointerTracker_onMoveEvent(x, y, lastX, lastY); in onMoveEvent()
DLatinKeyboardView.java739 final int lastX = tracker.getLastX(); in processMotionEvent() local
741 mOldKey = tracker.getKeyOn(lastX, lastY); in processMotionEvent()
742 tracker.onUpEvent(lastX, lastY, eventTime); in processMotionEvent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DResearchLogger.java736 public static void pointerTracker_onMoveEvent(final int x, final int y, final int lastX, in pointerTracker_onMoveEvent() argument
740 + "up[%d,%d]/down[%d,%d] events", lastX, lastY, x, y); in pointerTracker_onMoveEvent()