/frameworks/base/core/java/android/database/ |
D | BulkCursorToCursorAdaptor.java | 74 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 80 || newPosition < mWindow.getStartPosition() in onMove() 81 || newPosition >= mWindow.getStartPosition() + mWindow.getNumRows()) { in onMove() 82 setWindow(mBulkCursor.getWindow(newPosition)); in onMove() 84 mBulkCursor.onMove(newPosition); in onMove()
|
D | CrossProcessCursorWrapper.java | 67 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 70 return crossProcessCursor.onMove(oldPosition, newPosition); in onMove()
|
D | MergeCursor.java | 68 public boolean onMove(int oldPosition, int newPosition) in onMove() argument 79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) { in onMove() 89 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos); in onMove()
|
D | CrossProcessCursor.java | 77 boolean onMove(int oldPosition, int newPosition); in onMove() argument
|
D | AbstractCursor.java | 183 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
|
/frameworks/base/core/java/com/android/internal/database/ |
D | SortCursor.java | 104 public boolean onMove(int oldPosition, int newPosition) in onMove() argument 106 if (oldPosition == newPosition) in onMove() 117 int cache_entry = newPosition % ROWCACHESIZE; in onMove() 119 if (mRowNumCache[cache_entry] == newPosition) { in onMove() 141 if (newPosition < oldPosition || oldPosition == -1) { in onMove() 154 for(int i = oldPosition; i <= newPosition; i++) { in onMove() 167 if (i == newPosition) break; in onMove() 173 mRowNumCache[cache_entry] = newPosition; in onMove()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/ |
D | BridgeBufferIterator.java | 44 int newPosition = mByteBuffer.position() + byteCount; in skip() local 45 assert newPosition <= mSize; in skip() local 46 mByteBuffer.position(newPosition); in skip()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 119 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 121 if (mWindow == null || newPosition < mWindow.getStartPosition() || in onMove() 122 newPosition >= (mWindow.getStartPosition() + mWindow.getNumRows())) { in onMove() 123 fillWindow(newPosition); in onMove()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | RootCursorWrapper.java | 78 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 79 return mCursor.moveToPosition(newPosition); in onMove()
|
D | FilteringCursorWrapper.java | 86 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 87 return mCursor.moveToPosition(mPosition[newPosition]); in onMove()
|
/frameworks/base/core/java/android/widget/ |
D | DayPickerPagerAdapter.java | 117 final int newPosition = getPositionForDay(day); in setSelectedDay() local 120 if (oldPosition != newPosition && oldPosition >= 0) { in setSelectedDay() 128 if (newPosition >= 0) { in setSelectedDay() 129 final ViewHolder newMonthView = mItems.get(newPosition, null); in setSelectedDay()
|
/frameworks/av/media/libmedia/ |
D | AudioTrackShared.cpp | 1037 size_t newPosition = position + stepCount; in releaseBuffer() local 1039 if (!(position <= newPosition && newPosition <= mFrameCount)) { in releaseBuffer() 1040 ALOGW("%s newPosition %zu outside [%zu, %zu]", __func__, newPosition, position, in releaseBuffer() 1042 newPosition = mFrameCount; in releaseBuffer() 1043 } else if (mState.mLoopCount != 0 && newPosition == mState.mLoopEnd) { in releaseBuffer() 1044 newPosition = mState.mLoopStart; in releaseBuffer() 1051 if (newPosition == mFrameCount) { in releaseBuffer() 1054 mState.mPosition = newPosition; in releaseBuffer()
|
D | AudioRecord.cpp | 973 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer() local 976 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer() 977 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer() 1004 size_t temp = newPosition.value(); // FIXME size_t != uint32_t in processAudioBuffer() 1006 newPosition += updatePeriod; in processAudioBuffer() 1025 uint32_t remaining = (newPosition - position).value(); in processAudioBuffer()
|
D | AudioTrack.cpp | 1853 Modulo<uint32_t> newPosition(mNewPosition); in processAudioBuffer() local 1856 if (updatePeriod > 0 && position >= newPosition) { in processAudioBuffer() 1857 newPosCount = ((position - newPosition).value() / updatePeriod) + 1; in processAudioBuffer() 1958 size_t temp = newPosition.value(); // FIXME size_t != uint32_t in processAudioBuffer() 1960 newPosition += updatePeriod; in processAudioBuffer() 1989 minFrames = min(minFrames, (newPosition - position).value()); in processAudioBuffer()
|
/frameworks/support/design/src/android/support/design/widget/ |
D | TabLayout.java | 1076 private void animateToTab(int newPosition) { 1077 if (newPosition == Tab.INVALID_POSITION) { 1085 setScrollPosition(newPosition, 0f, true); 1090 final int targetScrollX = calculateScrollXForTab(newPosition, 0); 1110 mTabStrip.animateIndicatorToPosition(newPosition, ANIMATION_DURATION); 1137 final int newPosition = tab != null ? tab.getPosition() : Tab.INVALID_POSITION; 1138 if (newPosition != Tab.INVALID_POSITION) { 1139 setSelectedTabView(newPosition); 1142 && newPosition != Tab.INVALID_POSITION) { 1144 setScrollPosition(newPosition, 0f, true); [all …]
|