/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/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 | 821 long currentPosition = mCurrentPlayingPositionProvider.get(); 829 getProgressPercent(currentPosition, programStartTime, programEndTime)); 833 getProgressPercent(currentPosition, programStartTime, programEndTime)); 862 long currentPosition = mCurrentPlayingPositionProvider.get(); 866 && currentPosition >= recording.getStartTimeMs() 867 && 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 | 121 long currentPosition = mStartBufferedPosition + mLastReadPosition.get(); in read() local 124 ((endPosition - currentPosition + TS_PACKET_SIZE - 1) / TS_PACKET_SIZE) in read() 127 mStartBufferedPosition = currentPosition + diff; in read()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 129 final int currentPosition = layoutManager.getPosition(currentView); in findTargetSnapPosition() local 130 if (currentPosition == RecyclerView.NO_POSITION) { in findTargetSnapPosition() 171 int targetPos = currentPosition + deltaJump; in findTargetSnapPosition()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 876 final int currentPosition = mDigits.getSelectionStart(); in removePreviousDigitIfPossible() local 877 if (currentPosition > 0) { in removePreviousDigitIfPossible() 878 mDigits.setSelection(currentPosition); in removePreviousDigitIfPossible() 879 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()
|