/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 25 import android.database.Cursor; 99 Cursor cursor = mProvider.query(People.CONTENT_URI, local 102 assertTrue(cursor.moveToNext()); 103 assertEquals(insertPeopleName, cursor.getString(NAME_INDEX)); 104 assertEquals(insertPeopleNotes, cursor.getString(NOTES_INDEX)); 105 assertEquals(0, cursor.getInt(LAST_TIME_CONTACTED_INDEX)); 106 assertNull(cursor.getString(CUSTOM_RINGTONE_INDEX)); 107 assertEquals(1, cursor.getInt(SEND_TO_VOICEMAIL_INDEX)); 108 assertEquals(0, cursor.getInt(TIMES_CONTACTED_INDEX)) 171 Cursor cursor = mProvider.query(Groups.CONTENT_URI, local 280 Cursor cursor = mProvider.query(Phones.CONTENT_URI, local 363 Cursor cursor = mProvider.query( local 450 Cursor cursor = mCallLogProvider.query( local 544 Cursor cursor = mProvider.query( local 629 Cursor cursor = mProvider.query( local 742 Cursor cursor = mProvider.query( local 817 Cursor cursor = mProvider.query( local [all...] |
/external/chromium_org/third_party/freetype/src/psaux/ |
psconv.h | 30 PS_Conv_Strtol( FT_Byte** cursor, 36 PS_Conv_ToInt( FT_Byte** cursor, 40 PS_Conv_ToFixed( FT_Byte** cursor, 46 PS_Conv_StringDecode( FT_Byte** cursor, 53 PS_Conv_ASCIIHexDecode( FT_Byte** cursor, 59 PS_Conv_EexecDecode( FT_Byte** cursor,
|
/external/chromium_org/ui/aura/client/ |
cursor_client.h | 10 #include "ui/base/cursor/cursor.h" 22 // An interface that receives cursor change events. 25 // Notes that |window| has requested the change to |cursor|. 26 virtual void SetCursor(gfx::NativeCursor cursor) = 0; 28 // Returns the current cursor. 31 // Shows the cursor. This does not take effect When mouse events are disabled. 34 // Hides the cursor. Mouse events keep being sent even when the cursor is 38 // Sets the scale of the mouse cursor icon [all...] |
/external/chromium_org/ui/base/cursor/ |
cursor.h | 90 // Ref-counted cursor that supports both default and custom cursors. 91 class UI_EXPORT Cursor { 93 Cursor(); 96 Cursor(int type); 99 Cursor(const Cursor& cursor); 101 ~Cursor(); 118 bool operator==(const Cursor& cursor) const [all...] |
cursors_aura.h | 8 #include "ui/base/cursor/cursor.h" 21 // Returns data about |id|, where id is a cursor constant like 38 // Returns the cursor bitmap for |cursor|. Returns false if |cursor| is invalid. 39 // The cursor hot point location is set in |point|. 40 bool UI_EXPORT GetCursorBitmap(const Cursor& cursor,
|
/external/clang/test/Index/ |
get-cursor-includes.c | 1 #include "get-cursor-includes-2.h" 2 #include "get-cursor-includes-2.h" 4 // RUN: c-index-test -write-pch %t.h.pch -I%S/Inputs -Xclang -detailed-preprocessing-record %S/Inputs/get-cursor-includes-2.h 5 // RUN: c-index-test -cursor-at=%S/Inputs/get-cursor-includes-2.h:1:5 -I%S/Inputs -include %t.h %s | FileCheck %s 7 // CHECK: inclusion directive=get-cursor-includes-1.h
|
getcursor-pp-pch.c | 11 // RUN: c-index-test -cursor-at=%s.h:1:11 \ 12 // RUN: -cursor-at=%s.h:2:14 \ 13 // RUN: -cursor-at=%s.h:4:5 \ 14 // RUN: -cursor-at=%s.h:5:5 \ 15 // RUN: -cursor-at=%s.h:5:14 \ 16 // RUN: -cursor-at=%s:5:7 \ 17 // RUN: -cursor-at=%s:6:6 \ 18 // RUN: -cursor-at=%s:6:19 \ 23 // RUN: c-index-test -cursor-at=%s.h:1:11 \ 24 // RUN: -cursor-at=%s.h:2:14 [all...] |
/external/freetype/src/psaux/ |
psconv.h | 30 PS_Conv_Strtol( FT_Byte** cursor, 36 PS_Conv_ToInt( FT_Byte** cursor, 40 PS_Conv_ToFixed( FT_Byte** cursor, 46 PS_Conv_StringDecode( FT_Byte** cursor, 53 PS_Conv_ASCIIHexDecode( FT_Byte** cursor, 59 PS_Conv_EexecDecode( FT_Byte** cursor,
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_ShowCursor.3 | 3 SDL_ShowCursor \- Toggle whether or not the cursor is shown on the screen\&. 11 Toggle whether or not the cursor is shown on the screen\&. Passing \fBSDL_ENABLE\fP displays the cursor and passing \fBSDL_DISABLE\fP hides it\&. The current state of the mouse cursor can be queried by passing \fBSDL_QUERY\fP, either \fBSDL_DISABLE\fP or \fBSDL_ENABLE\fP will be returned\&. 13 The cursor starts off displayed, but can be turned off\&. 16 Returns the current state of the cursor\&.
|
SDL_SetCursor.3 | 3 SDL_SetCursor \- Set the currently active mouse cursor\&. 8 \fBvoid \fBSDL_SetCursor\fP\fR(\fBSDL_Cursor *cursor\fR); 11 Sets the currently active cursor to the specified one\&. If the cursor is currently visible, the change will be immediately represented on the display\&.
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemPhotoEntry.java | 19 import android.database.Cursor; 48 public StreamItemPhotoEntry(Cursor cursor) { 49 // This is expected to be populated via a cursor containing a join of all 51 mId = getLong(cursor, StreamItemPhotos._ID); 52 mSortIndex = getInt(cursor, StreamItemPhotos.SORT_INDEX, -1); 53 mPhotoFileId = getLong(cursor, StreamItemPhotos.PHOTO_FILE_ID); 54 mPhotoUri = getString(cursor, StreamItemPhotos.PHOTO_URI); 55 mHeight = getInt(cursor, PhotoFiles.HEIGHT, -1); 56 mWidth = getInt(cursor, PhotoFiles.WIDTH, -1) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
CloseUtils.java | 18 import android.database.Cursor; 27 /** If the argument is non-null, close the cursor. */ 28 public static void closeQuietly(Cursor cursor) { 29 if (cursor != null) { 30 cursor.close();
|
/external/chromium_org/content/renderer/ |
cursor_utils.h | 16 // Adapts our cursor info to blink::WebCursorInfo. 17 bool GetWebKitCursorInfo(const WebCursor& cursor, 20 // Adapts blink::CursorInfo to our cursor. 22 WebCursor* cursor,
|
/external/llvm/include/llvm/Support/ |
GCOV.h | 44 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {} 49 Cursor = 12; 59 Cursor = 0; 63 /// readFunctionTag - If cursor points to a function tag then increment the 64 /// cursor and return true otherwise return false. 66 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4); 72 Cursor += 4; 76 /// readBlockTag - If cursor points to a block tag then increment the 77 /// cursor and return true otherwise return false [all...] |
/frameworks/base/core/java/android/database/ |
AbstractWindowedCursor.java | 22 * The cursor owns the cursor window it uses. When the cursor is closed, 23 * its window is also closed. Likewise, when the window used by the cursor is 25 * that cursor windows are not leaked. 27 * Subclasses are responsible for filling the cursor window with data during 28 * {@link #onMove(int, int)}, allocating a new cursor window if necessary. 29 * During {@link #requery()}, the existing cursor window should be cleared and 32 * If the contents of the cursor change or become invalid, the old window must be closed 33 * (because it is owned by the cursor) and set to null [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ProfileAndContactsLoader.java | 20 import android.database.Cursor; 53 public Cursor loadInBackground() { 55 List<Cursor> cursors = Lists.newArrayList(); 61 Cursor cursor = null; local 63 cursor = super.loadInBackground(); 67 final Cursor contactsCursor = cursor; 69 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) { 72 // Need to get the extras from the contacts cursor [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 22 import android.database.Cursor; 72 SQLiteCursor cursor = getCursor(); local 73 assertNotNull(cursor); 77 SQLiteCursor cursor = getCursor(); local 78 assertTrue(cursor.moveToFirst()); 79 assertFalse(cursor.isClosed()); 80 assertTrue(cursor.requery()); 81 cursor.close(); 82 assertFalse(cursor.requery()); 84 cursor.moveToFirst() 92 SQLiteCursor cursor = getCursor(); local 149 SQLiteCursor cursor = getCursor(); local 192 SQLiteCursor cursor = getCursor(); local 205 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, SELECTION, local 232 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, null, local [all...] |
SQLiteFtsTest.java | 22 import android.database.Cursor; 64 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology"); local 66 assertEquals(2, cursor.getCount()); 67 cursor.moveToPosition(0); 68 assertTrue(cursor.getString(0).contains(">TECHnology<")); 69 cursor.moveToPosition(1); 70 assertTrue(cursor.getString(0).contains(">technologies<")); 72 cursor.close(); 80 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology") local 94 final Cursor cursor = queryFtsTable(TEST_TABLE, "technology"); local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
SDL_sysmouse.cc | 36 /* The implementation dependent data for the window manager cursor */ 45 WMcursor *cursor; local 59 /* Allocate the cursor */ 60 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor)); 61 if ( cursor == NULL ) { 65 cursor->bits = (char *)SDL_malloc(4+2*((allowed_x/8)*allowed_y)); 66 if ( cursor->bits == NULL ) { 67 SDL_free(cursor); 71 cursor->bits[0] = allowed_y; /* Size of the cursor */ [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPhoneNumberListAdapter.java | 21 import android.database.Cursor; 33 * A cursor adapter for the Phones.CONTENT_TYPE content type. 70 return ((Cursor)getItem(position)).getString(PHONE_DISPLAY_NAME_COLUMN_INDEX); 74 Cursor cursor = ((Cursor)getItem(position)); local 75 long id = cursor.getLong(PHONE_ID_COLUMN_INDEX); 80 protected View newView(Context context, int partition, Cursor cursor, int position, 88 protected void bindView(View itemView, int partition, Cursor cursor, int position) [all...] |
LegacyPostalAddressListAdapter.java | 21 import android.database.Cursor; 33 * A cursor adapter for the ContactMethods.CONTENT_TYPE content type. 71 return ((Cursor)getItem(position)).getString(POSTAL_DISPLAY_NAME_COLUMN_INDEX); 75 Cursor cursor = ((Cursor)getItem(position)); local 76 long id = cursor.getLong(POSTAL_ID_COLUMN_INDEX); 81 protected View newView(Context context, int partition, Cursor cursor, int position, 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) [all...] |
/packages/apps/Gallery/src/com/android/camera/gallery/ |
ImageList.java | 20 import android.database.Cursor; 41 Cursor cursor = Media.query( local 49 while (cursor.moveToNext()) { 50 hash.put(cursor.getString(1), cursor.getString(0)); 54 cursor.close(); 88 protected Cursor createCursor() { 89 Cursor c = Media.query( 115 protected long getImageId(Cursor cursor) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
LocalSource.java | 20 import android.database.Cursor; 76 Cursor cursor = mResolver.query(uri, projection, null, null, null); local 77 if (cursor != null) { 78 cursor.moveToPosition(-1); 80 int dataIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATA); 81 int bucketIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_ID); 82 int nameIndex = cursor.getColumnIndex(MediaStore.Images.Media.BUCKET_DISPLAY_NAME); 83 int updatedIndex = cursor.getColumnIndex(MediaStore.Images.Media.DATE_TAKEN); 88 while (cursor.moveToNext()) 208 Cursor cursor = mResolver.query(uri, projection, selection, null, null); local [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/list/ |
ContactListItemViewTest.java | 19 import android.database.Cursor; 57 Cursor cursor = createCursor("John Doe", "Doe John"); local 60 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 66 Cursor cursor = createCursor("", ""); local 70 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY); 76 Cursor cursor = createCursor("John Doe", "Doe John"); local 80 view.showDisplayName(cursor, 0, ContactsContract.Preferences.DISPLAY_ORDER_PRIMARY) 88 Cursor cursor = createCursor("John Doe", "Doe John"); local 126 MatrixCursor cursor = new MatrixCursor(new String[]{"Name", "AlternateName"}); local [all...] |
/external/chromium_org/content/test/data/indexeddb/ |
cursor_prefetch.js | 56 cursor = event.target.result; 57 if (cursor === null) { 62 if (cursor.key !== count) 63 shouldBe("cursor.key", "count"); 64 if (cursor.value !== count) 65 shouldBe("cursor.value", "count"); 69 cursor.continue(); 97 cursor = event.target.result; 98 if (cursor === null) { 103 if (cursor.key !== expectedKey [all...] |