Home
last modified time | relevance | path

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

12345

/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
150 private void checkValues(MatrixCursor cursor) { in checkValues()
/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.java183 Cursor cursor = null; in runQueryOnBackgroundThread() local
230 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState()
281 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
308 public void bindView(View view, Context context, Cursor cursor) { in bindView()
394 private Drawable getIcon1(Cursor cursor) { in getIcon1()
406 private Drawable getIcon2(Cursor cursor) { in getIcon2()
447 public CharSequence convertToString(Cursor cursor) { in convertToString()
614 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
685 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString()
690 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
DCursorAdapter.java279 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView()
289 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
300 public abstract void bindView(View view, Context context, Cursor cursor); in bindView()
308 public void changeCursor(Cursor cursor) { in changeCursor()
360 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/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.java36 Cursor cursor; field in CompositeCursorAdapter.Partition
100 Cursor cursor = mPartitions[partitionIndex].cursor; in removePartition() local
128 Cursor cursor = mPartitions[i].cursor; in close() local
171 Cursor cursor = mPartitions[i].cursor; in ensureCacheValid() local
210 public void changeCursor(int partition, Cursor cursor) { in changeCursor()
229 Cursor cursor = mPartitions[partition].cursor; in isPartitionEmpty() local
358 protected View getHeaderView(int partition, Cursor cursor, View convertView, in getHeaderView()
370 protected View newHeaderView(Context context, int partition, Cursor cursor, in newHeaderView()
378 protected void bindHeaderView(View view, int partition, Cursor cursor) { in bindHeaderView()
384 protected View getView(int partition, Cursor cursor, int position, View convertView, in getView()
[all …]
/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()
DSimpleCursorAdapter.java120 public void bindView(View view, Context context, Cursor cursor) { in bindView()
293 public CharSequence convertToString(Cursor cursor) { in convertToString()
377 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue()
395 CharSequence convertToString(Cursor cursor); in convertToString()
/frameworks/opt/photoviewer/src/com/android/ex/photo/adapters/
DPhotoPagerAdapter.java45 public Fragment getItem(Context context, Cursor cursor, int position) { in getItem()
88 public String getPhotoUri(Cursor cursor) { in getPhotoUri()
92 public String getThumbnailUri(Cursor cursor) { in getThumbnailUri()
/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/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/support/v7/appcompat/src/android/support/v7/widget/
DSuggestionsAdapter.java149 Cursor cursor = null; in runQueryOnBackgroundThread() local
192 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState()
241 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
268 public void bindView(View view, Context context, Cursor cursor) { in bindView()
354 private Drawable getIcon1(Cursor cursor) { in getIcon1()
366 private Drawable getIcon2(Cursor cursor) { in getIcon2()
407 public CharSequence convertToString(Cursor cursor) { in convertToString()
574 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1()
645 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString()
650 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
/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/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/tests/LocationTracker/src/com/android/locationtracker/data/
DTrackerListHelper.java50 Cursor cursor = mActivity.managedQuery(TrackerProvider.CONTENT_URI, in bindListUI() local
67 public void bindView(View view, Context context, Cursor cursor) { in bindView()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDirectCursorDriver.java45 final Cursor cursor; in query() local
75 public void cursorRequeried(Cursor cursor) { in cursorRequeried()
/frameworks/support/v4/java/android/support/v4/content/
DCursorLoader.java49 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground() local
61 public void deliverResult(Cursor cursor) { in deliverResult()
135 public void onCanceled(Cursor cursor) { in onCanceled()

12345