Searched defs:model (Results 176 - 200 of 561) sorted by relevance

1234567891011>>

/external/junit/src/org/junit/runners/model/
H A DNoGenericTypeParametersValidator.java1 package org.junit.runners.model;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/
H A DChromaFormat.java21 package com.googlecode.mp4parser.h264.model;
H A DHRDParameters.java21 package com.googlecode.mp4parser.h264.model;
/external/oprofile/module/x86/
H A Dcpu_type.c116 __u8 model = current_cpu_data.x86_model; local
117 if (model <= 4) {
149 __u8 model = current_cpu_data.x86_model; local
176 if (model == 14)
178 if (model > 0xd)
180 if (model > 5)
182 else if (model > 2)
/external/chromium_org/athena/home/
H A Dathena_start_page_view_unittest.cc51 app_list::test::AppListTestModel* model = view_delegate_.GetTestModel(); variable
53 model->AddItem(new app_list::test::AppListTestModel::AppListTestItem(
54 base::StringPrintf("id-%" PRIuS, i), model));
/external/chromium_org/athena/test/
H A Dtest_app_model_builder.cc99 void TestAppModelBuilder::PopulateApps(app_list::AppListModel* model) { argument
101 model->AddItem(scoped_ptr<app_list::AppListItem>(
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/
H A DTabModelOrderController.java12 * into a tab strip model. See tab_strip_model_order_controller.cc and
78 // If the tab is opening in the other model type, just put it at the end.
84 * Returns the index of the last tab in the model opened by the specified
86 * descending order of their position in the model. This means that the tab
106 * Clear the opener attribute on all tabs in the model.
140 * @return {@code true} If both tabs have the same model type, {@code false} otherwise.
142 static boolean sameModelType(TabModel model, Tab tab) { argument
143 return model.isIncognito() == tab.isIncognito();
H A DTabModelUtils.java18 * @param model The {@link TabModel} to act on.
22 public static boolean closeTabByIndex(TabModel model, int index) { argument
23 Tab tab = model.getTabAt(index);
26 return model.closeTab(tab);
30 * @param model The {@link TabModel} to act on.
34 public static boolean closeTabById(TabModel model, int tabId) { argument
35 return closeTabById(model, tabId, false);
39 * @param model The {@link TabModel} to act on.
44 public static boolean closeTabById(TabModel model, int tabId, boolean canUndo) { argument
45 Tab tab = TabModelUtils.getTabById(model, tabI
55 closeCurrentTab(TabModel model) argument
69 getTabIndexById(TabList model, int tabId) argument
86 getTabById(TabList model, int tabId) argument
98 getTabIndexByUrl(TabList model, String url) argument
113 getCurrentTabId(TabList model) argument
125 getCurrentTab(TabList model) argument
137 getCurrentContentViewCore(TabList model) argument
150 setIndex(TabModel model, int index) argument
[all...]
/external/chromium_org/chrome/browser/android/provider/
H A Dbookmark_model_observer_task.cc12 BookmarkModelTask::BookmarkModelTask(BookmarkModel* model) argument
13 : model_(model) {
14 // Ensure the initialization of the native bookmark model.
20 BookmarkModel* BookmarkModelTask::model() const { function in class:BookmarkModelTask
27 model()->AddObserver(this);
31 model()->RemoveObserver(this);
34 void BookmarkModelObserverTask::BookmarkModelLoaded(BookmarkModel* model, argument
38 BookmarkModel* model,
45 void BookmarkModelObserverTask::BookmarkNodeAdded(BookmarkModel* model, argument
51 BookmarkModel* model,
37 BookmarkNodeMoved( BookmarkModel* model, const BookmarkNode* old_parent, int old_index, const BookmarkNode* new_parent, int new_index) argument
50 BookmarkNodeRemoved( BookmarkModel* model, const BookmarkNode* parent, int old_index, const BookmarkNode* node, const std::set<GURL>& removed_urls) argument
58 BookmarkAllUserNodesRemoved( BookmarkModel* model, const std::set<GURL>& removed_urls) argument
63 BookmarkNodeChanged(BookmarkModel* model, const BookmarkNode* node) argument
67 BookmarkNodeFaviconChanged( BookmarkModel* model, const BookmarkNode* node) argument
72 BookmarkNodeChildrenReordered( BookmarkModel* model, const BookmarkNode* node) argument
[all...]
/external/chromium_org/chrome/browser/
H A Dbrowser_commands_unittest.cc142 BookmarkModel* model = BookmarkModelFactory::GetForProfile(profile()); local
143 test::WaitForBookmarkModelToLoad(model);
153 // It should now be bookmarked in the bookmark model.
155 EXPECT_TRUE(model->IsBookmarked(url1));
/external/chromium_org/chrome/browser/diagnostics/
H A Ddiagnostics_test.cc22 DiagnosticsModel* model,
28 observer->OnTestFinished(index, model);
33 DiagnosticsModel* model,
49 observer->OnRecoveryFinished(index, model);
21 Execute(DiagnosticsModel::Observer* observer, DiagnosticsModel* model, size_t index) argument
32 Recover(DiagnosticsModel::Observer* observer, DiagnosticsModel* model, size_t index) argument
/external/chromium_org/chrome/browser/extensions/api/bookmarks/
H A Dbookmark_api_helpers.cc109 bool RemoveNode(BookmarkModel* model, argument
114 const BookmarkNode* node = bookmarks::GetBookmarkNodeByID(model, id);
119 if (model->is_permanent_node(node)) {
133 model->Remove(parent, parent->GetIndexOf(node));
/external/chromium_org/chrome/browser/importer/
H A Dexternal_process_importer_host.cc118 void ExternalProcessImporterHost::BookmarkModelLoaded(BookmarkModel* model, argument
120 DCHECK(model->loaded());
121 model->RemoveObserver(this);
129 BookmarkModel* model) {
204 TemplateURLService* model = local
206 template_service_subscription_ = model->RegisterOnLoadedCallback(
209 model->Load();
128 BookmarkModelBeingDeleted( BookmarkModel* model) argument
/external/chromium_org/chrome/browser/profiles/
H A Dprofile_list_desktop_unittest.cc67 // Reset the model.
101 AvatarMenu* model = GetAvatarMenu(); local
104 ASSERT_EQ(2U, model->GetNumberOfItems());
106 const AvatarMenu::Item& item1 = model->GetItemAt(0);
110 const AvatarMenu::Item& item2 = model->GetItemAt(1);
199 AvatarMenu* model = GetAvatarMenu(); local
200 ASSERT_EQ(2U, model->GetNumberOfItems());
203 ASSERT_EQ(0U, model->GetActiveProfileIndex());
214 AvatarMenu* model = GetAvatarMenu(); local
217 ASSERT_EQ(2U, model
245 AvatarMenu* model = GetAvatarMenu(); local
349 AvatarMenu* model = GetAvatarMenu(); local
[all...]
/external/chromium_org/chrome/browser/sync/glue/
H A Dbookmark_data_type_controller.cc101 void BookmarkDataTypeController::BookmarkModelLoaded(BookmarkModel* model, argument
103 DCHECK(model->loaded());
104 model->RemoveObserver(this);
115 BookmarkModel* model) {
119 // Check that both the bookmark model and the history service (for favicons)
114 BookmarkModelBeingDeleted( BookmarkModel* model) argument
/external/chromium_org/chrome/browser/ui/app_list/
H A Dapp_list_service_interactive_uitest.cc90 app_list::AppListModel* model = test::GetAppListModel(service); local
91 ASSERT_TRUE(model);
100 model = test::GetAppListModel(service);
101 ASSERT_TRUE(model);
123 app_list::AppListModel* model = test::GetAppListModel(service); local
124 ASSERT_TRUE(model);
126 model->search_box()->SetText(base::ASCIIToUTF16("minimal"));
131 model = test::GetAppListModel(service);
132 ASSERT_TRUE(model);
136 ASSERT_TRUE(model
[all...]
/external/chromium_org/chrome/browser/ui/ash/
H A Dchrome_shell_delegate.cc111 ash::ShelfModel* model) {
113 shelf_delegate_ = ChromeLauncherController::CreateInstance(NULL, model);
110 CreateShelfDelegate( ash::ShelfModel* model) argument
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_context_menu_chromeos.cc72 scoped_ptr<ui::MenuModel> model; local
76 return model.Pass();
85 return model.Pass();
88 model.reset(menu);
100 return model.Pass();
/external/chromium_org/chrome/browser/ui/autofill/
H A Daccount_chooser_model_unittest.cc55 TestAccountChooserModel* model() { return &model_; } function in class:autofill::__anon5012::AccountChooserModelTest
72 TestAccountChooserModel model(delegate(),
76 EXPECT_TRUE(model.WalletIsSelected());
82 TestAccountChooserModel model(delegate(),
86 EXPECT_FALSE(model.WalletIsSelected());
93 TestAccountChooserModel model(delegate(), profile(), true, metric_logger());
94 EXPECT_FALSE(model.WalletIsSelected());
104 TestAccountChooserModel model(
106 EXPECT_FALSE(model.WalletIsSelected());
113 EXPECT_TRUE(model()
[all...]
/external/chromium_org/chrome/browser/ui/bookmarks/
H A Dbookmark_context_menu_controller_unittest.cc79 static void AddTestData(BookmarkModel* model) { argument
80 const BookmarkNode* bb_node = model->bookmark_bar_node();
82 model->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a"));
83 const BookmarkNode* f1 = model->AddFolder(bb_node, 1, ASCIIToUTF16("F1"));
84 model->AddURL(f1, 0, ASCIIToUTF16("f1a"), GURL(test_base + "f1a"));
85 const BookmarkNode* f11 = model->AddFolder(f1, 1, ASCIIToUTF16("F11"));
86 model->AddURL(f11, 0, ASCIIToUTF16("f11a"), GURL(test_base + "f11a"));
87 model->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
88 model->AddFolder(bb_node, 3, ASCIIToUTF16("F3"));
89 const BookmarkNode* f4 = model
247 BookmarkModel* model = BookmarkModelFactory::GetForProfile(incognito); local
[all...]
H A Dbookmark_editor.cc12 const BookmarkNode* CreateNewNode(BookmarkModel* model, argument
28 node = model->AddURL(parent, insert_index, new_title, new_url);
30 node = model->AddFolder(parent, insert_index, new_title);
32 model->AddURL(node, node->child_count(), details.urls[i].second,
35 model->SetDateFolderModified(parent, base::Time::Now());
124 BookmarkModel* model,
131 return CreateNewNode(model, parent, details, new_title, new_url);
138 model->SetURL(node, new_url);
139 model->SetTitle(node, new_title);
146 BookmarkModel* model,
123 ApplyEditsWithNoFolderChange( BookmarkModel* model, const BookmarkNode* parent, const EditDetails& details, const base::string16& new_title, const GURL& new_url) argument
145 ApplyEditsWithPossibleFolderChange( BookmarkModel* model, const BookmarkNode* new_parent, const EditDetails& details, const base::string16& new_title, const GURL& new_url) argument
[all...]
H A Dbookmark_tab_helper.cc104 void BookmarkTabHelper::BookmarkModelLoaded(BookmarkModel* model, argument
109 void BookmarkTabHelper::BookmarkNodeAdded(BookmarkModel* model, argument
116 BookmarkModel* model,
125 BookmarkModel* model,
130 void BookmarkTabHelper::BookmarkNodeChanged(BookmarkModel* model, argument
115 BookmarkNodeRemoved( BookmarkModel* model, const BookmarkNode* parent, int old_index, const BookmarkNode* node, const std::set<GURL>& removed_urls) argument
124 BookmarkAllUserNodesRemoved( BookmarkModel* model, const std::set<GURL>& removed_urls) argument
/external/chromium_org/chrome/browser/ui/search/
H A Dinstant_page.cc27 SearchTabHelper::FromWebContents(web_contents())->model()->RemoveObserver(
61 SearchModel* model = local
62 SearchTabHelper::FromWebContents(web_contents())->model();
63 model->AddObserver(this);
66 if (model->instant_support() != INSTANT_SUPPORT_UNKNOWN)
67 InstantSupportDetermined(model->instant_support() == INSTANT_SUPPORT_YES);
99 SearchTabHelper::FromWebContents(web_contents())->model()->RemoveObserver(
H A Dsearch_model_unittest.cc30 // How many times we've seen search model changed notifications.
73 SearchModel* model; member in class:SearchModelTest
82 model = search_tab_helper->model();
83 model->AddObserver(&mock_observer);
87 model->RemoveObserver(&mock_observer);
93 EXPECT_TRUE(model->instant_support() == INSTANT_SUPPORT_UNKNOWN);
94 SearchModel::State expected_old_state = model->state();
95 SearchModel::State expected_new_state(model->state());
98 model
[all...]
/external/chromium_org/chrome/browser/ui/tabs/
H A Dpinned_tab_codec.cc52 static void EncodePinnedTab(TabStripModel* model, argument
57 content::WebContents* web_contents = model->GetWebContentsAt(index);
58 if (model->IsAppTab(index)) {

Completed in 430 milliseconds

1234567891011>>