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

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Music/src/com/android/music/
PlaylistBrowserActivity.java 31 import android.database.Cursor;
164 // a cursor yet (because the initial query that sets its cursor
167 // first case, simply retry the query when the cursor is null.
197 // close its cursor, which we do by assigning a null cursor to it. Doing this
198 // instead of closing the cursor directly keeps the framework from accessing
199 // the closed cursor later.
240 public void init(Cursor cursor) {
416 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, local
440 Cursor cursor = MusicUtils.query(this, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, local
    [all...]
MusicAlphabetIndexer.java 19 import android.database.Cursor;
30 public MusicAlphabetIndexer(Cursor cursor, int sortedColumnIndex, CharSequence alphabet) {
31 super(cursor, sortedColumnIndex, alphabet);
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SuggestionCursorWithExtrasTest.java 19 import android.database.Cursor;
26 * Tests to verify that custom columns from a suggestion cursor get propagated through QSB properly.
54 Cursor c = createCursorWithExtras(column, value);
68 Cursor c = createCursorWithExtras(column, value);
82 Cursor c = createCursorWithExtras(column, value);
96 Cursor c = createCursorWithExtras(column, value);
110 Cursor c = createCursorWithExtras(column, value);
124 Cursor c = createCursorWithExtras(column, value);
128 private Cursor createCursorWithExtras(String columnName, Object columnValue) {
140 assertEquals("Cursor rows", 1, observedCursor.getCount())
149 MockSuggestionProviderCursor cursor = new MockSuggestionProviderCursor( local
    [all...]
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DateSortedExpandableListAdapter.java 22 import android.database.Cursor;
47 private Cursor mCursor;
79 public DateSortedExpandableListAdapter(Context context, Cursor cursor,
84 mCursor = cursor;
85 mIdIndex = cursor.getColumnIndexOrThrow(DownloadManager.COLUMN_ID);
86 cursor.registerContentObserver(new ChangeObserver());
87 cursor.registerDataSetObserver(new MyDataSetObserver());
96 // The cursor is sorted by date
128 * Get the byte array at cursorIndex from the Cursor. Assumes the Curso
    [all...]
  /frameworks/base/core/java/android/widget/
SuggestionsAdapter.java 31 import android.database.Cursor;
80 // Cached column indexes, updated when the cursor changes.
102 null, // no initial cursor
171 * Use the search suggestions provider to obtain a live cursor. This will be called
176 public Cursor runQueryOnBackgroundThread(CharSequence constraint) {
180 * for in app search we show the progress spinner until the cursor is returned with
183 Cursor cursor = null; local
190 cursor = mSearchManager.getSuggestions(mSearchable, query, QUERY_LIMIT);
193 if (cursor != null)
    [all...]
SimpleCursorTreeAdapter.java 20 import android.database.Cursor;
25 * An easy adapter to map columns from a cursor to TextViews or ImageViews
32 * {@link ViewBinder#setViewValue(android.view.View, android.database.Cursor, int)}
75 * @param cursor The database cursor
102 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout,
105 super(context, cursor, collapsedGroupLayout, expandedGroupLayout, childLayout,
116 * @param cursor The database cursor
    [all...]
ResourceCursorAdapter.java 20 import android.database.Cursor;
40 * @deprecated This option is discouraged, as it results in Cursor queries
51 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
59 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
60 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}.
68 * @param c The cursor from which to get the data.
70 * cursor whenever it changes so the most recent
73 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) {
86 * @param c The cursor from which to get the data.
88 * as per {@link CursorAdapter#CursorAdapter(Context, Cursor, int)}
    [all...]
  /external/bison/lib/
hash.c 183 struct hash_entry const *cursor = bucket; local
186 while (cursor = cursor->next, cursor)
211 struct hash_entry const *cursor = bucket; local
218 while (cursor = cursor->next, cursor)
254 struct hash_entry const *cursor; local
262 for (cursor = bucket; cursor; cursor = cursor->next
302 struct hash_entry const *cursor; local
331 struct hash_entry const *cursor; local
363 struct hash_entry const *cursor; local
613 struct hash_entry *cursor; local
651 struct hash_entry *cursor; local
749 struct hash_entry *cursor; local
823 struct hash_entry *cursor; local
1035 struct hash_entry *cursor; local
    [all...]
  /external/clang/tools/libclang/
CIndexHigh.cpp 132 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor,
135 CXCursor declCursor = clang_getCursorReferenced(cursor);
142 cursor = cxcursor::getSelectorIdentifierCursor(data->SelectorIdIdx, cursor);
146 if ((cursor.kind == CXCursor_ObjCClassMethodDecl ||
147 cursor.kind == CXCursor_ObjCInstanceMethodDecl) &&
148 cxcursor::getSelectorIdentifierIndex(cursor) == -1)
151 if (clang_isExpression(cursor.kind)) {
152 if (cursor.kind == CXCursor_DeclRefExpr ||
153 cursor.kind == CXCursor_MemberRefExpr)
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppUtility.java 48 import android.database.Cursor;
66 Cursor cursor = context.getContentResolver().query(uri, null, null, null, null); local
67 if (cursor != null) {
68 if (cursor.moveToFirst()) {
69 info.mID = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare._ID));
70 info.mStatus = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS));
71 info.mDirection = cursor.getInt(curso
    [all...]
BluetoothOppTransferAdapter.java 41 import android.database.Cursor;
60 public BluetoothOppTransferAdapter(Context context, int layout, Cursor c) {
66 public void bindView(View view, Context context, Cursor cursor) {
71 int status = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.STATUS));
72 int dir = cursor.getInt(cursor.getColumnIndexOrThrow(BluetoothShare.DIRECTION));
85 String title = cursor.getString(
86 cursor.getColumnIndexOrThrow(BluetoothShare.FILENAME_HINT))
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java 29 import android.database.Cursor;
269 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); local
270 assertEquals(expected, cursor.getCount());
271 cursor.close();
285 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); local
286 dumpCursor(cursor);
287 cursor.close();
307 Cursor cursor = queryInstances(begin, end) local
332 Cursor cursor = queryInstances(begin, end); local
372 Cursor cursor = queryInstances(begin, end); local
459 Cursor cursor = queryInstances(begin, end); local
1129 Cursor cursor = mResolver.query(mEventsUri, new String[] { Events._ID }, local
1160 Cursor cursor = mResolver.query(mEventsUri, projection, local
1224 Cursor cursor = mResolver.query(mEventsUri, projection, local
1244 Cursor cursor; local
1300 Cursor cursor; local
1341 Cursor cursor; local
1586 Cursor cursor = null; local
1741 Cursor cursor = mResolver.query(CalendarContract.CalendarAlerts.CONTENT_URI, projection, local
1763 Cursor cursor = db.query("Events", null, null, null, null, null, null); local
1772 Cursor cursor = db.query("Events", null, Events.CALENDAR_ID + "=?", new String[] {calendar}, local
1805 Cursor cursor = mResolver.query(CalendarContract.Attendees.CONTENT_URI, null, local
1858 Cursor cursor = mResolver.query( local
1882 Cursor cursor = mResolver.query(uri, null\/* projection *\/, where, null \/* selectionArgs *\/, local
2165 Cursor cursor; local
2302 Cursor cursor = queryInstances(mResolver, PROJECTION, local
2486 Cursor cursor = mResolver.query(uri, null, null, null, null); local
2507 Cursor cursor = mResolver local
2551 Cursor cursor = mResolver.query(PROPERTIES_CONTENT_URI, null, null, null, null); local
2595 Cursor cursor = mResolver.query(PROPERTIES_CONTENT_URI, null, local
2675 Cursor cursor = mResolver.query(CalendarContract.ExtendedProperties.CONTENT_URI, local
2702 Cursor cursor = mResolver.query(mCalendarsUri, local
2720 Cursor cursor = mResolver.query(mCalendarsUri, local
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AlphabetIndexerTest.java 24 import android.database.Cursor;
50 args = {android.database.Cursor.class, int.class, java.lang.CharSequence.class}
70 args = {android.database.Cursor.class}
74 Cursor c1 = createCursor("Country", COUNTRIES_LIST);
113 Cursor c2 = createCursor("Name", NAMES_LIST);
117 // test getPositionForSection in Name Cursor
141 Cursor cursor = createCursor("Country", COUNTRIES_LIST); local
143 MyAlphabetIndexer indexer = new MyAlphabetIndexer(cursor, SORTED_COLUMN_INDEX, ALPHABET);
150 private Cursor createCursor(String listName, String[] listData)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
AutoComplete5.java 23 import android.database.Cursor;
35 Cursor cursor = content.query(Contacts.CONTENT_URI, local
38 new AutoComplete4.ContactListAdapter(this, cursor);
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
UrlImageBinder.java 20 import android.database.Cursor;
38 public boolean bind(View view, Cursor cursor, int columnIndex) {
40 final String url = mTransformation.transform(cursor, columnIndex);
  /external/clang/test/Index/
get-cursor.m 29 // RUN: c-index-test -cursor-at=%s:4:28 -cursor-at=%s:5:28 %s | FileCheck -check-prefix=CHECK-PROP %s
33 // RUN: c-index-test -cursor-at=%s:11:11 %s -ccc-host-triple x86_64-apple-macosx10.7.0 | FileCheck -check-prefix=CHECK-WITH-WEAK %s
36 // RUN: c-index-test -cursor-at=%s:20:10 %s | FileCheck -check-prefix=CHECK-METHOD %s
  /external/icu4c/i18n/
strmatch.cpp 88 int32_t cursor = offset; local
89 if (limit < cursor) {
95 if (cursor > limit &&
96 keyChar == text.charAt(cursor)) {
97 --cursor;
103 subm->matches(text, cursor, limit, incremental);
113 matchStart = cursor+1;
118 if (incremental && cursor == limit) {
126 // Don't need the cursor < limit check if
129 if (cursor < limit &
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/riscos/
SDL_riscosmouse_c.h 26 /* The implementation dependent data for the window manager cursor */
36 void RISCOS_FreeWMCursor(_THIS, WMcursor *cursor);
39 int RISCOS_ShowWMCursor(_THIS, WMcursor *cursor);
42 int WIMP_ShowWMCursor(_THIS, WMcursor *cursor);
  /external/webkit/Source/WebCore/manual-tests/
cursor-empty-url.html 2 <link rel="stylesheet" href="resources/cursor-empty-url.css"></link>
drag-caret.html 1 <p>This tests dragging over an input element, to make sure no drag-cursor is left behind.</p>
  /frameworks/base/core/java/android/database/
CursorToBulkCursorAdaptor.java 26 * Wraps a BulkCursor around an existing Cursor making it remotable.
28 * If the wrapped cursor returns non-null from {@link CrossProcessCursor#getWindow}
38 private static final String TAG = "Cursor";
45 * The cursor that is being adapted.
46 * This field is set to null when the cursor is closed.
51 * The cursor window that was filled by the cross process cursor in the
52 * case where the cursor does not support getWindow.
90 public CursorToBulkCursorAdaptor(Cursor cursor, IContentObserver observer
    [all...]
  /frameworks/support/v4/java/android/support/v4/widget/
ResourceCursorAdapter.java 20 import android.database.Cursor;
42 * @deprecated This option is discouraged, as it results in Cursor queries
53 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
61 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
62 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}.
70 * @param c The cursor from which to get the data.
72 * cursor whenever it changes so the most recent
75 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) {
88 * @param c The cursor from which to get the data.
90 * as per {@link CursorAdapter#CursorAdapter(Context, Cursor, int)}
    [all...]
  /libcore/luni/src/main/java/java/lang/
IntegralToString.java 147 int cursor = bufLen;
151 buf[--cursor] = DIGITS[radix * q - i];
156 buf[--cursor] = '-';
159 return new String(cursor, bufLen - cursor, buf);
217 int cursor = bufLen;
224 buf[--cursor] = ONES[r];
225 buf[--cursor] = TENS[r];
234 buf[--cursor] = DIGITS[r];
239 buf[--cursor] = '-'
431 int cursor = bufLen; local
448 int cursor = bufLen; local
486 int cursor = bufLen; local
504 int cursor = bufLen; local
516 int cursor = bufLen; local
532 int cursor = bufLen; local
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/calllog/
CallLogGroupBuilder.java 22 import android.database.Cursor;
50 * It assumes that the cursor will not change during its execution.
52 * @see GroupingListAdapter#addGroups(Cursor)
54 public void addGroups(Cursor cursor) {
55 final int count = cursor.getCount();
61 cursor.moveToFirst();
63 String firstNumber = cursor.getString(CallLogQuery.NUMBER);
65 int firstCallType = cursor.getInt(CallLogQuery.CALL_TYPE);
66 while (cursor.moveToNext())
    [all...]
  /packages/apps/Email/src/com/android/email/data/
ClosingMatrixCursor.java 19 import android.database.Cursor;
24 * {@link MatrixCursor} which takes an extra {@link Cursor} to the constructor, and close
28 private final Cursor mInnerCursor;
30 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) {

Completed in 4175 milliseconds

1 2 3 4 5 6 7 8 91011>>