/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/queries/ |
D | SearchViewManagerTest.java | 166 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/ |
D | SearchViewManager.java | 143 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/ |
D | ContactBrowseListFragment.java | 288 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()
|
D | JoinContactListFragment.java | 190 public void setQueryString(String queryString, boolean delaySelection) { in setQueryString() argument 191 super.setQueryString(queryString, delaySelection); in setQueryString() 193 setSearchMode(!TextUtils.isEmpty(queryString)); in setQueryString()
|
D | ContactEntryListFragment.java | 673 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);
|
D | ContactEntryListAdapter.java | 255 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()
|
D | DefaultContactBrowseListFragment.java | 198 final String queryString = mActionBarAdapter.getQueryString(); 199 setQueryTextToFragment(queryString); 201 ENABLE_DEBUG_OPTIONS_HIDDEN_CODE.equals(queryString));
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 222 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()
|
D | ContactSelectionActivity.java | 439 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/ |
D | SearchFragment.java | 332 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/ |
D | DatabaseWrapper.java | 205 final String queryString = qb.buildQuery( in explainQueryPlan() local 212 explainQueryPlan(db, queryString, queryArgs); in explainQueryPlan()
|