Home
last modified time | relevance | path

Searched refs:SearchResult (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium_org/ui/app_list/
Dsearch_result.cc12 SearchResult::Action::Action(const gfx::ImageSkia& base_image, in Action()
21 SearchResult::Action::Action(const base::string16& label_text, in Action()
26 SearchResult::Action::~Action() {} in ~Action()
28 SearchResult::SearchResult() in SearchResult() function in app_list::SearchResult
35 SearchResult::~SearchResult() { in ~SearchResult()
39 void SearchResult::SetIcon(const gfx::ImageSkia& icon) { in SetIcon()
46 void SearchResult::SetActions(const Actions& sets) { in SetActions()
53 void SearchResult::SetIsInstalling(bool is_installing) { in SetIsInstalling()
63 void SearchResult::SetPercentDownloaded(int percent_downloaded) { in SetPercentDownloaded()
73 int SearchResult::GetPreferredIconDimension() const { in GetPreferredIconDimension()
[all …]
Dsearch_provider.h17 class SearchResult; variable
21 typedef ScopedVector<SearchResult> Results;
38 void ReleaseResult(std::vector<SearchResult*>* results);
44 void Add(scoped_ptr<SearchResult> result);
Dsearch_result.h28 class APP_LIST_EXPORT SearchResult {
79 SearchResult();
80 virtual ~SearchResult();
159 DISALLOW_COPY_AND_ASSIGN(SearchResult);
Dapp_list_view_delegate.h36 class SearchResult; variable
93 virtual void OpenSearchResult(SearchResult* result,
99 virtual void InvokeSearchResultAction(SearchResult* result,
Dsearch_provider.cc16 void SearchProvider::ReleaseResult(std::vector<SearchResult*>* results) { in ReleaseResult()
20 void SearchProvider::Add(scoped_ptr<SearchResult> result) { in Add()
Dapp_list_model.h42 typedef ui::ListModel<SearchResult> SearchResults;
122 static std::vector<SearchResult*> FilterSearchResultsByDisplayType(
124 SearchResult::DisplayType display_type,
/external/chromium_org/chrome/browser/ui/app_list/search/
Domnibox_provider.cc28 tag_styles |= SearchResult::Tag::URL; in ACMatchStyleToTagStyle()
30 tag_styles |= SearchResult::Tag::MATCH; in ACMatchStyleToTagStyle()
32 tag_styles |= SearchResult::Tag::DIM; in ACMatchStyleToTagStyle()
41 SearchResult::Tags* tags) { in ACMatchClassificationsToTags()
42 int tag_styles = SearchResult::Tag::NONE; in ACMatchClassificationsToTags()
49 if (tag_styles != SearchResult::Tag::NONE) { in ACMatchClassificationsToTags()
50 tags->push_back(SearchResult::Tag( in ACMatchClassificationsToTags()
52 tag_styles = SearchResult::Tag::NONE; in ACMatchClassificationsToTags()
62 if (tag_styles != SearchResult::Tag::NONE) { in ACMatchClassificationsToTags()
63 tags->push_back(SearchResult::Tag( in ACMatchClassificationsToTags()
[all …]
Dsearch_controller.h24 class SearchResult; variable
44 void OpenResult(SearchResult* result, int event_flags);
45 void InvokeResultAction(SearchResult* result,
Dapp_search_provider_unittest.cc27 bool MoreRelevant(const SearchResult* result1, const SearchResult* result2) { in MoreRelevant()
47 std::vector<SearchResult*> sorted_results; in RunQuery()
/external/chromium_org/athena/main/
Durl_search_provider.cc113 tag_styles |= app_list::SearchResult::Tag::URL; in ACMatchStyleToTagStyle()
115 tag_styles |= app_list::SearchResult::Tag::MATCH; in ACMatchStyleToTagStyle()
117 tag_styles |= app_list::SearchResult::Tag::DIM; in ACMatchStyleToTagStyle()
126 app_list::SearchResult::Tags* tags) { in ACMatchClassificationsToTags()
127 int tag_styles = app_list::SearchResult::Tag::NONE; in ACMatchClassificationsToTags()
134 if (tag_styles != app_list::SearchResult::Tag::NONE) { in ACMatchClassificationsToTags()
135 tags->push_back(app_list::SearchResult::Tag( in ACMatchClassificationsToTags()
137 tag_styles = app_list::SearchResult::Tag::NONE; in ACMatchClassificationsToTags()
147 if (tag_styles != app_list::SearchResult::Tag::NONE) { in ACMatchClassificationsToTags()
148 tags->push_back(app_list::SearchResult::Tag( in ACMatchClassificationsToTags()
[all …]
/external/chromium_org/ui/app_list/cocoa/
Dapps_search_results_controller_unittest.mm23 app_list::SearchResult* lastOpenedResult_;
27 @property(readonly, nonatomic) app_list::SearchResult* lastOpenedResult;
43 - (void)openResult:(app_list::SearchResult*)result { argument
63 class SearchResultWithMenu : public SearchResult {
98 scoped_ptr<SearchResult> result(new SearchResultWithMenu(title, details));
103 SearchResult* ModelResultAt(size_t index) {
146 SearchResult* result = ModelResultAt(i);
168 SearchResult::Tags test_tags;
170 test_tags.push_back(SearchResult::Tag(SearchResult::Tag::NONE, 0, 1));
171 test_tags.push_back(SearchResult::Tag(SearchResult::Tag::URL, 1, 2));
[all …]
Dapps_search_results_controller.mm59 - (id)initWithSearchResult:(app_list::SearchResult*)result; argument
62 tags:(const app_list::SearchResult::Tags&)tags;
65 :(app_list::SearchResult*)result; argument
312 - (id)initWithSearchResult:(app_list::SearchResult*)result { argument
325 tags:(const app_list::SearchResult::Tags&)tags {
341 for (app_list::SearchResult::Tags::const_iterator it = tags.begin();
343 if (it->styles == app_list::SearchResult::Tag::NONE)
346 if (it->styles & app_list::SearchResult::Tag::MATCH) {
357 if (it->styles & app_list::SearchResult::Tag::DIM) {
363 } else if (it->styles & app_list::SearchResult::Tag::URL) {
[all …]
Dapps_search_results_controller.h18 class SearchResult; variable
26 - (void)openResult:(app_list::SearchResult*)result;
/external/chromium_org/ui/app_list/views/
Dsearch_result_list_view_delegate.h12 class SearchResult; variable
17 virtual void OnResultInstalled(SearchResult* result) = 0;
20 virtual void OnResultUninstalled(SearchResult* result) = 0;
Dtile_item_view.h20 class SearchResult; variable
30 void SetSearchResult(SearchResult* item);
45 SearchResult* item_;
Dsearch_result_actions_view.h25 void SetActions(const SearchResult::Actions& actions);
33 void CreateImageButton(const SearchResult::Action& action);
34 void CreateBlueButton(const SearchResult::Action& action);
Dsearch_result_view.h34 class SearchResult; variable
53 void SetResult(SearchResult* result);
54 SearchResult* result() { return result_; } in result()
97 SearchResult* result_; // Owned by AppListModel::SearchResults.
Dsearch_result_actions_view.cc29 void SearchResultActionsView::SetActions(const SearchResult::Actions& actions) { in SetActions()
33 const SearchResult::Action& action = actions.at(i); in SetActions()
65 const SearchResult::Action& action) { in CreateImageButton()
79 const SearchResult::Action& action) { in CreateBlueButton()
Dsearch_result_view.cc42 const SearchResult::Tags& tags) { in CreateRenderText()
47 for (SearchResult::Tags::const_iterator it = tags.begin(); in CreateRenderText()
51 if (it->styles == SearchResult::Tag::NONE) in CreateRenderText()
54 if (it->styles & SearchResult::Tag::MATCH) in CreateRenderText()
56 if (it->styles & SearchResult::Tag::DIM) in CreateRenderText()
58 else if (it->styles & SearchResult::Tag::URL) in CreateRenderText()
89 void SearchResultView::SetResult(SearchResult* result) { in SetResult()
304 : SearchResult::Actions()); in OnActionsChanged()
Dsearch_result_list_view_unittest.cc58 results->Add(new SearchResult()); in SetUpSearchResults()
81 GetResults()->Add(new SearchResult()); in AddTestResultAtIndex()
114 virtual void OnResultInstalled(SearchResult* result) OVERRIDE {} in OnResultInstalled()
115 virtual void OnResultUninstalled(SearchResult* result) OVERRIDE {} in OnResultUninstalled()
Dtile_item_view.cc65 void TileItemView::SetSearchResult(SearchResult* item) { in SetSearchResult()
68 SearchResult* old_item = item_; in SetSearchResult()
Dapp_list_main_view.h110 virtual void OnResultInstalled(SearchResult* result) OVERRIDE;
111 virtual void OnResultUninstalled(SearchResult* result) OVERRIDE;
/external/qemu/android/avd/
Dutil.h50 } SearchResult; typedef
61 SearchResult* searchResult);
Dutil_unittest.cpp47 SearchResult kSearchResultGarbage = (SearchResult)0xdeadbeef; in TEST()
48 SearchResult searchResult = kSearchResultGarbage; in TEST()
/external/chromium_org/athena/home/
Dapp_list_view_delegate.cc56 std::vector<app_list::SearchResult*> results; in SearchResultChanged()
98 void AppListViewDelegate::OpenSearchResult(app_list::SearchResult* result, in OpenSearchResult()
105 app_list::SearchResult* result, in InvokeSearchResultAction()

123