Searched refs:selection (Results 1 - 25 of 58) sorted by last modified time

123

/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java97 public CursorLoader(Context context, Uri uri, String[] projection, String selection, argument
103 mSelection = selection;
174 public void setSelection(String selection) { argument
175 mSelection = selection;
H A DFileProvider.java396 * @param selection Selection criteria to apply. If null then all data that matches the content
399 * the <i>selection</i> parameter. The <i>query</i> method scans <i>selection</i> from left to
401 * <i>selection</i> with the value at the current position in <i>selectionArgs</i>. The
402 * values are bound to <i>selection</i> as {@link java.lang.String} values.
409 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
479 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
490 * @param selection Ignored. Set to {@code null}.
495 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DAdapterViewICS.java97 * Indicates whether to sync based on the selection or position. Possible
373 * @param parent The AdapterView where the selection happened
381 * Callback method to be invoked when the selection disappears from this
382 * view. The selection can disappear for instance when touch is activated
576 int selection = getSelectedItemPosition();
577 if (adapter != null && adapter.getCount() > 0 && selection >= 0) {
578 return adapter.getItem(selection);
884 // we fire selection events here not in View
894 int selection = this.getSelectedItemPosition();
895 if (selection >
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java731 // get the query selection, may be null
732 String selection = searchable.getSuggestSelection();
733 // inject query, either as selection args or inline
735 if (selection != null) { // use selection if provided
737 } else { // no selection, use REST pattern
748 return mContext.getContentResolver().query(uri, null, selection, selArgs, null);
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduPersister.java1549 String selection = PendingMessages.ERROR_TYPE + " < ?"
1558 uriBuilder.build(), null, selection, selectionArgs,
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DSqliteWrapper.java69 String[] projection, String selection, String[] selectionArgs, String sortOrder) {
71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder);
68 query(Context context, ContentResolver resolver, Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java37 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
145 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java77 public Cursor query(Uri url, String[] projection, String selection, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatResponseMessage.java36 public void setMenuSelection(int selection) { argument
37 mUsersMenuSelection = selection;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java1895 String selection = "numeric = '" + operator + "'";
1898 selection += " and carrier_enabled = 1";
1899 if (DBG) log("createAllApnList: selection=" + selection);
1902 Telephony.Carriers.CONTENT_URI, null, selection, null, null);
/frameworks/opt/vcard/java/com/android/vcard/
H A DVCardComposer.java291 * String selection = Data.CONTACT_ID + "=?";
294 * contentUriForRawContactsEntity, null, selection, selectionArgs, null)
310 * Initializes this object using default {@link Contacts#CONTENT_URI} and given selection
313 public boolean init(final String selection, final String[] selectionArgs) { argument
314 return init(Contacts.CONTENT_URI, sContactsProjection, selection, selectionArgs,
321 public boolean init(final Uri contentUri, final String selection, argument
323 return init(contentUri, sContactsProjection, selection, selectionArgs, sortOrder, null);
329 * @param selection selection used with
339 public boolean init(final Uri contentUri, final String selection, argument
383 init(final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder, Uri contentUriForRawContactsEntity) argument
432 initInterCursorCreationPart( final Uri contentUri, final String[] projection, final String selection, final String[] selectionArgs, final String sortOrder) argument
[all...]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java99 String selection, String[] selectionArgs, String sortOrder) {
104 TestCase.assertTrue((Data.CONTACT_ID + "=?").equals(selection));
115 String selection, String[] selectionArgs, String sortOrder) {
118 TestCase.assertNull(selection);
98 queryEntities(Uri uri, String selection, String[] selectionArgs, String sortOrder) argument
114 query(Uri uri,String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
H A DVCardVerifier.java328 final Uri uri, final String selection,
332 uri, selection, selectionArgs, sortOrder);
326 mockGetEntityIteratorMethod( final ContentResolver resolver, final Uri uri, final String selection, final String[] selectionArgs, final String sortOrder) argument
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs167 const bool debugSelection = false; // logs selection events
240 static float selectionRadius = 50.0f; // movement greater than this will result in no selection
1181 int selection;
1184 if ((selection = intersectDetailTexture(x, y, &point)) != -1) {
1185 if (debugSelection) rsDebug("Selected detail texture on doStop():", selection);
1186 data[0] = selection;
1191 else if ((selection = doSelection(x, y))!= -1) {
1192 if (debugSelection) rsDebug("Selected item on doStop():", selection);
1193 data[0] = selection;
1214 if (debugSelection) rsDebug("doLongPress(), selection
[all...]
/frameworks/ex/common/java/com/android/common/
H A DSearch.java103 // get the query selection, may be null
104 String selection = searchable.getSuggestSelection();
105 // inject query, either as selection args or inline
107 if (selection != null) {
109 } else { // no selection, use REST pattern
121 return context.getContentResolver().query(uri, null, selection, selArgs, null);
/frameworks/ex/common/java/com/android/common/content/
H A DSQLiteContentProvider.java76 protected abstract int updateInTransaction(Uri uri, ContentValues values, String selection, argument
82 protected abstract int deleteInTransaction(Uri uri, String selection, String[] selectionArgs); argument
148 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
155 count = updateInTransaction(uri, values, selection, selectionArgs);
166 count = updateInTransaction(uri, values, selection, selectionArgs);
176 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
183 count = deleteInTransaction(uri, selection, selectionArgs);
194 count = deleteInTransaction(uri, selection, selectionArgs);
H A DSyncStateContentProviderHelper.java82 String selection, String[] selectionArgs, String sortOrder) {
83 return db.query(SYNC_STATE_TABLE, projection, selection, selectionArgs,
96 String selection, String[] selectionArgs) {
97 return db.update(SYNC_STATE_TABLE, values, selection, selectionArgs);
81 query(SQLiteDatabase db, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
95 update(SQLiteDatabase db, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java114 /** The mode of selection. */
138 * States of selection.
140 /** The state that selection isn't started. */
142 /** The state that selection is started. */
144 /** The state that selection is done, but not fixed. */
146 /** The state that selection is done and not fixed. */
231 // If selection is started, don't open soft key by
280 boolean selection = getSelectionStart() != getSelectionEnd();
296 if (selection) {
304 if (selection) {
[all...]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerDataHelper.java109 String selection = (tag == null ? null : TrackerEntry.TAG + "=?");
113 selection, selectionArgs, null);
H A DTrackerProvider.java86 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
88 int result = db.delete(TABLE_NAME, selection, selectionArgs);
111 public Cursor query(Uri uri, String[] projection, String selection, argument
115 Cursor cursor = db.query(TABLE_NAME, projection, selection,
122 public int update(Uri uri, ContentValues values, String selection, argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java347 String selection;
371 selection = "upper(" + Data.DATA1 + ")=?"
379 selection = null;
385 Rlog.d(LOG_TAG, "==> selection: " + selection);
415 selection, // selection
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument
71 return MockContentProvider.this.delete(url, selection, selectionArgs);
100 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument
103 return MockContentProvider.this.query(url, projection, selection,
108 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
110 return MockContentProvider.this.update(url, values, selection, selectionArgs);
189 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
209 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
215 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
H A DMockIContentProvider.java49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument
79 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument
85 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
90 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DSingleUserProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRecentsProvider.java153 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, argument
226 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { argument
231 public int delete(Uri uri, String selection, String[] selectionArgs) { argument

Completed in 2010 milliseconds

123