Searched refs:query (Results 101 - 125 of 196) sorted by relevance

12345678

/frameworks/opt/chips/src/com/android/ex/chips/
H A DDropdownChipLayouter.java49 public void setQuery(Query query) { argument
50 mQuery = query;
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java143 * Enables query refinement for all suggestions. This means that an additional icon
145 * copied to the query text field.
156 * Returns the current query refinement preference.
157 * @return value of query refinement preference
174 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions).
180 String query = (constraint == null) ? "" : constraint.toString();
192 cursor = mSearchManager.getSuggestions(mSearchable, query, QUERY_LIMIT);
200 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e);
240 // Check if the Cursor indicates that the query is not complete and show the spinner
446 * Gets the text to show in the query fiel
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DContentProviderOperationTest.java144 public Cursor query(Uri uri, String[] projection, String selection,
163 public Cursor query(Uri uri, String[] projection, String selection,
179 public Cursor query(Uri uri, String[] projection, String selection,
195 public Cursor query(Uri uri, String[] projection, String selection,
529 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContentProviderOperationTest.TestContentProvider
H A DMemoryFileProvider.java113 public Cursor query(Uri url, String[] projectionIn, String selection, method in class:MemoryFileProvider
115 throw new UnsupportedOperationException("query not supported");
/frameworks/base/media/java/android/media/session/
H A DMediaController.java623 * Request that the player start playback for a specific search query.
624 * An empty or null query should be treated as a request to play any
627 * @param query The search query.
629 * about the query.
631 public void playFromSearch(String query, Bundle extras) { argument
632 if (query == null) {
635 query = "";
638 mSessionBinder.playFromSearch(query, extras);
640 Log.wtf(TAG, "Error calling play(" + query
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java67 * <li>{@link #query} which returns data to the caller</li>
199 public Cursor query(String callingPkg, Uri uri, String[] projection, method in class:ContentProvider.Transport
210 return ContentProvider.this.query(
755 * (via {@link #query}, {@link #insert}, etc). Deferred initialization
803 * Implementation when a caller has performed a query on the content
808 * and calls through to {@link #query(android.net.Uri, String[], String, String[],
823 return query(uri, projection, selection, selectionArgs, sortOrder, cancellationSignal);
827 * Implement this to handle query requests from clients.
848 // If the query ends in a specific record number, we're
850 // WHERE clause in our query
881 public abstract Cursor query(Uri uri, String[] projection, method in class:ContentProvider
947 public Cursor query(Uri uri, String[] projection, method in class:ContentProvider
[all...]
H A DCursorLoader.java32 * query on a background thread so that it does not block the application's UI.
34 * <p>A CursorLoader must be built with the full information for the query to
64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection,
99 // An async query came in while the loader is stopped
120 * to specify the query to perform.
129 * {@link ContentResolver#query(Uri, String[], String, String[], String)
130 * ContentResolver.query()} for documentation on the meaning of the
H A DIContentProvider.java37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, method in interface:IContentProvider
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.cpp344 if ((res = bufferProducer->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS,
346 ALOGE("%s: Camera %d: Failed to query consumer usage", __FUNCTION__,
365 if ((res = anw->query(anw.get(), NATIVE_WINDOW_WIDTH, &width)) != OK) {
366 ALOGE("%s: Camera %d: Failed to query Surface width", __FUNCTION__,
370 if ((res = anw->query(anw.get(), NATIVE_WINDOW_HEIGHT, &height)) != OK) {
371 ALOGE("%s: Camera %d: Failed to query Surface height", __FUNCTION__,
375 if ((res = anw->query(anw.get(), NATIVE_WINDOW_FORMAT, &format)) != OK) {
376 ALOGE("%s: Camera %d: Failed to query Surface format", __FUNCTION__,
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java410 * @param enqueue the id used to identify/query the DownloadManager with.
414 Query query = new Query();
415 query.setFilterById(enqueue);
416 Cursor c = mDownloadManager.query(query);
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerStressTest.java93 Cursor cursor = mDownloadManager.query(new Query());
H A DDownloadManagerFunctionalTest.java129 Cursor cursor = mDownloadManager.query(new Query().setFilterById(requestId));
311 Cursor cursor = mDownloadManager.query(new Query().setFilterById(dlRequest));
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteCursorTest.java97 Cursor c = mDatabase.query(testTable, new String[]{"col1", "desc"},
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxSessionStorage.java116 Cursor cursor = mDbSessions.query(true, SESSION_TABLE,
/frameworks/native/include/gui/
H A DIGraphicBufferProducer.h91 // can be obtained by calling query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS).
361 // query retrieves some information for this surface
367 virtual int query(int what, int* value) = 0;
H A DSurface.h155 virtual int query(int what, int* value) const;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h111 virtual int query(int what, int* value);
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/
H A DSampleProvider.java61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:SampleProvider
66 * Choose the table to query and a sort order based on the code returned for the incoming
95 // call the code to actually do the query
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsBroadcastUndelivered.java104 cursor = mResolver.query(sRawUri, PDU_PENDING_MESSAGE_PROJECTION, null, null, null);
H A DSubscriptionController.java251 * @return the query result of desired SubInfoRecord
293 * @param queryKey query key content
303 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI,
349 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI,
382 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI,
492 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI,
546 Cursor cursor = resolver.query(SubscriptionManager.CONTENT_URI,
588 cursor = resolver.query(SubscriptionManager.CONTENT_URI, null,
1298 Cursor cursor = mContext.getContentResolver().query(SubscriptionManager.CONTENT_URI,
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DExportTestProvider.java114 public Cursor query(Uri uri,String[] projection, method in class:ExportTestProvider
/frameworks/support/v4/java/android/support/v4/content/
H A DCursorLoader.java49 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection,
63 // An async query came in while the loader is stopped
84 * to specify the query to perform.
93 * {@link android.content.ContentResolver#query(Uri, String[], String, String[], String)
94 * ContentResolver.query()} for documentation on the meaning of the
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3OutputStream.cpp327 res = mConsumer->query(mConsumer.get(),
330 ALOGE("%s: Unable to query consumer undequeued"
402 res = mConsumer->query(mConsumer.get(),
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java732 * query again when we move outside the bounds of the current window.
754 * @param table the name of the table to query
764 * @param table the name of the table to query
777 * @param table the name of the table to query
797 * @param table the name of the table to query
807 * Utility method to run the query on the db and return the value in the
810 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { argument
811 SQLiteStatement prog = db.compileStatement(query);
820 * Utility method to run the pre-compiled query and return the value in the
829 * Utility method to run the query o
832 stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
856 blobFileDescriptorForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContacts.java205 Cursor cursor = cr.query(Settings.CONTENT_URI, new String[]{VALUE},
463 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION,
509 Cursor groupsCursor = resolver.query(Groups.CONTENT_URI, GROUPS_PROJECTION,
579 return resolver.query(GroupMembership.CONTENT_URI, null, "person=?",
607 Cursor cursor = cr.query(photoUri, new String[]{Photos.DATA}, null, null, null);

Completed in 704 milliseconds

12345678