Searched defs:query (Results 76 - 100 of 115) sorted by relevance

12345

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
H A DStubProvider.java255 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
267 if (file.getName().toLowerCase().contains(query)) {
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
H A DExternalStorageProvider.java561 public Cursor querySearchDocuments(String rootId, String query, String[] projection) argument
579 if (file.getName().toLowerCase().contains(query)) {
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp1000 int BufferQueueProducer::query(int what, int *outValue) { function in class:android::BufferQueueProducer
1005 BQ_LOGE("query: outValue was NULL");
1010 BQ_LOGE("query: BufferQueue has been abandoned");
1051 BQ_LOGV("query: %d? %d", what, value);
H A DIGraphicBufferProducer.cpp226 virtual int query(int what, int* value) { function in class:android::BpGraphicBufferProducer
559 int res = query(what, &value);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp84 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth);
85 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight);
94 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage);
97 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat);
536 int VirtualDisplaySurface::query(int what, int* value) { function in class:android::VirtualDisplaySurface
545 return mSource[SOURCE_SINK]->query(what, value);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DSearchFragment.java73 private static final String ARG_QUERY = ARG_PREFIX + ".query";
89 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
99 * <p>Method invoked when the search query is updated.</p>
101 * <p>This is called as soon as the query changes; it is up to the application to add a
107 * @param newQuery The current search query.
108 * @return whether the results changed as a result of the new query.
113 * Method invoked when the search query is submitted, either by dismissing the keyboard,
114 * pressing search or next on the keyboard or when voice has detected the end of the query.
116 * @param query The query entere
119 onQueryTextSubmit(String query) argument
247 createArgs(Bundle args, String query) argument
251 createArgs(Bundle args, String query, String title) argument
269 newInstance(String query) argument
560 setSearchQuery(String query, boolean submit) argument
622 submitQuery(String query) argument
715 setSearchQuery(String query) argument
723 ExternalQuery(String query, boolean submit) argument
[all...]
H A DSearchSupportFragment.java75 private static final String ARG_QUERY = ARG_PREFIX + ".query";
91 * an ObjectAdapter that will contain the results to future updates of the search query.</p>
101 * <p>Method invoked when the search query is updated.</p>
103 * <p>This is called as soon as the query changes; it is up to the application to add a
109 * @param newQuery The current search query.
110 * @return whether the results changed as a result of the new query.
115 * Method invoked when the search query is submitted, either by dismissing the keyboard,
116 * pressing search or next on the keyboard or when voice has detected the end of the query.
118 * @param query The query entere
121 onQueryTextSubmit(String query) argument
249 createArgs(Bundle args, String query) argument
253 createArgs(Bundle args, String query, String title) argument
271 newInstance(String query) argument
562 setSearchQuery(String query, boolean submit) argument
624 submitQuery(String query) argument
717 setSearchQuery(String query) argument
725 ExternalQuery(String query, boolean submit) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchBar.java76 * Interface for receiving notification of search query changes.
81 * Method invoked when the search bar detects a change in the query.
83 * @param query The current full query.
85 public void onSearchQueryChange(String query); argument
88 * <p>Method invoked when the search query is submitted.</p>
93 * @param query The query being submitted.
95 public void onSearchQuerySubmit(String query); argument
100 * @param query Th
102 onKeyboardDismiss(String query) argument
363 setSearchQuery(String query) argument
369 setSearchQueryInternal(String query) argument
[all...]
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaControllerCompatApi21.java162 public static void playFromSearch(Object controlsObj, String query, Bundle extras) { argument
163 ((MediaController.TransportControls) controlsObj).playFromSearch(query, extras);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java109 * Enables query refinement for all suggestions. This means that an additional icon
111 * copied to the query text field.
122 * Returns the current query refinement preference.
123 * @return value of query refinement preference
140 * in a worker thread, so it's OK if the query is slow (e.g. round trip for suggestions).
146 String query = (constraint == null) ? "" : constraint.toString();
157 cursor = getSearchManagerSuggestions(mSearchable, query, QUERY_LIMIT);
165 Log.w(LOG_TAG, "Search suggestions query threw an exception.", e);
202 // Check if the Cursor indicates that the query is not complete and show the spinner
405 * Gets the text to show in the query fiel
712 getSearchManagerSuggestions(SearchableInfo searchable, String query, int limit) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContentProvider.java75 * <li>{@link #query} which returns data to the caller</li>
207 public Cursor query(String callingPkg, Uri uri, String[] projection, method in class:ContentProvider.Transport
216 // We do not call ContentProvider#query with a modified where clause since
225 // we have to execute the query as if allowed to get a cursor with the
227 Cursor cursor = ContentProvider.this.query(uri, projection, selection,
239 return ContentProvider.this.query(
849 * (via {@link #query}, {@link #insert}, etc). Deferred initialization
896 * Implement this to handle query requests from clients.
917 // If the query ends in a specific record number, we're
919 // WHERE clause in our query
950 public abstract @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, method in class:ContentProvider
1017 public @Nullable Cursor query(@NonNull Uri uri, @Nullable String[] projection, method in class:ContentProvider
[all...]
H A DContentResolver.java413 * such as *&#47;*, to query for all available MIME types that match the
469 public final @Nullable Cursor query(@RequiresPermission.Read @NonNull Uri uri, method in class:ContentResolver
472 return query(uri, projection, selection, selectionArgs, sortOrder, null);
505 * when the query is executed.
509 public final @Nullable Cursor query(final @RequiresPermission.Read @NonNull Uri uri, method in class:ContentResolver
530 qCursor = unstableProvider.query(mPackageName, uri, projection,
541 qCursor = stableProvider.query(mPackageName, uri, projection,
548 // Force query execution. Might fail and throw a runtime exception here.
586 * {@link #query}, {@link #openInputStream(android.net.Uri)}, etc. The
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java752 * query again when we move outside the bounds of the current window.
774 * @param table the name of the table to query
784 * @param table the name of the table to query
797 * @param table the name of the table to query
817 * @param table the name of the table to query
827 * Utility method to run the query on the db and return the value in the
830 public static long longForQuery(SQLiteDatabase db, String query, String[] selectionArgs) { argument
831 SQLiteStatement prog = db.compileStatement(query);
840 * Utility method to run the pre-compiled query and return the value in the
849 * Utility method to run the query o
852 stringForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
876 blobFileDescriptorForQuery(SQLiteDatabase db, String query, String[] selectionArgs) argument
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java665 * cursor when query is called, or null for default
686 * cursor when query is called, or null for default
825 * cursor when query is called
1006 * @param table The table name to compile the query against.
1027 * @param limit Limits the number of rows returned by the query,
1033 public Cursor query(boolean distinct, String table, String[] columns, method in class:SQLiteDatabase
1044 * @param table The table name to compile the query against.
1065 * @param limit Limits the number of rows returned by the query,
1069 * when the query is executed.
1074 public Cursor query(boolea method in class:SQLiteDatabase
1200 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
1238 public Cursor query(String table, String[] columns, String selection, method in class:SQLiteDatabase
2197 newCursor(SQLiteDatabase db, SQLiteCursorDriver masterQuery, String editTable, SQLiteQuery query) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUri.java108 <scheme>://<authority><path>?<query>
275 * Gets the decoded query component from this URI. The query comes after
276 * the query separator ('?') and before the fragment separator ('#'). This
280 * @return the decoded query or null if there isn't one
285 * Gets the encoded query component from this URI. The query comes after
286 * the query separator ('?') and before the fragment separator ('#'). This
290 * @return the encoded query or null if there isn't one
395 // the data we include -- only the ssp, not the query param
638 private Part query; field in class:Uri.StringUri
1146 private final Part query; field in class:Uri.HierarchicalUri
1149 HierarchicalUri(String scheme, Part authority, PathPart path, Part query, Part fragment) argument
1328 private Part query; field in class:Uri.Builder
1436 query(Part query) argument
1447 query(String query) argument
1454 encodedQuery(String query) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java77 // content://com.example/root/sdcard/search/?query=pony
622 * choose to retry, resulting in a new query.
659 private static final String PARAM_QUERY = "query";
830 String authority, String rootId, String query) {
833 .appendQueryParameter(PARAM_QUERY, query).build();
932 * Extract the search query from a URI built by
1097 throw new RemoteException("Failed to get a reponse from isChildDocument query.");
829 buildSearchDocumentsUri( String authority, String rootId, String query) argument
H A DMediaStore.java121 * on a search query</a> in <a href="{@docRoot}guide/components/intents-common.html">Common
469 * work with multiple media file types in a single query.
653 c = cr.query(cancelUri, PROJECTION, null, null, null);
702 c = cr.query(baseUri, PROJECTION, column + origId, null, null);
716 c = cr.query(blockingUri, PROJECTION, null, null, null);
750 c = cr.query(uri, PROJECTION, null, null, null);
846 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Media
847 return cr.query(uri, projection, null, null, DEFAULT_SORT_ORDER);
850 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
852 return cr.query(ur
856 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection, method in class:MediaStore.Images.Media
1049 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Images.Thumbnails
1969 public static final Cursor query(ContentResolver cr, Uri uri, String[] projection) { method in class:MediaStore.Video
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp299 // includes the query itself.
300 const char *query = env->GetStringUTFChars(sqlString, NULL); local
301 char *message = (char*) malloc(strlen(query) + 50);
304 strcat(message, query);
306 env->ReleaseStringUTFChars(sqlString, query);
444 "Queries can be performed using SQLiteDatabase query or rawQuery methods only.");
/frameworks/base/media/java/android/media/session/
H A DMediaController.java634 * Request that the player prepare playback for a specific search query. An empty or null
635 * query should be treated as a request to prepare any music. In other words, other sessions
642 * @param query The search query.
644 * about the query.
646 public void prepareFromSearch(String query, Bundle extras) { argument
647 if (query == null) {
650 query = "";
653 mSessionBinder.prepareFromSearch(query, extras);
655 Log.wtf(TAG, "Error calling prepare(" + query
722 playFromSearch(String query, Bundle extras) argument
[all...]
H A DMediaSession.java539 private void dispatchPrepareFromSearch(String query, Bundle extras) { argument
540 postToCallback(CallbackMessageHandler.MSG_PREPARE_SEARCH, query, extras);
555 private void dispatchPlayFromSearch(String query, Bundle extras) { argument
556 postToCallback(CallbackMessageHandler.MSG_PLAY_SEARCH, query, extras);
854 * Override to handle requests to prepare playback from a search query. An empty query
862 public void onPrepareFromSearch(String query, Bundle extras) { argument
884 * Override to handle requests to begin playback from a search query. An
885 * empty query indicates that the app may play any music. The
889 public void onPlayFromSearch(String query, Bundl argument
1026 onPrepareFromSearch(String query, Bundle extras) argument
1058 onPlayFromSearch(String query, Bundle extras) argument
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java130 public boolean onQueryTextSubmit(String query) { argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java120 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:ContextFixture.FakeContentProvider
122 //assuming query will always be of the form 'name = ?'
123 logd("query called, mNumKeyValuePairs: " + mNumKeyValuePairs + " uri: " + uri);
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java605 * Request that the player prepare playback for a specific search query.
606 * An empty or null query should be treated as a request to prepare any
614 * @param query The search query.
616 * about the query.
618 public abstract void prepareFromSearch(String query, Bundle extras); argument
650 * Request that the player start playback for a specific search query.
651 * An empty or null query should be treated as a request to play any
654 * @param query The search query
658 playFromSearch(String query, Bundle extras) argument
1088 prepareFromSearch(String query, Bundle extras) argument
1124 playFromSearch(String query, Bundle extras) argument
1382 prepareFromSearch(String query, Bundle extras) argument
1450 playFromSearch(String query, Bundle extras) argument
1552 prepareFromSearch(String query, Bundle extras) argument
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java859 * Controls whether this query includes downloads not visible in the system's Downloads UI.
860 * @param value if true, this query will only include downloads that should be displayed in
861 * the system's Downloads UI; if false (the default), this query will include
898 * Run this query using the given ContentResolver.
899 * @param projection the projection to pass to ContentResolver.query()
900 * @return the Cursor returned by ContentResolver.query()
947 return resolver.query(uri, projection, selection, selectionArgs, orderBy);
1050 * @param query parameters specifying filters for this query
1054 public Cursor query(Quer argument
[all...]
/frameworks/base/core/java/android/widget/
H A DSearchView.java71 * A widget that provides a user interface for the user to enter a search query and submit a request
72 * to a search provider. Shows a list of query suggestions or results, if available, and allows the
196 * Callbacks for changes to the query text.
201 * Called when the user submits the query. This could be due to a key press on the
207 * @param query the query text that is to be submitted
209 * @return true if the query has been handled by the listener, false to let the
212 boolean onQueryTextSubmit(String query); argument
215 * Called when the query text is changed by the user.
217 * @param newText the new content of the query tex
572 setQuery(CharSequence query, boolean submit) argument
1593 setQuery(CharSequence query) argument
1599 launchQuerySearch(int actionKey, String actionMsg, String query) argument
1620 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument
[all...]

Completed in 586 milliseconds

12345