Home
last modified time | relevance | path

Searched refs:newCursor (Results 1 – 16 of 16) 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.java83 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
86 if (newCursor != null) { in swapCursor()
88 mColumnIndices.put(column, newCursor.getColumnIndexOrThrow(column)); in swapCursor()
92 int index = newCursor.getColumnIndex(column); in swapCursor()
99 return super.swapCursor(newCursor); in swapCursor()
/frameworks/base/core/java/android/widget/
DCursorAdapter.java372 public Cursor swapCursor(Cursor newCursor) { in swapCursor() argument
373 if (newCursor == mCursor) { in swapCursor()
381 mCursor = newCursor; in swapCursor()
382 if (newCursor != null) { in swapCursor()
383 if (mChangeObserver != null) newCursor.registerContentObserver(mChangeObserver); in swapCursor()
384 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()
385 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodSession.aidl40 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.java54 cursor = factory.newCursor(mDatabase, this, mEditTable, query); in query()
DSQLiteDatabase.java2380 public Cursor newCursor(SQLiteDatabase db, in newCursor() method
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java187 public void updateCursor(Rect newCursor) { in updateCursor() argument
189 mCaller.obtainMessageO(DO_UPDATE_CURSOR, newCursor)); in updateCursor()
DMultiClientInputMethodClientCallbackAdaptor.java231 public void updateCursor(Rect newCursor) { in updateCursor() argument
DInputMethodService.java736 public void updateCursor(Rect newCursor) { in updateCursor() argument
740 InputMethodService.this.onUpdateCursor(newCursor); in updateCursor()
2242 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/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java785 try (final Cursor newCursor = mDatabase.queryChildDocuments( in testFailToReplaceExisitingUnmappedRoots() argument
787 assertEquals(2, newCursor.getCount()); in testFailToReplaceExisitingUnmappedRoots()
788 newCursor.moveToNext(); in testFailToReplaceExisitingUnmappedRoots()
789 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()
790 newCursor.moveToNext(); in testFailToReplaceExisitingUnmappedRoots()
791 assertFalse(oldCursor.getString(0).equals(newCursor.getString(0))); in testFailToReplaceExisitingUnmappedRoots()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseCursorTest.java444 public Cursor newCursor( in testRequeryWithAlteredSelectionArgs()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt9874 …method public abstract android.database.Cursor newCursor(android.database.sqlite.SQLiteDatabase, a…
/frameworks/base/non-updatable-api/
Dcurrent.txt13009 …method public android.database.Cursor newCursor(android.database.sqlite.SQLiteDatabase, android.da…
/frameworks/base/api/
Dcurrent.txt13009 …method public android.database.Cursor newCursor(android.database.sqlite.SQLiteDatabase, android.da…