HomeSort by relevance Sort by last modified time
    Searched refs:Cursor (Results 26 - 50 of 1452) sorted by null

12 3 4 5 6 7 8 91011>>

  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
UserFolderHierarchicalFolderSelectorAdapter.java 20 import android.database.Cursor;
25 Context context, Cursor folders, int layout, Folder excludedFolder) {
  /frameworks/base/core/java/android/widget/
ResourceCursorTreeAdapter.java 20 import android.database.Cursor;
41 * @param cursor The database cursor
51 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout,
53 super(cursor, context);
68 * @param cursor The database cursor
76 public ResourceCursorTreeAdapter(Context context, Cursor cursor, int collapsedGroupLayout
    [all...]
ResourceCursorAdapter.java 21 import android.database.Cursor;
43 * @deprecated This option is discouraged, as it results in Cursor queries
54 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
63 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
64 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}.
72 * @param c The cursor from which to get the data.
74 * cursor whenever it changes so the most recent
77 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) {
91 * @param c The cursor from which to get the data.
93 * as per {@link CursorAdapter#CursorAdapter(Context, Cursor, int)}
    [all...]
CursorAdapter.java 23 import android.database.Cursor;
32 * Adapter that exposes data from a {@link android.database.Cursor Cursor} to a
35 * The Cursor must include a column named "_id" or this class will not work.
56 protected Cursor mCursor;
94 * If set the adapter will call requery() on the cursor whenever a content change
97 * @deprecated This option is discouraged, as it results in Cursor queries
106 * If set the adapter will register a content observer on the cursor and will call
108 * using this flag: you will need to unset the current Cursor from the adapter
118 * @deprecated This option is discouraged, as it results in Cursor querie
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
ResourceCursorAdapter.java 20 import android.database.Cursor;
42 * @deprecated This option is discouraged, as it results in Cursor queries
53 public ResourceCursorAdapter(Context context, int layout, Cursor c) {
61 * {@link CursorAdapter#CursorAdapter(Context, Cursor, boolean)}; it is recommended
62 * you not use this, but instead {@link #ResourceCursorAdapter(Context, int, Cursor, int)}.
66 * @deprecated This option is discouraged, as it results in Cursor queries
75 * @param c The cursor from which to get the data.
77 * cursor whenever it changes so the most recent
81 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) {
94 * @param c The cursor from which to get the data
    [all...]
  /external/llvm/include/llvm/Support/
GCOV.h 56 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {}
65 Cursor = 4;
76 Cursor = 4;
82 StringRef VersionStr = Buffer->getBuffer().slice(Cursor, Cursor + 4);
84 Cursor += 4;
89 Cursor += 4;
94 Cursor += 4;
102 /// readFunctionTag - If cursor points to a function tag then increment the
103 /// cursor and return true otherwise return false
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
PhotoSetFragment.java 23 import android.database.Cursor;
39 public class PhotoSetFragment extends MultiSelectGridFragment implements LoaderCallbacks<Cursor> {
43 private LoaderCompatShim<Cursor> mLoaderCompatShim;
74 Cursor item = (Cursor) getItemAtPosition(position);
82 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
91 public void onLoadFinished(Loader<Cursor> loader,
92 Cursor data) {
98 public void onLoaderReset(Loader<Cursor> loader) {
103 return ((Cursor) item).getInt(PhotoSetLoader.INDEX_MEDIA_TYPE)
    [all...]
AlbumSetFragment.java 23 import android.database.Cursor;
41 public class AlbumSetFragment extends MultiSelectGridFragment implements LoaderCallbacks<Cursor> {
44 private LoaderCompatShim<Cursor> mLoaderCompatShim;
71 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
80 public void onLoadFinished(Loader<Cursor> loader,
81 Cursor data) {
87 public void onLoaderReset(Loader<Cursor> loader) {
96 Cursor item = (Cursor) getItemAtPosition(position);
113 return ((Cursor) item).getInt(AlbumSetLoader.INDEX_SUPPORTED_OPERATIONS)
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
CursorObjectAdapter.java 16 import android.database.Cursor;
21 * An {@link ObjectAdapter} implemented with a {@link Cursor}.
25 private Cursor mCursor;
51 * Changes the underlying cursor to a new cursor. If there is
52 * an existing cursor it will be closed if it is different than the new
53 * cursor.
55 * @param cursor The new cursor to be used.
57 public void changeCursor(Cursor cursor)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/calllog/
GroupingListAdapter.java 21 import android.database.Cursor;
37 private Cursor mCursor;
40 * SparseIntArray, which maps the cursor position of the first element of a group to the size
71 * Finds all groups of adjacent items in the cursor and calls {@link #addGroup} for
74 protected abstract void addGroups(Cursor cursor);
76 protected abstract void addVoicemailGroups(Cursor cursor);
80 public void changeCursor(Cursor cursor) {
    [all...]
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
CursorBackedSuggestionExtras.java 18 import android.database.Cursor;
27 * SuggestionExtras taking values from the extra columns in a suggestion cursor.
37 private final Cursor mCursor;
41 static CursorBackedSuggestionExtras createExtrasIfNecessary(Cursor cursor, int position) {
42 List<String> extraColumns = getExtraColumns(cursor);
44 return new CursorBackedSuggestionExtras(cursor, position, extraColumns);
50 static String[] getCursorColumns(Cursor cursor) {
52 return cursor.getColumnNames()
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
CommonDatabaseUtils.java 20 import android.database.Cursor;
35 public static String[] singleRecordToArray(Cursor cursor) {
38 if (cursor.moveToNext()) {
39 result = new String[cursor.getColumnCount()];
40 fillArray(cursor, result);
43 closeQuietly(cursor);
48 public static List<String[]> multiRecordToArray(Cursor cursor) {
51 while (cursor.moveToNext())
    [all...]
  /external/llvm/lib/CodeGen/MIRParser/
MILexer.cpp 26 class Cursor {
31 Cursor(NoneType) : Ptr(nullptr), End(nullptr) {}
33 explicit Cursor(StringRef Str) {
46 StringRef upto(Cursor C) const {
80 /// Skip the leading whitespace characters and return the updated cursor.
81 static Cursor skipWhitespace(Cursor C) {
89 /// Skip a line comment and return the updated cursor.
90 static Cursor skipComment(Cursor C)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowResourceCursorAdapter.java 23 import android.database.Cursor;
51 public void __constructor__(Context context, int layout, Cursor c) {
65 * @param c The cursor from which to get the data.
67 * cursor whenever it changes so the most recent
70 public void __constructor__(Context context, int layout, Cursor c, boolean autoRequery) {
80 * android.database.Cursor, ViewGroup)
83 public View newView(Context context, Cursor cursor, ViewGroup parent) {
88 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent)
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/voicemail/
VisualVoicemailEnabledChecker.java 6 import android.database.Cursor;
75 public void onVoicemailStatusFetched(Cursor statusCursor) {
89 public void onVoicemailUnreadCountFetched(Cursor cursor) {
94 public void onMissedCallsUnreadCountFetched(Cursor cursor) {
99 public boolean onCallsFetched(Cursor combinedCursor) {
VoicemailStatusHelper.java 19 import android.database.Cursor;
79 * @param cursor The cursor pointing to the query on {@link Status#CONTENT_URI}. The projection
83 public List<StatusMessage> getStatusMessages(Cursor cursor);
90 public int getNumberActivityVoicemailSources(Cursor cursor);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DeletedContactUtil.java 23 import android.database.Cursor;
40 Cursor cursor = resolver.query(uri, projection, null, null, null); local
41 if (cursor.moveToNext()) {
42 return cursor.getLong(0);
51 Cursor cursor = resolver.query(URI, projection, null, null, null); local
53 return cursor.getCount();
55 CommonDatabaseUtils.closeQuietly(cursor);
65 Cursor cursor = resolver.query(URI, projection, null, null, null) local
78 Cursor cursor = resolver.query(URI, projection, selection, args, null); local
    [all...]
  /developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
PaginatedCursor.java 20 import android.database.Cursor;
23 * A sample paginated cursor which will pre-fetch and cache rows.
36 private final Cursor mCursor;
60 public PaginatedCursor(Cursor cursor) {
62 mCursor = cursor;
84 case Cursor.FIELD_TYPE_BLOB:
87 case Cursor.FIELD_TYPE_FLOAT:
90 case Cursor.FIELD_TYPE_INTEGER:
93 case Cursor.FIELD_TYPE_STRING
    [all...]
  /external/clang/bindings/python/tests/cindex/
util.py 3 from clang.cindex import Cursor
34 """Obtain a cursor from a source object.
36 This provides a convenient search mechanism to find a cursor with specific
38 TranslationUnit or Cursor instance.
40 If the cursor is not found, None is returned.
43 root_cursor = source if isinstance(source, Cursor) else source.cursor
45 for cursor in root_cursor.walk_preorder():
46 if cursor.spelling == spelling:
47 return cursor
    [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
PhotoPagerLoader.java 21 import android.database.Cursor;
42 public Cursor loadInBackground() {
43 Cursor returnCursor = null;
  /packages/apps/Contacts/src/com/android/contacts/util/
NotifyingAsyncQueryHandler.java 21 import android.database.Cursor;
28 * {@link Cursor} if the listener ceases to exist.
40 void onQueryComplete(int token, Object cookie, Cursor cursor);
58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
61 listener.onQueryComplete(token, cookie, cursor);
62 } else if (cursor != null) {
63 cursor.close();
  /packages/apps/Messaging/src/com/android/messaging/ui/
CursorRecyclerAdapter.java 21 import android.database.Cursor;
51 protected Cursor mCursor;
79 * If set the adapter will call requery() on the cursor whenever a content change
82 * @deprecated This option is discouraged, as it results in Cursor queries
91 * If set the adapter will register a content observer on the cursor and will call
93 * using this flag: you will need to unset the current Cursor from the adapter
103 * @param c The cursor from which to get the data.
109 public CursorRecyclerAdapter(final Context context, final Cursor c, final int flags) {
113 void init(final Context context, final Cursor c, int flags) {
144 * Returns the cursor
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/ui/contact/
ContactListAdapter.java 20 import android.database.Cursor;
35 public ContactListAdapter(final Context context, final Cursor cursor,
38 super(context, cursor, 0);
41 mSectionIndexer = new ContactSectionIndexer(cursor);
45 public void bindView(final View view, final Context context, final Cursor cursor) {
50 final int position = cursor.getPosition();
57 contactListItemView.bind(cursor, mClivHostInterface, mNeedAlphabetHeader, alphabetHeader);
61 public View newView(final Context context, final Cursor cursor, final ViewGroup parent)
    [all...]
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
UrlImageBinder.java 20 import android.database.Cursor;
38 public boolean bind(View view, Cursor cursor, int columnIndex) {
40 final String url = mTransformation.transform(cursor, columnIndex);
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DirectoryResult.java 23 import android.database.Cursor;
31 public Cursor cursor; field in class:DirectoryResult
39 IoUtils.closeQuietly(cursor);
41 cursor = null;

Completed in 1456 milliseconds

12 3 4 5 6 7 8 91011>>