Home
last modified time | relevance | path

Searched refs:selection (Results 1 – 25 of 36) sorted by relevance

12

/development/samples/ApiDemos/src/com/example/android/apis/content/
DPhotosContentJob.java146 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()
DFileProvider.java48 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
DChangedContacts.java179 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/
DRadioGroup1.java54 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/
DFeedProvider.java92 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/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryDatabase.java90 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()
DDictionaryProvider.java89 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/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/
DAssetProvider.java44 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
62 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
69 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsFileProvider.java44 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/browseable/ActivityInstrumentation/src/com.example.android.activityinstrumentation/
DMainActivity.java85 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/Support4Demos/src/com/example/android/supportv4/content/
DSharingSupportProvider.java45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
65 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
70 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/development/samples/browseable/BeamLargeFiles/src/com.example.android.common/assetprovider/
DAssetProvider.java119 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/SpeedTracker/Application/src/com.example.android.wearable.speedtracker/db/
DLocationDbHelper.java117 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/
DDataProvider.java244 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/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java173 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()
DAdapters.java624 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/WeatherListWidget/src/com/example/android/weatherlistwidget/
DWeatherDataProvider.java88 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/browseable/BasicSyncAdapter/src/com.example.android.common/db/
DSelectionBuilder.java145 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.jd8 This sample explains how to use Directory selection API, which was introduced
/development/samples/ContactManager/src/com/example/android/contactmanager/
DContactManager.java109 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/
DContactablesLoaderCallbacks.java63 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/
DSpinnerActivity.java371 public void setSpinnerSelection(String selection) { in setSpinnerSelection() argument
372 this.mSelection = selection; in setSpinnerSelection()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java134 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
160 selection, in query()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DLoaderThrottle.java211 public Cursor query(Uri uri, String[] projection, String selection, in query() argument
243 Cursor c = qb.query(db, projection, selection, selectionArgs, in query()
/development/samples/NotePad/src/com/example/android/notepad/
DNotePadProvider.java252 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
312 selection, // The columns for the where clause in query()

12