/development/samples/ApiDemos/src/com/example/android/apis/content/ |
D | PhotosContentJob.java | 146 StringBuilder selection = new StringBuilder(); in onStartJob() local 148 if (selection.length() > 0) { in onStartJob() 149 selection.append(" OR "); in onStartJob() 151 selection.append(MediaStore.Images.ImageColumns._ID); in onStartJob() 152 selection.append("='"); in onStartJob() 153 selection.append(ids.get(i)); in onStartJob() 154 selection.append("'"); in onStartJob() 164 PROJECTION, selection.toString(), null, null); in onStartJob()
|
D | FileProvider.java | 48 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 96 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 102 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
D | ChangedContacts.java | 179 String selection = ContactsContract.Data.CONTACT_LAST_UPDATED_TIMESTAMP + " > ?"; in getChangeLoader() local 182 selection, bindArgs, ContactsContract.Data.CONTACT_LAST_UPDATED_TIMESTAMP in getChangeLoader() 194 String selection = ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP + " > ?"; in getDeleteLoader() local 197 selection, bindArgs, ContactsContract.DeletedContacts.CONTACT_DELETED_TIMESTAMP + in getDeleteLoader()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | RadioGroup1.java | 54 String selection = getString(R.string.radio_group_selection); in onCreate() local 57 mChoice.setText(selection + mRadioGroup.getCheckedRadioButtonId()); in onCreate() 65 String selection = getString(R.string.radio_group_selection); in onCheckedChanged() local 67 mChoice.setText(selection + in onCheckedChanged()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/provider/ |
D | FeedProvider.java | 92 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 105 .where(selection, selectionArgs); in query() 148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 156 .where(selection, selectionArgs) in delete() 163 .where(selection, selectionArgs) in delete() 180 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 188 .where(selection, selectionArgs) in update() 195 .where(selection, selectionArgs) in update()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MmsFileProvider.java | 44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 57 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 63 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | DictionaryDatabase.java | 90 String selection = "rowid = ?"; in getWord() local 93 return query(selection, selectionArgs, columns); in getWord() 108 String selection = KEY_WORD + " MATCH ?"; in getWordMatches() local 111 return query(selection, selectionArgs, columns); in getWordMatches() 135 private Cursor query(String selection, String[] selectionArgs, String[] columns) { in query() argument 145 columns, selection, selectionArgs, null, null, null); in query()
|
D | DictionaryProvider.java | 89 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 194 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 199 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/ |
D | MainActivity.java | 85 int selection = mPrefs.getInt(PREF_SPINNER_POS, PREF_SPINNER_VALUE_ISNULL); in onCreate() local 86 if (selection != PREF_SPINNER_VALUE_ISNULL) { in onCreate() 87 mSpinner.setSelection(selection); in onCreate()
|
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/ |
D | AssetProvider.java | 119 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 137 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/development/samples/browseable/ShareActionProvider/src/com.example.android.shareactionprovider/content/ |
D | AssetProvider.java | 46 public int delete(@NonNull Uri uri, String selection, String[] selectionArgs) { in delete() argument 64 public Cursor query(@NonNull Uri uri, String[] projection, String selection, in query() argument 72 public int update(@NonNull Uri uri, ContentValues values, String selection, in update() argument
|
/development/samples/browseable/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/ |
D | LocationDbHelper.java | 117 String selection = COLUMN_NAME_DAY + " LIKE ?"; in read() local 122 selection, // The columns for the WHERE clause in read() 153 String selection = COLUMN_NAME_DAY + " LIKE ?"; in delete() local 155 return db.delete(TABLE_NAME, selection, selectionArgs); in delete()
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
D | DataProvider.java | 244 String selection, in query() argument 269 selection, in query() 427 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 447 public int update(Uri uri, ContentValues values, String selection, in update() argument 463 selection, in update()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherDataProvider.java | 88 public synchronized Cursor query(Uri uri, String[] projection, String selection, in query() argument 115 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 121 public synchronized int update(Uri uri, ContentValues values, String selection, in update() argument
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | XmlDocumentProvider.java | 173 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 192 XMLCursor xmlCursor = new XMLCursor(selection, projection); in query() 320 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 328 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 340 public XMLCursor(String selection, String[] projections) { in XMLCursor() argument 344 mSelectionPattern = createPattern(selection); in XMLCursor()
|
D | Adapters.java | 624 String selection = a.getString(R.styleable.CursorAdapter_selection); in parse() local 671 return new XmlCursorAdapter(mContext, layout, uri, fromArray, toArray, selection, in parse() 912 String selection, String[] selectionArgs, String sortOrder, in XmlCursorAdapter() argument 920 mSelection = selection; in XmlCursorAdapter()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/db/ |
D | SelectionBuilder.java | 145 public SelectionBuilder where(String selection, String... selectionArgs) { in where() argument 146 if (TextUtils.isEmpty(selection)) { in where() 160 mSelection.append("(").append(selection).append(")"); in where()
|
/development/samples/browseable/DirectorySelection/ |
D | _index.jd | 8 This sample explains how to use Directory selection API, which was introduced
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
D | ContactManager.java | 109 String selection = ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '" + in getContacts() local 114 return managedQuery(uri, projection, selection, selectionArgs, sortOrder); in getContacts()
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
D | ContactablesLoaderCallbacks.java | 63 String selection = in onCreateLoader() local 73 selection, // selection - Which rows to return (condition rows must match) in onCreateLoader()
|
/development/samples/Spinner/src/com/android/example/spinner/ |
D | SpinnerActivity.java | 371 public void setSpinnerSelection(String selection) { in setSpinnerSelection() argument 372 this.mSelection = selection; in setSpinnerSelection()
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
D | RssContentProvider.java | 134 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 160 selection, in query()
|
/development/samples/NotePad/src/com/example/android/notepad/ |
D | NotePadProvider.java | 226 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 281 selection, // The columns for the where clause in query()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderThrottle.java | 211 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 243 Cursor c = qb.query(db, projection, selection, selectionArgs, in query()
|