/external/chromium/chrome/browser/ui/views/tabs/ |
D | browser_tab_strip_controller.cc | 161 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in IsCommandEnabledForTab() local 162 return model_->ContainsIndex(model_index) ? in IsCommandEnabledForTab() 163 model_->IsContextMenuCommandEnabled(model_index, command_id) : false; in IsCommandEnabledForTab() 169 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in IsCommandCheckedForTab() local 170 return model_->ContainsIndex(model_index) ? in IsCommandCheckedForTab() 171 model_->IsContextMenuCommandChecked(model_index, command_id) : false; in IsCommandCheckedForTab() 177 int model_index = tabstrip_->GetModelIndexOfBaseTab(tab); in ExecuteCommandForTab() local 178 if (model_->ContainsIndex(model_index)) in ExecuteCommandForTab() 179 model_->ExecuteContextMenuCommand(model_index, command_id); in ExecuteCommandForTab() 194 bool BrowserTabStripController::IsActiveTab(int model_index) const { in IsActiveTab() [all …]
|
D | browser_tab_strip_controller.h | 44 virtual bool IsValidIndex(int model_index) const OVERRIDE; 45 virtual bool IsActiveTab(int model_index) const; 46 virtual bool IsTabSelected(int model_index) const OVERRIDE; 47 virtual bool IsTabPinned(int model_index) const OVERRIDE; 48 virtual bool IsTabCloseable(int model_index) const OVERRIDE; 49 virtual bool IsNewTabPage(int model_index) const OVERRIDE; 50 virtual void SelectTab(int model_index) OVERRIDE; 51 virtual void ExtendSelectionTo(int model_index) OVERRIDE; 52 virtual void ToggleSelected(int model_index) OVERRIDE; 53 virtual void AddSelectionFromAnchorTo(int model_index) OVERRIDE; [all …]
|
D | base_tab_strip.cc | 128 void BaseTabStrip::AddTabAt(int model_index, const TabRendererData& data) { in AddTabAt() argument 133 tab_data_.insert(tab_data_.begin() + ModelIndexToTabIndex(model_index), d); in AddTabAt() 140 StartInsertTabAnimation(model_index); in AddTabAt() 157 void BaseTabStrip::SetTabData(int model_index, const TabRendererData& data) { in SetTabData() argument 158 BaseTab* tab = GetBaseTabAtModelIndex(model_index); in SetTabData() 170 BaseTab* BaseTabStrip::GetBaseTabAtModelIndex(int model_index) const { in GetBaseTabAtModelIndex() 171 return base_tab_at_tab_index(ModelIndexToTabIndex(model_index)); in GetBaseTabAtModelIndex() 175 for (int i = 0, model_index = 0; i < tab_count(); ++i) { in GetModelIndexOfBaseTab() local 179 return model_index; in GetModelIndexOfBaseTab() 180 model_index++; in GetModelIndexOfBaseTab() [all …]
|
D | base_tab_strip.h | 37 virtual void StartHighlight(int model_index) = 0; 52 void AddTabAt(int model_index, const TabRendererData& data); 58 virtual void PrepareForCloseAt(int model_index) {} in PrepareForCloseAt() argument 61 virtual void RemoveTabAt(int model_index) = 0; 71 virtual void TabTitleChangedNotLoading(int model_index) = 0; 74 virtual void SetTabData(int model_index, const TabRendererData& data); 77 virtual BaseTab* GetBaseTabAtModelIndex(int model_index) const; 98 bool IsValidModelIndex(int model_index) const; 103 int ModelIndexToTabIndex(int model_index) const; 157 virtual void StartInsertTabAnimation(int model_index) = 0; [all …]
|
D | tab_strip.h | 63 virtual void PrepareForCloseAt(int model_index) OVERRIDE; 64 virtual void RemoveTabAt(int model_index) OVERRIDE; 66 virtual void TabTitleChangedNotLoading(int model_index) OVERRIDE; 67 virtual void StartHighlight(int model_index) OVERRIDE; 89 virtual void StartInsertTabAnimation(int model_index) OVERRIDE; 159 Tab* GetTabAtModelIndex(int model_index) const; 221 void StartMouseInitiatedRemoveTabAnimation(int model_index);
|
D | tab_strip.cc | 201 void TabStrip::PrepareForCloseAt(int model_index) { in PrepareForCloseAt() argument 209 if (model_index + 1 != model_count && model_count > 1) { in PrepareForCloseAt() 222 void TabStrip::RemoveTabAt(int model_index) { in RemoveTabAt() argument 223 if (in_tab_close_ && model_index != GetModelCount()) in RemoveTabAt() 224 StartMouseInitiatedRemoveTabAnimation(model_index); in RemoveTabAt() 226 StartRemoveTabAnimation(model_index); in RemoveTabAt() 245 void TabStrip::TabTitleChangedNotLoading(int model_index) { in TabTitleChangedNotLoading() argument 246 Tab* tab = GetTabAtModelIndex(model_index); in TabTitleChangedNotLoading() 251 void TabStrip::StartHighlight(int model_index) { in StartHighlight() argument 252 GetTabAtModelIndex(model_index)->StartPulse(); in StartHighlight() [all …]
|
D | side_tab_strip.h | 27 virtual void StartHighlight(int model_index) OVERRIDE; 30 virtual void RemoveTabAt(int model_index) OVERRIDE; 32 virtual void TabTitleChangedNotLoading(int model_index) OVERRIDE; 48 virtual void StartInsertTabAnimation(int model_index) OVERRIDE;
|
D | side_tab_strip.cc | 160 void SideTabStrip::StartHighlight(int model_index) { in StartHighlight() argument 174 void SideTabStrip::RemoveTabAt(int model_index) { in RemoveTabAt() argument 175 StartRemoveTabAnimation(model_index); in RemoveTabAt() 185 void SideTabStrip::TabTitleChangedNotLoading(int model_index) { in TabTitleChangedNotLoading() argument 340 void SideTabStrip::StartInsertTabAnimation(int model_index) { in StartInsertTabAnimation() argument 345 int tab_data_index = ModelIndexToTabIndex(model_index); in StartInsertTabAnimation() 347 if (model_index == 0) { in StartInsertTabAnimation()
|
D | dragged_tab_controller.cc | 1096 int model_index = model->GetIndexOfTabContents(drag_data_[i].contents); in GetTabsMatchingDraggedContents() local 1097 if (model_index == TabStripModel::kNoTab) in GetTabsMatchingDraggedContents() 1099 tabs.push_back(tabstrip->GetBaseTabAtModelIndex(model_index)); in GetTabsMatchingDraggedContents()
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
D | touch_tab_strip.h | 34 virtual void PrepareForCloseAt(int model_index); 35 virtual void StartHighlight(int model_index); 38 virtual void RemoveTabAt(int model_index); 40 virtual void TabTitleChangedNotLoading(int model_index); 42 virtual void StartInsertTabAnimation(int model_index);
|
D | touch_tab_strip.cc | 65 void TouchTabStrip::PrepareForCloseAt(int model_index) { in PrepareForCloseAt() argument 75 void TouchTabStrip::StartHighlight(int model_index) { in StartHighlight() argument 85 void TouchTabStrip::RemoveTabAt(int model_index) { in RemoveTabAt() argument 86 StartRemoveTabAnimation(model_index); in RemoveTabAt() 93 void TouchTabStrip::TabTitleChangedNotLoading(int model_index) { in TabTitleChangedNotLoading() argument 100 void TouchTabStrip::StartInsertTabAnimation(int model_index) { in StartInsertTabAnimation() argument 107 int tab_data_index = ModelIndexToTabIndex(model_index); in StartInsertTabAnimation() 109 if (model_index == 0) { in StartInsertTabAnimation()
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
D | touch_autocomplete_popup_contents_view.cc | 23 int model_index, in TouchAutocompleteResultView() argument 26 : AutocompleteResultView(model, model_index, font, bold_font) { in TouchAutocompleteResultView() 117 int model_index, in CreateResultView() argument 120 return new TouchAutocompleteResultView(model, model_index, font, bold_font); in CreateResultView()
|
D | touch_autocomplete_popup_contents_view.h | 28 int model_index, 64 int model_index,
|
D | autocomplete_result_view.h | 38 int model_index,
|
D | autocomplete_result_view.cc | 111 int model_index, in AutocompleteResultView() argument 115 model_index_(model_index), in AutocompleteResultView() 121 CHECK_GE(model_index, 0); in AutocompleteResultView()
|
D | autocomplete_popup_contents_view.h | 91 int model_index,
|
D | autocomplete_popup_contents_view.cc | 499 int model_index, in CreateResultView() argument 502 return new AutocompleteResultView(model, model_index, font, bold_font); in CreateResultView()
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | back_forward_menu_model.cc | 246 int model_index = -1; in OnFavIconDataAvailable() local 251 model_index = i; in OnFavIconDataAvailable() 275 menu_model_delegate()->OnIconChanged(model_index); in OnFavIconDataAvailable()
|
D | back_forward_menu_model_unittest.cc | 40 void OnIconChanged(int model_index) { in OnIconChanged() argument
|
/external/srec/srec/crec/ |
D | srec.c | 352 modelID model_index; in find_which_models_to_compute() local 374 for (model_index = 0; model_index < acoustic_models->num_hmmstates; model_index++) in find_which_models_to_compute() 376 current_model_scores[model_index] = DO_NOT_COMPUTE_MODEL; in find_which_models_to_compute() 394 model_index = hmm_info->state_indices[i]; in find_which_models_to_compute() 395 current_model_scores[model_index] = DO_COMPUTE_MODEL; in find_which_models_to_compute() 1108 modelID model_index; in update_internal_hmm_states() local 1146 model_index = hmm_info->state_indices[internal_state]; in update_internal_hmm_states() 1147 model_cost = precomputed_model_scores[model_index]; in update_internal_hmm_states() 1186 …costdata)(self_loop_cost + (costdata) duration_penalty_loop(rec->avg_state_durations[ model_index], in update_internal_hmm_states() 1528 modelID model_index; in update_from_current_fsm_nodes_into_new_HMMs() local [all …]
|
/external/chromium/chrome/browser/ui/gtk/ |
D | browser_actions_toolbar_gtk.cc | 898 int model_index = i; in OnOverflowButtonPress() local 900 model_index = model_->IncognitoIndexToOriginal(i); in OnOverflowButtonPress() 902 const Extension* extension = model_->GetExtensionByIndex(model_index); in OnOverflowButtonPress() 905 overflow_menu_model_->AddItem(model_index, UTF8ToUTF16(extension->name())); in OnOverflowButtonPress()
|