Home
last modified time | relevance | path

Searched defs:cursor (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/tests/CoreTests/android/database/
DMatrixCursorTest.java26 Cursor cursor = new MatrixCursor(new String[] { "a" }); in testEmptyCursor() local
31 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); in testNullValue() local
44 MatrixCursor cursor = newMatrixCursor(); in testMatrixCursor() local
74 MatrixCursor cursor = newMatrixCursor(); in testAddArray() local
87 MatrixCursor cursor = newMatrixCursor(); in testAddIterable() local
105 MatrixCursor cursor = newMatrixCursor(); in testAddArrayList() local
143 private void checkValues(MatrixCursor cursor) { in checkValues()
/frameworks/base/core/java/android/widget/
DCursorTreeAdapter.java64 public CursorTreeAdapter(Cursor cursor, Context context) { in CursorTreeAdapter()
77 public CursorTreeAdapter(Cursor cursor, Context context, boolean autoRequery) { in CursorTreeAdapter()
81 private void init(Cursor cursor, Context context, boolean autoRequery) { in init()
139 public void setGroupCursor(Cursor cursor) { in setGroupCursor()
195 Cursor cursor = mGroupCursorHelper.moveTo(groupPosition); in getGroupView() local
220 protected abstract View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView()
232 protected abstract void bindGroupView(View view, Context context, Cursor cursor, in bindGroupView()
239 Cursor cursor = cursorHelper.moveTo(childPosition); in getChildView() local
264 protected abstract View newChildView(Context context, Cursor cursor, boolean isLastChild, in newChildView()
276 protected abstract void bindChildView(View view, Context context, Cursor cursor, in bindChildView()
[all …]
DResourceCursorTreeAdapter.java51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in ResourceCursorTreeAdapter()
76 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in ResourceCursorTreeAdapter()
92 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in ResourceCursorTreeAdapter()
98 public View newChildView(Context context, Cursor cursor, boolean isLastChild, in newChildView()
104 public View newGroupView(Context context, Cursor cursor, boolean isExpanded, ViewGroup parent) { in newGroupView()
DSimpleCursorTreeAdapter.java95 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
132 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
165 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in SimpleCursorTreeAdapter()
192 private void initFromColumns(Cursor cursor, String[] fromColumnNames, int[] fromColumns) { in initFromColumns()
231 private void bindView(View view, Context context, Cursor cursor, int[] from, int[] to) { in bindView()
261 protected void bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) { in bindChildView()
266 protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView()
327 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue()
DCursorFilter.java32 CharSequence convertToString(Cursor cursor); in convertToString()
35 void changeCursor(Cursor cursor); in changeCursor()
49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering() local
DSimpleCursorAdapter.java95 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
100 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
142 public void bindView(View view, Context context, Cursor cursor) { in bindView()
315 public CharSequence convertToString(Cursor cursor) { in convertToString()
398 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue()
416 CharSequence convertToString(Cursor cursor); in convertToString()
DCursorAdapter.java215 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView()
225 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
236 public abstract void bindView(View view, Context context, Cursor cursor); in bindView()
244 public void changeCursor(Cursor cursor) { in changeCursor()
278 public CharSequence convertToString(Cursor cursor) { in convertToString()
DAlphabetIndexer.java82 public AlphabetIndexer(Cursor cursor, int sortedColumnIndex, CharSequence alphabet) { in AlphabetIndexer()
112 public void setCursor(Cursor cursor) { in setCursor()
148 final Cursor cursor = mDataCursor; in getPositionForSection() local
DMultiAutoCompleteTextView.java215 public int findTokenStart(CharSequence text, int cursor); in findTokenStart()
221 public int findTokenEnd(CharSequence text, int cursor); in findTokenEnd()
235 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
248 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
DResourceCursorAdapter.java78 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
83 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
/frameworks/base/core/java/android/database/
DDatabaseUtils.java323 public static void dumpCursor(Cursor cursor) { in dumpCursor()
334 public static void dumpCursor(Cursor cursor, PrintStream stream) { in dumpCursor()
355 public static void dumpCursor(Cursor cursor, StringBuilder sb) { in dumpCursor()
376 public static String dumpCursorToString(Cursor cursor) { in dumpCursorToString()
387 public static void dumpCurrentRow(Cursor cursor) { in dumpCurrentRow()
397 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { in dumpCurrentRow()
421 public static void dumpCurrentRow(Cursor cursor, StringBuilder sb) { in dumpCurrentRow()
445 public static String dumpCurrentRowToString(Cursor cursor) { in dumpCurrentRowToString()
458 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues()
471 public static void cursorStringToInsertHelper(Cursor cursor, String field, in cursorStringToInsertHelper()
[all …]
DCursorJoiner.java108 private int[] buildColumnIndiciesArray(Cursor cursor, String[] columnNames) { in buildColumnIndiciesArray()
204 private static void populateValues(String[] values, Cursor cursor, int[] columnIndicies, in populateValues()
/frameworks/base/core/java/android/app/
DSuggestionsAdapter.java190 final Cursor cursor = mSearchManager.getSuggestions(mSearchable, query, QUERY_LIMIT); in runQueryOnBackgroundThread() local
273 private void callCursorPostRefresh(Cursor cursor) { in callCursorPostRefresh()
293 void callCursorOnClick(Cursor cursor, int position, int actionKey, String actionMsg) { in callCursorOnClick()
330 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
355 public void bindView(View view, Context context, Cursor cursor) { in bindView()
418 private void setViewText(Cursor cursor, TextView v, int textCol, boolean isHtml) { in setViewText()
450 private Drawable getIcon1(Cursor cursor) { in getIcon1()
462 private Drawable getIcon2(Cursor cursor) { in getIcon2()
503 public CharSequence convertToString(Cursor cursor) { in convertToString()
670 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
[all …]
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
DDatabaseGeneralTest.java214 Cursor cursor = mDatabase.rawQuery( in phoneNumberCompare() local
373 Cursor cursor; in testSchemaChange1() local
390 Cursor cursor; in testSchemaChange2() local
416 Cursor cursor; in testSchemaChange3() local
450 public ChangeObserver(boolean cursor) { in ChangeObserver()
818 Cursor cursor = mDatabase.query("test", null, null, null, null, null, null); in xxtestMem1() local
830 Cursor cursor = mDatabase.query("test", null, null, null, null, null, null); in xxtestMem2() local
841 Cursor cursor = mDatabase.query("test", null, null, null, null, null, null); in xxtestMem3() local
DSuggestionProvider.java69 MatrixCursor cursor = new MatrixCursor(COLUMNS); in query() local
80 private void addRow(MatrixCursor cursor, String string) { in addRow()
DDatabaseLocaleTest.java111 Cursor cursor = null; in testHoge() local
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java52 int cursor = text.length(); in tokenize() local
207 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
238 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
/frameworks/base/core/java/android/webkit/
DWebViewDatabase.java366 Cursor cursor = mDatabase.query(mTableNames[tableId], ID_PROJECTION, in hasEntries() local
397 Cursor cursor = mDatabase.query(mTableNames[TABLE_COOKIES_ID], in getCookiesForDomain() local
567 Cursor cursor = mCacheDatabase.rawQuery("SELECT filepath, lastmodify, etag, expires, " in getCache() local
651 Cursor cursor = mCacheDatabase.query("cache", ID_PROJECTION, in hasCache() local
660 Cursor cursor = mCacheDatabase.rawQuery( in getCacheTotalSize() local
671 Cursor cursor = mCacheDatabase.rawQuery( in trimCache() local
758 Cursor cursor = mDatabase.query(mTableNames[TABLE_PASSWORD_ID], in getUsernamePassword() local
849 Cursor cursor = mDatabase.query(mTableNames[TABLE_HTTPAUTH_ID], in getHttpAuthUsernamePassword() local
907 Cursor cursor = mDatabase.query(mTableNames[TABLE_FORMURL_ID], in setFormData() local
951 Cursor cursor = mDatabase.query(mTableNames[TABLE_FORMURL_ID], in getFormData() local
/frameworks/base/test-runner/android/test/
DTestListActivity.java139 MatrixCursor cursor = new MatrixCursor(new String[] { "name", "_id" }); in onCreate() local
152 private void addTestRows(MatrixCursor cursor) { in addTestRows()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursorDriver.java46 void cursorRequeried(Cursor cursor); in cursorRequeried()
DSQLiteContentHelper.java71 Cursor cursor = db.rawQuery(sql, selectionArgs); in simpleQueryForBlobMemoryFile() local
/frameworks/base/core/java/android/provider/
DGmail.java488 public ConversationCursor getConversationCursorForCursor(String account, Cursor cursor) { in getConversationCursorForCursor()
543 Cursor cursor = mContentResolver.query( in getConversationCursorForQuery() local
561 Cursor cursor = mContentResolver.query(uri, MESSAGE_PROJECTION, null, null, null); in getMessageCursorForMessageId() local
580 Cursor cursor = mContentResolver.query(uri, MESSAGE_PROJECTION, query, null, null); in getLocalMessageCursorForQuery() local
597 Cursor cursor = mContentResolver.query( in getMessageCursorForConversationId() local
755 Cursor cursor = mContentResolver.query( in getSettings() local
1035 protected MailCursor(String account, Cursor cursor) { in MailCursor()
1235 void onCursorChanged(MailCursor cursor); in onCursorChanged()
1247 private LabelCursor(String account, Cursor cursor) { in LabelCursor()
1315 Cursor cursor = contentResolver.query( in LabelMap() local
[all …]
/frameworks/base/awt/org/apache/harmony/awt/wtk/
DCursorFactory.java54 NativeCursor cursor = systemCursors[type]; in getCursor() local
/frameworks/base/core/java/android/content/
DAbstractCursorEntityIterator.java120 public abstract Entity newEntityFromCursorLocked(Cursor cursor); in newEntityFromCursorLocked()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataLinkInterface.java76 void setPasswordInfo(Cursor cursor); in setPasswordInfo()

123