Home
last modified time | relevance | path

Searched refs:default_view (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/ash/system/tray/
Dtray_details_view_unittest.cc82 views::View* default_view() const { return default_view_; } in default_view() function in ash::test::__anon44e835e20111::TestItem
118 EXPECT_FALSE(test_item_2->default_view()); in TEST_F()
126 EXPECT_TRUE(test_item_2->default_view()); in TEST_F()
128 EXPECT_TRUE(test_item_2->default_view()->HasFocus()); in TEST_F()
134 EXPECT_FALSE(test_item_2->default_view()); in TEST_F()
141 EXPECT_TRUE(test_item_2->default_view()); in TEST_F()
143 EXPECT_FALSE(test_item_2->default_view()->HasFocus()); in TEST_F()
Dsystem_tray_unittest.cc101 views::View* default_view() const { return default_view_; } in default_view() function in ash::test::__anon81f125a70111::TestItem
237 ASSERT_TRUE(test_item->default_view() != NULL); in TEST_F()
238 ASSERT_TRUE(detailed_item->default_view() != NULL); in TEST_F()
243 ASSERT_TRUE(test_item->default_view() == NULL); in TEST_F()
249 ASSERT_TRUE(test_item->default_view() != NULL); in TEST_F()
343 views::Widget* widget = test_item->default_view()->GetWidget(); in TEST_F()
349 EXPECT_FALSE(test_item->default_view()); in TEST_F()
358 EXPECT_EQ(bubble_bounds.ToString(), test_item->default_view()->GetWidget()-> in TEST_F()
360 EXPECT_EQ(widget, test_item->default_view()->GetWidget()); in TEST_F()
/external/chromium_org/ash/system/chromeos/rotation/
Dtray_rotation_lock_unittest.cc40 views::View* default_view() { in default_view() function in ash::TrayRotationLockTest
163 EXPECT_FALSE(default_view()->visible()); in TEST_F()
173 EXPECT_TRUE(default_view()->visible()); in TEST_F()
183 EXPECT_TRUE(default_view()->visible()); in TEST_F()
186 EXPECT_FALSE(default_view()->visible()); in TEST_F()
199 EXPECT_EQ(NULL, default_view()); in TEST_F()
214 default_view()->OnGestureEvent(&tap); in TEST_F()
/external/chromium_org/ash/system/chromeos/screen_security/
Dscreen_tray_item.h107 tray::ScreenStatusView* default_view() { return default_view_; } in default_view() function
108 void set_default_view(tray::ScreenStatusView* default_view) { in set_default_view() argument
109 default_view_ = default_view; in set_default_view()
Dscreen_tray_item_unittest.cc206 EXPECT_TRUE(tray_item->default_view()); in TestSystemTrayInteraction()
208 EXPECT_FALSE(tray_item->default_view()); in TestSystemTrayInteraction()
215 EXPECT_FALSE(tray_item->default_view()->visible()); in TestSystemTrayInteraction()
Dscreen_capture_tray_item.cc50 return default_view(); in CreateDefaultView()
Dscreen_share_tray_item.cc50 return default_view(); in CreateDefaultView()
/external/chromium_org/ash/system/chromeos/brightness/
Dtray_brightness.cc53 BrightnessView(bool default_view, double initial_percent);
96 BrightnessView::BrightnessView(bool default_view, double initial_percent) in BrightnessView() argument
98 is_default_view_(default_view), in BrightnessView()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray_unittest.cc76 views::View* default_view = new views::View; in CreateDefaultView() local
77 default_view->SetLayoutManager(new views::FillLayout); in CreateDefaultView()
78 default_view->AddChildView(new views::Label(base::UTF8ToUTF16("Default"))); in CreateDefaultView()
79 return default_view; in CreateDefaultView()
/external/chromium_org/ash/system/chromeos/
Dtray_display.h66 const views::View* default_view() const { in default_view() function
Dtray_display_unittest.cc126 tray_display_->default_view() && in IsDisplayVisibleInTray()
127 tray_display_->default_view()->visible(); in IsDisplayVisibleInTray()
143 if (!tray_display_->default_view()) in GetTrayDisplayTooltipText()
147 if (!tray_display_->default_view()->GetTooltipText(gfx::Point(), &tooltip)) in GetTrayDisplayTooltipText()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DViewTest.java398 View defaultView = root.findViewById(R.id.default_view); in testFilterTouchesWhenObscuredWhenLoadedFromXml()
424 View defaultView = root.findViewById(R.id.default_view); in testClickableWhenLoadedFromXml()
450 View defaultView = root.findViewById(R.id.default_view); in testFocusableWhenLoadedFromXml()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/
DR.java58 public static final int default_view = nextId++; field in R.id
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc313 views::View* default_view() const { return default_view_; } in default_view() function in ash::__anonec8955ea0111::TestItem