/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
D | LoaderCursorSupport.java | 105 final View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local 106 if (searchView != null) { in onCreateOptionsMenu() 107 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu() 128 SearchViewCompat.setOnCloseListener(searchView, in onCreateOptionsMenu() 132 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) { in onCreateOptionsMenu() 133 SearchViewCompat.setQuery(searchView, null, true); in onCreateOptionsMenu() 139 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
|
D | LoaderRetainedSupport.java | 107 View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local 108 if (searchView != null) { in onCreateOptionsMenu() 109 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu() 130 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
|
D | LoaderCustomSupport.java | 444 final View searchView = SearchViewCompat.newSearchView(getActivity()); in onCreateOptionsMenu() local 445 if (searchView != null) { in onCreateOptionsMenu() 446 SearchViewCompat.setOnQueryTextListener(searchView, in onCreateOptionsMenu() 457 SearchViewCompat.setOnCloseListener(searchView, in onCreateOptionsMenu() 461 if (!TextUtils.isEmpty(SearchViewCompat.getQuery(searchView))) { in onCreateOptionsMenu() 462 SearchViewCompat.setQuery(searchView, null, true); in onCreateOptionsMenu() 468 MenuItemCompat.setActionView(item, searchView); in onCreateOptionsMenu()
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | WordActivity.java | 74 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu() local 75 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu() 76 searchView.setIconifiedByDefault(false); in onCreateOptionsMenu()
|
D | SearchableDictionary.java | 137 SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView(); in onCreateOptionsMenu() local 138 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu() 139 searchView.setIconifiedByDefault(false); in onCreateOptionsMenu()
|
/development/samples/browseable/BasicContactables/src/com.example.android.basiccontactables/ |
D | MainActivity.java | 85 SearchView searchView = in onCreateOptionsMenu() local 87 searchView.setSearchableInfo( in onCreateOptionsMenu()
|
/development/samples/Support7Demos/src/com/example/android/supportv7/app/ |
D | ToolbarUsage.java | 52 final SearchView searchView = (SearchView) MenuItemCompat in onCreateOptionsMenu() local 56 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
|
D | ActionBarUsage.java | 53 SearchView searchView = (SearchView) MenuItemCompat in onCreateOptionsMenu() local 55 searchView.setOnQueryTextListener(mOnQueryTextListener); in onCreateOptionsMenu()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | ActionBarUsage.java | 52 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 53 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | WindowFocusObserver.java | 62 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 63 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
D | VideoPlayerActivity.java | 211 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 212 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
D | ContentBrowserActivity.java | 187 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 188 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
D | ContentBrowserNavActivity.java | 189 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 190 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
D | SystemUIModes.java | 278 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local 279 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactsListFragment.java | 334 final SearchView searchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu() local 337 searchView.setSearchableInfo( in onCreateOptionsMenu() 341 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu() 416 searchView.setQuery(savedSearchTerm, false); in onCreateOptionsMenu()
|