/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/linux/ |
LinuxMouse.h | 67 Cursor cursor; //A blank cursor member in class:OIS::LinuxMouse
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
SmartDialNumberListAdapter.java | 20 import android.database.Cursor; 76 * @param cursor Object containing information of the associated List item. 79 protected void setHighlight(ContactListItemView view, Cursor cursor) { 82 if (mNameMatcher.matches(cursor.getString(PhoneQuery.DISPLAY_NAME))) { 87 Log.v(TAG, cursor.getString(PhoneQuery.DISPLAY_NAME) + " " + 93 final SmartDialMatchPosition numberMatch = mNameMatcher.matchesNumber(cursor.getString( 106 Cursor cursor = ((Cursor)getItem(position)) local [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
FrequentContactsCursorQueryData.java | 20 import android.database.Cursor; 46 public Cursor loadInBackground() { 54 private abstract class StrequentContactsQueryStrategy implements Strategy<Void, Cursor> { 56 public Cursor execute(Void params) throws Exception {
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ShareIntentAdapter.java | 21 import android.database.Cursor; 48 public ShareIntentAdapter(final Context context, final Cursor cursor, 50 super(context, cursor, 0); 57 final Cursor cursor) { 58 holder.bind(cursor); 123 public void bind(Cursor cursor) { 124 mData.bind(cursor); [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
SqlInjectionDetectionTest.java | 21 import android.database.Cursor; 88 final Cursor c = mResolver.query(Phone.CONTENT_URI, PHONE_ID_PROJECTION, null, null, null); 99 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder); 108 final Cursor c = mResolver.query(uri, projection, selection, null, sortOrder);
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 25 import android.database.Cursor; 66 implements LoaderManager.LoaderCallbacks<Cursor> { 71 * Cursor adapter for controlling ListView results. 99 // Column indexes. The index of a column in the Cursor is the same as its relative position in 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 119 * List of Views which will be populated by Cursor data. 158 null, // Cursor 159 FROM_COLUMNS, // Cursor columns to use 165 public boolean setViewValue(View view, Cursor cursor, int i) [all...] |
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
EntryListFragment.java | 25 import android.database.Cursor; 66 implements LoaderManager.LoaderCallbacks<Cursor> { 71 * Cursor adapter for controlling ListView results. 99 // Column indexes. The index of a column in the Cursor is the same as its relative position in 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 119 * List of Views which will be populated by Cursor data. 158 null, // Cursor 159 FROM_COLUMNS, // Cursor columns to use 165 public boolean setViewValue(View view, Cursor cursor, int i) [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
EntryListFragment.java | 25 import android.database.Cursor; 66 implements LoaderManager.LoaderCallbacks<Cursor> { 71 * Cursor adapter for controlling ListView results. 99 // Column indexes. The index of a column in the Cursor is the same as its relative position in 111 * List of Cursor columns to read from when preparing an adapter to populate the ListView. 119 * List of Views which will be populated by Cursor data. 158 null, // Cursor 159 FROM_COLUMNS, // Cursor columns to use 165 public boolean setViewValue(View view, Cursor cursor, int i) [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
AsyncDbTask.java | 20 import android.database.Cursor; 85 * <p> {@link #doInBackground(Void...)} executes the query on call {@link #onQuery(Cursor)} 88 * @param <Result> the type of result returned by {@link #onQuery(Cursor)} 129 try (Cursor c = mContentResolver 154 * Return the result from the cursor. 159 protected abstract Result onQuery(Cursor c); 170 * <p>Subclasses must implement {@link #fromCursor(Cursor)}. 172 * @param <T> the type of result returned in a list by {@link #onQuery(Cursor)} 182 protected final List<T> onQuery(Cursor c) { 199 * Return a single instance of {@code T} from the cursor [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarDatabaseHelperTest.java | 21 import android.database.Cursor; 398 Cursor badCursor = null; 399 Cursor goodCursor = null; 430 Cursor badCursor = null; 431 Cursor goodCursor = null; 463 Cursor goodCursor = mGoodDb.query(SQLITE_MASTER, PROJECTION, null, null, null, null, 465 Cursor badCursor = mBadDb.query(SQLITE_MASTER, PROJECTION, null, null, null, null, 520 private static boolean compareCursors(Cursor c1, Cursor c2) {
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
WinCodeViewLineTables.cpp | 50 size_t Cursor = 0; 51 while ((Cursor = Filepath.find("\\.\\", Cursor)) != std::string::npos) 52 Filepath.erase(Cursor, 2); 56 Cursor = 0; 57 while ((Cursor = Filepath.find("\\..\\", Cursor)) != std::string::npos) { 59 if (Cursor == 0) 62 size_t PrevSlash = Filepath.rfind('\\', Cursor - 1); 67 Filepath.erase(PrevSlash, Cursor + 3 - PrevSlash) [all...] |
/frameworks/support/documents-archive/tests/src/android/support/provider/ |
DocumentArchiveTest.java | 19 import android.database.Cursor; 90 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); local 92 assertTrue(cursor.moveToFirst()); 94 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID))); 96 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME))); 98 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE))) 143 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); local 184 final Cursor cursor = mArchive.queryChildDocuments(DOCUMENT_ID, null, null); local 251 final Cursor cursor = mArchive.queryDocument("document-id:dir2\/strawberries.txt", null); local [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpDatabaseTest.java | 19 import android.database.Cursor; 70 private static int getInt(Cursor cursor, String columnName) { 71 return cursor.getInt(cursor.getColumnIndex(columnName)); 74 private static boolean isNull(Cursor cursor, String columnName) { 75 return cursor.isNull(cursor.getColumnIndex(columnName)); 78 private static String getString(Cursor cursor, String columnName) 92 final Cursor cursor = mDatabase.queryRootDocuments(COLUMN_NAMES); local 116 final Cursor cursor = mDatabase.queryRoots(resources, new String [] { local 155 final Cursor cursor = mDatabase.queryRootDocuments(COLUMN_NAMES); local 205 final Cursor cursor = mDatabase.queryChildDocuments(COLUMN_NAMES, "2"); local 336 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 354 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 369 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 406 final Cursor cursor = mDatabase.queryChildDocuments(columns, "2"); local 419 final Cursor cursor = mDatabase.queryChildDocuments(columns, "2"); local 463 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 477 final Cursor cursor = mDatabase.queryRoots(resources, rootColumns); local 509 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 523 final Cursor cursor = mDatabase.queryRoots(resources, rootColumns); local 588 final Cursor cursor = mDatabase.queryChildDocuments(columns, "3"); local 596 final Cursor cursor = mDatabase.queryChildDocuments(columns, "4"); local 647 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 656 final Cursor cursor = mDatabase.queryRoots(resources, rootColumns); local 689 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 731 final Cursor cursor = mDatabase.queryRootDocuments(columns); local 745 final Cursor cursor = mDatabase.queryRoots(resources, columns); local 799 final Cursor cursor = mDatabase.queryDocument("2", strings(Document.COLUMN_DISPLAY_NAME)); local 812 final Cursor cursor = mDatabase.queryRoots(resources, strings(Root.COLUMN_TITLE)); local 827 final Cursor cursor = mDatabase.queryRoots(resources, strings(Root.COLUMN_TITLE)); local 843 final Cursor cursor = mDatabase.queryRoots(resources, strings(Root.COLUMN_TITLE)); local 889 final Cursor cursor = local 897 final Cursor cursor = local 916 final Cursor cursor = local 937 final Cursor cursor = local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
CursorTreeAdapterTest.java | 22 import android.database.Cursor; 61 private Cursor mGroupCursor; 62 private Cursor mChildCursor1; 63 private Cursor mChildCursor2; 67 private Cursor createGroupCursor() { 74 private Cursor createChild1Cursor() { 81 private Cursor getChild1Cursor() { 85 private Cursor createChild2Cursor() { 91 private Cursor getChild2Cursor() { 397 // null group cursor [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
DatabaseTestBase.java | 4 import android.database.Cursor; 93 Cursor cursor = database.query("table_name", new String[]{"second_column", "first_column"}, null, null, null, null, null); local 95 assertThat(cursor.moveToFirst(), equalTo(true)); 97 byte[] byteValueFromDatabase = cursor.getBlob(0); 98 String stringValueFromDatabase = cursor.getString(1); 116 Cursor cursor = database.rawQuery("select second_column, first_column from table_name", null); local 118 assertThat(cursor.moveToFirst(), equalTo(true)); 120 byte[] byteValueFromDatabase = cursor.getBlob(0) 142 Cursor cursor = database.rawQuery("select second_column, first_column from table_name", null); local 162 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?", new String[]{"1"}); local 168 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", null); local 174 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", new String[]{}); local 218 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?", null); local 224 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable WHERE `id` = ?", new String[]{}); local 229 Cursor cursor = database.rawQuery("select second_column, first_column from rawtable", new String[]{"1"}); local 242 Cursor cursor = database.query("table_name", new String[]{"second_column", "first_column"}, null, null, null, null, null); local 273 Cursor cursor = database.query("table_name", new String[]{"id", "name"}, null, null, null, null, null); local 286 Cursor cursor = database.query("table_name", new String[]{"id", "name"}, null, null, null, null, null); local 300 Cursor cursor = database.query("table_name", new String[]{"id", "name"}, null, null, null, null, null); local 429 Cursor cursor = database.rawQuery("select * from exectable WHERE `name` = ?", new String[]{name}); local 444 Cursor cursor = database.rawQuery("select * from exectable", null); local 486 Cursor cursor = database.query("table_name", new String[]{"big_int"}, null, null, null, null, null); local 595 Cursor cursor = database.query("table_name", new String[]{"id", "name"}, null, null, null, null, null); local 602 Cursor cursor = database.query("table_name", new String[]{"id", "name"}, null, null, null, null, null); local [all...] |
/frameworks/ex/common/java/com/android/common/contacts/ |
BaseEmailAddressAdapter.java | 27 import android.database.Cursor; 166 Cursor directoryCursor = null; 174 Cursor cursor = null; local 185 cursor = mContentResolver.query(uri, EmailQuery.PROJECTION, null, null, null); 186 results.count = cursor.getCount(); 188 results.values = new Cursor[] { directoryCursor, cursor }; 195 Cursor[] cursors = (Cursor[]) results.values 238 Cursor cursor = mContentResolver.query( local 247 Cursor cursor = (Cursor) results.values; local 495 MatrixCursor cursor = new MatrixCursor(new String[]{SEARCHING_CURSOR_MARKER}); local 573 Cursor cursor = getCursor(partition); local [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
ContentCache.java | 21 import android.database.Cursor; 50 * To (try to) get a cursor from a cache: 51 * Cursor cursor = cache.getCursor(id, projection); 53 * To read from a table and cache the resulting cursor: 55 * 2. Get a cursor from the database: Cursor cursor = db.query(....); 56 * 3. Put the cursor in the cache: cache.putCursor(cursor, id, token) 639 MatrixCursor cursor = getMatrixCursor(id, mBaseProjection, values); local [all...] |
/packages/apps/Settings/src/com/android/settings/dashboard/ |
SearchResultsSummary.java | 24 import android.database.Cursor; 77 * A basic AsyncTask for updating the query results cursor 79 private class UpdateSearchResultsTask extends AsyncTask<String, Void, Cursor> { 81 protected Cursor doInBackground(String... params) { 86 protected void onPostExecute(Cursor cursor) { 89 cursor.getCount()); 90 setResultsCursor(cursor); 91 setResultsVisibility(cursor.getCount() > 0); 92 } else if (cursor != null) [all...] |
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
AmbiguousContentProvider.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
PermissionContentProvider.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
PermissionContentProviderGranting.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
PermissionContentProviderPath.java | 5 import android.database.Cursor; 39 public Cursor query(Uri uri, String[] projection, String selection,
|
PermissionContentProviderPathRestricting.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
PrivateContentProvider.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
PrivateContentProviderGranting.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|