/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/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...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CrossProcessCursorWrapper.java | 20 import android.database.Cursor; 25 * Cursor wrapper that implements {@link CrossProcessCursor}, but will only behave as such if the 26 * cursor it is wrapping is itself a {@link CrossProcessCursor} or another wrapper around the same. 30 // The cross process cursor. Only non-null if the wrapped cursor was a cross-process cursor. 33 public CrossProcessCursorWrapper(Cursor cursor) { 34 super(cursor); 35 mCrossProcessCursor = getCrossProcessCursor(cursor); [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...] |
/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...] |
/cts/tests/tests/database/src/android/database/cts/ |
MatrixCursor_RowBuilderTest.java | 43 MatrixCursor cursor = new MatrixCursor(new String[] { "column0", "column1", "column2" }); local 44 assertEquals(0, cursor.getCount()); 45 RowBuilder builder = cursor.newRow(); 47 assertEquals(1, cursor.getCount()); 48 cursor.moveToFirst(); 49 assertTrue(cursor.isNull(COLUMN0_INDEX)); 50 assertTrue(cursor.isNull(COLUMN1_INDEX)); 51 assertTrue(cursor.isNull(COLUMN2_INDEX)); 54 assertFalse(cursor.isNull(COLUMN0_INDEX)); 55 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)) [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:15:12 \ 5 // RUN: -cursor-at=%S/get-cursor-macro-args.h:15:20 \ 6 // RUN: %s -include get-cursor-macro-args.h | FileCheck %s 9 // RUN: c-index-test -write-pch %t.pch -x objective-c-header %S/get-cursor-macro-args. [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...] |
CursorFilter.java | 19 import android.database.Cursor; 32 CharSequence convertToString(Cursor cursor); 33 Cursor runQueryOnBackgroundThread(CharSequence constraint); 34 Cursor getCursor(); 35 void changeCursor(Cursor cursor); 44 return mClient.convertToString((Cursor) resultValue); 49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local [all...] |
/external/webkit/Source/WebCore/manual-tests/ |
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/webkit/Source/WebCore/platform/win/ |
CursorWin.cpp | 28 #include "Cursor.h" 82 BITMAP cursor; local 83 GetObject(hCursor.get(), sizeof(BITMAP), &cursor); 84 OwnPtr<HBITMAP> andMask(CreateBitmap(cursor.bmWidth, cursor.bmHeight, 1, 1, NULL)); 85 OwnPtr<HBITMAP> xorMask(CreateCompatibleBitmap(dc, cursor.bmWidth, cursor.bmHeight)); 91 BitBlt(andMaskDC, 0, 0, cursor.bmWidth, cursor.bmHeight, workingDC, 0, 0, SRCCOPY); 95 BitBlt(xorMaskDC, 0, 0, cursor.bmWidth, cursor.bmHeight, andMaskDC, 0, 0, SRCCOPY) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/ |
SDL_sysmouse.c | 39 /* The implementation dependent data for the window manager cursor */ 40 /* For some reason when creating a windows cursor, the ands and xors memory 42 with the cursor. If we free the memory prematurely, the app crashes. :-} 77 /* Local functions to convert the SDL cursor mask into Windows format */ 90 void WIN_FreeWMCursor(_THIS, WMcursor *cursor) 93 if ( cursor->curs == GetCursor() ) 95 if ( cursor->curs != NULL ) 96 DestroyCursor(cursor->curs); 97 if ( cursor->ands != NULL ) 98 SDL_free(cursor->ands) 109 WMcursor *cursor; local [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteDatabaseTest.java | 24 import android.database.Cursor; 130 public Cursor newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, 411 Cursor cursor = mDatabase.query("test", TEST_PROJECTION, null, null, null, null, null); local 412 assertNotNull(cursor); 413 assertEquals(0, cursor.getCount()); 422 cursor.close(); 424 cursor = mDatabase.query("test", TEST_PROJECTION, null, null, null, null, null); 425 assertNotNull(cursor); 426 assertEquals(1, cursor.getCount()) 460 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, local 524 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, local 688 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, null, local 931 Cursor cursor = mDatabase.query(true, "employee", new String[] { "name", "sum(salary)" }, local 1050 Cursor cursor = mDatabase.query(TABLE_NAME, TEST_PROJECTION, local 1123 Cursor cursor = mDatabase.query("test", null, "_id=1", null, null, null, null); local 1170 Cursor cursor = mDatabase.rawQuery(sql, null); local 1315 Cursor cursor = mDatabase.rawQuery("SELECT count(*) FROM test", null); local 1345 Cursor cursor = mDatabase.rawQuery("SELECT * FROM test", null); local 1418 Cursor cursor = mDatabase.rawQuery("SELECT * FROM test", null); local 1488 Cursor cursor = mDatabase.rawQuery("SELECT * FROM test", null); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
BrowserTest.java | 25 import android.database.Cursor; 81 Cursor cursor = mProvider.query(Bookmarks.CONTENT_URI, null, null, null, null); local 82 if (cursor.moveToFirst()) { 83 String[] colNames = cursor.getColumnNames(); 84 while (!cursor.isAfterLast()) { 93 switch (cursor.getType(i)) { 94 case Cursor.FIELD_TYPE_BLOB: 95 value.put(colNames[i], cursor.getBlob(i)); 97 case Cursor.FIELD_TYPE_FLOAT 184 Cursor cursor; local 242 Cursor cursor; local 280 Cursor cursor; local 323 Cursor cursor; local [all...] |