Searched defs:newPosition (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/database/
H A DCrossProcessCursor.java74 * @param newPosition The position that we're moving to.
77 boolean onMove(int oldPosition, int newPosition); argument
H A DCrossProcessCursorWrapper.java67 public boolean onMove(int oldPosition, int newPosition) { argument
70 return crossProcessCursor.onMove(oldPosition, newPosition);
H A DBulkCursorToCursorAdaptor.java74 public boolean onMove(int oldPosition, int newPosition) { argument
80 || newPosition < mWindow.getStartPosition()
81 || newPosition >= mWindow.getStartPosition() + mWindow.getNumRows()) {
82 setWindow(mBulkCursor.getWindow(newPosition));
84 mBulkCursor.onMove(newPosition);
H A DMergeCursor.java68 public boolean onMove(int oldPosition, int newPosition) argument
79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) {
89 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos);
H A DAbstractCursor.java180 * @param newPosition the position that we're moving to
184 public boolean onMove(int oldPosition, int newPosition) { argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java124 public boolean onMove(int oldPosition, int newPosition) { argument
125 // Make sure the row at newPosition is present in the window
126 if (mWindow == null || newPosition < mWindow.getStartPosition() ||
127 newPosition >= (mWindow.getStartPosition() + mWindow.getNumRows())) {
128 fillWindow(newPosition);
/frameworks/base/core/java/com/android/internal/database/
H A DSortCursor.java104 public boolean onMove(int oldPosition, int newPosition) argument
106 if (oldPosition == newPosition)
117 int cache_entry = newPosition % ROWCACHESIZE;
119 if (mRowNumCache[cache_entry] == newPosition) {
141 if (newPosition < oldPosition || oldPosition == -1) {
154 for(int i = oldPosition; i <= newPosition; i++) {
167 if (i == newPosition) break;
173 mRowNumCache[cache_entry] = newPosition;
/frameworks/base/core/jni/android/graphics/
H A DByteBufferStreamAdaptor.cpp118 long newPosition = mPosition + offset; variable
119 if (newPosition < 0) {
122 return this->seek(static_cast<size_t>(newPosition));
148 bool setPosition(size_t newPosition) { argument
151 newPosition + mInitialPosition);
159 mPosition = newPosition;
240 long newPosition = mPosition + offset; variable
241 if (newPosition < 0) {
244 return this->seek(static_cast<size_t>(newPosition));
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
H A DMediaPlayerAdapter.java315 public void seekTo(long newPosition) { argument
319 mPlayer.seekTo((int) newPosition);
H A DMediaPlayerGlue.java259 int newPosition = getCurrentPosition() + FAST_FORWARD_REWIND_STEP;
261 newPosition = getCurrentPosition() - FAST_FORWARD_REWIND_STEP;
264 if (newPosition < 0) newPosition = 0;
265 if (newPosition > getMediaDuration()) newPosition = getMediaDuration();
266 seekTo(newPosition);
383 * @param newPosition The new position of the media track in milliseconds.
385 protected void seekTo(int newPosition) { argument
389 mPlayer.seekTo(newPosition);
[all...]
/frameworks/support/car/src/main/java/androidx/car/widget/
H A DPagedScrollBarView.java516 private void moveY(final View view, float newPosition, boolean animate) { argument
519 .y(newPosition)
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMediaSessionService.java952 private void seekTo(int newPosition) { argument
954 mPlayer.seekTo(newPosition);
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMediaSessionService.java952 private void seekTo(int newPosition) { argument
954 mPlayer.seekTo(newPosition);

Completed in 114 milliseconds