Home
last modified time | relevance | path

Searched refs:suggestions (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/text/src/android/text/style/cts/
DSuggestionSpanTest.java54 final String[] suggestions = new String[] {"suggestion1", "suggestion2"}; in testConstructorWithContext() local
61 final SuggestionSpan span = new SuggestionSpan(context, suggestions, in testConstructorWithContext()
65 assertArrayEquals(suggestions, span.getSuggestions()); in testConstructorWithContext()
71 final String[] suggestions = new String[]{"suggestion1", "suggestion2"}; in testGetSuggestionSpans() local
72 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans()
75 suggestions, span.getSuggestions()); in testGetSuggestionSpans()
79 suggestions, clonedSpan.getSuggestions()); in testGetSuggestionSpans()
84 final String[] suggestions = new String[0]; in testGetSuggestionSpans_emptySuggestions() local
85 final SuggestionSpan span = new SuggestionSpan(Locale.forLanguageTag("en"), suggestions, in testGetSuggestionSpans_emptySuggestions()
88 suggestions, span.getSuggestions()); in testGetSuggestionSpans_emptySuggestions()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DEphemeralActivity.java42 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
44 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/
DEphemeralActivity.java41 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
43 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/
DNormalActivity.java44 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, in onCreate() local
46 suggestions.saveRecentQuery(query, null); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewTest.java436 List<String> suggestions = new ArrayList<>(ImmutableList.of("testOne", "testTwo")); in refreshAutoCompleteResults_addItem() local
438 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_addItem()
467 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_removeItem() local
470 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_removeItem()
497 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_threshold_changeText() local
500 mActivity, android.R.layout.simple_dropdown_item_1line, suggestions); in refreshAutoCompleteResults_threshold_changeText()
534 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_changeThreshold() local
537 suggestions); in refreshAutoCompleteResults_changeThreshold()
570 List<String> suggestions = new ArrayList<>( in refreshAutoCompleteResults_dropDownAlwaysVisible() local
573 suggestions); in refreshAutoCompleteResults_dropDownAlwaysVisible()
[all …]
/cts/tests/inputmethod/mockspellchecker/src/com/android/cts/mockspellchecker/
Dmockspellchecker.proto24 // If the string matches 'match', SuggestionsInfo with attributes and suggestions are appended.
28 repeated string suggestions = 3; field
DMockSpellChecker.kt115 val suggestions = if (prefix != null) { in suggestionsInfo() constant
120 return SuggestionsInfo(attrs, suggestions, cookie, sequence) in suggestionsInfo()
/cts/tests/framework/base/suggestions/src/android/service/settings/suggestions/
DSuggestionTest.java17 package android.service.settings.suggestions;
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DSpellCheckerTest.kt439 val suggestions: Array<SentenceSuggestionsInfo>? = in <lambda>() constant
441 assertThat(suggestions).isNotNull() in <lambda>()
442 assertThat(suggestions!!.size).isEqualTo(0) in <lambda>()
/cts/hostsidetests/sustainedperf/dhrystone/
DRationale58 know some suggestions for improvement, I didn't want to change the