Home
last modified time | relevance | path

Searched refs:newCursor (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DBaseCursorPagerAdapter.java171 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
174 "; new=" + (newCursor == null ? -1 : newCursor.getCount())); in swapCursor()
177 if (newCursor == mCursor) { in swapCursor()
181 mCursor = newCursor; in swapCursor()
182 if (newCursor != null) { in swapCursor()
183 mRowIDColumn = newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI); in swapCursor()
DPhotoPagerAdapter.java81 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
84 if (newCursor != null) { in swapCursor()
86 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); in swapCursor()
90 int index = newCursor.getColumnIndex(column); in swapCursor()
97 return super.swapCursor(newCursor); in swapCursor()
/frameworks/support/v4/java/android/support/v4/widget/
DCursorAdapter.java331 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
332 if (newCursor == mCursor) { in swapCursor()
340 mCursor = newCursor; in swapCursor()
341 if (newCursor != null) { in swapCursor()
342 if (mChangeObserver != null) newCursor.registerContentObserver(mChangeObserver); in swapCursor()
343 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
344 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
/frameworks/base/core/java/android/widget/
DCursorAdapter.java365 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
366 if (newCursor == mCursor) { in swapCursor()
374 mCursor = newCursor; in swapCursor()
375 if (newCursor != null) { in swapCursor()
376 if (mChangeObserver != null) newCursor.registerContentObserver(mChangeObserver); in swapCursor()
377 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
378 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodSession.aidl42 void updateCursor(in Rect newCursor); in updateCursor() argument
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodSession.java82 public void updateCursor(Rect newCursor); in updateCursor() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDirectCursorDriver.java52 cursor = factory.newCursor(mDatabase, this, mEditTable, query); in query()
DSQLiteDatabase.java2181 public Cursor newCursor(SQLiteDatabase db, in newCursor() method
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java184 public void updateCursor(Rect newCursor) { in updateCursor() argument
186 mCaller.obtainMessageO(DO_UPDATE_CURSOR, newCursor)); in updateCursor()
DInputMethodService.java525 public void updateCursor(Rect newCursor) { in updateCursor() argument
529 InputMethodService.this.onUpdateCursor(newCursor); in updateCursor()
1763 public void onUpdateCursor(Rect newCursor) { in onUpdateCursor() argument
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java539 MatrixCursor newCursor = new MatrixCursor(EmailQuery.PROJECTION); in removeDuplicatesAndTruncate() local
545 newCursor.addRow(new Object[]{displayName, emailAddress}); in removeDuplicatesAndTruncate()
551 return newCursor; in removeDuplicatesAndTruncate()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java446 public Cursor newCursor( in testRequeryWithAlteredSelectionArgs()
/frameworks/base/api/
Dcurrent.txt10420 …method public abstract android.database.Cursor newCursor(android.database.sqlite.SQLiteDatabase, a…
Dsystem-current.txt10757 …method public abstract android.database.Cursor newCursor(android.database.sqlite.SQLiteDatabase, a…