Home
last modified time | relevance | path

Searched refs:newPosition (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java74 final int newPosition = intent.getIntExtra(Slice.EXTRA_RANGE_VALUE, -1); in onReceive() local
75 handleSliderAction(context, sliceUri, key, newPosition); in onReceive()
138 private void handleSliderAction(Context context, Uri sliceUri, String key, int newPosition) { in handleSliderAction() argument
144 if (newPosition == -1) { in handleSliderAction()
163 if (newPosition < minValue || newPosition > maxValue) { in handleSliderAction()
166 + " and " + maxValue + " but found " + newPosition); in handleSliderAction()
169 sliderController.setSliderPosition(newPosition); in handleSliderAction()
170 logSliceValueChange(context, key, newPosition); in handleSliderAction()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DScrollerHelper.java89 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()
DSlotView.java192 protected void onScrollPositionChanged(int newPosition) { in onScrollPositionChanged() argument
194 mListener.onScrollPositionChanged(newPosition, limit); in onScrollPositionChanged()
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DNduseroptMessage.java93 int newPosition = start + STRUCT_SIZE + opts_len; in NduseroptMessage() local
94 if (newPosition >= buf.limit()) { in NduseroptMessage()
97 buf.position(newPosition); in NduseroptMessage()
DNdOption.java66 int newPosition = Math.min(buf.limit(), buf.position() + length * 8); in parse() local
67 buf.position(newPosition); in parse()
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java288 int newPosition = -1; in createActionsInternal() local
335 newPosition = position; in createActionsInternal()
360 if (newPosition != -1) { in createActionsInternal()
362 gridView.setSelectedPosition(newPosition); in createActionsInternal()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java52 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/
DRootCursorWrapper.java102 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
103 return mCursor.moveToPosition(newPosition); in onMove()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DFilteringCursorWrapper.java102 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
103 return mCursor.moveToPosition(mPositions[newPosition]); in onMove()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1581 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/Settings/src/com/android/settings/media/
DRemoteMediaSlice.java79 final int newPosition = intent.getIntExtra(EXTRA_RANGE_VALUE, -1); in onNotifyChange() local
82 getWorker().adjustSessionVolume(id, newPosition); in onNotifyChange()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java112 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
113 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DDefaultScrollBar.java277 private void moveY(final View view, float newPosition) { in moveY() argument
279 .y(newPosition) in moveY()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java244 int newPosition = 0; in updateCurrentPageScroll() local
246 newPosition = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
248 mOrientationHandler.set(this, VIEW_SCROLL_TO, newPosition); in updateCurrentPageScroll()
249 mScroller.startScroll(mScroller.getCurrX(), 0, newPosition - mScroller.getCurrX(), 0); in updateCurrentPageScroll()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictDecoderUtils.java51 public void position(int newPosition); in position() argument
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2504 boolean newPosition = mScroller.computeScrollOffset();
2505 if (!newPosition) {