/external/webkit/Source/WebCore/manual-tests/resources/ |
cursor-empty-url.css | 1 #target { cursor: url(''), auto; }
|
/external/webkit/Source/WebCore/platform/ |
Cursor.cpp | 27 #include "Cursor.h" 35 // Hot spot must be inside cursor rectangle. 49 const Cursor& Cursor::fromType(Cursor::Type type) 52 case Cursor::Pointer: 54 case Cursor::Cross: 56 case Cursor::Hand: 58 case Cursor::IBeam: 60 case Cursor::Wait [all...] |
Cursor.h | 47 #include <app/Cursor.h> 105 class Cursor { 154 static const Cursor& fromType(Cursor::Type); 156 Cursor() 163 Cursor(Image*, const IntPoint& hotSpot); 164 Cursor(const Cursor&); 165 ~Cursor(); 166 Cursor& operator=(const Cursor&) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AbstractCursorTest.java | 24 private TestCursor cursor; field in class:AbstractCursorTest 28 cursor = new TestCursor(); 33 cursor.theTable.add("Foobar"); 34 assertThat(cursor.moveToFirst(), equalTo(true)); 35 assertThat(cursor.getCount(), equalTo(1)); 40 assertThat(cursor.moveToFirst(), equalTo(false)); 41 assertThat(cursor.getCount(), equalTo(0)); 46 cursor.theTable.add("Foobar"); 47 cursor.theTable.add("Bletch"); 49 assertThat(cursor.moveToLast(), equalTo(true)) [all...] |
SQLiteCursorTest.java | 27 private SQLiteCursor cursor; field in class:SQLiteCursorTest 49 String[] columnNames = cursor.getColumnNames(); 57 String[] columnNames = cursor.getColumnNames(); 66 assertThat(cursor.getColumnIndex("id"), equalTo(0)); 67 assertThat(cursor.getColumnIndex("name"), equalTo(1)); 72 assertThat(cursor.getColumnIndex("Fred"), equalTo(-1)); 79 assertThat(cursor.getColumnIndex("id"), equalTo(0)); 80 assertThat(cursor.getColumnIndex("name"), equalTo(1)); 85 assertThat(cursor.getColumnIndexOrThrow("id"), equalTo(0)); 86 assertThat(cursor.getColumnIndexOrThrow("name"), equalTo(1)) [all...] |
/external/webkit/Source/WebCore/platform/efl/ |
CursorEfl.cpp | 35 #include "Cursor.h" 46 Cursor::Cursor(PlatformCursor p) 51 Cursor::Cursor(const Cursor& other) 56 Cursor::~Cursor() 64 Cursor::Cursor(Image* image, const IntPoint& hotspot [all...] |
/external/clang/test/Index/Inputs/ |
get-cursor-includes-2.h | 1 #include "get-cursor-includes-1.h" 2 #include "get-cursor-includes-1.h"
|
/external/webkit/Source/WebCore/platform/wince/ |
CursorWinCE.cpp | 21 #include "Cursor.h" 31 Cursor m_cursors[NumCursorTypes]; 34 static const Cursor& getCursor(CursorType type) 40 Cursor::Cursor(const Cursor& other) 45 Cursor::Cursor(Image* img, const IntPoint& hotspot) 50 Cursor::~Cursor() [all...] |
/external/webkit/Source/WebCore/platform/brew/ |
CursorBrew.cpp | 30 #include "Cursor.h" 38 Cursor::Cursor(Image*, const IntPoint&) 43 Cursor::Cursor(const Cursor&) 48 Cursor::~Cursor() 53 Cursor& Cursor::operator=(const Cursor& [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
CursorWx.cpp | 27 #include "Cursor.h" 31 #include <wx/cursor.h> 36 Cursor::Cursor(const Cursor& other) 41 Cursor::Cursor(Image* image, const IntPoint&) 48 Cursor::~Cursor() 52 Cursor& Cursor::operator=(const Cursor& other [all...] |
/external/webkit/Source/WebCore/platform/android/ |
CursorAndroid.cpp | 30 #include "Cursor.h" 36 Cursor::Cursor(Image*, const IntPoint&) 41 Cursor::Cursor(const Cursor&) 46 Cursor::~Cursor() 51 Cursor& Cursor::operator=(const Cursor& [all...] |
/external/webkit/Source/WebCore/platform/haiku/ |
CursorHaiku.cpp | 30 #include "Cursor.h" 36 Cursor::Cursor(PlatformCursor cursor) 37 : m_platformCursor(cursor) 41 Cursor::Cursor(const Cursor& other) 47 Cursor::~Cursor() [all...] |
/external/webkit/Source/WebCore/platform/chromium/ |
CursorChromium.cpp | 32 #include "Cursor.h" 38 Cursor::Cursor(const Cursor& other) 43 Cursor::Cursor(Image* image, const IntPoint& hotSpot) 48 Cursor::~Cursor() 52 Cursor& Cursor::operator=(const Cursor& other [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
MatrixCursorTest.java | 28 Cursor cursor = new MatrixCursor(new String[] { "a" }); local 29 assertEquals(0, cursor.getCount()); 33 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); local 34 cursor.newRow().add(null); 35 cursor.moveToNext(); 36 assertTrue(cursor.isNull(0)); 37 assertNull(cursor.getString(0)); 38 assertNull(cursor.getBlob(0)); 39 assertEquals(0, cursor.getShort(0)) 47 MatrixCursor cursor = newMatrixCursor(); local 79 MatrixCursor cursor = newMatrixCursor(); local 92 MatrixCursor cursor = newMatrixCursor(); local 111 MatrixCursor cursor = newMatrixCursor(); local [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
CursorGtk.cpp | 44 CustomCursor cursor = CustomCursors[cursorType]; local 45 GRefPtr<GdkCursor> c = adoptGRef(gdk_cursor_new_from_name(gdk_display_get_default(), cursor.name)); 50 RefPtr<cairo_surface_t> source = adoptRef(cairo_image_surface_create_for_data(const_cast<unsigned char*>(cursor.bits), CAIRO_FORMAT_A1, 32, 32, 4)); 51 RefPtr<cairo_surface_t> mask = adoptRef(cairo_image_surface_create_for_data(const_cast<unsigned char*>(cursor.mask_bits), CAIRO_FORMAT_A1, 32, 32, 4)); 55 cairo_set_source_surface(cr.get(), source.get(), cursor.hot_x, cursor.hot_y); 56 cairo_mask_surface(cr.get(), mask.get(), cursor.hot_x, cursor.hot_y); 69 void Cursor::ensurePlatformCursor() const 71 if (m_platformCursor || m_type == Cursor::Pointer [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
SyncCalendarTest.java | 19 import android.database.Cursor; 74 Cursor cursor; local 75 cursor = mResolver.query(mEventsUri, null, null, null, null); 77 int countBeforeNewEvent = cursor.getCount(); 78 cursor.moveToNext(); 81 String newTitle = cursor.getString(cursor.getColumnIndex("title")) + time.toString(); 82 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart")) 102 Cursor cursor; local 135 Cursor cursor; local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
CommonDatabaseUtils.java | 19 import android.database.Cursor; 32 public static String[] singleRecordToArray(Cursor cursor) { 35 if (cursor.moveToNext()) { 36 result = new String[cursor.getColumnCount()]; 37 fillArray(cursor, result); 40 closeQuietly(cursor); 45 public static List<String[]> multiRecordToArray(Cursor cursor) { 48 while (cursor.moveToNext()) [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/ |
CommonDatabaseUtils.java | 20 import android.database.Cursor; 33 public static String[] singleRecordToArray(Cursor cursor) { 36 if (cursor.moveToNext()) { 37 result = new String[cursor.getColumnCount()]; 38 fillArray(cursor, result); 41 closeQuietly(cursor); 46 public static List<String[]> multiRecordToArray(Cursor cursor) { 49 while (cursor.moveToNext()) [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
CursorPhotoSource.java | 20 import android.database.Cursor; 23 * Common implementation for sources that load images from a cursor. 27 // An invalid cursor position to represent the uninitialized state. 29 // An invalid cursor position to represent the error state. 42 if (current.cursor == null || current.cursor.isClosed()) { 46 current.cursor.moveToPosition(current.position); 47 current.cursor.moveToNext(); 49 if (!current.cursor.isAfterLast()) { 50 data = unpackImageData(current.cursor, null) [all...] |
/external/webkit/Source/WebCore/platform/mac/ |
CursorMac.mm | 27 #import "Cursor.h" 41 // but creating a cursor with a bad image might throw. 45 // FIXME: The cursor won't animate. Not sure if that's a big deal. 65 NSCursor* cursor = 0; 68 cursor = [[NSCursor alloc] initWithImage:cursorImage hotSpot:hotSpotPoint]; 71 return cursor; 76 void Cursor::ensurePlatformCursor() const 82 case Cursor::Pointer: 85 case Cursor::Cross: 88 case Cursor::Hand [all...] |
/external/clang/test/Index/ |
get-cursor-macro-args.m | 2 // RUN: c-index-test -cursor-at=%S/get-cursor-macro-args.h:9:12 \ 3 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:21 \ 4 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:9 \ 5 // RUN: -cursor-at=%S/get-cursor-macro-args.h:9:22 \ 6 // RUN: -cursor-at=%S/get-cursor-macro-args.h:15:12 [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursor_RowBuilderTest.java | 34 MatrixCursor cursor = new MatrixCursor(new String[] { "column0", "column1", "column2" }); local 35 assertEquals(0, cursor.getCount()); 36 RowBuilder builder = cursor.newRow(); 38 assertEquals(1, cursor.getCount()); 39 cursor.moveToFirst(); 40 assertTrue(cursor.isNull(COLUMN0_INDEX)); 41 assertTrue(cursor.isNull(COLUMN1_INDEX)); 42 assertTrue(cursor.isNull(COLUMN2_INDEX)); 45 assertFalse(cursor.isNull(COLUMN0_INDEX)); 46 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/android/database/ |
SimpleTestCursorTest.java | 21 private SimpleTestCursor cursor; field in class:SimpleTestCursorTest 29 cursor = new SimpleTestCursor(); 30 shadowContentResolver.setCursor(uri, cursor); 34 cursor.setColumnNames(columnNames); 40 assertThat(cursor.uri, equalTo(uri)); 41 assertThat(cursor.projection[0], equalTo("projection")); 42 assertThat(cursor.selection, equalTo("selection")); 43 assertThat(cursor.selectionArgs[0], equalTo("selection")); 44 assertThat(cursor.sortOrder, equalTo("sortOrder")); 49 cursor.setResults(new Object[][]{new Object[]{"aString", 1234L}}) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
Contacts_PeopleTest.java | 25 import android.database.Cursor; 114 Cursor cursor; local 122 cursor = mProvider.query(mPeopleRowsAdded.get(0), PEOPLE_PROJECTION, 124 cursor.moveToFirst(); 125 int personId = cursor.getInt(PEOPLE_ID_INDEX); 126 cursor.close(); 128 cursor = mProvider.query(Groups.CONTENT_URI, GROUPS_PROJECTION, 130 cursor.moveToFirst(); 131 int groupId = cursor.getInt(GROUPS_ID_INDEX) 222 Cursor cursor; local [all...] |
/frameworks/base/core/java/android/widget/ |
CursorTreeAdapter.java | 22 import android.database.Cursor; 31 * An adapter that exposes data from a series of {@link Cursor}s to an 32 * {@link ExpandableListView} widget. The top-level {@link Cursor} (that is 33 * given in the constructor) exposes the groups, while subsequent {@link Cursor}s 34 * returned from {@link #getChildrenCursor(Cursor)} expose children within a 44 /** The cursor helper that is used to get the groups */ 48 * The map of a group position to the group's children cursor helper (the 49 * cursor helper that is used to get the children for that group) 58 * Constructor. The adapter will call {@link Cursor#requery()} on the cursor wheneve 196 Cursor cursor = mGroupCursorHelper.moveTo(groupPosition); local 240 Cursor cursor = cursorHelper.moveTo(childPosition); local [all...] |