Home
last modified time | relevance | path

Searched refs:searchView (Results 1 – 24 of 24) sorted by relevance

/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderCursorSupport.java105 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()
DLoaderRetainedSupport.java107 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()
DLoaderCustomSupport.java444 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/
DWordActivity.java74 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()
DSearchableDictionary.java137 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/
DMainActivity.java85 SearchView searchView = in onCreateOptionsMenu() local
87 searchView.setSearchableInfo( in onCreateOptionsMenu()
/development/samples/Support7Demos/src/com/example/android/supportv7/app/
DToolbarUsage.java52 final SearchView searchView = (SearchView) MenuItemCompat in onCreateOptionsMenu() local
56 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
DActionBarUsage.java53 SearchView searchView = (SearchView) MenuItemCompat in onCreateOptionsMenu() local
55 searchView.setOnQueryTextListener(mOnQueryTextListener); in onCreateOptionsMenu()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DActionBarUsage.java52 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/
DWindowFocusObserver.java62 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
63 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DVideoPlayerActivity.java211 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
212 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DContentBrowserActivity.java187 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
188 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DContentBrowserNavActivity.java189 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
190 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
DSystemUIModes.java278 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
279 searchView.setOnQueryTextListener(this); in onCreateOptionsMenu()
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/
DContactsListFragment.java334 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()
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...