/external/chromium_org/components/ |
suggestions.gypi | 8 # GN version: //components/suggestions 9 'target_name': 'suggestions', 24 'suggestions/blacklist_store.cc', 25 'suggestions/blacklist_store.h', 26 'suggestions/image_manager.h', 27 'suggestions/proto/suggestions.proto', 28 'suggestions/suggestions_pref_names.cc', 29 'suggestions/suggestions_pref_names.h', 30 'suggestions/suggestions_service.cc' [all...] |
/external/chromium_org/components/suggestions/ |
suggestions_pref_names.cc | 5 #include "components/suggestions/suggestions_pref_names.h" 7 namespace suggestions { namespace 10 // A cache of a suggestions blacklist, represented as a serialized 12 const char kSuggestionsBlacklist[] = "suggestions.blacklist"; 14 // A cache of suggestions represented as a serialized SuggestionsProfile 16 const char kSuggestionsData[] = "suggestions.data"; 19 } // namespace suggestions
|
suggestions_store_unittest.cc | 5 #include "components/suggestions/suggestions_store.h" 9 #include "components/suggestions/proto/suggestions.pb.h" 14 namespace suggestions { namespace 22 void AddSuggestion(SuggestionsProfile* suggestions, const char *title, 24 ChromeSuggestion* suggestion = suggestions->add_suggestions(); 31 SuggestionsProfile suggestions; local 32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); 35 return suggestions; 46 SuggestionsProfile suggestions; local 91 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 0); local 102 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local 113 SuggestionsProfile suggestions = CreateTestSuggestionsProfileWithExpiry(5, 3); local 127 const SuggestionsProfile suggestions = CreateTestSuggestions(); local [all...] |
suggestions_store.cc | 5 #include "components/suggestions/suggestions_store.h" 13 #include "components/suggestions/suggestions_pref_names.h" 15 namespace suggestions { namespace 24 bool SuggestionsStore::LoadSuggestions(SuggestionsProfile* suggestions) { 25 DCHECK(suggestions); 30 suggestions->Clear(); 37 !suggestions->ParseFromString(suggestions_data)) { 38 VLOG(1) << "Suggestions data in profile pref is corrupt, clearing it."; 39 suggestions->Clear(); 44 // Filter expired suggestions and update the stored suggestions if at leas [all...] |
suggestions_store.h | 9 #include "components/suggestions/proto/suggestions.pb.h" 17 namespace suggestions { namespace 19 // A helper class for reading and writing the suggestions to the profile's 27 // |suggestions|. If there is a problem with loading, the pref value is 28 // cleared, false is returned and |suggestions| is cleared. If successful, 29 // |suggestions| will contain the loaded data and true is returned. 30 virtual bool LoadSuggestions(SuggestionsProfile* suggestions); 32 // Stores the provided |suggestions| to the profile's preferences, using 34 virtual bool StoreSuggestions(const SuggestionsProfile& suggestions); [all...] |
blacklist_store_unittest.cc | 5 #include "components/suggestions/blacklist_store.h" 14 #include "components/suggestions/proto/suggestions.pb.h" 19 namespace suggestions { namespace 29 SuggestionsProfile suggestions; local 32 ChromeSuggestion* suggestion = suggestions.add_suggestions(); 35 return suggestions; 42 EXPECT_EQ(expected.suggestions(i).url(), actual.suggestions(i).url()); 43 EXPECT_EQ(expected.suggestions(i).title(), actual.suggestions(i).title()) 84 SuggestionsProfile suggestions; local [all...] |
suggestions_utils.cc | 5 #include "components/suggestions/suggestions_utils.h" 7 namespace suggestions { namespace 22 } // namespace suggestions
|
suggestions_pref_names.h | 8 namespace suggestions { namespace 11 // Alphabetical list of preference names specific to the Suggestions 17 } // namespace suggestions
|
suggestions_service.h | 20 #include "components/suggestions/image_manager.h" 21 #include "components/suggestions/proto/suggestions.pb.h" 22 #include "components/suggestions/suggestions_utils.h" 35 namespace suggestions { namespace 50 // An interface to fetch server suggestions asynchronously. 68 // Request suggestions data, which will be passed to |callback|. |sync_state| 72 // (see suggestions::GetSyncState). Callers should call this function again if 101 // Sets default timestamp for suggestions which do not have expiry timestamp. 102 void SetDefaultExpiryTimestamp(SuggestionsProfile* suggestions, [all...] |
blacklist_store.h | 9 #include "components/suggestions/proto/suggestions.pb.h" 18 namespace suggestions { namespace 39 // Applies the blacklist to |suggestions|. 40 virtual void FilterSuggestions(SuggestionsProfile* suggestions); 63 // The pref service used to persist the suggestions blacklist. 69 } // namespace suggestions
|
image_manager.h | 10 #include "components/suggestions/proto/suggestions.pb.h" 14 namespace suggestions { namespace 24 virtual void Initialize(const SuggestionsProfile& suggestions) = 0; 36 } // namespace suggestions
|
suggestions_service.cc | 5 #include "components/suggestions/suggestions_service.h" 18 #include "components/suggestions/blacklist_store.h" 19 #include "components/suggestions/suggestions_store.h" 35 namespace suggestions { namespace 49 UMA_HISTOGRAM_ENUMERATION("Suggestions.ResponseState", state, 65 // Runs each callback in |requestors| on |suggestions|, then deallocates 68 const SuggestionsProfile& suggestions, 72 if (!it->is_null()) it->Run(suggestions); 164 // suggestions if available. 181 // Post a task to serve the cached suggestions if the request hasn't complete 340 SuggestionsProfile suggestions; local 371 SuggestionsProfile suggestions; local [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
DelayingSuggestionsAdapter.java | 21 import com.android.quicksearchbox.Suggestions; 28 * A {@link SuggestionsListAdapter} that doesn't expose the new suggestions 38 private Suggestions mPendingSuggestions; 52 public void setSuggestions(Suggestions suggestions) { 53 if (suggestions == null) { 58 if (shouldPublish(suggestions)) { 59 if (DBG) Log.d(TAG, "Publishing suggestions immediately: " + suggestions); 60 mDelayedAdapter.setSuggestions(suggestions); [all...] |
SuggestionsAdapter.java | 20 import com.android.quicksearchbox.Suggestions; 27 * Interface for suggestions adapters. 35 * Sets the listener to be notified of clicks on suggestions. 45 * Sets the current suggestions. 47 void setSuggestions(Suggestions suggestions); 50 * Indicates if there's any suggestions in this adapter. 55 * Gets the current suggestions. 57 Suggestions getSuggestions();
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
ColorPickerSimple.java | 57 * Initializes the listener and sets the adapter for the given list of suggestions. If the 58 * suggestions is null a default set of colors will be used. 60 * @param suggestions The list of suggestions that should be displayed. 64 public void init(ColorSuggestion[] suggestions, 68 if (suggestions == null) { 69 suggestions = new ColorSuggestion[DEFAULT_COLORS.length]; 70 for (int i = 0; i < suggestions.length; ++i) { 71 suggestions[i] = new ColorSuggestion(DEFAULT_COLORS[i], 77 getContext(), suggestions); [all...] |
/external/chromium_org/chrome/browser/resources/ntp4/ |
suggestions_page.css | 5 .suggestions { 10 .suggestions { 17 .suggestions:focus { 21 .suggestions .close-button { 30 html[dir=rtl] .suggestions .close-button { 35 .suggestions:hover .close-button { 40 .suggestions .close-button:hover { 44 .suggestions .favicon { 55 html[dir='rtl'] .suggestions .favicon { 59 .suggestions .color-stripe [all...] |
/external/chromium_org/third_party/libaddressinput/chromium/ |
chrome_address_validator_unittest.cc | 288 std::vector<AddressData> suggestions; local 290 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 291 ASSERT_EQ(1U, suggestions.size()); 292 EXPECT_EQ("CA", suggestions[0].administrative_area); 293 EXPECT_EQ("90291", suggestions[0].postal_code); 303 std::vector<AddressData> suggestions; local 305 validator_->GetSuggestions(address, POSTAL_CODE, 1, &suggestions)); 306 ASSERT_EQ(1U, suggestions.size()); 307 EXPECT_EQ("Dacun Township", suggestions[0].locality); 308 EXPECT_EQ("Changhua County", suggestions[0].administrative_area) 319 std::vector<AddressData> suggestions; local 334 std::vector<AddressData> suggestions; local 346 std::vector<AddressData> suggestions; local 361 std::vector<AddressData> suggestions; local 377 std::vector<AddressData> suggestions; local 392 std::vector<AddressData> suggestions; local 410 std::vector<AddressData> suggestions; local 422 std::vector<AddressData> suggestions; local 433 std::vector<AddressData> suggestions; local 445 std::vector<AddressData> suggestions; local 457 std::vector<AddressData> suggestions; local 469 std::vector<AddressData> suggestions; local 495 std::vector<AddressData> suggestions; local 509 std::vector<AddressData> suggestions; local 523 std::vector<AddressData> suggestions; local 535 std::vector<AddressData> suggestions; local 547 std::vector<AddressData> suggestions; local 559 std::vector<AddressData> suggestions; local 572 std::vector<AddressData> suggestions; local 604 std::vector<AddressData> suggestions; local 663 std::vector<AddressData> suggestions; local 686 std::vector<AddressData> suggestions; local [all...] |
/external/chromium_org/components/autofill/core/browser/ |
autofill_manager_test_delegate.h | 14 // Called when a form is previewed with Autofill suggestions. 17 // Called when a form is filled with Autofill suggestions. 20 // Called when a popup with Autofill suggestions is shown.
|
/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...] |
/external/chromium_org/third_party/markupsafe/ |
AUTHORS | 9 Patches and Suggestions
|
/external/chromium_org/chrome/browser/search/suggestions/ |
suggestions_service_factory.cc | 5 #include "chrome/browser/search/suggestions/suggestions_service_factory.h" 11 #include "chrome/browser/search/suggestions/image_manager_impl.h" 16 #include "components/suggestions/blacklist_store.h" 17 #include "components/suggestions/image_manager.h" 18 #include "components/suggestions/proto/suggestions.pb.h" 19 #include "components/suggestions/suggestions_service.h" 20 #include "components/suggestions/suggestions_store.h" 26 namespace suggestions { namespace 88 } // namespace suggestions [all...] |
image_manager_impl_unittest.cc | 8 #include "chrome/browser/search/suggestions/image_manager_impl.h" 12 #include "components/suggestions/proto/suggestions.pb.h" 20 using suggestions::ImageData; 21 using suggestions::ImageManagerImpl; 44 namespace suggestions { namespace 64 } // namespace suggestions
|
/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]); 57 final String[] suggestions = span.getSuggestions(); local 58 // For this test we consider "????" should yield at least 2 suggestions (at this moment 60 assertTrue(suggestions.length >= 2); 63 assertEquals("", "????", suggestions[0]); 77 final String[] suggestions = span.getSuggestions(); local 80 suggestions[0]) [all...] |
/frameworks/base/core/java/android/view/textservice/ |
SuggestionsInfo.java | 25 * This class contains a metadata of suggestions from the text service 31 * Flag of the attributes of the suggestions that can be obtained by 37 * Flag of the attributes of the suggestions that can be obtained by 43 * Flag of the attributes of the suggestions that can be obtained by 45 * the result suggestions include highly recommended ones. 57 * @param suggestions from the text service 59 public SuggestionsInfo(int suggestionsAttributes, String[] suggestions) { 60 this(suggestionsAttributes, suggestions, 0, 0); 66 * @param suggestions from the text service 71 int suggestionsAttributes, String[] suggestions, int cookie, int sequence) [all...] |
/external/chromium_org/chrome/browser/resources/suggestions_internals/ |
suggestions_internals.css | 5 .suggestions-debug-table { 10 .suggestions-debug-table th { 14 .suggestions-debug-table td {
|