HomeSort by relevance Sort by last modified time
    Searched refs:Cursor (Results 1 - 25 of 1869) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/widget/
FilterQueryProvider.java 19 import android.database.Cursor;
39 * @return a Cursor representing the results of the new query
41 Cursor runQuery(CharSequence constraint);
CursorFilter.java 19 import android.database.Cursor;
32 CharSequence convertToString(Cursor cursor);
33 Cursor runQueryOnBackgroundThread(CharSequence constraint);
34 Cursor getCursor();
35 void changeCursor(Cursor cursor);
44 return mClient.convertToString((Cursor) resultValue);
49 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/jre/lib/images/cursors/
cursors.properties 8 # by java.awt.Cursor
10 # The syntax is: Cursor.<name>.<geom>.File=<filename>
11 # Cursor.<name>.<geom>.HotSpot=<x>,<y>
12 # Cursor.<name>.<geom>.Name=<localized name>
14 Cursor.CopyDrop.32x32.File=motif_CopyDrop32x32.gif
15 Cursor.CopyDrop.32x32.HotSpot=0,0
16 Cursor.CopyDrop.32x32.Name=CopyDrop32x32
18 Cursor.MoveDrop.32x32.File=motif_MoveDrop32x32.gif
19 Cursor.MoveDrop.32x32.HotSpot=0,0
20 Cursor.MoveDrop.32x32.Name=MoveDrop32x3
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/jre/lib/images/cursors/
cursors.properties 8 # by java.awt.Cursor
10 # The syntax is: Cursor.<name>.<geom>.File=<filename>
11 # Cursor.<name>.<geom>.HotSpot=<x>,<y>
12 # Cursor.<name>.<geom>.Name=<localized name>
14 Cursor.CopyDrop.32x32.File=motif_CopyDrop32x32.gif
15 Cursor.CopyDrop.32x32.HotSpot=0,0
16 Cursor.CopyDrop.32x32.Name=CopyDrop32x32
18 Cursor.MoveDrop.32x32.File=motif_MoveDrop32x32.gif
19 Cursor.MoveDrop.32x32.HotSpot=0,0
20 Cursor.MoveDrop.32x32.Name=MoveDrop32x3
    [all...]
  /frameworks/support/leanback/src/main/java/androidx/leanback/database/
CursorMapper.java 16 import android.database.Cursor;
19 * Abstract class used to convert the current {@link Cursor} row to a single
24 private Cursor mCursor;
27 * Called once when the associated {@link Cursor} is changed. A subclass
31 protected abstract void bindColumns(Cursor cursor);
38 protected abstract Object bind(Cursor cursor);
41 * Convert a {@link Cursor} at its current position to an Object.
43 public Object convert(Cursor cursor)
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/content/
CursorCreator.java 19 import android.database.Cursor;
22 * An object that knows how to create its implementing class using a single row of a cursor alone.
28 * Creates an object using the current row of the cursor given here. The implementation should
29 * not advance/rewind the cursor, and is only allowed to read the existing row.
33 T createFromCursor(Cursor c);
  /cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
Field.java 20 import android.database.Cursor;
38 case Cursor.FIELD_TYPE_INTEGER:
40 case Cursor.FIELD_TYPE_STRING:
53 public long getLong(final Cursor cursor) {
54 throw buildException(Cursor.FIELD_TYPE_INTEGER);
57 public String getString(final Cursor cursor) {
58 throw buildException(Cursor.FIELD_TYPE_STRING);
62 throw buildException(Cursor.FIELD_TYPE_INTEGER)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
CloseUtils.java 18 import android.database.Cursor;
27 /** If the argument is non-null, close the cursor. */
28 public static void closeQuietly(Cursor cursor) {
29 if (cursor != null) {
30 cursor.close();
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
xtestconst.h 34 #define XTestCurrentCursor ((Cursor)1)
  /frameworks/base/core/java/android/database/sqlite/
SQLiteCursorDriver.java 19 import android.database.Cursor;
28 * Executes the query returning a Cursor over the result set.
32 * @return a Cursor over the result set
34 Cursor query(CursorFactory factory, String[] bindArgs);
44 void cursorRequeried(Cursor cursor);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
StringableCursor.java 18 import android.database.Cursor;
23 * Wrapper around a cursor with a custom toString that dumps the entire cursor data
28 public StringableCursor(Cursor cursor) {
29 super(cursor);
34 final Cursor wrapped = getWrappedCursor();
37 return "Empty Cursor";
ContactsMatchers.java 20 import android.database.Cursor;
39 * Matchers for {@link Cursor}s returned by queries to
44 public static Matcher<Cursor> hasMimeType(String type) {
48 public static Matcher<Cursor> hasName(final String name) {
55 public static Matcher<Cursor> hasPhone(final String phone) {
62 public static Matcher<Cursor> hasEmail(final String email) {
70 public static Matcher<Cursor> hasCount(final int count) {
71 return new BaseMatcher<Cursor>() {
74 if (!(o instanceof Cursor)) return false;
75 return ((Cursor)o).getCount() == count
    [all...]
  /frameworks/support/core/ktx/src/main/java/androidx/core/database/
Cursor.kt 21 import android.database.Cursor
29 * @see Cursor.getColumnIndexOrThrow
30 * @see Cursor.getBlob
32 inline fun Cursor.getBlob(columnName: String): ByteArray =
41 * @see Cursor.getColumnIndexOrThrow
42 * @see Cursor.getDouble
44 inline fun Cursor.getDouble(columnName: String): Double =
53 * @see Cursor.getColumnIndexOrThrow
54 * @see Cursor.getFloat
56 inline fun Cursor.getFloat(columnName: String): Float = getFloat(getColumnIndexOrThrow(columnName)
    [all...]
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
GCOV.h 42 GCOVBuffer(MemoryBuffer *B) : Buffer(B), Cursor(0) {}
47 Cursor = 12;
57 Cursor = 0;
61 /// readFunctionTag - If cursor points to a function tag then increment the
62 /// cursor and return true otherwise return false.
64 StringRef Tag = Buffer->getBuffer().slice(Cursor, Cursor+4);
70 Cursor += 4;
74 /// readBlockTag - If cursor points to a block tag then increment the
75 /// cursor and return true otherwise return false
    [all...]
  /external/llvm/unittests/Bitcode/
BitstreamReaderTest.cpp 40 BitstreamCursor Cursor(Reader);
42 EXPECT_FALSE(Cursor.AtEndOfStream());
43 (void)Cursor.Read(8);
44 EXPECT_FALSE(Cursor.AtEndOfStream());
45 (void)Cursor.Read(24);
46 EXPECT_TRUE(Cursor.AtEndOfStream());
48 Cursor.JumpToBit(0);
49 EXPECT_FALSE(Cursor.AtEndOfStream());
51 Cursor.JumpToBit(32);
52 EXPECT_TRUE(Cursor.AtEndOfStream())
    [all...]
  /packages/apps/DocumentsUI/src/com/android/documentsui/base/
DocumentFilters.java 21 import android.database.Cursor;
31 * in {@link Cursor}s.
39 public static final Predicate<Cursor> ANY = (Cursor c) -> { return true; };
40 public static final Predicate<Cursor> VIRTUAL = DocumentFilters::isVirtual;
41 public static final Predicate<Cursor> NOT_MOVABLE = DocumentFilters::isNotMovable;
42 private static final Predicate<Cursor> O_SHARABLE = DocumentFilters::isSharableInO;
43 private static final Predicate<Cursor> PREO_SHARABLE = DocumentFilters::isSharablePreO;
45 public static Predicate<Cursor> sharable(Features features) {
51 private static boolean isSharableInO(Cursor c)
    [all...]
  /packages/apps/Email/src/com/android/email/data/
ClosingMatrixCursor.java 19 import android.database.Cursor;
25 * {@link MatrixCursor} which takes an extra {@link Cursor} to the constructor, and close
29 private final Cursor mInnerCursor;
31 public ClosingMatrixCursor(String[] columnNames, Cursor innerCursor) {
  /frameworks/base/core/java/android/content/
CursorEntityIterator.java 19 import android.database.Cursor;
23 * Abstract implementation of EntityIterator that makes it easy to wrap a cursor
28 private final Cursor mCursor;
32 * Constructor that makes initializes the cursor such that the iterator points to the
34 * @param cursor the cursor that contains the rows that make up the entities
36 public CursorEntityIterator(Cursor cursor) {
38 mCursor = cursor;
43 * Returns the entity that the cursor is currently pointing to. This must take care to advanc
    [all...]
  /frameworks/base/core/java/android/database/
CrossProcessCursor.java 20 * A cross process cursor is an extension of a {@link Cursor} that also supports
23 * The contents of a cross process cursor are marshalled to the remote process by
25 * the cursor can provide a pre-filled window to use via {@link #getWindow} thereby
26 * obviating the need to copy the data to yet another cursor window.
28 public interface CrossProcessCursor extends Cursor {
30 * Returns a pre-filled window that contains the data within this cursor.
32 * In particular, the window contains the row indicated by {@link Cursor#getPosition}.
42 * Copies cursor data into the window.
45 * row position until all of the data in the cursor is exhauste
    [all...]
  /frameworks/support/cursoradapter/src/main/java/androidx/cursoradapter/widget/
CursorFilter.java 19 import android.database.Cursor;
33 CharSequence convertToString(Cursor cursor);
34 Cursor runQueryOnBackgroundThread(CharSequence constraint);
35 Cursor getCursor();
36 void changeCursor(Cursor cursor);
45 return mClient.convertToString((Cursor) resultValue);
50 Cursor cursor = mClient.runQueryOnBackgroundThread(constraint) local
    [all...]
  /external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
ShadowCursorLoader.java 3 import android.database.Cursor;
8 public class ShadowCursorLoader extends ShadowAsyncTaskLoader<Cursor> {
  /frameworks/ex/common/java/com/android/common/io/
MoreCloseables.java 20 import android.database.Cursor;
26 * Closes the supplied cursor iff it is not null.
28 public static void closeQuietly(Cursor cursor) {
29 if (cursor != null) {
30 cursor.close();
  /packages/apps/Contacts/src/com/android/contacts/list/
JoinContactLoader.java 20 import android.database.Cursor;
28 * This loader also loads the "suggestion" cursor, which can be accessed with:
38 * class. This class is needed to tie the lifecycle of the second cursor to that of the
42 * extends AsyncTaskLoader<Cursor>, not AsyncTaskLoader<? extends Cursor>
45 public final Cursor suggestionCursor;
47 public JoinContactLoaderResult(Cursor baseCursor, Cursor suggestionCursor) {
81 public Cursor loadInBackground() {
84 final Cursor suggestionsCursor = getContext().getContentResolver(
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/searchfragment/common/
SearchCursor.java 19 import android.database.Cursor;
22 /** Base cursor interface needed for all cursors used in search. */
23 public interface SearchCursor extends Cursor {
29 /** Returns true if the current cursor position is a header */
33 * Notifies the cursor that the query has updated.
40 * Returns an ID unique to the directory this cursor reads from. Generally this value will be
  /packages/apps/Dialer/java/com/android/dialer/p13n/inference/protocol/
P13nRanker.java 17 import android.database.Cursor;
38 * <p>A new cursor with reordered data is returned; the input cursor is unmodified except for its
40 * cursor directly. The order would be unchanged if the ranking cache is not yet ready, or if the
41 * input cursor is closed or invalid, or if any other error occurs in the ranking process.
43 * @param phoneQueryResults cursor of results of a Dialer search query
44 * @param queryLength length of the search query that resulted in the cursor data, if below 0,
47 * @return new cursor of data reordered by ranking (or reference to input cursor if order
52 Cursor rankCursor(@NonNull Cursor phoneQueryResults, int queryLength)
    [all...]

Completed in 1048 milliseconds

1 2 3 4 5 6 7 8 91011>>