Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/database/
DMatrixCursorTest.java28 Cursor cursor = new MatrixCursor(new String[] { "a" }); in testEmptyCursor() local
33 MatrixCursor cursor = new MatrixCursor(new String[] { "a" }); in testNullValue() local
47 MatrixCursor cursor = newMatrixCursor(); in testMatrixCursor() local
79 MatrixCursor cursor = newMatrixCursor(); in testAddArray() local
92 MatrixCursor cursor = newMatrixCursor(); in testAddIterable() local
111 MatrixCursor cursor = newMatrixCursor(); in testAddArrayList() local
132 MatrixCursor cursor = newMatrixCursor(); in testRowBuilderOffer() local
200 private void checkValues(MatrixCursor cursor) { in checkValues()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java50 public Fragment getItem(Context context, Cursor cursor, int position) { in getItem()
100 public String getPhotoUri(Cursor cursor) { in getPhotoUri()
104 public String getThumbnailUri(Cursor cursor) { in getThumbnailUri()
108 public String getContentType(Cursor cursor) { in getContentType()
112 public boolean shouldShowLoadingIndicator(Cursor cursor) { in shouldShowLoadingIndicator()
121 private String getString(Cursor cursor, String column) { in getString()
/frameworks/base/core/java/android/widget/
DCursorTreeAdapter.java63 public CursorTreeAdapter(Cursor cursor, Context context) { in CursorTreeAdapter()
76 public CursorTreeAdapter(Cursor cursor, Context context, boolean autoRequery) { in CursorTreeAdapter()
80 private void init(Cursor cursor, Context context, boolean autoRequery) { in init()
139 public void setGroupCursor(Cursor cursor) { in setGroupCursor()
196 Cursor cursor = mGroupCursorHelper.moveTo(groupPosition); in getGroupView() local
221 protected abstract View newGroupView(Context context, Cursor cursor, boolean isExpanded, in newGroupView()
233 protected abstract void bindGroupView(View view, Context context, Cursor cursor, in bindGroupView()
240 Cursor cursor = cursorHelper.moveTo(childPosition); in getChildView() local
265 protected abstract View newChildView(Context context, Cursor cursor, boolean isLastChild, in newChildView()
277 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.java102 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
139 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout, in SimpleCursorTreeAdapter()
172 public SimpleCursorTreeAdapter(Context context, Cursor cursor, int groupLayout, in SimpleCursorTreeAdapter()
212 private void bindView(View view, Context context, Cursor cursor, int[] from, int[] to) { in bindView()
241 private void initFromColumns(Cursor cursor, String[] fromColumnNames, int[] fromColumns) { in initFromColumns()
248 protected void bindChildView(View view, Context context, Cursor cursor, boolean isLastChild) { in bindChildView()
258 protected void bindGroupView(View view, Context context, Cursor cursor, boolean isExpanded) { in bindGroupView()
324 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
DSuggestionsAdapter.java185 Cursor cursor = null; in runQueryOnBackgroundThread() local
232 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState()
283 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
315 public void bindView(View view, Context context, Cursor cursor) { in bindView()
401 private Drawable getIcon1(Cursor cursor) { in getIcon1()
413 private Drawable getIcon2(Cursor cursor) { in getIcon2()
454 public CharSequence convertToString(Cursor cursor) { in convertToString()
621 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
692 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString()
697 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
DCursorAdapter.java283 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView()
293 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
304 public abstract void bindView(View view, Context context, Cursor cursor); in bindView()
312 public void changeCursor(Cursor cursor) { in changeCursor()
364 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
DSimpleCursorAdapter.java135 public void bindView(View view, Context context, Cursor cursor) { in bindView()
308 public CharSequence convertToString(Cursor cursor) { in convertToString()
397 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue()
415 CharSequence convertToString(Cursor cursor); in convertToString()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/database/
DCursorMapper.java31 protected abstract void bindColumns(Cursor cursor); in bindColumns()
38 protected abstract Object bind(Cursor cursor); in bind()
43 public Object convert(Cursor cursor) { in convert()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java379 sb.append(buf, cursor, bufLen - cursor); in sb.append() argument
393 private static int intIntoCharArray(char[] buf, int cursor, int n) { in intIntoCharArray()
424 int cursor = bufLen; in intToBinaryString() local
441 int cursor = bufLen; in longToBinaryString() local
479 int cursor = bufLen; in intToHexString() local
497 int cursor = bufLen; in longToHexString() local
509 int cursor = bufLen; in intToOctalString() local
525 int cursor = bufLen; in longToOctalString() local
/frameworks/base/core/java/android/database/
DDatabaseUtils.java264 public static void cursorFillWindow(final Cursor cursor, in cursorFillWindow()
448 public static void dumpCursor(Cursor cursor) { in dumpCursor()
459 public static void dumpCursor(Cursor cursor, PrintStream stream) { in dumpCursor()
480 public static void dumpCursor(Cursor cursor, StringBuilder sb) { in dumpCursor()
501 public static String dumpCursorToString(Cursor cursor) { in dumpCursorToString()
512 public static void dumpCurrentRow(Cursor cursor) { in dumpCurrentRow()
522 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { in dumpCurrentRow()
546 public static void dumpCurrentRow(Cursor cursor, StringBuilder sb) { in dumpCurrentRow()
570 public static String dumpCurrentRowToString(Cursor cursor) { in dumpCurrentRowToString()
583 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues()
[all …]
/frameworks/ex/common/java/com/android/common/widget/
DCompositeCursorAdapter.java38 Cursor cursor; field in CompositeCursorAdapter.Partition
105 Cursor cursor = mPartitions.get(partitionIndex).cursor; in removePartition() local
133 Cursor cursor = partition.cursor; in close() local
172 Cursor cursor = partition.cursor; in ensureCacheValid() local
216 public void changeCursor(int partition, Cursor cursor) { in changeCursor()
235 Cursor cursor = mPartitions.get(partition).cursor; in isPartitionEmpty() local
368 protected View getHeaderView(int partition, Cursor cursor, View convertView, in getHeaderView()
380 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView()
388 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView()
394 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView()
[all …]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/
DDocumentInfo.java149 public static DocumentInfo fromDirectoryCursor(Cursor cursor) { in fromDirectoryCursor()
154 public static DocumentInfo fromCursor(Cursor cursor, String authority) { in fromCursor()
160 public void updateFromCursor(Cursor cursor, String authority) { in updateFromCursor()
192 Cursor cursor = null; in updateFromUri() local
242 public static String getCursorString(Cursor cursor, String columnName) { in getCursorString()
250 public static long getCursorLong(Cursor cursor, String columnName) { in getCursorLong()
265 public static int getCursorInt(Cursor cursor, String columnName) { in getCursorInt()
/frameworks/support/v4/java/android/support/v4/widget/
DCursorFilter.java33 CharSequence convertToString(Cursor cursor); in convertToString()
36 void changeCursor(Cursor cursor); in changeCursor()
50 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering() local
DCursorAdapter.java285 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView()
295 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
306 public abstract void bindView(View view, Context context, Cursor cursor); in bindView()
314 public void changeCursor(Cursor cursor) { in changeCursor()
366 public CharSequence convertToString(Cursor cursor) { in convertToString()
/frameworks/ex/common/tests/src/com/android/common/widget/
DCompositeCursorAdapterTest.java47 … protected View newHeaderView(Context context, int partition, Cursor cursor, ViewGroup parent) { in newHeaderView()
52 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView()
58 protected View newView(Context context, int sectionIndex, Cursor cursor, int position, in newView()
64 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView()
251 MatrixCursor cursor = new MatrixCursor(new String[]{name}); in makeCursor() local
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java82 Cursor cursor = getCursor(dlRequest); in doErrorTest() local
129 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyDownload() local
167 Cursor cursor = getCursor(dlRequest); in testDownloadToExternal_fileExists() local
311 Cursor cursor = mDownloadManager.query(new Query().setFilterById(dlRequest)); in testRemoveDownload() local
342 Cursor cursor = getCursor(dlRequest); in testSetTitle() local
398 Cursor cursor = getCursor(dlRequest); in testServerDropConnection_body() local
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java174 Cursor cursor = null; in performFiltering() local
238 Cursor cursor = mContentResolver.query( in performFiltering() local
247 Cursor cursor = (Cursor) results.values; in publishResults() local
314 protected View newView(Context context, int partitionIndex, Cursor cursor, in newView()
325 protected void bindView(View v, int partition, Cursor cursor, int position) { in bindView()
495 MatrixCursor cursor = new MatrixCursor(new String[]{SEARCHING_CURSOR_MARKER}); in createLoadingCursor() local
501 CharSequence constraint, int partitionIndex, Cursor cursor) { in onPartitionLoadFinished()
528 private Cursor removeDuplicatesAndTruncate(int partition, Cursor cursor) { in removeDuplicatesAndTruncate()
554 private boolean hasDuplicates(Cursor cursor, int partition) { in hasDuplicates()
573 Cursor cursor = getCursor(partition); in isDuplicate() local
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java151 Cursor cursor = null; in runQueryOnBackgroundThread() local
194 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState()
243 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
274 public void bindView(View view, Context context, Cursor cursor) { in bindView()
360 private Drawable getIcon1(Cursor cursor) { in getIcon1()
372 private Drawable getIcon2(Cursor cursor) { in getIcon2()
413 public CharSequence convertToString(Cursor cursor) { in convertToString()
580 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
651 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString()
656 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
/frameworks/base/core/java/android/content/
DContentQueryMap.java62 public ContentQueryMap(Cursor cursor, String columnNameOfKey, boolean keepUpdated, in ContentQueryMap()
131 final Cursor cursor = mCursor; in requery() local
148 private synchronized void readCursorIntoCache(Cursor cursor) { in readCursorIntoCache()
DCursorEntityIterator.java36 public CursorEntityIterator(Cursor cursor) { in CursorEntityIterator()
49 public abstract Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException; in getEntityAndIncrementCursor()
/frameworks/base/core/java/android/text/util/
DRfc822Tokenizer.java51 int cursor = text.length(); in tokenize() local
210 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart()
241 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DFilteringCursorWrapper.java38 public FilteringCursorWrapper(Cursor cursor, String[] acceptMimes) { in FilteringCursorWrapper()
42 public FilteringCursorWrapper(Cursor cursor, String[] acceptMimes, String[] rejectMimes) { in FilteringCursorWrapper()
47 Cursor cursor, String[] acceptMimes, String[] rejectMimes, long rejectBefore) { in FilteringCursorWrapper()

123456