/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationPositionTracker.java | 197 final int newPosition; in calculatePosition() local 200 newPosition = listSize - 1; in calculatePosition() 202 newPosition = foundPosition; in calculatePosition() 207 if (isDataLoaded(cursor) && newPosition >= 0){ in calculatePosition() 210 newPosition); in calculatePosition() 211 cursor.moveToPosition(newPosition); in calculatePosition() 213 mConversation.position = newPosition; in calculatePosition() 215 return newPosition; in calculatePosition()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBroadcastReceiver.java | 78 final int newPosition = intent.getIntExtra(Slice.EXTRA_RANGE_VALUE, -1); in onReceive() local 79 handleSliderAction(context, key, newPosition, isPlatformSlice); in onReceive() 143 private void handleSliderAction(Context context, String key, int newPosition, in handleSliderAction() argument 150 if (newPosition == -1) { in handleSliderAction() 169 if (newPosition < minValue || newPosition > maxValue) { in handleSliderAction() 172 + " and " + maxValue + " but found " + newPosition); in handleSliderAction() 175 sliderController.setSliderPosition(newPosition); in handleSliderAction() 176 logSliceValueChange(context, key, newPosition); in handleSliderAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceBroadcastReceiver.java | 78 final int newPosition = intent.getIntExtra(Slice.EXTRA_RANGE_VALUE, -1); in onReceive() local 79 handleSliderAction(context, key, newPosition, isPlatformSlice); in onReceive() 143 private void handleSliderAction(Context context, String key, int newPosition, in handleSliderAction() argument 150 if (newPosition == -1) { in handleSliderAction() 168 if (newPosition < 0 || newPosition > maxSteps) { in handleSliderAction() 171 + maxSteps + " but found " + newPosition); in handleSliderAction() 174 sliderController.setSliderPosition(newPosition); in handleSliderAction() 175 logSliceValueChange(context, key, newPosition); in handleSliderAction()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ScrollerHelper.java | 89 int newPosition = Utils.clamp(finalPosition + distance, min, max); in startScroll() local 90 if (newPosition != currPosition) { in startScroll() 93 newPosition - currPosition, 0, 0); // dx, dy, duration in startScroll() 95 return finalPosition + distance - newPosition; in startScroll()
|
D | SlotView.java | 192 protected void onScrollPositionChanged(int newPosition) { in onScrollPositionChanged() argument 194 mListener.onScrollPositionChanged(newPosition, limit); in onScrollPositionChanged()
|
/packages/apps/TV/src/com/android/tv/onboarding/ |
D | SetupSourcesFragment.java | 271 int newPosition = -1; in createActionsInternal() local 318 newPosition = position; in createActionsInternal() 342 if (newPosition != -1) { in createActionsInternal() 344 gridView.setSelectedPosition(newPosition); in createActionsInternal()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ReorderingCursorWrapper.java | 52 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 53 return mCursor.moveToPosition(mPositionMap[newPosition]); in onMove()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/ |
D | RootCursorWrapper.java | 89 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 90 return mCursor.moveToPosition(newPosition); in onMove()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | FilteringCursorWrapper.java | 86 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 87 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1581 float newPosition = longestWidth - deltaX; in scroll() local 1583 newPosition = Math.min(newPosition, getMaxMovementBasedOnPosition((int) longestWidth, in scroll() 1585 newPosition = Math.max(newPosition, 0); in scroll() 1586 insertNewPosition(newPosition, mCurrentTime); in scroll() 1589 mModeSelectorItems[i].setVisibleWidth((int) newPosition); in scroll()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsFastScrollHelper.java | 145 int newPosition = info.fastScrollToItem.position; in smoothSnapToPosition() local 148 : Math.min(availableScrollHeight, mRv.getCurrentScrollY(newPosition, 0)); in smoothSnapToPosition()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortingCursorWrapper.java | 111 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 112 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | CarScrollBar.java | 441 private void moveY(final View view, float newPosition, boolean animate) { in moveY() argument 444 .y(newPosition) in moveY()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 51 public void position(int newPosition); in position() argument
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 399 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 2504 boolean newPosition = mScroller.computeScrollOffset(); 2505 if (!newPosition) {
|