Home
last modified time | relevance | path

Searched refs:queryString (Results 1 – 11 of 11) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java166 final String queryString = "query"; in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent() local
168 intent.putExtra(Intent.EXTRA_CONTENT_QUERY, queryString); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
176 final String queryString = "query"; in testParseQueryContent_queryContentIsMatched() local
178 intent.putExtra(Intent.EXTRA_CONTENT_QUERY, queryString); in testParseQueryContent_queryContentIsMatched()
181 assertEquals(queryString, mSearchViewManager.getQueryContentFromIntent()); in testParseQueryContent_queryContentIsMatched()
334 final String queryString = queryArgs.getString(DocumentsContract.QUERY_ARG_DISPLAY_NAME); in testBuildQueryArgs_hasSearchString() local
335 assertEquals(query, queryString); in testBuildQueryArgs_hasSearchString()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java143 final String queryString = intent.getStringExtra(Intent.EXTRA_CONTENT_QUERY); in parseQueryContentFromIntent() local
144 if (!TextUtils.isEmpty(queryString)) { in parseQueryContentFromIntent()
145 mQueryContentFromIntent = queryString; in parseQueryContentFromIntent()
574 public void setCurrentSearch(String queryString) {
575 mCurrentSearch = queryString;
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java288 public void setQueryString(String queryString, boolean delaySelection) { in setQueryString() argument
290 super.setQueryString(queryString, delaySelection); in setQueryString()
533 String queryString = getQueryString(); in selectFirstFoundContactAfterDelay() local
534 if (queryString != null in selectFirstFoundContactAfterDelay()
535 && queryString.length() >= AUTOSELECT_FIRST_FOUND_CONTACT_MIN_QUERY_LENGTH) { in selectFirstFoundContactAfterDelay()
DJoinContactListFragment.java190 public void setQueryString(String queryString, boolean delaySelection) { in setQueryString() argument
191 super.setQueryString(queryString, delaySelection); in setQueryString()
193 setSearchMode(!TextUtils.isEmpty(queryString)); in setQueryString()
DContactEntryListFragment.java673 public void setQueryString(String queryString, boolean delaySelection) {
674 if (!TextUtils.equals(mQueryString, queryString)) {
679 } else if (TextUtils.isEmpty(queryString)) {
685 mQueryString = queryString;
689 mAdapter.setQueryString(queryString);
DContactEntryListAdapter.java255 public void setQueryString(String queryString) { in setQueryString() argument
256 mQueryString = queryString; in setQueryString()
257 if (TextUtils.isEmpty(queryString)) { in setQueryString()
261 .cleanStartAndEndOfSearchQuery(queryString.toUpperCase()) ; in setQueryString()
DDefaultContactBrowseListFragment.java198 final String queryString = mActionBarAdapter.getQueryString();
199 setQueryTextToFragment(queryString);
201 ENABLE_DEBUG_OPTIONS_HIDDEN_CODE.equals(queryString));
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java222 public void onTextChanged(CharSequence queryString, int start, int before, int count) { in onTextChanged() argument
223 if (queryString.equals(mQueryString)) { in onTextChanged()
226 mQueryString = queryString.toString(); in onTextChanged()
228 if (!TextUtils.isEmpty(queryString)) { in onTextChanged()
235 TextUtils.isEmpty(queryString) ? View.GONE : View.VISIBLE); in onTextChanged()
DContactSelectionActivity.java439 final String queryString = mActionBarAdapter.getQueryString(); in onAction() local
440 mListFragment.setQueryString(queryString, /* delaySelection */ false); in onAction()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java332 final String queryString = query.toString(); in onSavedQueryClicked() local
334 mSearchView.setQuery(queryString, false /* submit */); in onSavedQueryClicked()
335 onQueryTextChange(queryString); in onSavedQueryClicked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java205 final String queryString = qb.buildQuery( in explainQueryPlan() local
212 explainQueryPlan(db, queryString, queryArgs); in explainQueryPlan()