Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java73 final int newPosition = intent.getIntExtra(Slice.EXTRA_RANGE_VALUE, -1); in onReceive() local
74 handleSliderAction(context, sliceUri, key, newPosition); in onReceive()
134 private void handleSliderAction(Context context, Uri sliceUri, String key, int newPosition) { in handleSliderAction() argument
140 if (newPosition == -1) { in handleSliderAction()
159 if (newPosition < minValue || newPosition > maxValue) { in handleSliderAction()
162 + " and " + maxValue + " but found " + newPosition); in handleSliderAction()
165 sliderController.setSliderPosition(newPosition); in handleSliderAction()
166 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DHighlightableAdapter.java116 public void requestHighlight(String fragmentTitle, int newPosition) { in requestHighlight() argument
127 if (newPosition >= 0) { in requestHighlight()
131 mHighlightPosition = newPosition; in requestHighlight()
132 mRecyclerView.scrollToPosition(newPosition); in requestHighlight()
133 notifyItemChanged(newPosition); in requestHighlight()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNduseroptMessage.java112 int newPosition = start + STRUCT_SIZE + opts_len; in NduseroptMessage() local
113 if (newPosition >= buf.limit()) { in NduseroptMessage()
116 buf.position(newPosition); in NduseroptMessage()
DNdOption.java74 int newPosition = Math.min(buf.limit(), buf.position() + length * 8); in parse() local
75 buf.position(newPosition); in parse()
/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/modules/StatsD/framework/java/android/app/
DStatsCursor.java170 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
171 return mMatrixCursor.moveToPosition(newPosition); in onMove()
/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/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/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridViewModel.kt99 fun saveAppOrder(newPosition: Int, appItem: AppItem) { in saveAppOrder()
105 add(newPosition, appItem) in saveAppOrder()
DAppGridActivity.java532 public void onAppPositionChanged(int newPosition, AppItem appItem) { in onAppPositionChanged() argument
533 mAppGridViewModel.saveAppOrder(newPosition, appItem); in onAppPositionChanged()
/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/DocumentsUI/src/com/android/documentsui/sorting/
DSortingCursorWrapper.java100 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
101 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
/packages/apps/Settings/src/com/android/settings/media/
DRemoteMediaSlice.java74 final int newPosition = intent.getIntExtra(EXTRA_RANGE_VALUE, -1); in onNotifyChange() local
77 getWorker().adjustSessionVolume(id, newPosition); in onNotifyChange()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarViewController.java584 float newPosition = stashedBounds.left + (newChildWidth * i); in addRevealAnimToIsStashed() local
588 if (currentPosition > newPosition) { in addRevealAnimToIsStashed()
593 croppedTransX = newPosition - currentPosition; in addRevealAnimToIsStashed()
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java250 int newPosition = 0; in updateCurrentPageScroll() local
252 newPosition = getScrollForPage(mCurrentPage) + mCurrentPageScrollDiff; in updateCurrentPageScroll()
254 mOrientationHandler.setPrimary(this, VIEW_SCROLL_TO, newPosition); in updateCurrentPageScroll()
255 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/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridAdapter.java367 void onAppPositionChanged(int newPosition, AppItem appItem); in onAppPositionChanged() argument
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java209 int newPosition = data.position() + defrag.bytesRead; in parseInformationElements() local
210 data.position(newPosition); in parseInformationElements()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripView.java2504 boolean newPosition = mScroller.computeScrollOffset();
2505 if (!newPosition) {
/packages/modules/RemoteKeyProvisioning/app/tests/unit/
Dtink-android-1.5.0.jarcom/google/crypto/tink/subtle/prf/StreamingPrf.class StreamingPrf.java package ...
/packages/apps/TV/libs/m2/
Dprotobuf-java-3.7.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...