Searched refs:mSearchView (Results 1 – 8 of 8) sorted by relevance
56 private SearchView mSearchView; field in SearchViewTest66 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()97 mSearchView.setIconified(true); in testAccessIconified()98 assertTrue(mSearchView.isIconified()); in testAccessIconified()100 mSearchView.setIconified(false); in testAccessIconified()101 assertFalse(mSearchView.isIconified()); in testAccessIconified()107 mSearchView.setIconifiedByDefault(true); in testAccessIconifiedByDefault()108 assertTrue(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()110 mSearchView.setIconifiedByDefault(false); in testAccessIconifiedByDefault()111 assertFalse(mSearchView.isIconfiedByDefault()); in testAccessIconifiedByDefault()[all …]
61 private SearchView mSearchView; field in SearchView_CursorTest96 final View searchSrcText = mSearchView.findViewById(R.id.search_src_text); in enoughToFilter()115 mSearchView.setQuery(cursor.getString(1), false); in onSuggestionClick()131 mSearchView = (SearchView) mActivity.findViewById(R.id.search_view); in setup()146 mSearchView.setSuggestionsAdapter(mSuggestionsAdapter); in setup()156 mSearchView.setIconifiedByDefault(false); in testSuggestionFiltering()157 mSearchView.setOnQueryTextListener(mockQueryTextListener); in testSuggestionFiltering()158 mSearchView.requestFocus(); in testSuggestionFiltering()160 assertTrue(mSearchView.hasFocus()); in testSuggestionFiltering()161 assertEquals(mSuggestionsAdapter, mSearchView.getSuggestionsAdapter()); in testSuggestionFiltering()[all …]
55 private SearchView mSearchView = null; field in LocalePickerWithRegion190 if (mSearchView != null) { in onPause()191 mPreviousSearchHadFocus = mSearchView.hasFocus(); in onPause()192 mPreviousSearch = mSearchView.getQuery(); in onPause()235 mSearchView = (SearchView) searchMenuItem.getActionView(); in onCreateOptionsMenu()237 mSearchView.setQueryHint(getText(R.string.search_language_hint)); in onCreateOptionsMenu()238 mSearchView.setOnQueryTextListener(this); in onCreateOptionsMenu()243 mSearchView.setIconified(false); in onCreateOptionsMenu()244 mSearchView.setActivated(true); in onCreateOptionsMenu()246 mSearchView.requestFocus(); in onCreateOptionsMenu()[all …]
81 private SearchView mSearchView; field in SearchDialog168 mSearchView = findViewById(com.android.internal.R.id.search_view); in createContentView()169 mSearchView.setIconified(false); in createContentView()170 mSearchView.setOnCloseListener(mOnCloseListener); in createContentView()171 mSearchView.setOnQueryTextListener(mOnQueryChangeListener); in createContentView()172 mSearchView.setOnSuggestionListener(mOnSuggestionSelectionListener); in createContentView()173 mSearchView.onActionViewExpanded(); in createContentView()184 mBadgeLabel = (TextView) mSearchView.findViewById(com.android.internal.R.id.search_badge); in createContentView()186 mSearchView.findViewById(com.android.internal.R.id.search_src_text); in createContentView()188 mSearchPlate = mSearchView.findViewById(com.android.internal.R.id.search_plate); in createContentView()[all …]
68 private final SearchView mSearchView; field in SuggestionsAdapter105 mSearchView = searchView; in SuggestionsAdapter()187 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()188 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()372 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
1885 private SearchView mSearchView; field in SearchView.SearchAutoComplete1920 mSearchView = searchView; in setSearchView()1962 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()1979 mSearchView.onTextFocusChanged(); in onFocusChanged()2008 mSearchView.clearFocus(); in onKeyPreIme()
68 private final SearchView mSearchView; field in SuggestionsAdapter97 mSearchView = searchView; in SuggestionsAdapter()151 if (mSearchView.getVisibility() != View.VISIBLE in runQueryOnBackgroundThread()152 || mSearchView.getWindowVisibility() != View.VISIBLE) { in runQueryOnBackgroundThread()330 mSearchView.onQueryRefine((CharSequence) tag); in onClick()
1825 private SearchView mSearchView; field in SearchView.SearchAutoComplete1857 mSearchView = searchView; in setSearchView()1899 if (hasWindowFocus && mSearchView.hasFocus() && getVisibility() == VISIBLE) { in onWindowFocusChanged()1916 mSearchView.onTextFocusChanged(); in onFocusChanged()1945 mSearchView.clearFocus(); in onKeyPreIme()