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

<<31323334353637383940>>

  /packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PicasaSource.java 20 import android.database.Cursor;
114 data.cursor = mResolver.query(picasaUriBuilder.build(),
121 if (data.cursor == null) {
124 if (data.cursor != null) {
125 int idIndex = data.cursor.getColumnIndex(PICASA_ID);
126 data.cursor.moveToPosition(-1);
127 while (data.position == -1 && data.cursor.moveToNext()) {
128 String id = data.cursor.getString(idIndex);
130 data.position = data.cursor.getPosition();
142 protected ImageData unpackImageData(Cursor cursor, ImageData data)
218 Cursor cursor = mResolver.query(picasaUriBuilder.build(), local
264 Cursor cursor = mResolver.query(picasaUriBuilder.build(), local
298 Cursor cursor = mResolver.query(picasaUriBuilder.build(), local
339 Cursor cursor = mResolver.query(picasaUriBuilder.build(), local
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
PhoneAccountTest.java 25 import android.database.Cursor;
183 Cursor cursor = null; local
185 cursor = mContext.getContentResolver()
188 assertEquals(0, cursor.getCount());
190 if (cursor != null) {
191 cursor.close();
209 Cursor cursor = null; local
213 cursor = mContext.getContentResolver(
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentProviderTest.java 24 import android.database.Cursor;
259 public Cursor query(Uri uri, String[] projection, String selection,
330 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtils_InsertHelperTest.java 22 import android.database.Cursor;
100 Cursor cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); local
101 assertNotNull(cursor);
102 assertEquals(0, cursor.getCount());
103 cursor.close();
125 cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null);
126 assertNotNull(cursor);
127 assertEquals(1, cursor.getCount());
128 cursor.moveToFirst()
202 Cursor cursor = mDatabase.query(TEST_TABLE_NAME, projection, null, null, null, null, null); local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
BlockedNumberContractTest.java 25 import android.database.Cursor;
282 Cursor cursor = mContentResolver.query(BlockedNumbers.CONTENT_URI, null, null, null, null); local
292 cursor.registerContentObserver(contentObserver);
301 cursor.unregisterContentObserver(contentObserver);
327 Cursor cursor = mContentResolver.query( local
333 assertTrue(cursor.moveToFirst());
335 assertEquals(originalNumber, cursor.getString(0));
337 assertEquals(e164Number, cursor.getString(1))
    [all...]
ContactsContract_TestDataBuilder.java 25 import android.database.Cursor;
64 private Cursor mCursor;
75 Cursor cursor = mProvider.query(mUri, IdQuery.COLUMNS, null, null, null, null); local
76 if (cursor != null) {
78 cursor.moveToFirst();
79 mId = cursor.getInt(IdQuery._ID);
81 cursor.close();
  /developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 25 import android.database.Cursor;
232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
234 if (cursor != null && cursor.moveToFirst()) {
235 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
236 String hasPhoto = cursor.getString(idx);
261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
263 if (cursor != null && cursor.moveToFirst())
    [all...]
  /developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 23 import android.database.Cursor;
193 try (Cursor docCursor = contentResolver
201 try (Cursor childCursor = contentResolver
  /developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/
WeatherWidgetProvider.java 28 import android.database.Cursor;
56 // cursor for the new data.
116 final Cursor c = r.query(WeatherDataProvider.CONTENT_URI, null, null, null,
191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null,
  /developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 23 import android.database.Cursor;
193 try (Cursor docCursor = contentResolver
201 try (Cursor childCursor = contentResolver
  /developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/
OtherMetadataFragment.java 25 import android.database.Cursor;
232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
234 if (cursor != null && cursor.moveToFirst()) {
235 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
236 String hasPhoto = cursor.getString(idx);
261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
263 if (cursor != null && cursor.moveToFirst())
    [all...]
  /development/samples/NotePad/src/com/example/android/notepad/
NoteEditor.java 28 import android.database.Cursor;
77 private Cursor mCursor;
261 * a Cursor for the first time. The semantics of using a Cursor are that when it is
284 * it should not move the cursor. This helps the user to continue editing or entering.
287 // Gets the note text from the Cursor and puts it in the TextView, but doesn't change
288 // the text cursor's position.
299 * Something is wrong. The Cursor should always contain data. Report an error in the
340 * Tests to see that the query operation didn't fail (see onCreate()). The Cursor object
484 Cursor orig = cr.query
    [all...]
  /development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/
WeatherWidgetProvider.java 28 import android.database.Cursor;
56 // cursor for the new data.
116 final Cursor c = r.query(WeatherDataProvider.CONTENT_URI, null, null, null,
191 Cursor c = context.getContentResolver().query(WeatherDataProvider.CONTENT_URI, null,
  /development/samples/browseable/LNotifications/src/com.example.android.lnotifications/
OtherMetadataFragment.java 25 import android.database.Cursor;
232 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
234 if (cursor != null && cursor.moveToFirst()) {
235 int idx = cursor.getColumnIndex(ContactsContract.Contacts.PHOTO_ID);
236 String hasPhoto = cursor.getString(idx);
261 Cursor cursor = getActivity().getContentResolver().query(contactUri, null, null, null, local
263 if (cursor != null && cursor.moveToFirst())
    [all...]
  /development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
ScopedDirectoryAccessFragment.java 23 import android.database.Cursor;
193 try (Cursor docCursor = contentResolver
201 try (Cursor childCursor = contentResolver
  /external/ImageMagick/MagickCore/
xwindow-private.h 361 Cursor
362 cursor, member in struct:_XWindowInfo
491 extern MagickPrivate Cursor
495 XCheckDefineCursor(Display *,Window,Cursor);
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DatabaseContentProvider.java 37 import android.database.Cursor;
317 * @return Cursor holding the contents of the requested query
319 protected abstract Cursor queryInternal(final SQLiteDatabase db, Uri uri, String[] projection,
323 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
  /external/libgdx/extensions/gdx-setup/src/com/badlogic/gdx/setup/
SettingsDialog.java 29 import java.awt.Cursor;
105 linkText.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
  /external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/flame/
EditorPanel.java 19 import java.awt.Cursor;
122 titlePanel.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
  /frameworks/base/core/java/android/app/
SearchManager.java 27 import android.database.Cursor;
160 * Boolean extra data key for a suggestion provider to return in {@link Cursor#getExtras} to
163 * this way and send a change notification on the cursor when more results are available.
197 "vnd.android.cursor.dir/vnd.android.search.suggest";
214 "vnd.android.cursor.item/vnd.android.search.suggest";
217 * Column name for suggestions cursor. <i>Unused - can be null or column can be omitted.</i>
221 * Column name for suggestions cursor. <i>Required.</i> This is the primary line of text that
226 * Column name for suggestions cursor. <i>Optional.</i> If your cursor includes this column,
233 * Column name for suggestions cursor. <i>Optional.</i> This is a URL that will be show
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PhonebookPullRequest.java 11 import android.database.Cursor;
48 Cursor c = null;
94 Cursor c = null;
  /packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastDatabaseHelper.java 21 import android.database.Cursor;
134 Cursor cursor = db.query(TEMP_TABLE_NAME, COLUMNS_V1, null, null, null, null, local
137 while (cursor.moveToNext()) {
138 upgradeMessageV1ToV2(db, cursor);
141 cursor.close();
169 private static void upgradeMessageV1ToV2(SQLiteDatabase db, Cursor cursor) {
170 int geographicalScope = cursor.getInt(COLUMN_V1_GEOGRAPHICAL_SCOPE);
171 int updateNumber = cursor.getInt(COLUMN_V1_SERIAL_NUMBER)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 20 import android.database.Cursor;
201 Cursor cursor = mContentResolver.query( local
208 if (cursor == null) {
212 // Read back the results from the cursor and filter out existing group members.
215 cursor.moveToPosition(-1);
216 while (cursor.moveToNext() && suggestionsMap.keySet().size() < SUGGESTIONS_LIMIT) {
217 long rawContactId = cursor.getLong(RAW_CONTACT_ID_COLUMN_INDEX);
218 long contactId = cursor.getLong(CONTACT_ID_COLUMN_INDEX);
224 String displayName = cursor.getString(DISPLAY_NAME_PRIMARY_COLUMN_INDEX)
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberPickerFragment.java 20 import android.database.Cursor;
260 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ContactLoader.java 29 import android.database.Cursor;
482 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, local
484 if (cursor == null) {
485 Log.e(TAG, "No cursor returned in loadContactEntity");
490 if (!cursor.moveToFirst()) {
491 cursor.close();
496 Contact contact = loadContactHeaderData(cursor, contactUri);
507 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
512 rawContact = new RawContact(loadRawContactValues(cursor));
765 Cursor cursor = getContext().getContentResolver().query( local
862 final Cursor cursor = getContext().getContentResolver().query(Groups.CONTENT_URI, local
    [all...]

Completed in 1562 milliseconds

<<31323334353637383940>>