/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
EphemeralActivity.java | 42 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 44 suggestions.saveRecentQuery(query, null);
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp2/src/com/android/cts/ephemeralapp2/ |
EphemeralActivity.java | 41 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 43 suggestions.saveRecentQuery(query, null);
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
NormalActivity.java | 44 final SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 46 suggestions.saveRecentQuery(query, null);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/app/ |
SearchActivity.java | 27 * to our SearchRecentSuggestions so that SearchView's can display suggestions. 39 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 41 suggestions.saveRecentQuery(query, null);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
SuggestionCategory.java | 17 package com.android.settingslib.suggestions;
|
SuggestionList.java | 17 package com.android.settingslib.suggestions; 34 // A flatten list of all suggestions. 41 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) { 42 mSuggestions.put(category, suggestions); 50 for (List<Tile> suggestions : mSuggestions.values()) { 51 mSuggestionList.addAll(suggestions); 71 * Filter suggestions list so they are all unique. 73 private void dedupeSuggestions(List<Tile> suggestions) { 75 for (int i = suggestions.size() - 1; i >= 0; i--) { 76 final Tile suggestion = suggestions.get(i) [all...] |
SuggestionLoader.java | 17 package com.android.settingslib.suggestions; 20 import android.service.settings.suggestions.Suggestion;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripViewAccessor.java | 17 package com.android.inputmethod.latin.suggestions;
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/ |
SuggestionListBuilder.java | 17 package com.android.settings.intelligence.suggestions.model; 19 import android.service.settings.suggestions.Suggestion; 37 public void addSuggestions(SuggestionCategory category, List<Suggestion> suggestions) { 41 mSuggestions.put(category, suggestions); 50 * Filter suggestions list so they are all unique. 54 final List<Suggestion> suggestions = new ArrayList<>(); local 56 suggestions.addAll(suggestionsInCategory); 58 for (int i = suggestions.size() - 1; i >= 0; i--) { 59 final Suggestion suggestion = suggestions.get(i); 62 suggestions.remove(i) [all...] |
SuggestionCategoryRegistry.java | 17 package com.android.settings.intelligence.suggestions.model;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
SuggestionFeatureProviderImplTest.java | 17 package com.android.settings.dashboard.suggestions; 34 import android.service.settings.suggestions.Suggestion; 45 import com.android.settingslib.suggestions.SuggestionControllerMixin; 151 final List<Tile> suggestions = new ArrayList<>(); local 152 suggestions.add(new Tile()); 153 suggestions.add(new Tile()); 154 suggestions.add(new Tile()); 155 suggestions.add(new Tile()); 156 suggestions.add(new Tile()); 157 suggestions.add(new Tile()) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
SearchQueryResults.java | 97 // Record the query string in the recent queries suggestions provider. 98 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 100 suggestions.saveRecentQuery(queryString, null);
|
SearchInvoke.java | 223 * Any application that implements search suggestions based on previous actions (such as 226 * searches to be replayed by other users of the device (via suggestions). 229 * android.provider.SearchRecentSuggestions. If you have developed a custom suggestions 236 SearchRecentSuggestions suggestions = new SearchRecentSuggestions(this, local 238 suggestions.clearHistory();
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionsProviderImpl.java | 28 * Suggestions provider implementation. 61 public Suggestions getSuggestions(String query, Source sourceToQuery) { 63 final Suggestions suggestions = new Suggestions(query, sourceToQuery); local 68 receiver = new SuggestionCursorReceiver(suggestions); 71 suggestions.done(); 78 return suggestions; 93 private final Suggestions mSuggestions; 95 public SuggestionCursorReceiver(Suggestions suggestions) [all...] |
/frameworks/base/core/java/android/service/settings/suggestions/ |
SuggestionService.java | 17 package android.service.settings.suggestions; 69 * Return all available suggestions.
|
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/ |
MockSuggestionService.java | 17 package android.service.settings.suggestions;
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/ |
ShadowSuggestionController.java | 17 package com.android.settingslib.suggestions; 19 import android.service.settings.suggestions.Suggestion; 52 public static void setSuggestion(List<Suggestion> suggestions) { 53 sSuggestions = suggestions;
|
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/ |
SettingsSuggestionsLoader.java | 17 package com.android.car.settings.suggestions; 20 import android.service.settings.suggestions.Suggestion; 24 import com.android.settingslib.suggestions.SuggestionController; 29 * Loads suggestions for car settings. Taken from 30 * {@link com.android.settingslib.suggestions.SuggestionLoader}, only change is to extend from car 37 * ID used for loader that loads the settings suggestions. ID value is an arbitrary value.
|
/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
SuggestionFeatureProvider.java | 17 package com.android.settings.dashboard.suggestions; 22 import android.service.settings.suggestions.Suggestion; 27 import com.android.settingslib.suggestions.SuggestionControllerMixin; 31 /** Interface should be implemented if you have added new suggestions */ 53 * Returns the {@link SharedPreferences} that holds metadata for suggestions. 58 * Only keep top few suggestions from exclusive suggestions. 60 void filterExclusiveSuggestions(List<Tile> suggestions);
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
AccountEligibilityChecker.java | 17 package com.android.settings.intelligence.suggestions.eligibility;
|
AutomotiveEligibilityChecker.java | 1 package com.android.settings.intelligence.suggestions.eligibility;
|
ConnectivityEligibilityChecker.java | 17 package com.android.settings.intelligence.suggestions.eligibility;
|
FeatureEligibilityChecker.java | 17 package com.android.settings.intelligence.suggestions.eligibility;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/ |
AndroidSpellCheckerServiceTest.java | 37 final String[] suggestions = span.getSuggestions(); local 38 // For this test we consider "tgis" should yield at least 2 suggestions (at this moment 40 assertTrue(suggestions.length >= 2); 42 assertEquals("Test basic spell checking", "this", suggestions[0]); 71 final String[] suggestions = span.getSuggestions(); local 74 suggestions[0]);
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ |
SuggestionParser.java | 17 package com.android.settings.intelligence.suggestions; 19 import static com.android.settings.intelligence.suggestions.model.SuggestionCategoryRegistry 27 import android.service.settings.suggestions.Suggestion; 34 import com.android.settings.intelligence.suggestions.eligibility.CandidateSuggestionFilter; 35 import com.android.settings.intelligence.suggestions.model.CandidateSuggestion; 36 import com.android.settings.intelligence.suggestions.model.SuggestionCategory; 37 import com.android.settings.intelligence.suggestions.model.SuggestionListBuilder; 44 * Main parser to get suggestions from all providers. 72 // If suggestions from an exclusive category are present, parsing is stopped 73 // and only suggestions from that category are displayed. Note that subsequen 87 final List<Suggestion> suggestions = local 97 final List<Suggestion> suggestions = new ArrayList<>(); local [all...] |