/external/clang/tools/clang-format/ |
clang-format.el | 44 "-cursor" (number-to-string (1- (point))) 51 (goto-char (1+ (cdr (assoc 'Cursor json-output))))
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCursorWrapper.java | 11 public class ShadowCursorWrapper implements Cursor { 12 private Cursor wrappedCursor; 14 public void __constructor__(Cursor c) { 214 public Cursor getWrappedCursor() {
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientAlternatesAdapter.java | 22 import android.database.Cursor; 120 Cursor c = null; 140 Cursor directoryCursor = null; 166 Cursor directoryContactsCursor = null; 217 private static HashMap<String, RecipientEntry> processContactEntries(Cursor c) { 308 private static Cursor doQuery(CharSequence constraint, int limit, Long directoryId, 324 final Cursor cursor = resolver.query(builder.build(), query.getProjection(), null, null, local 326 return cursor; 351 private static Cursor getCursorForConstruction(Context context, long contactId, int queryType) 352 final Cursor cursor; local 437 Cursor cursor = getCursor(); local [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
BordeauxSessionStorage.java | 21 import android.database.Cursor; 101 private BordeauxSessionManager.Session getSessionFromCursor(Cursor cursor) { 103 String className = cursor.getString(cursor.getColumnIndex(COLUMN_CLASS)); 110 byte[] model = cursor.getBlob(cursor.getColumnIndex(COLUMN_MODEL)); 116 Cursor cursor = mDbSessions.query(true, SESSION_TABLE, local 119 if ((cursor == null) | (cursor.getCount() == 0)) 134 Cursor cursor = mDbSessions.rawQuery("select * from ?;", new String[]{SESSION_TABLE}); local [all...] |
/hardware/ti/wpan/tools/FM/FmRxApp/src/com/ti/fmrxapp/ |
DBAdapter.java | 25 import android.database.Cursor; 123 public Cursor getAllStations() 139 public Cursor getStation(long rowId) throws SQLException 143 Cursor mCursor =
|
/packages/apps/Browser/src/com/android/browser/ |
BrowserBookmarksAdapter.java | 20 import android.database.Cursor; 52 protected long getItemId(Cursor c) { 69 CharSequence getTitle(Cursor cursor) { 70 int type = cursor.getInt(BookmarksLoader.COLUMN_INDEX_TYPE); 75 return cursor.getString(BookmarksLoader.COLUMN_INDEX_TITLE); 106 public BrowserBookmarksAdapterItem getRowObject(Cursor c,
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemEntry.java | 20 import android.database.Cursor; 83 public StreamItemEntry(Cursor cursor) { 84 // This is expected to be populated via a cursor containing all StreamItems columns in 86 mId = getLong(cursor, StreamItems._ID); 87 mText = getString(cursor, StreamItems.TEXT); 88 mComments = getString(cursor, StreamItems.COMMENTS); 89 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP); 90 mAccountType = getString(cursor, StreamItems.ACCOUNT_TYPE); 91 mAccountName = getString(cursor, StreamItems.ACCOUNT_NAME) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
PhoneNumberListAdapter.java | 21 import android.database.Cursor; 46 * A cursor adapter for the {@link Phone#CONTENT_ITEM_TYPE} and 245 return ((Cursor) getItem(position)).getString(PhoneQuery.DISPLAY_NAME); 249 final Cursor item = (Cursor)getItem(position); 254 * Builds a {@link Data#CONTENT_URI} for the given cursor position. 256 * @return Uri for the data. may be null if the cursor is not ready. 260 final Cursor item = (Cursor)getItem(position); 264 public Uri getDataUri(int partitionIndex, Cursor cursor) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
City.java | 22 import android.database.Cursor; 38 * These save calls to cursor.getColumnIndexOrThrow() 81 Cursor cursor = contentResolver.query(getContentUriForId(cityId), local 84 if (cursor == null) { 89 if (cursor.moveToFirst()) { 90 result = new City(cursor); 93 cursor.close(); 113 Cursor cursor = contentResolver.query(CONTENT_URI, QUERY_COLUMNS local [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogQuery.java | 19 import android.database.Cursor;
|
/packages/apps/UnifiedEmail/src/com/android/mail/content/ |
ObjectCursorLoader.java | 23 import android.database.Cursor; 32 * CursorLoader is not parameterized, and we want to parameterize over the underlying cursor type. 47 /** The underlying cursor that contains the data. */ 76 final Cursor inner = getContext().getContentResolver().query(mUri, mProjection, 79 // If there's no underlying cursor, there's nothing to do. 82 // Ensure the cursor window is filled 86 // Modifications to the ObjectCursor, create an Object Cursor and fill the cache. 87 final ObjectCursor<T> cursor = getObjectCursor(inner); local 88 cursor.fillCache(); 96 return cursor; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
AddableFolderSelectorAdapter.java | 21 import android.database.Cursor; 32 public AddableFolderSelectorAdapter(Context context, Cursor folders, 37 public static Cursor filterFolders(final Cursor folderCursor, 40 final MatrixCursor cursor = local 111 cursor.addRow(folder); 115 return cursor;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarDebug.java | 21 import android.database.Cursor; 80 Cursor cursor = null; local 84 cursor = mContentResolver.query(CalendarContract.Calendars.CONTENT_URI, 88 if (cursor == null) { 91 while (cursor.moveToNext()) { 93 int id = cursor.getInt(INDEX_ID); 96 String displayName = cursor.getString(INDEX_DISPLAY_NAME); 100 Cursor eventCursor = mContentResolver.query( 112 Cursor dirtyCursor = mContentResolver.query [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/extensions/ |
XTest.h | 65 Cursor /* cursor */
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XTest.h | 65 Cursor /* cursor */
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/extensions/ |
XTest.h | 65 Cursor /* cursor */
|
/cts/tests/tests/widget/src/android/widget/cts/ |
CursorAdapterTest.java | 24 import android.database.Cursor; 57 private Cursor mCursor; 128 // add cursor 186 // null cursor 190 fail("does not throw IllegalStateException when cursor is invalid"); 214 // null cursor 223 // null cursor 250 // cursor is null 254 Cursor c = (Cursor) cursorAdapter.getItem(0) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_VideoTest.java | 24 import android.database.Cursor; 71 Cursor c = Video.query(mContentResolver, newUri, new String[] { VideoColumns.DATA });
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
SmsMessageReceiver.java | 22 import android.database.Cursor; 57 Cursor cursor = context.getContentResolver().query(uri, projection, null, null, null); local 58 if (cursor != null) { 59 if (cursor.moveToFirst()) 60 fromDisplayName = cursor.getString(0); 62 cursor.close();
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ContactPhotoBinder.java | 22 import android.database.Cursor; 36 * This custom cursor binder is used by the adapter defined in res/xml to 63 public boolean bind(View view, Cursor cursor, int columnIndex) { 64 final long id = cursor.getLong(columnIndex);
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
Notepadv2.java | 21 import android.database.Cursor; 39 private Cursor mNotesCursor; 62 // Now create a simple cursor adapter and set it to display
|
/external/chromium/webkit/glue/ |
webcursor.h | 28 struct Cursor; 38 // This class encapsulates a cross-platform description of a cursor. Platform 39 // specific methods are provided to translate the cross-platform cursor into a 40 // platform specific cursor. It is also possible to serialize / de-serialize a 61 // specific cursor object. Otherwise GetCursor should be used. 64 // Returns true if the current cursor object contains the same cursor as the 65 // cursor object passed in. If the current cursor is a custom cursor, we als [all...] |
/external/qemu/distrib/sdl-1.2.15/include/ |
SDL_syswm.h | 55 #define Cursor X11Cursor 63 #undef Cursor
|
/frameworks/base/core/tests/coretests/src/android/app/ |
SuggestionProvider.java | 24 import android.database.Cursor; 63 public Cursor query(Uri url, String[] projectionIn, String selection, 69 MatrixCursor cursor = new MatrixCursor(COLUMNS); local 72 addRow(cursor, query + suffix); 74 return cursor; 80 private void addRow(MatrixCursor cursor, String string) { 81 long id = cursor.getCount(); 82 cursor.newRow().add(id).add(string).add(Intent.ACTION_SEARCH).add(string);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentQueryMapTest.java | 22 import android.database.Cursor; 58 Cursor cursor = r.query( 66 cursor, Settings.System.NAME, true, null);
|