/external/chromium_org/tools/telemetry/telemetry/core/platform/profiler/ |
H A D | strace_profiler.py | 14 from telemetry.timeline import model namespace 245 timeline_model = model.TimelineModel(timeline_data)
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
H A D | tab_unittest.py | 15 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 D | action_runner_unittest.py | 12 from telemetry.timeline import model namespace 20 timeline_model = model.TimelineModel(trace_data)
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
H A D | inspector_importer_unittest.py | 8 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 D | model_unittest.py | 7 from telemetry.timeline import model namespace 13 model.TimelineModel( 15 model.TimelineModel(
|
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/ |
H A D | rendering_frame_unittest.py | 9 from telemetry.timeline import model namespace 21 self._renderer_process = model.TimelineModel().GetOrCreateProcess(pid=1) 107 timeline = model.TimelineModel()
|
H A D | rendering_stats_unittest.py | 11 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 D | pagination_controller.cc | 24 PaginationController::PaginationController(PaginationModel* model, argument 26 : pagination_model_(model), scroll_axis_(scroll_axis) {
|
H A D | pagination_model_unittest.cc | 38 void set_model(PaginationModel* model) { model_ = model; } argument
|
/external/chromium_org/ui/app_list/test/ |
H A D | app_list_test_model.cc | 30 AppListTestModel* model) 32 model_(model) { 28 AppListTestItem( const std::string& id, AppListTestModel* model) argument
|
/external/chromium_org/ui/app_list/views/ |
H A D | app_list_folder_view.cc | 45 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 D | app_list_main_view.h | 72 AppListModel* model() { return model_; } function in class:app_list::AppListMainView
|
H A D | app_list_view_unittest.cc | 285 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 D | apps_container_view.cc | 24 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 D | apps_grid_view.cc | 448 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 D | apps_grid_view.h | 55 // 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 D | apps_grid_view_unittest.cc | 43 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 D | contents_view.cc | 47 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 D | page_switcher.cc | 120 PageSwitcher::PageSwitcher(PaginationModel* model) argument 121 : model_(model), 126 SelectedPageChanged(-1, model->selected_page());
|
H A D | start_page_view.cc | 141 void StartPageView::SetModel(AppListModel* model) { argument 142 DCHECK(model); 145 search_results_model_ = model->results();
|
/external/chromium_org/ui/base/cocoa/ |
H A D | menu_controller.h | 18 // 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 D | list_model_unittest.cc | 73 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 D | list_selection_model_unittest.cc | 17 // 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 D | menu_model.cc | 15 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 D | simple_menu_model.cc | 150 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...] |