Lines Matching refs:listener
31 Object newOnQueryTextListener(OnQueryTextListenerCompat listener);
32 void setOnQueryTextListener(Object searchView, Object listener);
43 public Object newOnQueryTextListener(OnQueryTextListenerCompat listener) {
48 public void setOnQueryTextListener(Object searchView, Object listener) {
61 public Object newOnQueryTextListener(final OnQueryTextListenerCompat listener) {
66 return listener.onQueryTextSubmit(query);
70 return listener.onQueryTextChange(newText);
76 public void setOnQueryTextListener(Object searchView, Object listener) {
77 SearchViewCompatHoneycomb.setOnQueryTextListener(searchView, listener);
107 * Sets a listener for user actions within the SearchView.
109 * @param searchView The SearchView in which to register the listener.
110 * @param listener the listener object that receives callbacks when the user performs
113 public static void setOnQueryTextListener(View searchView, OnQueryTextListenerCompat listener) {
114 IMPL.setOnQueryTextListener(searchView, listener.mListener);
130 * The listener can override the standard behavior by returning true
136 * @return true if the query has been handled by the listener, false to let the
149 * suggestions if available, true if the action was handled by the listener.