HomeSort by relevance Sort by last modified time
    Searched full:cursor (Results 76 - 100 of 3722) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DeletedContactUtil.java 23 import android.database.Cursor;
40 Cursor cursor = resolver.query(uri, projection, null, null, null); local
41 if (cursor.moveToNext()) {
42 return cursor.getLong(0);
51 Cursor cursor = resolver.query(URI, projection, null, null, null); local
53 return cursor.getCount();
55 CommonDatabaseUtils.closeQuietly(cursor);
65 Cursor cursor = resolver.query(URI, projection, null, null, null) local
78 Cursor cursor = resolver.query(URI, projection, selection, args, null); local
    [all...]
  /external/chromium_org/ppapi/c/dev/
ppb_cursor_control_dev.h 25 * implemented by the browser for controlling the cursor.
35 * Set a cursor. If "type" is PP_CURSORTYPE_CUSTOM, then "custom_image"
36 * must be an ImageData resource containing the cursor and "hot_spot" must
37 * contain the offset within that image that refers to the cursor's position.
44 * This method causes the cursor to be moved to the center of the
46 * The cursor is implicitly hidden from the user while locked.
47 * Cursor lock may only be requested in response to a
51 * While the cursor is locked, any movement of the mouse will
53 * indicate the position the cursor would have been moved to had
54 * the cursor not been locked, and had the screen been infinite in size
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
PhotoPagerAdapter.java 22 import android.database.Cursor;
41 Context context, android.support.v4.app.FragmentManager fm, Cursor c,
49 public Fragment getItem(Context context, Cursor cursor, int position) {
50 final String photoUri = cursor.getString(mContentUriIndex);
51 final String thumbnailUri = cursor.getString(mThumbnailUriIndex);
54 loading = Boolean.valueOf(cursor.getString(mLoadingIndex));
76 public Cursor swapCursor(Cursor newCursor) {
93 public String getPhotoUri(Cursor cursor)
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DeletedContactUtil.java 23 import android.database.Cursor;
40 Cursor cursor = resolver.query(uri, projection, null, null, null); local
41 if (cursor.moveToNext()) {
42 return cursor.getLong(0);
51 Cursor cursor = resolver.query(URI, projection, null, null, null); local
53 return cursor.getCount();
55 CommonDatabaseUtils.closeQuietly(cursor);
65 Cursor cursor = resolver.query(URI, projection, null, null, null) local
78 Cursor cursor = resolver.query(URI, projection, selection, args, null); local
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/rexx/
scanio.c 1 uchar *ScanFill(uchar *cursor){
3 s->pos += cursor - s->mrk;
9 if((len = s->lim - cursor) != 0)
10 memcpy(s->eot, cursor, len);
11 cursor = s->eot;
12 s->lim = &cursor[len];
15 cursor -= cnt;
28 cursor = &buf[cursor - s->bot];
34 s->mrk = cursor;
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
ByteArrayInput.java 40 /** >= 0; current read cursor */
41 private int cursor; field in class:ByteArrayInput
54 this.cursor = 0;
68 return cursor;
72 public void setCursor(int cursor) {
73 if (cursor < 0 || cursor >= data.length)
74 throw new IndexOutOfBoundsException("The provided cursor value " +
76 this.cursor = cursor;
    [all...]
  /frameworks/base/core/java/android/database/
CrossProcessCursorWrapper.java 20 import android.database.Cursor;
25 * Cursor wrapper that implements {@link CrossProcessCursor}.
27 * If the wrapped cursor implements {@link CrossProcessCursor}, then the wrapper
30 * traverse the contents of the cursor similar to {@link AbstractCursor#fillWindow}.
32 * This wrapper can be used to adapt an ordinary {@link Cursor} into a
38 * Creates a cross process cursor wrapper.
39 * @param cursor The underlying cursor to wrap.
41 public CrossProcessCursorWrapper(Cursor cursor) {
    [all...]
DatabaseUtils.java 47 * Static utility methods for dealing with databases and {@link Cursor}s.
225 * <li>{@link Cursor#FIELD_TYPE_NULL}</li>
226 * <li>{@link Cursor#FIELD_TYPE_INTEGER}</li>
227 * <li>{@link Cursor#FIELD_TYPE_FLOAT}</li>
228 * <li>{@link Cursor#FIELD_TYPE_STRING}</li>
229 * <li>{@link Cursor#FIELD_TYPE_BLOB}</li>
239 return Cursor.FIELD_TYPE_NULL;
241 return Cursor.FIELD_TYPE_BLOB;
243 return Cursor.FIELD_TYPE_FLOAT;
246 return Cursor.FIELD_TYPE_INTEGER
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/database/
NoNullCursorAsyncQueryHandler.java 21 import android.database.Cursor;
25 * An {@AsyncQueryHandler} that will never return a null cursor.
27 * Instead, will return a {@link Cursor} with 0 records.
44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) {
47 super.onQueryComplete(token, projectionCookie.originalCookie, cursor);
49 if (cursor == null) {
50 cursor = new EmptyCursor(projectionCookie.projection);
52 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor);
55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor)
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadStorageProvider.java 24 import android.database.Cursor;
82 private void copyNotificationUri(MatrixCursor result, Cursor cursor) {
83 result.setNotificationUri(getContext().getContentResolver(), cursor.getNotificationUri());
92 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
157 public Cursor queryDocument(String docId, String[] projection) throws FileNotFoundException {
165 Cursor cursor = null; local
167 cursor = mDm.query(new Query().setFilterById(Long.parseLong(docId)));
168 copyNotificationUri(result, cursor);
187 Cursor cursor = null; local
210 Cursor cursor = null; local
232 Cursor cursor = null; local
    [all...]
  /external/chromium_org/third_party/WebKit/ManualTests/
css3-cursor-fallback-quirks.html 2 <head><title>Quirks custom cursor tests</title></head>
5 <p>Move the cursor over the blue box - it should not turn into a missing image icon, and should turn into an I-beam over text.</p>
7 <div style="width:100px;height:50px;background-color:lightblue; cursor:url(nonexistent.png), auto;"><span style="cursor:url(nonexistent.png), auto;">some text</span></div>
8 <div style="width:100px;height:50px;background-color:lightblue; cursor:url(nonexistent.png);"></div>
12 <p><a href="http://bugs.webkit.org/show_bug.cgi?id=9013">Bug 9013</a>: Let correct CSS custom cursor declarations parse</p>
13 <p>In each of the blue boxes below, the cursor should become a help cursor (question mark).</p>
15 <td><div style="width:100px;height:100px;background-color:lightblue; cursor:url(resources/helpCursor.tiff), text;"></div></td> <!-- Valid, no fallback needed -->
16 <td><div style='width:100px;height:100px;background-color:lightblue; cursor:url(resources/helpCursor.tiff);'></div></td> <!-- Invalid, but allowed by WinIE --
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/font/
Letters.java 116 LetterQuad cursor = l.getPrevious(); local
117 while (cursor.isInvalid(block, ellipsisWidth) && !cursor.isLineStart()) {
118 cursor = cursor.getPrevious();
120 cursor.setBitmapChar(ellipsis);
121 cursor.update(block);
122 cursor = cursor.getNext();
123 while (!cursor.isTail() && !cursor.isLineFeed()) {
295 LetterQuad cursor = head.getNext(); local
323 LetterQuad cursor = head.getNext(); local
    [all...]
  /bionic/libc/bionic/
pthread-atfork.c 48 struct atfork_t *cursor; local
65 for (cursor = atfork_head.cqh_last;
66 cursor != (void*)&atfork_head;
67 cursor = cursor->entries.cqe_prev) {
68 if (cursor->prepare != NULL) {
69 cursor->prepare();
76 struct atfork_t *cursor; local
80 for (cursor = atfork_head.cqh_first;
81 cursor != (void*)&atfork_head
95 struct atfork_t *cursor; local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ContactListAdapter.java 19 import android.database.Cursor;
36 * A cursor adapter for the {@link ContactsContract.Contacts#CONTENT_TYPE} content type.
150 return ((Cursor) getItem(position)).getString(ContactQuery.CONTACT_DISPLAY_NAME);
159 Cursor item = (Cursor)getItem(position);
163 public Uri getContactUri(int partitionIndex, Cursor cursor) {
164 long contactId = cursor.getLong(ContactQuery.CONTACT_ID);
165 String lookupKey = cursor.getString(ContactQuery.CONTACT_LOOKUP_KEY);
181 public boolean isSelectedContact(int partitionIndex, Cursor cursor)
276 Cursor cursor = null; local
337 Cursor cursor = getCursor(i); local
    [all...]
  /dalvik/dx/src/com/android/dx/io/instructions/
BaseCodeCursor.java 27 private int cursor; field in class:BaseCodeCursor
34 this.cursor = 0;
38 public final int cursor() { method in class:BaseCodeCursor
39 return cursor;
44 int mapped = baseAddressMap.get(cursor);
45 return (mapped >= 0) ? mapped : cursor;
54 * Advance the cursor by the indicated amount.
57 cursor += amount;
  /external/chromium-trace/trace-viewer/src/tracing/analysis/
analysis_link.css 8 cursor: pointer;
13 cursor: pointer;
  /external/chromium_org/chrome/browser/resources/print_preview/previewarea/
margin_control_container.css 6 cursor: ns-resize;
10 cursor: ew-resize;
  /external/chromium_org/content/test/data/indexeddb/
cursor_test.js 7 debug('Empty cursor opened successfully.')
13 debug('Opening an empty cursor.');
22 var cursor = event.target.result;
23 if (cursor === null) {
24 debug('Cursor reached end of range.');
29 debug('Cursor opened successfully.');
34 cursor.continue();
39 debug('Opening cursor');
  /external/dexmaker/src/dx/java/com/android/dx/io/instructions/
BaseCodeCursor.java 29 private int cursor; field in class:BaseCodeCursor
36 this.cursor = 0;
40 public final int cursor() { method in class:BaseCodeCursor
41 return cursor;
46 int mapped = baseAddressMap.get(cursor);
47 return (mapped >= 0) ? mapped : cursor;
56 * Advance the cursor by the indicated amount.
59 cursor += amount;
  /external/qemu/distrib/sdl-1.2.15/docs/man3/
SDL_FreeCursor.3 3 SDL_FreeCursor \- Frees a cursor created with SDL_CreateCursor\&.
8 \fBvoid \fBSDL_FreeCursor\fP\fR(\fBSDL_Cursor *cursor\fR);
SDL_GetCursor.3 3 SDL_GetCursor \- Get the currently active mouse cursor\&.
11 Returns the currently active mouse cursor\&.
  /packages/apps/Camera2/src/com/android/camera/data/
DataUtils.java 20 import android.database.Cursor;
33 Cursor cursor = contentResolver.query(contentUri, proj, null, null, null); local
34 if (cursor == null) {
38 int columnIndex = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);
39 if (!cursor.moveToFirst()) {
42 return cursor.getString(columnIndex);
45 cursor.close();
  /frameworks/base/core/java/android/widget/
CursorAdapter.java 21 import android.database.Cursor;
29 * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
32 * The Cursor must include a column named "_id" or this class will not work.
53 protected Cursor mCursor;
86 * If set the adapter will call requery() on the cursor whenever a content change
89 * @deprecated This option is discouraged, as it results in Cursor queries
98 * If set the adapter will register a content observer on the cursor and will call
100 * using this flag: you will need to unset the current Cursor from the adapter
110 * @deprecated This option is discouraged, as it results in Cursor querie
    [all...]
  /external/chromium_org/components/test/data/autofill/merge/tools/
serialize_profiles.py 28 cursor = connection.cursor()
29 cursor.execute("SELECT * from autofill_profile_names;")
35 # For backward-compatibility, the result of |cursor.description| is a list of
38 types = [ColumnNameToFieldType(item[0]) for item in cursor.description]
40 for profile in cursor:
46 cursor.execute("SELECT * from autofill_profile_emails;")
52 types = [ColumnNameToFieldType(item[0]) for item in cursor.description]
53 for profile in cursor:
59 cursor.execute("SELECT * from autofill_profiles;"
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/adapters/
PhotoThumbnailAdapter.java 20 import android.database.Cursor;
36 private LoaderCompatShim<Cursor> mDrawableFactory;
43 public void setDrawableFactory(LoaderCompatShim<Cursor> factory) {
48 public void bindView(View view, Context context, Cursor cursor) {
51 Drawable drawable = mDrawableFactory.drawableForItem(cursor, recycle);
58 public View newView(Context context, Cursor cursor, ViewGroup parent) {
65 Cursor cursor = getItem(position) local
    [all...]

Completed in 1893 milliseconds

1 2 34 5 6 7 8 91011>>