Home
last modified time | relevance | path

Searched refs:mQuery (Results 1 – 18 of 18) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java83 String mQuery; field in SearchFragment
137 mQuery = savedInstanceState.getString(STATE_QUERY); in onCreate()
172 mSearchView.setQuery(mQuery, false /* submitQuery */); in onCreateView()
211 outState.putString(STATE_QUERY, mQuery); in onSaveInstanceState()
218 if (TextUtils.equals(query, mQuery)) { in onQueryTextChange()
225 if (mQuery != null in onQueryTextChange()
227 && query.length() < mQuery.length()) { in onQueryTextChange()
232 mQuery = query; in onQueryTextChange()
256 mSavedQueryController.saveQuery(mQuery); in onQueryTextSubmit()
267 return mSearchFeatureProvider.getSearchResultLoader(activity, mQuery); in onCreateLoader()
[all …]
DSearchResultLoader.java15 private final String mQuery; field in SearchResultLoader
19 mQuery = query; in SearchResultLoader()
25 return aggregator.fetchResults(getContext(), mQuery); in loadInBackground()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DAllAppsSearchBarController.java47 protected String mQuery; field in AllAppsSearchBarController
83 mQuery = s.toString(); in afterTextChanged()
84 if (mQuery.isEmpty()) { in afterTextChanged()
89 mSearchAlgorithm.doSearch(mQuery, mCb); in afterTextChanged()
94 if (TextUtils.isEmpty(mQuery)) { in refreshSearchResult()
99 mSearchAlgorithm.doSearch(mQuery, mCb); in refreshSearchResult()
143 mQuery = null; in reset()
/packages/apps/DeskClock/src/com/android/deskclock/actionbarmenu/
DSearchMenuItemController.java48 private String mQuery = ""; field in SearchMenuItemController
59 mQuery = savedState.getString(KEY_SEARCH_QUERY, ""); in SearchMenuItemController()
64 outState.putString(KEY_SEARCH_QUERY, mQuery); in saveInstance()
78 searchView.setQuery(mQuery, false); in onCreateOptionsItem()
104 return mQuery; in getQueryText()
108 mQuery = query; in setQueryText()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestions.java32 protected final String mQuery; field in Suggestions
49 mQuery = query; in Suggestions()
98 if (!mQuery.equals(result.getUserQuery())) { in addResults()
100 + mQuery + " != " + result.getUserQuery()); in addResults()
161 return mQuery; in getQuery()
DQueryTask.java34 private final String mQuery; field in QueryTask
52 mQuery = query; in QueryTask()
66 final C cursor = mProvider.getSuggestions(mQuery, mQueryLimit); in run()
73 return mProvider + "[" + mQuery + "]"; in toString()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java224 if (request.mQuery != null) { in getNextRequest()
245 GetCapabilitiesTask mQuery; field in CapabilitiesCache.Request
255 mQuery = mBackend.getCapabilities(mPrinter.path, mTimeout, mHighPriority, this); in start()
259 if (mQuery != null) { in cancel()
260 mQuery.forceCancel(); in cancel()
261 mQuery = null; in cancel()
291 mQuery = null; in accept()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DDatabaseResultTask.java126 if (mQuery == null || mQuery.isEmpty()) { in query()
131 mContext, mQuery); in query()
174 final String query = mQuery + "%"; in firstWordQuery()
190 final String query = "% " + mQuery + "%"; in secondaryWordQuery()
295 final String query = mQuery + "%"; in buildAnyWordSelection()
296 final String subStringQuery = "% " + mQuery + "%"; in buildAnyWordSelection()
DSearchQueryTask.java47 protected final String mQuery; field in SearchQueryTask.QueryWorker
52 mQuery = query; in QueryWorker()
DInputDeviceResultTask.java107 final int wordDiff = SearchQueryUtils.getWordDifference(deviceName, mQuery); in buildPhysicalKeyboardSearchResults()
132 int wordDiff = SearchQueryUtils.getWordDifference(title, mQuery); in buildVirtualKeyboardSearchResults()
134 wordDiff = SearchQueryUtils.getWordDifference(summary, mQuery); in buildVirtualKeyboardSearchResults()
DAccessibilityServiceResultTask.java83 final int wordDiff = SearchQueryUtils.getWordDifference(title.toString(), mQuery); in query()
DInstalledAppResultTask.java83 final int wordDiff = SearchQueryUtils.getWordDifference(label.toString(), mQuery); in query()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/
DSavedQueryRecorder.java40 private final String mQuery; field in SavedQueryRecorder
44 mQuery = query; in SavedQueryRecorder()
57 values.put(IndexDatabaseHelper.SavedQueriesColumns.QUERY, mQuery); in loadInBackground()
70 new String[]{mQuery}); in loadInBackground()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DObservableAsyncQuery.java138 private ObservableAsyncQuery mQuery; field in ObservableAsyncQuery.AsyncQueryHandlerImpl
142 mQuery = query; in AsyncQueryHandlerImpl()
147 if (token == mQuery.mToken) { in onQueryComplete()
149 mQuery.onQueryComplete(token, cookie, cursor); in onQueryComplete()
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java222 private String mQuery; field in SourceLatency.LiveSourceCheck
230 mQuery = query; in LiveSourceCheck()
237 cursor = getSuggestions(mSearchable, mQuery); in run()
242 + " for '" + mQuery + "'"); in run()
245 + " for '" + mQuery + "'"); in run()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DSearchedMediaItems.java38 private final String mQuery; field in SearchedMediaItems
58 mQuery = query; in SearchedMediaItems()
64 mBrowser.search(mQuery, null, mCallback); in onActive()
/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java200 private final String mQuery;
203 mQuery = query;
209 mQuery, SEARCH_RESULT_MAX, TvProviderSearch.ACTION_TYPE_AMBIGUOUS);
221 + mQuery
/packages/services/Telephony/tests/src/com/android/phone/
DLocationAccessPolicyTest.java57 private LocationAccessPolicy.LocationPermissionQuery mQuery; field in LocationAccessPolicyTest.Scenario.Builder
95 mQuery = query; in setQuery()
112 mFineAppOp, mCoarseAppOp, mIsDynamicLocationEnabled, mQuery, in build()