Home
last modified time | relevance | path

Searched refs:lastY (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/widget/
DChartNetworkSeriesView.java188 float lastY = height; in generatePath() local
192 mPathStroke.moveTo(lastX, lastY); in generatePath()
193 mPathFill.moveTo(lastX, lastY); in generatePath()
219 final float startY = lastY; in generatePath()
233 lastY = endY; in generatePath()
241 mPathStroke.lineTo(lastX, lastY); in generatePath()
242 mPathFill.lineTo(lastX, lastY); in generatePath()
260 mPathEstimate.moveTo(lastX, lastY); in generatePath()
283 lastY = mVert.convertToPoint(totalData); in generatePath()
285 mPathEstimate.lineTo(lastX, lastY); in generatePath()
/packages/apps/Music/src/com/android/music/
DMediaPlaybackActivity.java697 private int lastY; 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()
714 else if (y < lastY && x <= 4) dir = 1; in seekMethod1()
715 else if (y < lastY && x >= 5) dir = -1; in seekMethod1()
717 else if (y > lastY && x <= 4) dir = -1; in seekMethod1()
718 else if (y > lastY && x >= 5) dir = 1; in seekMethod1()
[all …]
/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()
893 final int lastY = mLastY; in onMoveEventInternal() local
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DBaseRecyclerViewFastScrollBar.java178 public void handleTouchEvent(MotionEvent ev, int downX, int downY, int lastY) { in handleTouchEvent() argument
194 isNearThumb(downX, lastY) && in handleTouchEvent()
201 mTouchOffset += (lastY - downY); in handleTouchEvent()
214 mRv.invalidate(mPopup.updateFastScrollerBounds(lastY)); in handleTouchEvent()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DActualKeyboardBuilder.java62 int lastY = filteredSortedKeys.get(0).getY(); in buildKeyboard() local
64 if (lastY != key.getY()) { in buildKeyboard()
66 lastY = key.getY(); in buildKeyboard()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java236 final int lastY = mYCoordinates.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/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java765 int x = mLevelLeft, y = 0, startX = mLevelLeft, lastX = -1, lastY = -1; in onSizeChanged() local
798 if (lastY != y) { in onSizeChanged()
826 lastY = y; in onSizeChanged()
966 finishPaths(x+1, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged()
969 lastX = lastY = -1; in onSizeChanged()
983 if (lastY < 0 || lastX < 0) { in onSizeChanged()
986 y = lastY = mLevelTop + levelh - ((mInfo.mBatteryLevel-batLow)*(levelh-1))/batChange; in onSizeChanged()
1007 finishPaths(x, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged()
1014 mTimeRemainPath.moveTo(x, lastY); in onSizeChanged()