/packages/apps/Settings/src/com/android/settings/dashboard/suggestions/ |
SuggestionLogHelper.java | 16 package com.android.settings.dashboard.suggestions;
|
WallpaperManagerWrapper.java | 17 package com.android.settings.dashboard.suggestions;
|
SuggestionRanker.java | 16 package com.android.settings.dashboard.suggestions; 62 public void rankSuggestions(final List<Tile> suggestions, List<String> suggestionIds) { 66 relevanceMetrics.put(suggestions.get(i), 69 Collections.sort(suggestions, suggestionComparator);
|
SuggestionFeatureProvider.java | 17 package com.android.settings.dashboard.suggestions; 25 import com.android.settingslib.suggestions.SuggestionParser; 29 /** Interface should be implemented if you have added new suggestions */ 46 * Returns the {@link SharedPreferences} that holds metadata for suggestions. 51 * Ranks the list of suggestions in place. 53 * @param suggestions List of suggestion Tiles 56 void rankSuggestions(final List<Tile> suggestions, List<String> suggestionIds); 59 * Only keep top few suggestions from exclusive suggestions. 61 void filterExclusiveSuggestions(List<Tile> suggestions); [all...] |
EventStore.java | 16 package com.android.settings.dashboard.suggestions;
|
SuggestionDismissController.java | 17 package com.android.settings.dashboard.suggestions; 26 import com.android.settingslib.suggestions.SuggestionParser;
|
SuggestionsChecks.java | 17 package com.android.settings.dashboard.suggestions; 38 * The Home of all stupidly dynamic Settings Suggestions checks.
|
/frameworks/support/samples/Support7Demos/src/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; 35 // A flatten list of all suggestions. 42 public void addSuggestions(SuggestionCategory category, List<Tile> suggestions) { 43 mSuggestions.put(category, suggestions); 51 for (List<Tile> suggestions : mSuggestions.values()) { 52 mSuggestionList.addAll(suggestions); 81 * Filter suggestions list so they are all unique. 83 private void dedupeSuggestions(List<Tile> suggestions) { 85 for (int i = suggestions.size() - 1; i >= 0; i--) { 86 final Tile suggestion = suggestions.get(i) [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/ |
EventStoreTest.java | 17 package com.android.settings.dashboard.suggestions;
|
SuggestionLogHelperTest.java | 17 package com.android.settings.dashboard.suggestions;
|
SuggestionFeaturizerTest.java | 17 package com.android.settings.dashboard.suggestions;
|
SuggestionRankerTest.java | 17 package com.android.settings.dashboard.suggestions;
|
SuggestionFeatureProviderImplTest.java | 17 package com.android.settings.dashboard.suggestions; 59 import com.android.settingslib.suggestions.SuggestionParser; 386 final List<Tile> suggestions = new ArrayList<>(); local 387 suggestions.add(new Tile()); 388 suggestions.add(new Tile()); 389 suggestions.add(new Tile()); 390 suggestions.add(new Tile()); 391 suggestions.add(new Tile()); 392 suggestions.add(new Tile()); 393 suggestions.add(new Tile()) [all...] |
SuggestionDismissControllerTest.java | 17 package com.android.settings.dashboard.suggestions; 37 import com.android.settingslib.suggestions.SuggestionParser;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripViewAccessor.java | 17 package com.android.inputmethod.latin.suggestions;
|
MoreSuggestionsView.java | 17 package com.android.inputmethod.latin.suggestions; 30 import com.android.inputmethod.latin.suggestions.MoreSuggestions.MoreSuggestionKey;
|
/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...] |
/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]);
|
/external/autotest/client/profilers/powertop/src/ |
suggestions.c | 55 static struct suggestion *suggestions; variable in typeref:struct:suggestion 64 ptr = suggestions; 73 suggestions = NULL; 96 new->next = suggestions; 98 suggestions = new; 112 if (total_weight==0 || suggestions==NULL) { 113 /* zero suggestions */ 122 ptr = suggestions; 150 for (ptr = suggestions; ptr; ptr = ptr->next)
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/suggestions/ |
SuggestionStripLayoutHelperTests.java | 17 package com.android.inputmethod.latin.suggestions;
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/settings/ |
GeneralPrefsFragment.java | 169 final SuggestionsProvider suggestions = local 171 suggestions.clearHistory(); 172 suggestions.cleanup();
|