Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/
DSearchViewManagerTest.java175 final String queryString = "query"; in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent() local
177 intent.putExtra(Intent.EXTRA_CONTENT_QUERY, queryString); in testParseQueryContent_ActionIsNotMatched_NotParseQueryContent()
185 final String queryString = "query"; in testParseQueryContent_queryContentIsMatched() local
187 intent.putExtra(Intent.EXTRA_CONTENT_QUERY, queryString); in testParseQueryContent_queryContentIsMatched()
190 assertEquals(queryString, mSearchViewManager.getQueryContentFromIntent()); in testParseQueryContent_queryContentIsMatched()
350 final String queryString = queryArgs.getString(DocumentsContract.QUERY_ARG_DISPLAY_NAME); in testBuildQueryArgs_hasSearchString() local
351 assertEquals(query, queryString); in testBuildQueryArgs_hasSearchString()
361 final String queryString = in testBuildQueryArgs_emptySearchString_expandedSearchWithChips_hasEmptyButNotMissingSearchString() local
364 assertEquals("", queryString); in testBuildQueryArgs_emptySearchString_expandedSearchWithChips_hasEmptyButNotMissingSearchString()
/packages/apps/Contacts/src/com/android/contacts/list/
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()
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()
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.java201 final String queryString = mActionBarAdapter.getQueryString();
202 setQueryTextToFragment(queryString);
204 ENABLE_DEBUG_OPTIONS_HIDDEN_CODE.equals(queryString));
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java146 final String queryString = intent.getStringExtra(Intent.EXTRA_CONTENT_QUERY); in parseQueryContentFromIntent() local
147 if (!TextUtils.isEmpty(queryString)) { in parseQueryContentFromIntent()
148 mQueryContentFromIntent = queryString; in parseQueryContentFromIntent()
648 public void setCurrentSearch(String queryString) {
649 mCurrentSearch = 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.java441 final String queryString = mActionBarAdapter.getQueryString(); in onAction() local
442 mListFragment.setQueryString(queryString, /* delaySelection */ false); in onAction()
/packages/apps/Car/SettingsIntelligence/src/com/android/settings/intelligence/search/car/
DCarSearchFragment.java203 String queryString = query.toString(); in onSavedQueryClicked() local
204 mToolbar.setSearchQuery(queryString); in onSavedQueryClicked()
205 onQueryTextChange(queryString); in onSavedQueryClicked()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchFragment.java322 final String queryString = query.toString(); in onSavedQueryClicked() local
324 mSearchView.setQuery(queryString, false /* submit */); in onSavedQueryClicked()
325 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()