Home
last modified time | relevance | path

Searched refs:active_index (Results 1 – 25 of 680) sorted by relevance

12345678910>>...28

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/tabs/
H A Dstacked_tab_strip_layout.cc43 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); in SetXAndPinnedCount()
61 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); in SetWidth()
68 int old = active_index(); in SetActiveIndex()
72 SetIdealBoundsAt(active_index(), ConstrainActiveX(ideal_x(active_index()))); in SetActiveIndex()
239 if (index > active_index()) in IsStacked()
267 if (i == active_index()) in BoundsString()
270 if (i == active_index()) in BoundsString()
287 active_index_ = active_index; in Reset()
319 int index = active_index(); in ResetToIdealState()
479 ideal_x(active_index()) + stacked_padding_for_count(i - active_index()); in ExpandTabsAfter()
[all …]
H A Dstacked_tab_strip_layout_unittest.cc29 const int active_index; member
48 int active_index) { in Reset() argument
49 layout->Reset(x, width, pinned_tab_count, active_index); in Reset()
63 data.active_index); in CreateLayout()
67 data.active_index); in CreateLayout()
114 std::string BoundsString2(int active_index) const { in BoundsString2()
119 if (i == active_index) in BoundsString2()
122 if (i == active_index) in BoundsString2()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/snowpac/test/include/
H A Dgtest_improvepoisedness.hpp39 data.active_index.push_back ( 0 ); in improvepoisedness_test1()
42 data.active_index.push_back ( 1 ); in improvepoisedness_test1()
45 data.active_index.push_back ( 2 ); in improvepoisedness_test1()
48 data.active_index.push_back ( 3 ); in improvepoisedness_test1()
51 data.active_index.push_back ( 4 ); in improvepoisedness_test1()
92 data.active_index.push_back ( 0 ); in improvepoisedness_test2()
95 data.active_index.push_back ( 1 ); in improvepoisedness_test2()
98 data.active_index.push_back ( 2 ); in improvepoisedness_test2()
101 data.active_index.push_back ( 3 ); in improvepoisedness_test2()
104 data.active_index.push_back ( 4 ); in improvepoisedness_test2()
[all …]
H A Dgtest_blackboxdata.hpp35 data.active_index.push_back( 0 ); in blackboxdata_test1()
45 data.active_index.push_back( 1 ); in blackboxdata_test1()
55 data.active_index.push_back( 2 ); in blackboxdata_test1()
65 data.active_index.push_back( 3 ); in blackboxdata_test1()
84 data.active_index.push_back( 5 ); in blackboxdata_test1()
108 for ( unsigned i = 0; i < data.active_index.size(); ++i ) in blackboxdata_test1()
111 for ( unsigned i = 0; i < data.active_index.size(); ++i ) in blackboxdata_test1()
114 for ( unsigned i = 0; i < data.active_index.size(); ++i ) in blackboxdata_test1()
117 for ( unsigned i = 0; i < data.active_index.size(); ++i ) in blackboxdata_test1()
121 data.active_index.erase(data.active_index.begin()+1); in blackboxdata_test1()
[all …]
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/snowpac/src/
H A DImprovePoisedness.cpp57 nb_nodes = evaluations.active_index.size( ); in replace_node()
73 std::vector<int> eval_act_ind = evaluations.active_index; in replace_node()
83 evaluations.active_index[ i ] != check_node ) { in replace_node()
89 evaluations.active_index.erase( evaluations.active_index.begin() + i ); in replace_node()
94 evaluations.active_index.erase( evaluations.active_index.begin() + i ); in replace_node()
103 nb_nodes = evaluations.active_index.size( ); in replace_node()
107 if ( evaluations.active_index[ i ] != reference_node ) { in replace_node()
157 nb_nodes = evaluations.active_index.size( ); in improve_poisedness()
193 evaluations.active_index.erase( in improve_poisedness()
194 evaluations.active_index.begin() + change_index ); in improve_poisedness()
[all …]
H A DGaussianProcessSupport.cpp84 for(int j = 0; j < evaluations.active_index.size(); ++j){ in update_gaussian_processes_for_gp()
85 if(i == evaluations.active_index[j]){ in update_gaussian_processes_for_gp()
403 for(int i = 0; i < evaluations.active_index.size(); ++i){ in smooth_data()
413 for(int i = 0; i < evaluations.active_index.size(); ++i){ in smooth_data()
414 if(evaluations.active_index[i] == evaluations.best_index){ in smooth_data()
485 cur_xstar_idx = evaluations.active_index[i]; in smooth_data()
543 if(evaluations.active_index[i] == evaluations.best_index){ in smooth_data()
677 evaluations.active_index.erase( evaluations.active_index.end()-1 ); in smooth_data()
680 evaluations.active_index.erase( evaluations.active_index.end()-1 ); in smooth_data()
687 for(int i = 0; i < evaluations.active_index.size(); ++i){ in smooth_data()
[all …]
H A DBlackBoxData.cpp21 int nb_active_nodes = active_index.size(); in delete_history()
27 if ( best_index == active_index.at(j) ) { in delete_history()
36 if ( i == active_index.at(j) ) { in delete_history()
42 active_index.erase( active_index.begin() + found_point ); in delete_history()
57 assert( active_index.size() == 0 ); in delete_history()
59 active_index.push_back( i ); in delete_history()
84 output_file << active_index.size() << std::endl; in write_to_file()
87 output_file << active_index[i] << " ; "; in write_to_file()
240 int active_index_size = active_index.size(); in get_scaled_active_nodes()
261 int active_index_size = active_index.size(); in get_active_values()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/ash/
H A Dtab_scrubber_browsertest.cc156 int active_index = browser->tab_strip_model()->active_index(); in SendScrubEvent() local
163 GetStartX(browser, active_index, direction); in SendScrubEvent()
181 int active_index = browser->tab_strip_model()->active_index(); in Scrub() local
182 ASSERT_NE(index, active_index); in Scrub()
186 if (index < active_index) { in Scrub()
200 int last = GetStartX(browser, active_index, direction); in Scrub()
336 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
341 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
354 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
362 EXPECT_EQ(4, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/blocked_content/
H A Dpopup_tracker_browsertest.cc130 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
134 active_index, TabStripModel::CLOSE_USER_GESTURE); in IN_PROC_BROWSER_TEST_F()
177 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
414 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
447 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
493 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
530 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
563 int active_index = created_browser->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
603 int active_index = created_browser->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
638 int active_index = created_browser->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/modules/accessibility/
H A Dax_list_box.cc58 int active_index = select->ActiveSelectionEndListIndex(); in ActiveDescendant() local
59 if (active_index >= 0 && active_index < static_cast<int>(select->length())) { in ActiveDescendant()
72 int active_index = select->ActiveSelectionEndListIndex(); in ActiveIndexChanged() local
73 if (active_index == active_index_) in ActiveIndexChanged()
76 active_index_ = active_index; in ActiveIndexChanged()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/accessibility/
H A Dax_list_box.cc58 int active_index = select->ActiveSelectionEndListIndex(); in ActiveDescendant() local
59 if (active_index >= 0 && active_index < static_cast<int>(select->length())) { in ActiveDescendant()
72 int active_index = select->ActiveSelectionEndListIndex(); in ActiveIndexChanged() local
73 if (active_index == active_index_) in ActiveIndexChanged()
76 active_index_ = active_index; in ActiveIndexChanged()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/pecos/util/src/
H A Dorthogonal_matching_pursuit.hpp184 int active_index = -1; in orthogonal_matching_pursuit() local
196 active_index = n; in orthogonal_matching_pursuit()
208 active_index = ordering[num_active_indices]; in orthogonal_matching_pursuit()
219 if ( active_index_set[i] == active_index ){ in orthogonal_matching_pursuit()
221 std::cout << "Exiting: New active index " << active_index in orthogonal_matching_pursuit()
250 Teuchos::getCol(Teuchos::View, const_cast<RealMatrix &>(A), active_index); in orthogonal_matching_pursuit()
255 active_index_set[num_active_indices] = active_index; in orthogonal_matching_pursuit()
275 A_sparse(m,num_active_indices) = A(m,active_index); in orthogonal_matching_pursuit()
298 msg << "No variable added. Column " << active_index; in orthogonal_matching_pursuit()
308 result_1(1,storage_index) = active_index; in orthogonal_matching_pursuit()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/web_state_list/
H A Dweb_state_list_order_controller.mm46 int active_index,
52 if (active_index == WebStateList::kInvalidIndex)
56 DCHECK(web_state_list_->ContainsIndex(active_index));
65 if (active_index != removing_index)
66 return GetValidIndex(active_index, removing_index);
104 int WebStateListOrderController::GetValidIndex(int active_index,
106 if (active_index < removing_index)
107 return active_index;
109 DCHECK_NE(active_index, removing_index);
110 return active_index - 1;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/translate/
H A Dtranslate_bubble_view_browsertest.cc122 int active_index = browser()->tab_strip_model()->active_index(); in IN_PROC_BROWSER_TEST_F() local
125 int french_index = active_index + 1; in IN_PROC_BROWSER_TEST_F()
128 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
139 EXPECT_EQ(active_index, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ios/chrome/browser/snapshots/
H A Dsnapshot_cache_web_state_list_observer.mm29 int active_index,
35 if (active_index > 0) {
36 web::WebState* web_state = web_state_list->GetWebStateAt(active_index - 1);
40 if (active_index + 1 < web_state_list->count()) {
41 web::WebState* web_state = web_state_list->GetWebStateAt(active_index + 1);
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/permission_bubble/
H A Dpermission_bubble_interactive_uitest.cc101 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); in TestSwitchingTabsWithCurlyBraces()
107 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in TestSwitchingTabsWithCurlyBraces()
141 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
146 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
166 EXPECT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
177 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
/dports/biology/wise/wise2.4.1/src/dnaindex/
H A Dkmer_glib_index.dy10 kmer_t * active_index;
58 if( kgi->active_index == NULL ) {
65 return kgi->active_index[kgi->kmer_pos++];
110 kgi->active_index = calloc(size,sizeof(kmer_t));
124 kgi->active_index[kgi->kmer_pos++] = (kmer_t) key;
134 out->active_index = NULL;
H A Dkmer_glib_index.c44 if( kgi->active_index == NULL ) { in next_filled_kmer_KmerGlibIndex()
51 return kgi->active_index[kgi->kmer_pos++]; in next_filled_kmer_KmerGlibIndex()
100 kgi->active_index = calloc(size,sizeof(kmer_t)); in make_active_kmer_KmerGlibIndex()
115 kgi->active_index[kgi->kmer_pos++] = (kmer_t) key; in retrieve_active_kmer_KmerGlibIndex()
126 out->active_index = NULL; in new_KmerGlibIndex()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/search/
H A Dinstant_theme_browsertest.cc174 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
185 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
197 ASSERT_EQ(2, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
208 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
228 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
239 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
260 ASSERT_EQ(2, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
283 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
295 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/
H A Dkeyboard_access_browsertest.cc187 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in TestMenuKeyboardAccess()
241 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in TestMenuKeyboardAccess()
291 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in TestSystemMenuWithKeyboard()
325 ASSERT_EQ(1, browser()->tab_strip_model()->active_index()); in TestSystemMenuReopenClosedTabWithKeyboard()
332 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in TestSystemMenuReopenClosedTabWithKeyboard()
353 EXPECT_EQ(1, browser()->tab_strip_model()->active_index()); in TestSystemMenuReopenClosedTabWithKeyboard()
363 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in TestMenuKeyboardAccessAndDismiss()
466 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
471 ASSERT_EQ(2, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
479 ASSERT_EQ(0, browser()->tab_strip_model()->active_index()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/tabs/
H A Dtab_strip_model_order_controller.cc30 model_->active_index() != -1) { in DetermineInsertionIndex()
34 return model_->active_index() + 1; in DetermineInsertionIndex()
40 opener, model_->active_index()); in DetermineInsertionIndex()
44 return model_->active_index() + 1; in DetermineInsertionIndex()
56 if (removing_index != model_->active_index()) in DetermineNewSelectedIndex()
H A Dtab_activity_simulator.cc83 int active_index = tab_strip_model->active_index(); in SwitchToTabAt() local
84 CHECK(new_index != active_index); in SwitchToTabAt()
87 tab_strip_model->GetWebContentsAt(active_index); in SwitchToTabAt()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/android/tab_model/
H A Dtab_model.cc49 int active_index = GetActiveIndex(); in GetActiveWebContents() local
50 if (active_index == INVALID_TAB_INDEX) in GetActiveWebContents()
52 return GetWebContentsAt(active_index); in GetActiveWebContents()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/viz/service/display/
H A Dframe_rate_decider.cc59 const uint64_t active_index = surface->GetActiveFrameIndex(); in OnSurfaceWillBeDrawn() local
63 current_surface_id_to_active_index_[surface_id] = active_index; in OnSurfaceWillBeDrawn()
65 DCHECK_EQ(it->second, active_index) in OnSurfaceWillBeDrawn()
72 it->second != active_index) { in OnSurfaceWillBeDrawn()
/dports/deskutils/py-py3status/py3status-3.40/py3status/modules/
H A Dvelib_metropole.py147 self.active_index = 0
251 station = data[self.active_index]
276 self.active_index += 1
278 self.active_index -= 1
279 self.active_index %= self.count_stations

12345678910>>...28