HomeSort by relevance Sort by last modified time
    Searched refs:cursors (Results 1 - 25 of 57) sorted by null

1 2 3

  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
ProfileAndContactsLoader.java 55 List<Cursor> cursors = Lists.newArrayList(); local
57 cursors.add(loadProfile());
60 cursors.add(contactsCursor);
61 return new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) {
  /external/clang/bindings/python/tests/cindex/
util.py 61 """Obtain all cursors from a source object with a specific spelling.
63 This provides a convenient search mechanism to find all cursors with specific
67 If no cursors are found, an empty list is returned.
69 cursors = []
79 cursors.append(cursor)
82 cursors.extend(get_cursors(cursor, spelling))
84 return cursors
test_cursor.py 79 cursors = list(tu.cursor.get_children())
80 assert len(cursors) > 0
82 cursor = cursors[0]
97 cursors = []
100 cursors.append(cursor)
102 assert len(cursors) == 3
103 assert cursors[1].canonical == cursors[2].canonical
236 """Ensure we can map cursors back to tokens."""
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
SuggestionsProvider.java 110 ArrayList<Cursor> cursors = new ArrayList<Cursor>(); local
113 cursors.add(super.query(uri, projection, selection, new String[] { query }, sortOrder));
116 cursors.add(new ContactsCursor().query(query));
118 mergeCursor = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/bsddb/test/
test_early_close.py 76 # The "close" should close the child db handle also, with cursors
103 cursors=[]
113 cursors.extend([i.cursor() for j in xrange(32)])
117 for i in cursors[::3] :
124 self.assertRaises(db.DBError, cursors[101].first)
126 cursors[80].first()
127 cursors[80].next()
130 self.assertRaises(db.DBError, cursors[80].next)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/bsddb/test/
test_early_close.py 76 # The "close" should close the child db handle also, with cursors
103 cursors=[]
113 cursors.extend([i.cursor() for j in xrange(32)])
117 for i in cursors[::3] :
124 self.assertRaises(db.DBError, cursors[101].first)
126 cursors[80].first()
127 cursors[80].next()
130 self.assertRaises(db.DBError, cursors[80].next)
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
RecentLoader.java 59 // previously returned cursors for filtering/sorting; this currently races
199 List<Cursor> cursors = Lists.newArrayList(); local
213 cursors.add(filtered);
225 Log.d(TAG, "Found " + cursors.size() + " of " + mTasks.size() + " recent queries done");
238 if (cursors.size() > 0) {
239 merged = new MergeCursor(cursors.toArray(new Cursor[cursors.size()]));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 55 cursors = [con.cursor() for x in xrange(5)]
56 cursors[0].execute("create table test(x)")
58 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)])
61 cursors[i].execute(" " * i + "select x from test")
76 # referenced in cursors weren't closed an could provoke "
79 cursors = []
83 cursors.append(cur)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
regression.py 55 cursors = [con.cursor() for x in xrange(5)]
56 cursors[0].execute("create table test(x)")
58 cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)])
61 cursors[i].execute(" " * i + "select x from test")
76 # referenced in cursors weren't closed an could provoke "
79 cursors = []
83 cursors.append(cur)
  /frameworks/base/core/java/android/database/
MergeCursor.java 20 * A convience class that lets you present an array of Cursors as a single linear Cursor.
21 * The schema of the cursors presented is entirely up to the creator of the MergeCursor, and
42 public MergeCursor(Cursor[] cursors)
44 mCursors = cursors;
45 mCursor = cursors[0];
  /cts/tests/tests/database/src/android/database/cts/
MergeCursorTest.java 83 // if the items are not null, getCount() will return the sum of all cursors' count.
105 Cursor[] cursors = new Cursor[2]; local
106 cursors[0] = mDatabase.query(TABLE5_NAME, null, null, null, null, null, null);
107 assertEquals(1, cursors[0].getCount());
109 cursors[1] = mCursors[1];
110 assertTrue(cursors[1].getCount() > 0);
111 MergeCursor mergeCursor = new MergeCursor(cursors);
112 // MergeCursor should points to cursors[0] after moveToFirst.
119 // MergeCursor should points to cursors[1] moveToNext.
145 // Get cursors
    [all...]
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SuggestionCursorUtil.java 138 public static ListSuggestionCursor concat(SuggestionCursor... cursors) {
139 ListSuggestionCursor out = new ListSuggestionCursor(cursors[0].getUserQuery());
140 for (SuggestionCursor cursor : cursors) {
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBTransaction.cpp 259 HashSet<IDBCursor*> cursors; local
260 cursors.swap(m_openCursors);
261 for (HashSet<IDBCursor*>::iterator i = cursors.begin(); i != cursors.end(); ++i)
  /frameworks/base/core/java/com/android/internal/database/
SortCursor.java 25 * A variant of MergeCursor that sorts the cursors being merged. If decent
55 public SortCursor(Cursor[] cursors, String sortcolumn)
57 mCursors = cursors;
112 * is used to avoid having to search all cursors from the start.
243 // All of the cursors may be empty, but they can still return
  /packages/apps/Music/src/com/android/music/
SortCursor.java 25 * A variant of MergeCursor that sorts the cursors being merged. If decent
55 public SortCursor(Cursor[] cursors, String sortcolumn)
57 mCursors = cursors;
112 * is used to avoid having to search all cursors from the start.
243 // All of the cursors may be empty, but they can still return
  /external/chromium_org/webkit/common/
webkit_common.target.darwin-arm.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
webkit_common.target.darwin-mips.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
webkit_common.target.darwin-x86.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
webkit_common.target.linux-arm.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
webkit_common.target.linux-mips.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
webkit_common.target.linux-x86.mk 30 webkit/common/cursors/webcursor.cc \
31 webkit/common/cursors/webcursor_android.cc \
  /frameworks/ex/common/java/com/android/common/contacts/
BaseEmailAddressAdapter.java 195 Cursor[] cursors = (Cursor[]) results.values; local
196 onDirectoryLoadFinished(constraint, cursors[0], cursors[1]);
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleResourceLoader.cpp 154 if (CursorList* cursorList = style->cursors()) {
  /external/chromium_org/content/test/data/indexeddb/
cursor_prefetch.js 267 // Test stepping two cursors simultaneously. First cursor1 steps
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderObject.cpp     [all...]

Completed in 3605 milliseconds

1 2 3