/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/ |
D | ContactFilterCursor.java | 60 private int currentPosition = 0; field in ContactFilterCursor 334 currentPosition = 0; in filter() 340 currentPosition = position; in moveToPosition() 341 return currentPosition < getCount() in moveToPosition() 342 && cursor.moveToPosition(queryFilteredPositions.get(currentPosition)); in moveToPosition() 347 currentPosition += offset; in move() 348 return moveToPosition(currentPosition); in move() 358 return currentPosition == 0; in isFirst() 363 return currentPosition == getCount() - 1; in isLast() 368 return currentPosition; in getPosition() [all …]
|
D | SearchContactViewHolder.java | 133 int currentPosition = cursor.getPosition(); in shouldShowPhoto() local 135 cursor.moveToPosition(currentPosition - 1); in shouldShowPhoto() 139 cursor.moveToPosition(currentPosition); in shouldShowPhoto() 142 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
D | ObjectCursor.java | 61 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/java/com/android/dialer/searchfragment/directories/ |
D | DirectoryContactViewHolder.java | 107 int currentPosition = cursor.getPosition(); in shouldShowPhoto() local 109 cursor.moveToPosition(currentPosition - 1); in shouldShowPhoto() 113 cursor.moveToPosition(currentPosition); in shouldShowPhoto() 116 cursor.moveToPosition(currentPosition); in shouldShowPhoto()
|
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/ |
D | PduComposer.java | 1102 public int currentPosition = 0; field in PduComposer.LengthRecordNode 1155 temp.currentPosition = mPosition; in newbuf() 1171 final int currentPosition = mPosition; in pop() local 1174 mPosition = stack.currentPosition; in pop() 1183 toCopy.currentPosition = currentPosition; in pop() 1191 toCopy.currentPosition); in copy()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactSectionIndexer.java | 138 int currentPosition = 0; in buildIndexerFromDisplayNames() local 151 mSectionStartingPositions.add(currentPosition); in buildIndexerFromDisplayNames() 153 currentPosition++; in buildIndexerFromDisplayNames()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ChannelBannerView.java | 797 long currentPosition = mCurrentPlayingPositionProvider.get(); 805 getProgressPercent(currentPosition, programStartTime, programEndTime)); 809 getProgressPercent(currentPosition, programStartTime, programEndTime)); 838 long currentPosition = mCurrentPlayingPositionProvider.get(); 842 && currentPosition >= recording.getStartTimeMs() 843 && currentPosition <= recording.getEndTimeMs());
|
D | SelectInputView.java | 173 int currentPosition = mInputList.indexOf(mSelectedInput); in onKeyUp() local 174 int nextPosition = currentPosition; in onKeyUp() 180 if (nextPosition == currentPosition) { in onKeyUp()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TunerTsStreamer.java | 112 long currentPosition = mStartBufferedPosition + mLastReadPosition.get(); in read() local 115 ((endPosition - currentPosition + TS_PACKET_SIZE - 1) / TS_PACKET_SIZE) in read() 118 mStartBufferedPosition = currentPosition + diff; in read()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 922 final int currentPosition = mDigits.getSelectionStart(); in removePreviousDigitIfPossible() local 923 if (currentPosition > 0) { in removePreviousDigitIfPossible() 924 mDigits.setSelection(currentPosition); in removePreviousDigitIfPossible() 925 mDigits.getText().delete(currentPosition - 1, currentPosition); in removePreviousDigitIfPossible()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 275 int currentPosition = mScope.view.getChildAdapterPosition(view); in findTargetPosition() local 279 if (currentPosition > 0) { in findTargetPosition() 286 if (currentPosition < mScope.adapter.getItemCount() - 1) { in findTargetPosition()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadFragment.java | 1130 final int currentPosition = digits.getSelectionStart(); in removePreviousDigitIfPossible() local 1131 if (currentPosition > 0 && digit == digits.getText().charAt(currentPosition - 1)) { in removePreviousDigitIfPossible() 1132 digits.setSelection(currentPosition); in removePreviousDigitIfPossible() 1133 digits.getText().delete(currentPosition - 1, currentPosition); in removePreviousDigitIfPossible()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 394 long currentPosition = 0; in pausePlayback() local 396 currentPosition = mMediaPlayer.getCurrentPosition(); in pausePlayback() 401 .setState(PlaybackState.STATE_PAUSED, currentPosition, PLAYBACK_SPEED_STOPPED) in pausePlayback()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | WearableListView.java | 563 int currentPosition = getChildPosition(child); in fling() local 564 if ((currentPosition == 0 && velocityY < 0) || in fling() 565 (currentPosition == getAdapter().getItemCount() - 1 && velocityY > 0)) { in fling() 587 0, Math.min(getAdapter().getItemCount() - 1, currentPosition + delta)); in fling()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 720 final int currentPosition = getScroll(); in scrollUpForEntranceAnimation() local 721 final int bottomScrollPosition = currentPosition in scrollUpForEntranceAnimation() 725 final int desiredValue = currentPosition + (scrollToCurrentPosition ? currentPosition in scrollUpForEntranceAnimation()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1628 private float getPosition(long time, float currentPosition) { in getPosition() argument 1637 return historyPosition.getPosition() * weight + (1f - weight) * currentPosition; in getPosition()
|