Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterEditScrollListener.java114 float currentPosition = position + mainPosition; in onScrolled() local
230 if (currentPosition > mLastPosition) { in onScrolled()
248 } else if (mStartScrolling && currentPosition > mLastPosition) { in onScrolled()
266 } else if (mStartScrolling && currentPosition < mLastPosition) { in onScrolled()
287 mLastPosition = currentPosition; in onScrolled()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java625 final int currentPosition = mDigits.getSelectionStart(); in removePreviousDigitIfPossible() local
626 if (currentPosition > 0) { in removePreviousDigitIfPossible()
627 mDigits.setSelection(currentPosition); in removePreviousDigitIfPossible()
628 mDigits.getText().delete(currentPosition - 1, currentPosition); in removePreviousDigitIfPossible()
/packages/apps/UnifiedEmail/src/com/android/mail/content/
DObjectCursor.java61 final int currentPosition = c.getPosition(); in getModel() local
63 final T prev = mCache.get(currentPosition); in getModel()
69 mCache.put(currentPosition, model); in getModel()
/packages/apps/Dialer/src/com/android/dialer/dialpad/
DDialpadFragment.java983 final int currentPosition = mDigits.getSelectionStart(); in removePreviousDigitIfPossible() local
984 if (currentPosition > 0) { in removePreviousDigitIfPossible()
985 mDigits.setSelection(currentPosition); in removePreviousDigitIfPossible()
986 mDigits.getText().delete(currentPosition - 1, currentPosition); in removePreviousDigitIfPossible()
/packages/apps/Dialer/src/com/android/dialer/voicemail/
DVoicemailPlaybackPresenter.java597 int currentPosition = 0;
603 currentPosition = mPlayer.getCurrentPosition();
605 mView.setClipPosition(currentPosition, mDuration.get());
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java656 final int currentPosition = getScroll(); in scrollUpForEntranceAnimation() local
657 final int bottomScrollPosition = currentPosition in scrollUpForEntranceAnimation()
661 final int desiredValue = currentPosition + (scrollToCurrentPosition ? currentPosition in scrollUpForEntranceAnimation()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1634 private float getPosition(long time, float currentPosition) { in getPosition() argument
1643 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()