Home
last modified time | relevance | path

Searched refs:newPosition (Results 1 – 23 of 23) 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceBroadcastReceiver.java78 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/
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/Settings/src/com/android/settings/media/
DMediaOutputGroupSlice.java223 final int newPosition = intent.getIntExtra(EXTRA_RANGE_VALUE, ERROR); in onNotifyChange() local
224 if (newPosition == ERROR) { in onNotifyChange()
230 worker.adjustSessionVolume(newPosition); in onNotifyChange()
238 worker.adjustVolume(device, newPosition); in onNotifyChange()
DMediaOutputSlice.java362 final int newPosition = intent.getIntExtra(EXTRA_RANGE_VALUE, NON_SLIDER_VALUE); in onNotifyChange() local
365 worker.adjustSessionVolume(newPosition); in onNotifyChange()
373 if (newPosition == NON_SLIDER_VALUE) { in onNotifyChange()
380 worker.adjustVolume(device, newPosition); in onNotifyChange()
DRemoteMediaSlice.java68 final int newPosition = intent.getIntExtra(EXTRA_RANGE_VALUE, -1); in onNotifyChange() local
71 getWorker().adjustSessionVolume(id, newPosition); in onNotifyChange()
/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.java107 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
108 return mCursor.moveToPosition(mPosition[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/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java62 public void scrollerStartScroll(OverScroller scroller, int newPosition) { in scrollerStartScroll() argument
63 scroller.startScroll(newPosition - scroller.getCurrPos(), scroller.getCurrPos()); in scrollerStartScroll()
DLandscapePagedViewHandler.java63 public void scrollerStartScroll(OverScroller scroller, int newPosition) { in scrollerStartScroll() argument
64 scroller.startScroll(scroller.getCurrPos(), newPosition - scroller.getCurrPos()); in scrollerStartScroll()
DPagedOrientationHandler.java90 void scrollerStartScroll(OverScroller scroller, int newPosition); in scrollerStartScroll() argument
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/
DDefaultScrollBar.java231 private void moveY(final View view, float newPosition) { in moveY() argument
233 .y(newPosition) in moveY()
/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/Launcher3/src/com/android/launcher3/
DPagedView.java255 int newPosition = 0; in updateCurrentPageScroll() local
257 newPosition = getScrollForPage(mCurrentPage); in updateCurrentPageScroll()
259 mOrientationHandler.set(this, VIEW_SCROLL_TO, newPosition); in updateCurrentPageScroll()
260 mOrientationHandler.scrollerStartScroll(mScroller, newPosition); 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) {
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...