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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/Index/
boxed-exprs.m 13 // RUN: c-index-test -cursor-at=%s:7:24 -target x86_64-apple-macosx10.7 %s | FileCheck -check-prefix=CHECK-CURSOR %s
14 // RUN: env CINDEXTEST_EDITING=1 c-index-test -cursor-at=%s:7:24 -target x86_64-apple-macosx10.7 %s | FileCheck -check-prefix=CHECK-CURSOR %s
15 // CHECK-CURSOR: 7:19 DeclRefExpr=glob_str:4:13 Extent=[7:19 - 7:27] Spelling=glob_str ([7:19 - 7:27])
17 // RUN: c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple-macosx10.7 %s | FileCheck -check-prefix=CHECK-CURSOR2 %s
18 // RUN: env CINDEXTEST_EDITING=1 c-index-test -cursor-at=%S/boxed-exprs.h:9:19 -target x86_64-apple-macosx10.7 %s | FileCheck -check-prefix=CHECK-CURSOR2 %s
cursor-dynamic-call.mm 40 // RUN: c-index-test -cursor-at=%s:8:11 \
41 // RUN: -cursor-at=%s:9:11 \
42 // RUN: -cursor-at=%s:25:11 \
43 // RUN: -cursor-at=%s:26:11 \
44 // RUN: -cursor-at=%s:29:11 \
45 // RUN: -cursor-at=%s:34:9 \
46 // RUN: -cursor-at=%s:35:9 \
47 // RUN: -cursor-at=%s:36:9 \
48 // RUN: -cursor-at=%s:37:9 \
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedDownloadAdapter.java 21 import android.database.Cursor;
35 public DateSortedDownloadAdapter(DownloadList downloadList, Cursor cursor) {
36 super(downloadList, cursor,
37 cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_LAST_MODIFIED_TIMESTAMP));
38 mDelegate = new DownloadAdapter(downloadList, cursor);
50 // Bail early if the Cursor is closed.
  /external/clang/tools/libclang/
CIndexHigh.cpp 147 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor,
150 CXCursor declCursor = clang_getCursorReferenced(cursor);
160 cursor = cxcursor::getSelectorIdentifierCursor(data->SelectorIdIdx, cursor);
164 if ((cursor.kind == CXCursor_ObjCClassMethodDecl ||
165 cursor.kind == CXCursor_ObjCInstanceMethodDecl) &&
166 cxcursor::getSelectorIdentifierIndex(cursor) == -1)
169 if (clang_isExpression(cursor.kind)) {
170 if (cursor.kind == CXCursor_DeclRefExpr ||
171 cursor.kind == CXCursor_MemberRefExpr)
    [all...]
  /external/chromium/webkit/glue/
webcursor_gtk.cc 22 // It attempts to create a custom cursor from the data inlined in
26 GdkCursor* cursor = CustomCursorsGdk[type]; local
27 if (cursor)
28 return cursor;
30 cursor = gdk_cursor_new_from_name(gdk_display_get_default(), custom.name);
31 if (!cursor) {
38 cursor = gdk_cursor_new_from_pixmap(source, mask, &fg, &bg,
43 CustomCursorsGdk[type] = cursor;
44 return cursor;
48 // use a custom cursor
52 static GdkCursor* cursor = NULL; local
201 GdkCursor* cursor = gdk_cursor_new_from_pixbuf(gdk_display_get_default(), local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11mouse.c 34 /* The implementation dependent data for the window manager cursor */
36 Cursor x_cursor;
40 void X11_FreeWMCursor(_THIS, WMcursor *cursor)
44 XFreeCursor(SDL_Display, cursor->x_cursor);
48 SDL_free(cursor);
54 WMcursor *cursor; local
64 /* Allocate the cursor memory */
65 cursor = (WMcursor *)SDL_malloc(sizeof(WMcursor));
66 if ( cursor == NULL ) {
75 SDL_free(cursor);
    [all...]
  /frameworks/base/docs/html/training/load-data-background/
handle-results.jd 16 <a href="#HandleReset">Delete Old Cursor References</a></li>
36 {@link android.database.Cursor} containing the query results. You can use this object to
46 that data associated with the {@link android.database.Cursor} has changed. When the
51 To display {@link android.database.Cursor} data returned by
56 the {@link android.database.Cursor} to the view.
60 and then move a {@link android.database.Cursor} into the adapter in the
62 method. As soon as you move the {@link android.database.Cursor} into the adapter, the
64 {@link android.database.Cursor}.
86 null, // No Cursor yet
87 mFromColumns, // Cursor columns to us
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DirectoryLoader.java 31 import android.database.Cursor;
50 Cursor cursor; field in class:DirectoryResult
58 IoUtils.closeQuietly(cursor);
60 cursor = null;
120 Cursor cursor = null; local
124 cursor = resolver.query(stateUri, null, null, null, null);
125 if (cursor.moveToFirst()) {
126 userMode = getCursorInt(cursor, StateColumns.MODE)
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSimpleCursorAdapter.java 20 import android.database.Cursor;
35 * An easy adapter to map columns from a cursor to TextViews or ImageViews
42 * {@link ViewBinder#setViewValue(android.view.View, android.database.Cursor, int)}
55 * {@link #convertToString(android.database.Cursor)} and
88 * @param c The database cursor. Can be null if the cursor is not available yet.
90 * if the cursor is not available yet.
94 * parameter. Can be null if the cursor is not available yet.
96 public void __constructor__(Context context, int layout, Cursor c, String[] from, int[] to) {
105 * constructor with their corresponding cursor columns as specified in th
    [all...]
  /frameworks/base/core/java/android/database/
CursorJoiner.java 47 private Cursor mCursorLeft;
48 private Cursor mCursorRight;
59 /** The row currently pointed to by the left cursor is unique */
61 /** The row currently pointed to by the right cursor is unique */
70 * @param cursorLeft The left cursor to compare
71 * @param columnNamesLeft The column names to compare from the left cursor
72 * @param cursorRight The right cursor to compare
73 * @param columnNamesRight The column names to compare from the right cursor
76 Cursor cursorLeft, String[] columnNamesLeft,
77 Cursor cursorRight, String[] columnNamesRight)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/list/
SmartDialNumberListAdapter.java 20 import android.database.Cursor;
75 * @param cursor Object containing information of the associated List item.
78 protected void setHighlight(ContactListItemView view, Cursor cursor) {
81 if (mNameMatcher.matches(cursor.getString(PhoneQuery.DISPLAY_NAME))) {
86 Log.v(TAG, cursor.getString(PhoneQuery.DISPLAY_NAME) + " " +
92 final SmartDialMatchPosition numberMatch = mNameMatcher.matchesNumber(cursor.getString(
105 Cursor cursor = ((Cursor)getItem(position)) local
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
AlbumSetFragment.java 23 import android.database.Cursor;
41 public class AlbumSetFragment extends MultiSelectGridFragment implements LoaderCallbacks<Cursor> {
44 private LoaderCompatShim<Cursor> mLoaderCompatShim;
71 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
80 public void onLoadFinished(Loader<Cursor> loader,
81 Cursor data) {
87 public void onLoaderReset(Loader<Cursor> loader) {
96 Cursor item = (Cursor) getItemAtPosition(position);
113 return ((Cursor) item).getInt(AlbumSetLoader.INDEX_SUPPORTED_OPERATIONS)
    [all...]
  /packages/apps/Music/src/com/android/music/
QueryBrowserActivity.java 32 import android.database.Cursor;
113 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/track");
121 i.setDataAndType(Uri.EMPTY, "vnd.android.cursor.dir/album");
161 null, // cursor
204 // close its cursor, which we do by assigning a null cursor to it. Doing this
205 // instead of closing the cursor directly keeps the framework from accessing
206 // the closed cursor later.
238 // if the query results in a null cursor, onQueryComplete() will
257 public void init(Cursor c)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationPagerAdapter.java 23 import android.database.Cursor;
58 * In singleton mode, this adapter ignores the cursor contents and size, and acts as if the
90 * We keep this around and use it in lieu of the Cursor's true count until imminent destruction
140 * Returns true if singleton mode or detached mode have been enabled, or if the current cursor
142 * @param cursor the current conversation cursor (obtained through {@link #getCursor()}.
145 public boolean isPagingDisabled(Cursor cursor) {
146 return mSingletonMode || mDetachedMode || cursor == null;
151 // In detached mode, the pager is decoupled from the cursor. Nothing should rely on th
170 final ConversationCursor cursor = getCursor(); local
208 final Cursor cursor = getCursor(); local
217 final Cursor cursor = getCursor(); local
320 final ConversationCursor cursor = getCursor(); local
381 final ConversationCursor cursor = getCursor(); local
471 final ConversationCursor cursor = getCursor(); local
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
CommonNicknameCache.java 19 import android.database.Cursor;
71 Cursor cursor = mDb.query(NicknameLookupPreloadQuery.TABLE, local
75 int count = cursor.getCount();
77 cursor.moveToNext();
78 String normalizedName = cursor.getString(NicknameLookupPreloadQuery.NAME);
83 cursor.close();
134 Cursor cursor = mDb.query(NicknameLookupQuery.TABLE, NicknameLookupQuery.COLUMNS, local
138 int count = cursor.getCount()
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List3.java 20 import android.database.Cursor;
29 * data comes from a cursor, and a
39 // Get a cursor with all phones
40 Cursor c = getContentResolver().query(Phone.CONTENT_URI,
44 // Map Cursor columns to views defined in simple_list_item_2.xml
54 public boolean setViewValue(View view, Cursor cursor, int columnIndex) {
59 int type = cursor.getInt(COLUMN_TYPE);
63 label = cursor.getString(COLUMN_LABEL);
  /development/samples/SearchableDictionary/src/com/example/android/searchabledict/
WordActivity.java 24 import android.database.Cursor;
49 Cursor cursor = managedQuery(uri, null, null, null, null); local
51 if (cursor == null) {
54 cursor.moveToFirst();
59 int wIndex = cursor.getColumnIndexOrThrow(DictionaryDatabase.KEY_WORD);
60 int dIndex = cursor.getColumnIndexOrThrow(DictionaryDatabase.KEY_DEFINITION);
62 word.setText(cursor.getString(wIndex));
63 definition.setText(cursor.getString(dIndex));
  /external/chromium_org/third_party/icu/source/i18n/
uni2name.cpp 88 int32_t cursor = offsets.start; local
95 while (cursor < limit) {
96 UChar32 c = text.char32At(cursor);
102 text.handleReplaceBetween(cursor, cursor+clen, str);
104 cursor += len; // advance cursor and adjust for new text
107 cursor += clen;
113 offsets.start = cursor;
  /external/chromium_org/ui/views/widget/desktop_aura/
x11_whole_screen_move_loop.h 35 // Runs the nested message loop. While the mouse is grabbed, use |cursor| as
36 // the mouse cursor. Returns true if there we were able to grab the pointer
38 bool RunMoveLoop(aura::Window* window, gfx::NativeCursor cursor);
40 // Updates the cursor while the move loop is running.
41 void UpdateCursor(gfx::NativeCursor cursor);
50 // Grabs the pointer, setting the mouse cursor to |cursor|. Returns true if
52 bool GrabPointerWithCursor(gfx::NativeCursor cursor);
66 // cursor wherever it goes on screen during a drag, since normal windows
  /external/icu4c/i18n/
uni2name.cpp 89 int32_t cursor = offsets.start; local
96 while (cursor < limit) {
97 UChar32 c = text.char32At(cursor);
103 text.handleReplaceBetween(cursor, cursor+clen, str);
105 cursor += len; // advance cursor and adjust for new text
108 cursor += clen;
114 offsets.start = cursor;
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
TrackerListHelper.java 20 import android.database.Cursor;
50 Cursor cursor = mActivity.managedQuery(TrackerProvider.CONTENT_URI, local
53 TrackerAdapter adapter = new TrackerAdapter(mActivity, layout, cursor);
55 cursor.setNotificationUri(mActivity.getContentResolver(),
62 public TrackerAdapter(Context context, int layout, Cursor c) {
67 public void bindView(View view, Context context, Cursor cursor) {
71 .createEntry(cursor));
  /frameworks/opt/photoviewer/src/com/android/ex/photo/
PhotoViewCallbacks.java 3 import android.database.Cursor;
54 * Called when the cursor that contains the photo list data
55 * is updated. Note that there is no guarantee that the cursor
57 * @param cursor the cursor containing the photo list data
59 public void onCursorChanged(Cursor cursor);
85 public void onCursorChanged(PhotoViewFragment fragment, Cursor cursor);
  /packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
ImageAttachmentRequest.java 6 import android.database.Cursor;
82 Cursor cursor = null; local
85 cursor = cr.query(Uri.parse(mLookupUri), UIProvider.ATTACHMENT_PROJECTION, null, null,
87 if (cursor != null && cursor.moveToFirst()) {
88 final Attachment a = new Attachment(cursor);
92 if (cursor != null) {
93 cursor.close();
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_cursor_pget_bug.py 10 """Verify that cursor.pget works properly"""
38 cursor = self.secondary_db.cursor()
40 self.assertEqual(('eggs', 'salad', 'eggs'), cursor.pget(key='eggs', flags=db.DB_SET))
41 self.assertEqual(('eggs', 'omelet', 'eggs'), cursor.pget(db.DB_NEXT_DUP))
42 self.assertEqual(None, cursor.pget(db.DB_NEXT_DUP))
44 self.assertEqual(('ham', 'spam', 'ham'), cursor.pget('ham', 'spam', flags=db.DB_SET))
45 self.assertEqual(None, cursor.pget(db.DB_NEXT_DUP))
47 cursor.close()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_cursor_pget_bug.py 10 """Verify that cursor.pget works properly"""
38 cursor = self.secondary_db.cursor()
40 self.assertEqual(('eggs', 'salad', 'eggs'), cursor.pget(key='eggs', flags=db.DB_SET))
41 self.assertEqual(('eggs', 'omelet', 'eggs'), cursor.pget(db.DB_NEXT_DUP))
42 self.assertEqual(None, cursor.pget(db.DB_NEXT_DUP))
44 self.assertEqual(('ham', 'spam', 'ham'), cursor.pget('ham', 'spam', flags=db.DB_SET))
45 self.assertEqual(None, cursor.pget(db.DB_NEXT_DUP))
47 cursor.close()

Completed in 1223 milliseconds

1 2 3 4 5 6 7 8 91011>>