/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseRecyclerViewFastScrollBar.java | 191 public void handleTouchEvent(MotionEvent ev, int downX, int downY, int lastY) { in handleTouchEvent() argument 203 calcTouchOffsetAndPrepToFastScroll(downY, lastY); in handleTouchEvent() 204 updateFastScrollSectionNameAndThumbOffset(lastY, y); in handleTouchEvent() 212 isNearThumb(downX, lastY) && in handleTouchEvent() 214 calcTouchOffsetAndPrepToFastScroll(downY, lastY); in handleTouchEvent() 217 updateFastScrollSectionNameAndThumbOffset(lastY, y); in handleTouchEvent() 234 private void calcTouchOffsetAndPrepToFastScroll(int downY, int lastY) { in calcTouchOffsetAndPrepToFastScroll() argument 240 mTouchOffsetY += (lastY - downY); in calcTouchOffsetAndPrepToFastScroll() 245 private void updateFastScrollSectionNameAndThumbOffset(int lastY, int y) { in updateFastScrollSectionNameAndThumbOffset() argument 255 updatePopupY(lastY); in updateFastScrollSectionNameAndThumbOffset()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartNetworkSeriesView.java | 188 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/ |
D | MediaPlaybackActivity.java | 662 private int lastY; field in MediaPlaybackActivity 671 if (x == lastX && y == lastY) in seekMethod1() 673 else if (y == 0 && lastY == 0 && x > lastX) in seekMethod1() 675 else if (y == 0 && lastY == 0 && x < lastX) in seekMethod1() 678 else if (y == 2 && lastY == 2 && x > lastX) in seekMethod1() 680 else if (y == 2 && lastY == 2 && x < lastX) in seekMethod1() 683 else if (y < lastY && x <= 4) in seekMethod1() 685 else if (y < lastY && x >= 5) in seekMethod1() 688 else if (y > lastY && x <= 4) in seekMethod1() 690 else if (y > lastY && x >= 5) in seekMethod1() [all …]
|
/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() 893 final int lastY = mLastY; in onMoveEventInternal() local [all …]
|
/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 557 float bY = lastY - initialTouchY; in getCurrentVelocity()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHistoryChart.java | 765 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.batteryLevel -batLow)*(levelh-1))/batChange; in onSizeChanged() 1007 finishPaths(x, h, levelh, startX, lastY, curLevelPath, lastX, in onSizeChanged() 1014 mTimeRemainPath.moveTo(x, lastY); in onSizeChanged()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
D | ActualKeyboardBuilder.java | 62 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/ |
D | GestureStrokeRecognitionPoints.java | 236 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()
|