HomeSort by relevance Sort by last modified time
    Searched defs:model_index (Results 1 - 14 of 14) sorted by null

  /external/chromium/chrome/browser/ui/toolbar/
back_forward_menu_model.cc 244 // Find the current model_index for the unique_id.
246 int model_index = -1; local
251 model_index = i;
275 menu_model_delegate()->OnIconChanged(model_index);
  /external/chromium/chrome/browser/ui/views/tabs/
browser_tab_strip_controller.cc 161 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); local
162 return model_->ContainsIndex(model_index) ?
163 model_->IsContextMenuCommandEnabled(model_index, command_id) : false;
169 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); local
170 return model_->ContainsIndex(model_index) ?
171 model_->IsContextMenuCommandChecked(model_index, command_id) : false;
177 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); local
178 if (model_->ContainsIndex(model_index))
179 model_->ExecuteContextMenuCommand(model_index, command_id);
194 bool BrowserTabStripController::IsActiveTab(int model_index) const
253 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); local
417 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); local
    [all...]
base_tab_strip.cc 128 void BaseTabStrip::AddTabAt(int model_index, const TabRendererData& data) {
133 tab_data_.insert(tab_data_.begin() + ModelIndexToTabIndex(model_index), d);
140 StartInsertTabAnimation(model_index);
157 void BaseTabStrip::SetTabData(int model_index, const TabRendererData& data) {
158 BaseTab* tab = GetBaseTabAtModelIndex(model_index);
170 BaseTab* BaseTabStrip::GetBaseTabAtModelIndex(int model_index) const {
171 return base_tab_at_tab_index(ModelIndexToTabIndex(model_index));
175 for (int i = 0, model_index = 0; i < tab_count(); ++i) {
179 return model_index;
180 model_index++
234 int model_index = GetModelIndexOfBaseTab(tab); local
240 int model_index = GetModelIndexOfBaseTab(tab); local
246 int model_index = GetModelIndexOfBaseTab(tab); local
252 int model_index = GetModelIndexOfBaseTab(tab); local
260 int model_index = 0; local
278 int model_index = GetModelIndexOfBaseTab(tab); local
284 int model_index = GetModelIndexOfBaseTab(tab); local
293 int model_index = GetModelIndexOfBaseTab(tab); local
299 int model_index = GetModelIndexOfBaseTab(tab); local
314 int model_index = GetModelIndexOfBaseTab(tab); local
    [all...]
dragged_tab_controller.cc 1096 int model_index = model->GetIndexOfTabContents(drag_data_[i].contents); local
    [all...]
  /external/chromium_org/chrome/browser/ui/toolbar/
back_forward_menu_model.cc 271 // Find the current model_index for the unique id.
273 int model_index = -1; local
278 model_index = i;
296 menu_model_delegate()->OnIconChanged(model_index);
  /external/chromium_org/chrome/browser/ui/views/tabs/
browser_tab_strip_controller.cc 236 int model_index = tabstrip_->GetModelIndexOfTab(tab); local
237 return model_->ContainsIndex(model_index) ?
238 model_->IsContextMenuCommandEnabled(model_index, command_id) : false;
244 int model_index = tabstrip_->GetModelIndexOfTab(tab); local
245 if (model_->ContainsIndex(model_index))
246 model_->ExecuteContextMenuCommand(model_index, command_id);
265 bool BrowserTabStripController::IsActiveTab(int model_index) const {
266 return model_->active_index() == model_index;
273 bool BrowserTabStripController::IsTabSelected(int model_index) const {
274 return model_->IsTabSelected(model_index);
541 int model_index = tabstrip_->GetModelIndexOfTab(tab); local
    [all...]
tab_drag_controller.cc 1740 int model_index = model->GetIndexOfWebContents(drag_data_[i].contents); local
    [all...]
tab_strip.cc 698 void TabStrip::StartHighlight(int model_index) {
699 tab_at(model_index)->StartPulse();
707 void TabStrip::AddTabAt(int model_index,
720 UpdateTabsClosingMap(model_index, 1);
721 tabs_.Add(tab, model_index);
731 touch_layout_->AddTab(model_index, add_types, GetStartXForNormalTabs());
737 StartInsertTabAnimation(model_index);
744 TabStripAddedTabAt(this, model_index));
774 void TabStrip::RemoveTabAt(int model_index) {
776 Tab* tab = tab_at(model_index);
1008 int model_index = GetModelIndexOfTab(tab); local
1014 int model_index = GetModelIndexOfTab(tab); local
1020 int model_index = GetModelIndexOfTab(tab); local
1026 int model_index = GetModelIndexOfTab(tab); local
1051 int model_index = GetModelIndexOfTab(tab); local
1063 int model_index = GetModelIndexOfTab(tab); local
1069 int model_index = GetModelIndexOfTab(tab); local
1078 int model_index = GetModelIndexOfTab(tab); local
1100 int model_index = GetModelIndexOfTab(tab); local
    [all...]
  /external/chromium_org/ui/views/controls/menu/
native_menu_win.cc 63 int model_index; member in struct:views::NativeMenuWin::ItemData
253 data->native_menu_win->model_->GetTypeAt(data->model_index);
258 if (data->native_menu_win->model_->GetIconAt(data->model_index, &icon)) {
272 data->model_index)) {
480 int model_index = menu_index - first_item_index_; local
481 if (model_->GetTypeAt(model_index) == ui::MenuModel::TYPE_SEPARATOR)
482 AddSeparatorItemAt(menu_index, model_index);
484 AddMenuItemAt(menu_index, model_index);
490 int model_index = 0; local
492 for (it = items_.begin(); it != items_.end(); ++it, ++model_index) {
    [all...]
  /external/chromium/chrome/browser/ui/gtk/
browser_actions_toolbar_gtk.cc 898 int model_index = i; local
900 model_index = model_->IncognitoIndexToOriginal(i);
902 const Extension* extension = model_->GetExtensionByIndex(model_index);
905 overflow_menu_model_->AddItem(model_index, UTF8ToUTF16(extension->name()));
    [all...]
  /external/chromium_org/chrome/browser/ui/gtk/
browser_actions_toolbar_gtk.cc 1063 int model_index = i; local
    [all...]
  /external/chromium_org/ui/views/controls/table/
table_view.cc 46 for (int model_index = 0; model_index < row_count;) {
48 grouper->GetGroupRange(model_index, &range);
51 (*model_index_to_range_start)[range_counter + model_index] = model_index;
52 model_index += range.length;
275 int TableView::ModelToView(int model_index) const {
277 return model_index;
278 DCHECK_GE(model_index, 0) << " negative model_index " << model_index
492 const int model_index = ViewToModel(i); local
551 const int model_index = ViewToModel(i); local
    [all...]
  /external/srec/srec/crec/
srec.c 352 modelID model_index; local
374 for (model_index = 0; model_index < acoustic_models->num_hmmstates; model_index++)
376 current_model_scores[model_index] = DO_NOT_COMPUTE_MODEL;
394 model_index = hmm_info->state_indices[i];
395 current_model_scores[model_index] = DO_COMPUTE_MODEL;
1108 modelID model_index; local
1528 modelID model_index; local
    [all...]
  /external/chromium_org/ui/app_list/views/
apps_grid_view.cc 854 int model_index) const {
855 int page = model_index / tiles_per_page();
859 return Index(page, model_index % tiles_per_page());
863 int model_index = index.page * tiles_per_page() + index.slot; local
865 model_index -= tiles_per_page();
867 return model_index;
899 const int model_index = view_model_.GetIndexOfView(view); local
900 if (model_index == -1)
903 return GetIndexFromModelIndex(model_index);
910 const int model_index = GetModelIndexFromIndex(index) local
    [all...]

Completed in 1202 milliseconds