Searched defs:model (Results 251 - 275 of 561) sorted by last modified time

<<11121314151617181920>>

/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/
H A Dstrace_profiler.py14 from telemetry.timeline import model namespace
245 timeline_model = model.TimelineModel(timeline_data)
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dtab_unittest.py15 from telemetry.timeline import model namespace
115 timeline_model = model.TimelineModel(trace_data)
148 timeline_model = model.TimelineModel(trace_data)
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Daction_runner_unittest.py12 from telemetry.timeline import model namespace
20 timeline_model = model.TimelineModel(trace_data)
/external/chromium_org/tools/telemetry/telemetry/timeline/
H A Dinspector_importer_unittest.py8 from telemetry.timeline import model namespace
129 model.TimelineModel(timeline_data=timeline_data, shift_world_to_zero=False)
135 m = model.TimelineModel(timeline_data=timeline_data,
H A Dmodel_unittest.py7 from telemetry.timeline import model namespace
13 model.TimelineModel(
15 model.TimelineModel(
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
H A Drendering_frame_unittest.py9 from telemetry.timeline import model namespace
21 self._renderer_process = model.TimelineModel().GetOrCreateProcess(pid=1)
107 timeline = model.TimelineModel()
H A Drendering_stats_unittest.py11 from telemetry.timeline import model namespace
82 thread: The timeline model thread to which the event will be added.
122 thread: The timeline model thread to which the event will be added.
244 timeline = model.TimelineModel()
269 timeline = model.TimelineModel()
310 timeline = model.TimelineModel()
413 timeline = model.TimelineModel()
/external/chromium_org/ui/app_list/
H A Dpagination_controller.cc24 PaginationController::PaginationController(PaginationModel* model, argument
26 : pagination_model_(model), scroll_axis_(scroll_axis) {
H A Dpagination_model_unittest.cc38 void set_model(PaginationModel* model) { model_ = model; } argument
/external/chromium_org/ui/app_list/test/
H A Dapp_list_test_model.cc30 AppListTestModel* model)
32 model_(model) {
28 AppListTestItem( const std::string& id, AppListTestModel* model) argument
/external/chromium_org/ui/app_list/views/
H A Dapp_list_folder_view.cc45 AppListModel* model,
51 model_(model),
62 items_grid_view_->SetModel(model);
139 // If the folder item associated with this view is removed from the model,
44 AppListFolderView(AppsContainerView* container_view, AppListModel* model, AppListMainView* app_list_main_view) argument
H A Dapp_list_main_view.h72 AppListModel* model() { return model_; } function in class:app_list::AppListMainView
H A Dapp_list_view_unittest.cc285 AppListTestModel* model = delegate_->GetTestModel(); local
286 model->PopulateApps(kInitialItems);
288 model->MergeItems(model->top_level_item_list()->item_at(0)->id(),
289 model->top_level_item_list()->item_at(1)->id());
291 AppListFolderItem* folder_item = model->FindFolderItem(folder_id);
328 AppListTestModel* model = delegate_->GetTestModel(); local
329 model->PopulateApps(3);
358 model->results()->Add(new TestTileSearchResult());
361 model
471 AppListTestModel* model = delegate_->GetTestModel(); local
[all...]
H A Dapps_container_view.cc24 AppListModel* model)
25 : model_(model),
48 new AppListFolderView(this, model, app_list_main_view);
23 AppsContainerView(AppListMainView* app_list_main_view, AppListModel* model) argument
H A Dapps_grid_view.cc448 void AppsGridView::SetModel(AppListModel* model) { argument
452 model_ = model;
707 // An EndDrag can be received during a reparent via a model change. This
1751 // Make change to data model.
1761 // New folder was created, change the view model to replace the old target
1840 // Make change to data model.
1868 // New folder was created, change the view model to replace the old target
1901 // to the data model at the same position. Make the same change to view_model_
1914 // Now make the data change to remove the folder item in model.
H A Dapps_grid_view.h55 // AppsGridView displays a grid for AppListItemList sub model.
84 // Sets |model| to use. Note this does not take ownership of |model|.
85 void SetModel(AppListModel* model);
197 // Return the view model for test purposes.
216 const AppListModel* model() const { return model_; } function in class:app_list::AppsGridView
251 // Updates from model.
263 // Convert between the model index and the visual index. The model index
275 // Gets the index of the AppListItemView at the end of the view model
[all...]
H A Dapps_grid_view_unittest.cc43 PageFlipWaiter(base::MessageLoopForUI* ui_loop, PaginationModel* model) argument
44 : ui_loop_(ui_loop), model_(model), wait_(false) {
253 // Highlight last one in the model and last page should be selected.
286 // Dragging changes model order.
H A Dcontents_view.cc47 void ContentsView::InitNamedPages(AppListModel* model, argument
49 DCHECK(model);
68 search_results_view_->SetResults(model->results());
71 apps_container_view_ = new AppsContainerView(app_list_main_view_, model);
H A Dpage_switcher.cc120 PageSwitcher::PageSwitcher(PaginationModel* model) argument
121 : model_(model),
126 SelectedPageChanged(-1, model->selected_page());
H A Dstart_page_view.cc141 void StartPageView::SetModel(AppListModel* model) { argument
142 DCHECK(model);
145 search_results_model_ = model->results();
/external/chromium_org/ui/base/cocoa/
H A Dmenu_controller.h18 // A controller for the cross-platform menu model. The menu that's created
20 // NSValue holding a pointer to the model for that level of the menu (to
21 // allow for hierarchical menus). The tag is the index into that model for
22 // that particular item. It is important that the model outlives this object
33 @property(nonatomic, assign) ui::MenuModel* model; variable
46 // Builds a NSMenu from the pre-built model (must not be nil). Changes made
47 // to the contents of the model after calling this will not be noticed. If
51 - (id)initWithModel:(ui::MenuModel*)model
80 fromModel:(ui::MenuModel*)model;
81 - (NSMenu*)menuFromModel:(ui::MenuModel*)model;
[all...]
/external/chromium_org/ui/base/models/
H A Dlist_model_unittest.cc73 ListModel<FooItem> model; local
74 model.AddObserver(this);
77 model.Add(new FooItem(0));
81 model.Add(new FooItem(1));
85 model.AddAt(0, new FooItem(2));
88 // Total 3 items in model.
89 EXPECT_EQ(3U, model.item_count());
92 EXPECT_EQ(2, model.GetItemAt(0)->id());
93 EXPECT_EQ(0, model.GetItemAt(1)->id());
94 EXPECT_EQ(1, model
98 ListModel<FooItem> model; local
121 ListModel<FooItem> model; local
140 ListModel<FooItem> model; local
158 ListModel<FooItem> model; local
[all...]
H A Dlist_selection_model_unittest.cc17 // Returns the state of the selection model as a string. The format is:
19 static std::string StateAsString(const ListSelectionModel& model) { argument
20 std::string result = "active=" + base::IntToString(model.active()) +
21 " anchor=" + base::IntToString(model.anchor()) +
24 model.selected_indices());
34 ListSelectionModel model; local
35 EXPECT_EQ("active=-1 anchor=-1 selection=", StateAsString(model));
36 EXPECT_TRUE(model.empty());
40 ListSelectionModel model; local
41 model
47 ListSelectionModel model; local
54 ListSelectionModel model; local
66 ListSelectionModel model; local
84 ListSelectionModel model; local
91 ListSelectionModel model; local
100 ListSelectionModel model; local
113 ListSelectionModel model; local
129 ListSelectionModel model; local
137 ListSelectionModel model; local
148 ListSelectionModel model; local
159 ListSelectionModel model; local
170 ListSelectionModel model; local
[all...]
H A Dmenu_model.cc15 MenuModel** model,
17 const int item_count = (*model)->GetItemCount();
20 if ((*model)->GetTypeAt(candidate_index) == TYPE_SUBMENU) {
21 MenuModel* submenu_model = (*model)->GetSubmenuModelAt(candidate_index);
23 *model = submenu_model;
27 if ((*model)->GetCommandIdAt(candidate_index) == command_id) {
14 GetModelAndIndexForCommandId(int command_id, MenuModel** model, int* index) argument
H A Dsimple_menu_model.cc150 ButtonMenuItemModel* model) {
153 model, NORMAL_SEPARATOR };
159 MenuModel* model) {
161 gfx::Image(), TYPE_SUBMENU, -1, model, NULL, NORMAL_SEPARATOR };
166 int string_id, MenuModel* model) {
167 AddSubMenu(command_id, l10n_util::GetStringUTF16(string_id), model);
228 MenuModel* model) {
230 gfx::Image(), TYPE_SUBMENU, -1, model, NULL,
236 int index, int command_id, int string_id, MenuModel* model) {
238 model);
149 AddButtonItem(int command_id, ButtonMenuItemModel* model) argument
157 AddSubMenu(int command_id, const base::string16& label, MenuModel* model) argument
165 AddSubMenuWithStringId(int command_id, int string_id, MenuModel* model) argument
225 InsertSubMenuAt(int index, int command_id, const base::string16& label, MenuModel* model) argument
235 InsertSubMenuWithStringIdAt( int index, int command_id, int string_id, MenuModel* model) argument
[all...]

Completed in 1639 milliseconds

<<11121314151617181920>>