Home
last modified time | relevance | path

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

/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DLoaderCursorSupport.java102 final SearchView searchView = new SearchView(getActivity()); in onCreateOptionsMenu() local
103 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
128 searchView.setOnCloseListener(new SearchView.OnCloseListener() { in onCreateOptionsMenu()
131 if (!TextUtils.isEmpty(searchView.getQuery())) { in onCreateOptionsMenu()
132 searchView.setQuery(null, true); in onCreateOptionsMenu()
137 item.setActionView(searchView); in onCreateOptionsMenu()
DLoaderCustomSupport.java441 final SearchView searchView = new SearchView(getActivity()); in onCreateOptionsMenu() local
442 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
458 searchView.setOnCloseListener(new SearchView.OnCloseListener() { in onCreateOptionsMenu()
461 if (!TextUtils.isEmpty(searchView.getQuery())) { in onCreateOptionsMenu()
462 searchView.setQuery(null, true); in onCreateOptionsMenu()
468 item.setActionView(searchView); in onCreateOptionsMenu()
DLoaderRetainedSupport.java105 SearchView searchView = new SearchView(getActivity()); in onCreateOptionsMenu() local
106 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
131 item.setActionView(searchView); in onCreateOptionsMenu()
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/
DToolbarUsage.java52 final SearchView searchView = in onCreateOptionsMenu() local
56 searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName())); in onCreateOptionsMenu()
DActionBarUsage.java54 SearchView searchView = (SearchView) menu.findItem(R.id.action_search).getActionView(); in onCreateOptionsMenu() local
55 searchView.setOnQueryTextListener(mOnQueryTextListener); in onCreateOptionsMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationTemplateViewWrapper.java263 View searchView = (View) view.getParent(); in isOnView() local
264 while (searchView != null && !(searchView instanceof ExpandableNotificationRow)) { in isOnView()
265 searchView.getHitRect(mTmpRect); in isOnView()
268 searchView = (View) searchView.getParent(); in isOnView()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
DR$id.classR.java package com.android.layoutlib.test.myapplication public final com.android. ...
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java99 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, in SuggestionsAdapter() argument
101 super(context, searchView.getSuggestionRowLayout(), null /* no initial cursor */, in SuggestionsAdapter()
105 mSearchView = searchView; in SuggestionsAdapter()
107 mCommitIconResId = searchView.getSuggestionCommitIconResId(); in SuggestionsAdapter()
DSearchView.java1919 void setSearchView(SearchView searchView) { in setSearchView() argument
1920 mSearchView = searchView; in setSearchView()
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
DSuggestionsAdapter.java93 public SuggestionsAdapter(Context context, SearchView searchView, SearchableInfo searchable, in SuggestionsAdapter() argument
95 super(context, searchView.getSuggestionRowLayout(), null /* no initial cursor */, in SuggestionsAdapter()
98 mSearchView = searchView; in SuggestionsAdapter()
100 mCommitIconResId = searchView.getSuggestionCommitIconResId(); in SuggestionsAdapter()
DSearchView.java1857 void setSearchView(SearchView searchView) { in setSearchView() argument
1858 mSearchView = searchView; in setSearchView()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java238 SearchView searchView = (SearchView) searchItem.getActionView(); in onCreateOptionsMenu() local
239 searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() { in onCreateOptionsMenu()
251 searchView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in onCreateOptionsMenu()