HomeSort by relevance Sort by last modified time
    Searched refs:newPosition (Results 1 - 25 of 30) sorted by null

1 2

  /frameworks/base/core/java/android/database/
CrossProcessCursor.java 37 * @param newPosition the position that we're moving to
40 boolean onMove(int oldPosition, int newPosition);
BulkCursorToCursorAdaptor.java 98 public boolean onMove(int oldPosition, int newPosition) {
102 if (newPosition < mWindow.getStartPosition() ||
103 newPosition >= (mWindow.getStartPosition() + mWindow.getNumRows())) {
104 mWindow = mBulkCursor.getWindow(newPosition);
106 mBulkCursor.onMove(newPosition);
109 mWindow = mBulkCursor.getWindow(newPosition);
MergeCursor.java 68 public boolean onMove(int oldPosition, int newPosition)
79 if (newPosition < (cursorStartPos + mCursors[i].getCount())) {
89 boolean ret = mCursor.moveToPosition(newPosition - cursorStartPos);
AbstractCursor.java 134 * @param newPosition the position that we're moving to
137 public boolean onMove(int oldPosition, int newPosition) {
  /libcore/luni/src/main/java/java/nio/
DirectByteBuffer.java 125 int newPosition = position + 8;
126 if (newPosition > limit) {
130 position = newPosition;
144 int newPosition = position + 4;
145 if (newPosition > limit) {
149 position = newPosition;
163 int newPosition = position + 4;
164 if (newPosition > limit) {
168 position = newPosition;
182 int newPosition = position + 8
    [all...]
Buffer.java 290 * @param newPosition
295 * if <code>newPosition</code> is invalid.
297 public final Buffer position(int newPosition) {
298 if (newPosition < 0 || newPosition > limit) {
302 position = newPosition;
ReadWriteDirectByteBuffer.java 260 int newPosition = position + 8;
261 if (newPosition > limit) {
265 position = newPosition;
280 int newPosition = position + 4;
281 if (newPosition > limit) {
285 position = newPosition;
300 int newPosition = position + 4;
301 if (newPosition > limit) {
305 position = newPosition;
320 int newPosition = position + 8
    [all...]
ReadWriteHeapByteBuffer.java 157 int newPosition = position + 4;
158 if (newPosition > limit) {
162 position = newPosition;
186 int newPosition = position + 8;
187 if (newPosition > limit) {
191 position = newPosition;
206 int newPosition = position + 2;
207 if (newPosition > limit) {
211 position = newPosition;
HeapByteBuffer.java 115 int newPosition = position + 4;
116 if (newPosition > limit) {
120 position = newPosition;
134 int newPosition = position + 8;
135 if (newPosition > limit) {
139 position = newPosition;
153 int newPosition = position + 2;
154 if (newPosition > limit) {
158 position = newPosition;
CharSequenceAdapter.java 87 int newPosition = position + len;
88 sequence.toString().getChars(position, newPosition, dst, off);
89 position = newPosition;
  /external/icu4c/layout/
GlyphIterator.cpp 200 void GlyphIterator::setCurrStreamPosition(le_int32 newPosition)
203 if (newPosition >= prevLimit) {
208 if (newPosition <= nextLimit) {
213 if (newPosition <= prevLimit) {
218 if (newPosition >= nextLimit) {
224 position = newPosition - direction;
434 le_int32 newPosition = position;
436 while (newPosition != nextLimit && delta > 0) {
438 newPosition += direction;
439 } while (newPosition != nextLimit && filterGlyph(newPosition))
    [all...]
  /frameworks/base/core/java/com/android/internal/database/
SortCursor.java 104 public boolean onMove(int oldPosition, int newPosition)
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;
  /packages/apps/Music/src/com/android/music/
SortCursor.java 104 public boolean onMove(int oldPosition, int newPosition)
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;
TrackBrowserActivity.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ReorderingCursorWrapper.java 52 public boolean onMove(int oldPosition, int newPosition) {
53 return mCursor.moveToPosition(mPositionMap[newPosition]);
  /packages/apps/Gallery3D/src/com/cooliris/media/
SortCursor.java 127 public boolean onMove(int oldPosition, int newPosition) {
128 if (oldPosition == newPosition)
139 int cache_entry = newPosition % ROWCACHESIZE;
141 if (mRowNumCache[cache_entry] == newPosition) {
165 if (newPosition < oldPosition || oldPosition == -1) {
180 for (int i = oldPosition; i <= newPosition; i++) {
193 if (i == newPosition) {
201 for (int i = oldPosition; i <= newPosition; i++) {
215 if (i == newPosition) {
225 mRowNumCache[cache_entry] = newPosition;
    [all...]
  /external/webkit/WebCore/platform/mac/
GeolocationServiceMac.mm 189 WTF::RefPtr<WebCore::Geoposition> newPosition = WebCore::Geoposition::create(
193 m_callback->positionChanged(newPosition.release());
  /frameworks/base/core/java/android/database/sqlite/
SQLiteCursor.java 255 public boolean onMove(int oldPosition, int newPosition) {
256 // Make sure the row at newPosition is present in the window
257 if (mWindow == null || newPosition < mWindow.getStartPosition() ||
258 newPosition >= (mWindow.getStartPosition() + mWindow.getNumRows())) {
259 fillWindow(newPosition);
  /packages/apps/Browser/src/com/android/browser/
BrowserProvider.java 444 public boolean onMove(int oldPosition, int newPosition) {
449 if (mHistoryCount == 0 && newPosition == 0) {
452 if (newPosition == 0) {
455 } else if (newPosition == 1) {
459 newPosition--;
461 if (mHistoryCount > newPosition) {
462 mHistoryCursor.moveToPosition(newPosition);
464 mSuggestCursor.moveToPosition(newPosition - mHistoryCount);
    [all...]
  /packages/apps/Mms/src/com/android/mms/
SuggestionsProvider.java 214 public boolean onMove(int oldPosition, int newPosition) {
215 return ((CrossProcessCursor)mDatabaseCursor).onMove(oldPosition, newPosition);
  /cts/tests/tests/database/src/android/database/cts/
AbstractCursorTest.java 737 public boolean onMove(int oldPosition, int newPosition) {
738 mOnMoveReturnValue = super.onMove(oldPosition, newPosition);
740 mNewPosition = newPosition;
  /libcore/luni/src/main/java/org/apache/harmony/nio/internal/
FileChannelImpl.java 204 public FileChannel position(long newPosition) throws IOException {
206 if (newPosition < 0) {
211 fileSystem.seek(handle, newPosition, IFileSystem.SEEK_SET);
  /packages/apps/Calendar/src/com/android/calendar/
AgendaWindowAdapter.java 684 int newPosition = findDayPositionNearestTime(goToTime);
685 if (newPosition >= 0) {
686 mAgendaListView.setSelection(newPosition + OFF_BY_ONE_BUG);
690 "findDayPositionNearestTime: " + (newPosition + OFF_BY_ONE_BUG));
  /external/webkit/WebCore/page/
Geolocation.cpp 564 void Geolocation::positionChanged(PassRefPtr<Geoposition> newPosition)
566 m_currentPosition = newPosition;
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadProvider.java     [all...]

Completed in 530 milliseconds

1 2