/frameworks/base/core/tests/coretests/src/android/database/ |
D | MatrixCursorTest.java | 28 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/ |
D | PhotoPagerAdapter.java | 50 public Fragment getItem(Context context, Cursor cursor, int position) { in getItem() 102 public String getPhotoUri(Cursor cursor) { in getPhotoUri() 106 public String getThumbnailUri(Cursor cursor) { in getThumbnailUri() 110 public String getContentType(Cursor cursor) { in getContentType() 114 public String getPhotoName(Cursor cursor) { in getPhotoName() 118 public boolean shouldShowLoadingIndicator(Cursor cursor) { in shouldShowLoadingIndicator() 127 private String getString(Cursor cursor, String column) { in getString()
|
/frameworks/base/core/java/android/widget/ |
D | CursorTreeAdapter.java | 63 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 …]
|
D | ResourceCursorTreeAdapter.java | 51 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()
|
D | SimpleCursorTreeAdapter.java | 102 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()
|
D | CursorFilter.java | 32 CharSequence convertToString(Cursor cursor); in convertToString() 35 void changeCursor(Cursor cursor); in changeCursor() 49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint); in performFiltering() local
|
D | SuggestionsAdapter.java | 186 Cursor cursor = null; in runQueryOnBackgroundThread() local 233 private void updateSpinnerState(Cursor cursor) { in updateSpinnerState() 284 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 316 public void bindView(View view, Context context, Cursor cursor) { in bindView() 402 private Drawable getIcon1(Cursor cursor) { in getIcon1() 414 private Drawable getIcon2(Cursor cursor) { in getIcon2() 455 public CharSequence convertToString(Cursor cursor) { in convertToString() 646 private Drawable getDefaultIcon1(Cursor cursor) { in getDefaultIcon1() 717 public static String getColumnString(Cursor cursor, String columnName) { in getColumnString() 722 private static String getStringOrNull(Cursor cursor, int col) { in getStringOrNull()
|
D | AlphabetIndexer.java | 82 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
|
D | CursorAdapter.java | 326 public abstract View newView(Context context, Cursor cursor, ViewGroup parent); in newView() 336 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView() 347 public abstract void bindView(View view, Context context, Cursor cursor); in bindView() 355 public void changeCursor(Cursor cursor) { in changeCursor() 407 public CharSequence convertToString(Cursor cursor) { in convertToString()
|
D | SimpleCursorAdapter.java | 139 public void bindView(View view, Context context, Cursor cursor) { in bindView() 312 public CharSequence convertToString(Cursor cursor) { in convertToString() 401 boolean setViewValue(View view, Cursor cursor, int columnIndex); in setViewValue() 419 CharSequence convertToString(Cursor cursor); in convertToString()
|
D | MultiAutoCompleteTextView.java | 213 public int findTokenStart(CharSequence text, int cursor); in findTokenStart() 219 public int findTokenEnd(CharSequence text, int cursor); in findTokenEnd() 233 public int findTokenStart(CharSequence text, int cursor) { in findTokenStart() 246 public int findTokenEnd(CharSequence text, int cursor) { in findTokenEnd()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | CompositeCursorAdapter.java | 38 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/core/java/android/database/ |
D | DatabaseUtils.java | 436 public static void cursorFillWindow(final Cursor cursor, in cursorFillWindow() 642 public static void dumpCursor(Cursor cursor) { in dumpCursor() 653 public static void dumpCursor(Cursor cursor, PrintStream stream) { in dumpCursor() 674 public static void dumpCursor(Cursor cursor, StringBuilder sb) { in dumpCursor() 695 public static String dumpCursorToString(Cursor cursor) { in dumpCursorToString() 706 public static void dumpCurrentRow(Cursor cursor) { in dumpCurrentRow() 716 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { in dumpCurrentRow() 740 public static void dumpCurrentRow(Cursor cursor, StringBuilder sb) { in dumpCurrentRow() 764 public static String dumpCurrentRowToString(Cursor cursor) { in dumpCurrentRowToString() 777 public static void cursorStringToContentValues(Cursor cursor, String field, in cursorStringToContentValues() [all …]
|
/frameworks/ex/common/tests/src/com/android/common/widget/ |
D | CompositeCursorAdapterTest.java | 47 … 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/ |
D | DownloadManagerFunctionalTest.java | 88 Cursor cursor = getCursor(dlRequest); in doErrorTest() local 135 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId)); in verifyDownload() local 170 Cursor cursor = getCursor(dlRequest); in testDownloadToExternal_fileExists() local 324 Cursor cursor = mDownloadManager.query(new Query().setFilterById(dlRequest)); in testRemoveDownload() local 355 Cursor cursor = getCursor(dlRequest); in testSetTitle() local 411 Cursor cursor = getCursor(dlRequest); in testServerDropConnection_body() local
|
/frameworks/base/core/java/android/content/ |
D | ContentQueryMap.java | 62 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()
|
D | CursorEntityIterator.java | 38 public CursorEntityIterator(Cursor cursor) { in CursorEntityIterator() 51 public abstract Entity getEntityAndIncrementCursor(Cursor cursor) throws RemoteException; in getEntityAndIncrementCursor()
|
D | CursorLoader.java | 71 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, in loadInBackground() local 104 public void deliverResult(Cursor cursor) { in deliverResult() 178 public void onCanceled(Cursor cursor) { in onCanceled()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | RedactingProvider.java | 36 final MatrixCursor cursor = new MatrixCursor( in query() local 46 final MatrixCursor cursor = new MatrixCursor( in query() local 57 final MatrixCursor cursor = new MatrixCursor( in query() local
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | BaseEmailAddressAdapter.java | 174 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/ |
D | Rfc822Tokenizer.java | 51 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/apct-tests/perftests/core/src/android/database/ |
D | SQLiteDatabasePerfTest.java | 84 try (Cursor cursor = mDatabase.rawQuery("SELECT _ID, COL_A, COL_B, COL_C FROM T1 " in testSelect() 104 try (Cursor cursor = mDatabase.rawQuery("SELECT _ID, COL_A, COL_B, COL_C FROM T1 " in testSelectMultipleRows() 129 try (Cursor cursor = mDatabase in testCursorIterateForward() 152 try (Cursor cursor = mDatabase in testCursorIterateBackwards() 181 try (Cursor cursor = mDatabase.rawQuery( in testInnerJoin()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 253 Cursor cursor = mContext.getContentResolver().query( in loadCarrierMatchingRulesOnMccMnc() local 282 Cursor cursor = mContext.getContentResolver().query( in getCarrierNameFromId() local 312 Cursor cursor = context.getContentResolver().query( in getCarrierMatchingRulesFromMccMnc() local 345 Cursor cursor = mContext.getContentResolver().query( in getPreferApn() local 372 try (Cursor cursor = mContext.getContentResolver().query( in isPreferApnUserEdited() 475 private static CarrierMatchingRule makeCarrierMatchingRule(Cursor cursor) { in makeCarrierMatchingRule() 859 final Cursor cursor = mContext.getContentResolver().query( in getCarrierListVersion() local 965 Cursor cursor = context.getContentResolver().query( in getCarrierIdsFromApnQuery() local 997 try (Cursor cursor = getCursorForMccMnc(context, mccmnc)) { in getCarrierIdFromMccMnc() 1020 try (Cursor cursor = getCursorForMccMnc(context, mccmnc)) { in getCarrierNameFromMccMnc() [all …]
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | TrackerListHelper.java | 50 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/ |
D | SQLiteDirectCursorDriver.java | 47 final Cursor cursor; in query() local 77 public void cursorRequeried(Cursor cursor) { in cursorRequeried()
|