Searched refs:newCursor (Results 1 – 9 of 9) sorted by relevance
240 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument241 if (newCursor == mCursor) { in swapCursor()253 mCursor = newCursor; in swapCursor()254 if (newCursor != null) { in swapCursor()256 newCursor.registerContentObserver(mChangeObserver); in swapCursor()259 newCursor.registerDataSetObserver(mDataSetObserver); in swapCursor()261 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id"); in swapCursor()
187 private void changeSuggestions(SuggestionCursor newCursor) { in changeSuggestions() argument189 Log.d(TAG, "changeCursor(" + newCursor + ") count=" + in changeSuggestions()190 (newCursor == null ? 0 : newCursor.getCount())); in changeSuggestions()192 if (newCursor == mCurrentSuggestions) { in changeSuggestions()193 if (newCursor != null) { in changeSuggestions()199 mCurrentSuggestions = newCursor; in changeSuggestions()
67 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument68 mSectionIndexer = new ContactSectionIndexer(newCursor); in swapCursor()69 return super.swapCursor(newCursor); in swapCursor()
297 public void onLoadFinished(Loader<Cursor> loader, Cursor newCursor) { in onLoadFinished() argument300 if (newCursor == null) { in onLoadFinished()310 CallLogDatabaseComponent.get(getContext()).coalescer().coalesce(newCursor); in onLoadFinished()
191 public Cursor swapCursor(final Cursor newCursor) { in swapCursor() argument193 if (newCursor != oldCursor) { in swapCursor()194 mOptionsCursor = newCursor; in swapCursor()
93 Cursor newCursor = mDatabase.rawQuery("SELECT * FROM slices_index", null); in testUpgrade_dropsOldData() local94 assertThat(newCursor.getCount()).isEqualTo(0); in testUpgrade_dropsOldData()
131 MatrixCursor newCursor = new MatrixCursor(Projections.CP2_PROJECTION, coalescedContacts.size()); in createCursor() local133 newCursor.addRow(contact.toCursorRow()); in createCursor()135 return newCursor; in createCursor()
432 MatrixCursor newCursor = new MatrixCursor(columnNames); in matrixCursorFromCursor() local440 newCursor.addRow(data); in matrixCursorFromCursor()442 return newCursor; in matrixCursorFromCursor()
524 public Cursor newCursor(final SQLiteDatabase db, final SQLiteCursorDriver masterQuery, in newCursor() method in IpMemoryStoreDatabase.CustomCursorFactory