/external/chromium_org/third_party/WebKit/ManualTests/resources/ |
cursor-empty-url.css | 1 #target { cursor: url(''), auto; }
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Cursor.cpp | 27 #include "platform/Cursor.h" 36 // Hot spot must be inside cursor rectangle. 50 const Cursor& Cursor::fromType(Cursor::Type type) 53 case Cursor::Pointer: 55 case Cursor::Cross: 57 case Cursor::Hand: 59 case Cursor::IBeam: 61 case Cursor::Wait [all...] |
Cursor.h | 37 class PLATFORM_EXPORT Cursor { 87 static const Cursor& fromType(Cursor::Type); 89 Cursor() 90 // This is an invalid Cursor and should never actually get used. 95 Cursor(Image*, const IntPoint& hotSpot); 98 Cursor(Image*, const IntPoint& hotSpot, float imageScaleFactor); 100 Cursor(const Cursor&); 101 ~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...] |
MatrixCursorTest.java | 32 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 33 cursor.addRow(new Object[]{"foo", 10L, 0.1f}); 34 cursor.addRow(new Object[]{"baz", 20L, null}); 35 assertThat(cursor.getCount(), equalTo(2)); 37 assertTrue(cursor.moveToFirst()); 39 assertThat(cursor.getString(0), equalTo("foo")); 40 assertThat(cursor.getLong(1), equalTo(10L)); 41 assertThat(cursor.getFloat(2), equalTo(0.1f)); 43 assertTrue(cursor.moveToNext()); 45 assertThat(cursor.getString(0), equalTo("baz")) 54 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 72 MatrixCursor cursor = new MatrixCursor(new String[]{"a"}); local 81 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 102 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 108 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 114 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local 121 MatrixCursor cursor = new MatrixCursor(new String[]{"a", "b", "c"}); local [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/chromium_org/ui/base/cursor/ |
cursor.cc | 5 #include "ui/base/cursor/cursor.h" 9 Cursor::Cursor() 15 Cursor::Cursor(int type) 21 Cursor::Cursor(const Cursor& cursor) [all...] |
cursor_null.cc | 5 #include "ui/base/cursor/cursor.h" 9 void Cursor::RefCustomCursor() { 12 void Cursor::UnrefCustomCursor() {
|
cursor_win.cc | 5 #include "ui/base/cursor/cursor.h" 9 void Cursor::RefCustomCursor() { 13 void Cursor::UnrefCustomCursor() {
|
/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 132 MatrixCursor cursor = newMatrixCursor(); local [all...] |
/external/chromium_org/content/test/data/ |
gtk_key_bindings_test_gtkrc | 8 # Test "move-cursor" 10 "move-cursor" (logical-positions, -2, 0) 11 "move-cursor" (logical-positions, 2, 0) 12 "move-cursor" (visual-positions, -1, 1) 13 "move-cursor" (visual-positions, 1, 1) 14 "move-cursor" (words, -1, 0) 15 "move-cursor" (words, 1, 0) 16 "move-cursor" (display-lines, -1, 0) 17 "move-cursor" (display-lines, 1, 0) 18 "move-cursor" (display-line-ends, -1, 0 [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationCursorOperationListener.java | 19 import android.database.Cursor; 24 * Marks all contents of this cursor as seen. 35 * Invokes {@link ConversationCursorOperationListener#markContentsSeen(Cursor)} on the 36 * specified {@link Cursor}, recursively calls {@link #markContentsSeen(Cursor)} on a 37 * wrapped cursor, or returns. 39 public static void markContentsSeen(final Cursor cursor) { 40 if (cursor == null) { 44 if (cursor instanceof ConversationCursorOperationListener) [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...] |
/external/chromium_org/ui/resources/ |
ui_unscaled_resources.grd | 12 <include name="IDC_ALIAS" file="cursors/aliasb.cur" type="CURSOR" /> 13 <include name="IDC_CELL" file="cursors/cell.cur" type="CURSOR" /> 14 <include name="IDC_COLRESIZE" file="cursors/col_resize.cur" type="CURSOR" /> 15 <include name="IDC_COPYCUR" file="cursors/copy.cur" type="CURSOR" /> 16 <include name="IDC_CURSOR_NONE" file="cursors/none.cur" type="CURSOR" /> 17 <include name="IDC_HAND_GRAB" file="cursors/hand_grab.cur" type="CURSOR" /> 18 <include name="IDC_HAND_GRABBING" file="cursors/hand_grabbing.cur" type="CURSOR" /> 19 <include name="IDC_PAN_EAST" file="cursors/pan_east.cur" type="CURSOR" /> 20 <include name="IDC_PAN_MIDDLE" file="cursors/pan_middle.cur" type="CURSOR" /> 21 <include name="IDC_PAN_NORTH" file="cursors/pan_north.cur" type="CURSOR" /> [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/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...] |
/external/chromium_org/third_party/WebKit/ManualTests/ |
cursorfallback.xml | 4 <title>Strict mode + SVG cursor fallback test</title> 7 <p>Test svg cursor fallback, should show help cursor:</p> 11 <cursor id="help" xlink:href="resources/helpcursor.tiff" x="10" y="11"/> 13 <g cursor="url(nonexistent.png), url(custom-cursors.html), url(unknown-scheme:custom-cursors.html), url(#nonexistant), url(#help), text"> 16 <text y="62">Test svg cursor fallback with hotspot, should show help cursor:</text> 17 <g cursor="url(#help) 1 1, text"> 20 <text y="132">Test svg cursor fallback with illegal hotspot, should show default cursor:</text [all...] |
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/draw2d/ |
ICursorConstants.java | 14 import org.eclipse.swt.graphics.Cursor; 24 * System resize west-east cursor 26 Cursor SIZEWE = new Cursor(null, SWT.CURSOR_SIZEWE); 28 * System resize north-south cursor 30 Cursor SIZENS = new Cursor(null, SWT.CURSOR_SIZENS); 32 * System resize all directions cursor. 35 // The SWT CURSOR_SIZEALL cursor looks wrong; it's cross hairs. Use a hand for resizing 38 //Cursor SIZEALL = new Cursor(null, SWT.CURSOR_SIZEALL) [all...] |