/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/ |
PhotoPagerAdapter.java | 76 public Cursor swapCursor(Cursor newCursor) { 77 if (newCursor != null) { 79 newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.CONTENT_URI); 81 newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.THUMBNAIL_URI); 83 newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.LOADING_INDICATOR); 90 return super.swapCursor(newCursor);
|
BaseCursorPagerAdapter.java | 166 * @param newCursor The new cursor to be used. 171 public Cursor swapCursor(Cursor newCursor) { 174 "; new=" + (newCursor == null ? -1 : newCursor.getCount())); 177 if (newCursor == mCursor) { 181 mCursor = newCursor; 182 if (newCursor != null) { 183 mRowIDColumn = newCursor.getColumnIndex(PhotoContract.PhotoViewColumns.URI);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
SuggestionsAdapterBase.java | 187 private void changeSuggestions(SuggestionCursor newCursor) { 189 Log.d(TAG, "changeCursor(" + newCursor + ") count=" + 190 (newCursor == null ? 0 : newCursor.getCount())); 192 if (newCursor == mCurrentSuggestions) { 193 if (newCursor != null) { 199 mCurrentSuggestions = newCursor;
|
/frameworks/base/core/java/com/android/internal/view/ |
IInputMethodSession.aidl | 41 void updateCursor(in Rect newCursor);
|
/frameworks/base/core/java/android/widget/ |
CursorAdapter.java | 324 * @param newCursor The new cursor to be used. 329 public Cursor swapCursor(Cursor newCursor) { 330 if (newCursor == mCursor) { 338 mCursor = newCursor; 339 if (newCursor != null) { 340 if (mChangeObserver != null) newCursor.registerContentObserver(mChangeObserver); 341 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); 342 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id");
|
/frameworks/support/v4/java/android/support/v4/widget/ |
CursorAdapter.java | 326 * @param newCursor The new cursor to be used. 331 public Cursor swapCursor(Cursor newCursor) { 332 if (newCursor == mCursor) { 340 mCursor = newCursor; 341 if (newCursor != null) { 342 if (mChangeObserver != null) newCursor.registerContentObserver(mChangeObserver); 343 if (mDataSetObserver != null) newCursor.registerDataSetObserver(mDataSetObserver); 344 mRowIDColumn = newCursor.getColumnIndexOrThrow("_id");
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SecureConversationViewFragment.java | 232 MessageCursor newCursor, MessageCursor oldCursor) { 233 renderMessage(newCursor); 236 private void renderMessage(MessageCursor newCursor) { 238 if (newCursor == null || !newCursor.isLoaded()) { 246 if (!newCursor.moveToFirst()) { 251 mViewController.renderMessage(newCursor.getMessage());
|
ConversationViewFragment.java | [all...] |
ConversationListFragment.java | [all...] |
AbstractConversationViewFragment.java | 167 MessageCursor newCursor, MessageCursor oldCursor);
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodSession.java | 79 * @param newCursor The rectangle of the cursor currently being shown in 82 public void updateCursor(Rect newCursor);
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDirectCursorDriver.java | 52 cursor = factory.newCursor(mDatabase, this, mEditTable, query);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
SimpleCursorAdapterTest.java | 343 Cursor newCursor = createTestCursor(3, ADAPTER_ROW_COUNT); 345 mSimpleCursorAdapter.changeCursorAndColumns(newCursor, from, VIEWS_TO); 346 assertSame(newCursor, mSimpleCursorAdapter.getCursor()); 347 newCursor.moveToFirst(); 348 mSimpleCursorAdapter.bindView(listItem, null, newCursor); 351 newCursor.moveToLast(); 352 mSimpleCursorAdapter.bindView(listItem, null, newCursor);
|
/external/clang/tools/libclang/ |
CXCursor.h | 277 CXCursor newCursor = cursor; 279 newCursor.xdata = 1; 280 return newCursor;
|
CXCursor.cpp | 869 CXCursor newCursor = cursor; 875 newCursor.xdata = -1; 877 newCursor.xdata = SelIdx; 883 newCursor.xdata = -1; 885 newCursor.xdata = SelIdx; 888 return newCursor; [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteOpenHelperTest.java | 38 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery,
|
SQLiteQueryBuilderTest.java | 137 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery,
|
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 171 public void updateCursor(Rect newCursor) { 173 mCaller.obtainMessageO(DO_UPDATE_CURSOR, newCursor));
|
InputMethodService.java | 512 public void updateCursor(Rect newCursor) { 516 InputMethodService.this.onUpdateCursor(newCursor); [all...] |
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
SelectSyncedCalendarsMultiAccountAdapter.java | 168 MatrixCursor newCursor = Utils.matrixCursorFromCursor(cursor); 171 Utils.checkForDuplicateNames(mIsDuplicateName, newCursor, NAME_COLUMN); 173 mChildrenCursors.put((String)cookie, newCursor); 175 setChildrenCursor(token, newCursor);
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactsListFragment.java | [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
BaseEmailAddressAdapter.java | 539 MatrixCursor newCursor = new MatrixCursor(EmailQuery.PROJECTION); 545 newCursor.addRow(new Object[]{displayName, emailAddress}); 551 return newCursor;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSQLiteDatabase.java | 230 public Cursor newCursor(SQLiteDatabase db, 261 SQLiteCursor cursor = (SQLiteCursor) cursorFactory.newCursor(null, null, null, null);
|
/packages/apps/Calendar/src/com/android/calendar/ |
Utils.java | 475 MatrixCursor newCursor = new MatrixCursor(columnNames); 483 newCursor.addRow(data); 485 return newCursor; [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseCursorTest.java | 474 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery,
|