Home
last modified time | relevance | path

Searched refs:IsSelected (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/tools/telemetry/telemetry/page/
Dpage_filter_unittest.py43 self.assertTrue(page_filter.IsSelected(self.p1))
44 self.assertFalse(page_filter.IsSelected(self.p2))
47 self.assertTrue(page_filter.IsSelected(self.p1))
48 self.assertTrue(page_filter.IsSelected(self.p2))
51 self.assertFalse(page_filter.IsSelected(self.p1))
52 self.assertFalse(page_filter.IsSelected(self.p2))
57 self.assertFalse(page_filter.IsSelected(self.p1))
58 self.assertFalse(page_filter.IsSelected(self.p2))
61 self.assertTrue(page_filter.IsSelected(self.p1))
62 self.assertTrue(page_filter.IsSelected(self.p2))
[all …]
Dpage_filter.py41 def IsSelected(self, page): member in PageFilter
/external/chromium/chrome/browser/tabs/
Dtab_strip_selection_model.cc65 bool TabStripSelectionModel::IsSelected(int index) const { in IsSelected() function in TabStripSelectionModel
71 if (!IsSelected(index)) { in AddIndexToSelection()
103 if (!IsSelected(i)) in AddSelectionFromAnchorTo()
115 bool was_selected = IsSelected(from); in Move()
Dtab_strip_selection_model_unittest.cc73 TEST_F(TabStripSelectionModelTest, IsSelected) { in TEST_F() argument
76 EXPECT_FALSE(model.IsSelected(0)); in TEST_F()
77 EXPECT_TRUE(model.IsSelected(2)); in TEST_F()
Dtab_strip_selection_model.h61 bool IsSelected(int index) const;
/external/chromium_org/ui/base/models/
Dlist_selection_model.cc69 bool ListSelectionModel::IsSelected(int index) const { in IsSelected() function in ui::ListSelectionModel
75 if (!IsSelected(index)) { in AddIndexToSelection()
107 if (!IsSelected(i)) in AddSelectionFromAnchorTo()
119 bool was_selected = IsSelected(from); in Move()
Dlist_selection_model_unittest.cc83 TEST_F(ListSelectionModelTest, IsSelected) { in TEST_F() argument
86 EXPECT_FALSE(model.IsSelected(0)); in TEST_F()
87 EXPECT_TRUE(model.IsSelected(2)); in TEST_F()
Dlist_selection_model.h64 bool IsSelected(int index) const;
/external/chromium/chrome/browser/ui/views/tabs/
Dbase_tab.cc202 HasSwitch(switches::kReloadKilledTabs) && !IsSelected()) { in SetData()
276 bool BaseTab::IsSelected() const { in IsSelected() function in BaseTab
296 if (!IsSelected()) { in OnMousePressed()
300 } else if (!IsSelected()) { in OnMousePressed()
Dside_tab.cc111 return IsSelected() || !controller(); in ShouldPaintHighlight()
Dbase_tab.h83 virtual bool IsSelected() const;
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_renderer_gtk.cc348 bool TabRendererGtk::IsSelected() const { in IsSelected() function in TabRendererGtk
389 if (IsSelected()) { in PaintFaviconArea()
406 if (!IsSelected()) { in PaintFaviconArea()
433 } else if (IsSelected()) { in ShouldShowIcon()
820 SkColor title_color = IsSelected() ? selected_title_color_ in PaintTitle()
877 if (IsSelected()) { in PaintTabBackground()
990 return !mini() && (IsSelected() || IconCapacity() >= 3); in ShouldShowCloseBox()
Dtab_strip_gtk.cc167 tab_width = tab->IsSelected() ? selected : unselected; in GetCurrentTabWidth()
301 if (tabstrip_->GetTabAt(index)->IsSelected()) { in GetWidthForTab()
382 if (tab->IsSelected()) { in GetWidthForTab()
490 if (tab->IsSelected()) { in GetWidthForTab()
508 if (current_tab->IsSelected()) { in InitStartState()
562 if (tab->IsSelected()) { in GetWidthForTab()
660 if (tab->IsSelected()) { in GetWidthForTab()
1053 if (tab->mini() && !tab->IsSelected()) in TabChangedAt()
1345 else if (tab->IsSelected()) in GenerateIdealBounds()
1489 int w = Round(first_tab->IsSelected() ? selected : unselected); in ResizeLayoutTabs()
[all …]
Dtab_gtk.cc179 bool just_selected = !IsSelected(); in OnButtonPressEvent()
296 bool TabGtk::IsSelected() const { in IsSelected() function in TabGtk
Dtab_gtk.h104 virtual bool IsSelected() const;
/external/chromium_org/content/browser/accessibility/
Dbrowser_accessibility_android.h37 bool IsSelected() const;
Daccessibility_tree_formatter_android.cc96 dict->SetBoolean("selected", android_node->IsSelected()); in AddProperties()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab_strip.cc142 if (tab->IsSelected()) { in GenerateIdealBounds()
300 } else if (!tab->IsSelected()) { in PaintChildren()
Dtouch_tab.cc86 GetColor(IsSelected() ? in OnPaint()
130 if (IsSelected()) { in PaintTabBackground()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_gtk.cc252 bool TabGtk::IsSelected() const { in IsSelected() function in TabGtk
348 if (!IsSelected()) in StartDragging()
Dtab_gtk.h117 virtual bool IsSelected() const OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab.cc547 bool Tab::IsSelected() const { in IsSelected() function in Tab
566 if (IsSelected() || in SetData()
997 if (!IsSelected()) { in OnMousePressed()
1001 } else if (!IsSelected()) { in OnMousePressed()
1004 } else if (!IsSelected()) { in OnMousePressed()
1094 if (!IsSelected()) in OnGestureEvent()
1169 GetColor(IsSelected() ? in PaintTab()
1635 bool is_selected = IsSelected(); in GetThrobValue()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view_test.cc903 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step3()
915 ASSERT_FALSE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step4()
916 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(1)->IsSelected()); in Step4()
930 ASSERT_TRUE(submenu->IsSelected()); in Step5()
946 ASSERT_TRUE(submenu->IsSelected()); in Step6()
960 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step7()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_view_test.cc937 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step3()
949 ASSERT_FALSE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step4()
950 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(1)->IsSelected()); in Step4()
964 ASSERT_TRUE(submenu->IsSelected()); in Step5()
980 ASSERT_TRUE(submenu->IsSelected()); in Step6()
994 ASSERT_TRUE(menu->GetSubmenu()->GetMenuItemAt(0)->IsSelected()); in Step7()
/external/chromium_org/ui/views/controls/menu/
Dmenu_item_view.h254 bool IsSelected() const { return selected_; } in IsSelected() function

12