Lines Matching refs:query

42         void setQuery(View searchView, CharSequence query, boolean submit);
96 public void setQuery(View searchView, CharSequence query, boolean submit) {
152 public boolean onQueryTextSubmit(String query) {
153 return listener.onQueryTextSubmit(query);
189 public void setQuery(View searchView, CharSequence query, boolean submit) {
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 text field
324 * actions in the SearchView such as clicking on buttons or typing a query.
331 * Callbacks for changes to the query text.
341 * Called when the user submits the query. This could be due to a key press on the
347 * @param query the query text that is to be submitted
349 * @return true if the query has been handled by the listener, false to let the
352 public boolean onQueryTextSubmit(String query) {
357 * Called when the query text is changed by the user.
359 * @param newText the new content of the query text field.
380 * Callback for closing the query UI.
401 * Returns the query string currently in the text field.
405 * @return the query string
412 * Sets a query string in the text field and optionally submits the query as well.
415 * @param query the query string. This replaces any query text already present in the
417 * @param submit whether to submit the query right now or only update the contents of
420 public static void setQuery(View searchView, CharSequence query, boolean submit) {
421 IMPL.setQuery(searchView, query, submit);
425 * Sets the hint text to display in the query text field. This overrides any hint specified
436 * Iconifies or expands the SearchView. Any query text is cleared when iconified. This is
462 * Enables showing a submit button when the query is non-empty. In cases where the SearchView
485 * Specifies if a query refinement button should be displayed alongside each suggestion
487 * suggestions provider. Clicking on the query refinement button will replace the text
488 * in the query text field with the text from the suggestion. This flag only takes effect
493 * @param enable true if all items should have a query refinement button, false if only
494 * those items that have a query refinement flag set should have the button.
504 * Returns whether query refinement is enabled for all items or only specific ones.