/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | SearchView.java | 77 * A widget that provides a user interface for the user to enter a search query and submit a request 78 * to a search provider. Shows a list of query suggestions or results, if available, and allows the 198 * Callbacks for changes to the query text. 203 * Called when the user submits the query. This could be due to a key press on the 209 * @param query the query text that is to be submitted 211 * @return true if the query has been handled by the listener, false to let the 214 boolean onQueryTextSubmit(String query); argument 217 * Called when the query text is changed by the user. 219 * @param newText the new content of the query tex 573 setQuery(CharSequence query, boolean submit) argument 1387 setQuery(CharSequence query) argument 1393 launchQuerySearch(int actionKey, String actionMsg, String query) argument 1412 createIntent(String action, Uri data, String extraData, String query, int actionKey, String actionMsg) argument [all...] |
H A D | SuggestionsAdapter.java | 109 * 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/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | SearchFragment.java | 69 private static final String ARG_QUERY = ARG_PREFIX + ".query"; 83 * an ObjectAdapter that will contain the results to future updates of the search query.</p> 93 * <p>Method invoked when the search query is updated.</p> 95 * <p>This is called as soon as the query changes; it is up to the application to add a 101 * @param newQuery The current search query. 102 * @return whether the results changed as a result of the new query. 107 * Method invoked when the search query is submitted, either by dismissing the keyboard, 108 * pressing search or next on the keyboard or when voice has detected the end of the query. 110 * @param query The query entere 113 onQueryTextSubmit(String query) argument 222 createArgs(Bundle args, String query) argument 226 createArgs(Bundle args, String query, String title) argument 244 newInstance(String query) argument 541 setSearchQuery(String query, boolean submit) argument 603 submitQuery(String query) argument 690 setSearchQuery(String query) argument 698 ExternalQuery(String query, boolean submit) argument [all...] |
H A D | SearchSupportFragment.java | 71 private static final String ARG_QUERY = ARG_PREFIX + ".query"; 85 * an ObjectAdapter that will contain the results to future updates of the search query.</p> 95 * <p>Method invoked when the search query is updated.</p> 97 * <p>This is called as soon as the query changes; it is up to the application to add a 103 * @param newQuery The current search query. 104 * @return whether the results changed as a result of the new query. 109 * Method invoked when the search query is submitted, either by dismissing the keyboard, 110 * pressing search or next on the keyboard or when voice has detected the end of the query. 112 * @param query The query entere 115 onQueryTextSubmit(String query) argument 224 createArgs(Bundle args, String query) argument 228 createArgs(Bundle args, String query, String title) argument 246 newInstance(String query) argument 543 setSearchQuery(String query, boolean submit) argument 605 submitQuery(String query) argument 692 setSearchQuery(String query) argument 700 ExternalQuery(String query, boolean submit) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | SearchBar.java | 68 * Listener for search query changes 73 * Method invoked when the search bar detects a change in the query. 75 * @param query The current full query. 77 public void onSearchQueryChange(String query); argument 80 * <p>Method invoked when the search query is submitted.</p> 85 * @param query The query being submitted. 87 public void onSearchQuerySubmit(String query); argument 92 * @param query Th 94 onKeyboardDismiss(String query) argument 338 setSearchQuery(String query) argument 344 setSearchQueryInternal(String query) argument [all...] |
/frameworks/support/v4/api21/android/support/v4/media/session/ |
H A D | MediaControllerCompatApi21.java | 162 public static void playFromSearch(Object controlsObj, String query, Bundle extras) { argument 163 ((MediaController.TransportControls) controlsObj).playFromSearch(query, extras);
|
/frameworks/support/v4/honeycomb/android/support/v4/widget/ |
H A D | SearchViewCompatHoneycomb.java | 33 public boolean onQueryTextSubmit(String query); argument 55 public boolean onQueryTextSubmit(String query) { 56 return listener.onQueryTextSubmit(query); 87 public static void setQuery(View searchView, CharSequence query, boolean submit) { argument 88 ((SearchView) searchView).setQuery(query, submit);
|
/frameworks/support/v4/java/android/support/v4/content/ |
H A D | FileProvider.java | 390 * {@link ContentProvider#query(Uri, String[], String, String[], String) 391 * ContentProvider.query()}. 399 * the <i>selection</i> parameter. The <i>query</i> method scans <i>selection</i> from left to 405 * @return A {@link Cursor} containing the results of the query. 409 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, method in class:FileProvider
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 584 * Request that the player start playback for a specific search query. 585 * An empty or null query should be treated as a request to play any 588 * @param query The search query. 590 * about the query. 592 public abstract void playFromSearch(String query, Bundle extras); argument 1013 public void playFromSearch(String query, Bundle extras) { argument 1015 mBinder.playFromSearch(query, extras); 1301 public void playFromSearch(String query, Bundle extras) { argument 1302 MediaControllerCompatApi21.TransportControls.playFromSearch(mControlsObj, query, [all...] |
H A D | MediaSessionCompat.java | 498 * Override to handle requests to begin playback from a search query. An 499 * empty query indicates that the app may play any music. The 503 public void onPlayFromSearch(String query, Bundle extras) { argument 1577 public void playFromSearch(String query, Bundle extras) throws RemoteException { argument 1578 mHandler.post(MessageHandler.MSG_PLAY_SEARCH, query, extras);
|
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SearchViewCompat.java | 42 void setQuery(View searchView, CharSequence query, boolean submit); argument 96 public void setQuery(View searchView, CharSequence query, boolean submit) { argument 152 public boolean onQueryTextSubmit(String query) { 153 return listener.onQueryTextSubmit(query); 189 public void setQuery(View searchView, CharSequence query, boolean submit) { argument 190 SearchViewCompatHoneycomb.setQuery(searchView, query, submit); 294 * Sets the IME options on the query text field. This is a no-op if 300 * @param imeOptions the options to set on the query text field 307 * Sets the input type on the query text field. This is a no-op if 313 * @param inputType the input type to set on the query tex 352 onQueryTextSubmit(String query) argument 420 setQuery(View searchView, CharSequence query, boolean submit) argument [all...] |
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
H A D | SampleProvider.java | 61 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/android/provider/ |
H A D | Telephony.java | 297 * Return cursor for table query. 300 public static Cursor query(ContentResolver cr, String[] projection) { method in class:Telephony.Sms 301 return cr.query(CONTENT_URI, projection, null, null, DEFAULT_SORT_ORDER); 305 * Return cursor for table query. 308 public static Cursor query(ContentResolver cr, String[] projection, method in class:Telephony.Sms 310 return cr.query(CONTENT_URI, projection, where, 1824 Cursor cursor = SqliteWrapper.query(context, context.getContentResolver(), 1890 * Helper method to query this table. 1893 public static Cursor query( method in class:Telephony.Mms 1895 return cr.query(CONTENT_UR 1902 public static Cursor query( method in class:Telephony.Mms [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 89 public Cursor query(Uri url, String[] projection, String selection, method in class:IccProvider 91 if (DBG) log("query");
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
H A D | SqliteWrapper.java | 68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, method in class:SqliteWrapper 71 return resolver.query(uri, projection, selection, selectionArgs, sortOrder); 73 Log.e(TAG, "Catch a SQLiteException when query: ", e);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ExportTestProvider.java | 114 public Cursor query(Uri uri,String[] projection, method in class:ExportTestProvider
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 1046 * P2P_SERVICE_ADD bonjour <query hexdump> <RDATA hexdump> 1077 * P2P_SERVICE_DEL bonjour <query hexdump> 1106 public String p2pServDiscReq(String addr, String query) { argument 1109 command += (" " + query);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | DropdownChipLayouter.java | 49 public void setQuery(Query query) { argument 50 mQuery = query;
|
H A D | RecipientAlternatesAdapter.java | 96 Queries.Query query; 98 query = Queries.EMAIL; 100 query = Queries.PHONE; 125 c = context.getContentResolver().query( 126 query.getContentUri(), 127 query.getProjection(), 128 query.getProjection()[Queries.Query.DESTINATION] + " IN (" 141 addresses, account, matchesNotFound, query, callback); 157 Account account, Set<String> matchesNotFound, Queries.Query query, 166 directoryCursor = context.getContentResolver().query(DirectoryListQuer 155 getMatchingRecipientsFromDirectoryQueries(Context context, Map<String, RecipientEntry> recipientEntries, Set<String> addresses, Account account, Set<String> matchesNotFound, Queries.Query query, RecipientMatchCallback callback) argument 340 doQuery(CharSequence constraint, int limit, Long directoryId, Account account, ContentResolver resolver, Query query) argument [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 722 int BufferQueueProducer::query(int what, int *outValue) { function in class:android::BufferQueueProducer 727 BQ_LOGE("query: outValue was NULL"); 732 BQ_LOGE("query: BufferQueue has been abandoned"); 763 BQ_LOGV("query: %d? %d", what, value);
|
H A D | IGraphicBufferProducer.cpp | 195 virtual int query(int what, int* value) { function in class:android::BpGraphicBufferProducer 376 int res = query(what, &value);
|
H A D | Surface.cpp | 51 ANativeWindow::query = hook_query; member in class:android::ANativeWindow 165 return c->query(what, value); 342 int Surface::query(int what, int* value) const { function in class:android::Surface 344 ALOGV("Surface::query"); 381 err = mGraphicBufferProducer->query(what, value); 390 return mGraphicBufferProducer->query(what, value);
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 155 ANativeWindow::query = query; member in class:android::ANativeWindow 293 int FramebufferNativeWindow::query(const ANativeWindow* window, function in class:android::FramebufferNativeWindow
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 69 sink->query(NATIVE_WINDOW_WIDTH, &sinkWidth); 70 sink->query(NATIVE_WINDOW_HEIGHT, &sinkHeight); 79 sink->query(NATIVE_WINDOW_CONSUMER_USAGE_BITS, &sinkUsage); 82 sink->query(NATIVE_WINDOW_FORMAT, &sinkFormat); 484 int VirtualDisplaySurface::query(int what, int* value) { function in class:android::VirtualDisplaySurface 493 return mSource[SOURCE_SINK]->query(what, value);
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.cpp | 91 int MonitoredProducer::query(int what, int* value) { function in class:android::MonitoredProducer 92 return mProducer->query(what, value);
|