Home
last modified time | relevance | path

Searched refs:tray_view (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/ash/system/tray/
Dtray_utils.cc24 void SetTrayImageItemBorder(views::View* tray_view, in SetTrayImageItemBorder() argument
28 tray_view->SetBorder(views::Border::CreateEmptyBorder( in SetTrayImageItemBorder()
34 tray_view->SetBorder(views::Border::CreateEmptyBorder( in SetTrayImageItemBorder()
42 void SetTrayLabelItemBorder(TrayItemView* tray_view, in SetTrayLabelItemBorder() argument
46 tray_view->SetBorder(views::Border::CreateEmptyBorder( in SetTrayLabelItemBorder()
54 (tray_view->GetPreferredSize().width() - in SetTrayLabelItemBorder()
55 tray_view->label()->GetPreferredSize().width()) / 2); in SetTrayLabelItemBorder()
56 tray_view->SetBorder(views::Border::CreateEmptyBorder( in SetTrayLabelItemBorder()
Dtray_utils.h25 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment);
28 void SetTrayLabelItemBorder(TrayItemView* tray_view,
Dtray_details_view_unittest.cc81 views::View* tray_view() const { return tray_view_; } in tray_view() function in ash::test::__anon44e835e20111::TestItem
107 ASSERT_TRUE(test_item_1->tray_view() != NULL); in TEST_F()
108 ASSERT_TRUE(test_item_2->tray_view() != NULL); in TEST_F()
Dsystem_tray_unittest.cc100 views::View* tray_view() const { return tray_view_; } in tray_view() function in ash::test::__anon81f125a70111::TestItem
232 ASSERT_TRUE(test_item->tray_view() != NULL); in TEST_F()
233 ASSERT_TRUE(detailed_item->tray_view() != NULL); in TEST_F()
285 new_item->tray_view()->SetVisible(false); in TEST_F()
289 new_item->tray_view()->SetVisible(true); in TEST_F()
304 ASSERT_TRUE(test_item->tray_view() != NULL); in TEST_F()
305 ASSERT_TRUE(detailed_item->tray_view() != NULL); in TEST_F()
337 ASSERT_TRUE(test_item->tray_view() != NULL); in TEST_F()
Dtray_image_item.h22 views::View* tray_view();
Dtray_image_item.cc25 views::View* TrayImageItem::tray_view() { in tray_view() function in ash::TrayImageItem
/external/chromium_org/ash/system/chromeos/rotation/
Dtray_rotation_lock_unittest.cc36 views::View* tray_view() { in tray_view() function in ash::TrayRotationLockTest
100 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
110 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
123 EXPECT_TRUE(tray_view()->visible()); in TEST_F()
126 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
132 ASSERT_FALSE(tray_view()->visible()); in TEST_F()
136 EXPECT_TRUE(tray_view()->visible()); in TEST_F()
139 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
151 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
154 EXPECT_FALSE(tray_view()->visible()); in TEST_F()
[all …]
Dtray_rotation_lock.cc113 tray_view()->SetVisible(ShouldBeVisible()); in OnRotationLockChanged()
123 tray_view()->SetVisible( in OnMaximizeModeStarted()
129 tray_view()->SetVisible(false); in OnMaximizeModeEnded()
/external/chromium_org/ash/system/audio/
Dtray_audio.cc99 if (tray_view()) in OnOutputVolumeChanged()
100 tray_view()->SetVisible(GetInitialVisibility()); in OnOutputVolumeChanged()
112 if (tray_view()) in OnOutputMuteChanged()
113 tray_view()->SetVisible(GetInitialVisibility()); in OnOutputMuteChanged()
137 if (tray_view()) in Update()
138 tray_view()->SetVisible(GetInitialVisibility()); in Update()
/external/chromium_org/ash/system/tray/media_security/
Dmulti_profile_media_tray_item_unittest.cc39 views::View* tray_view = in TEST_F() local
42 EXPECT_FALSE(tray_view->visible()); in TEST_F()
46 EXPECT_TRUE(tray_view->visible()); in TEST_F()
50 EXPECT_TRUE(tray_view->visible()); in TEST_F()
54 EXPECT_FALSE(tray_view->visible()); in TEST_F()
/external/chromium_org/ash/system/chromeos/
Dtray_tracing.cc79 if (tray_view()) in SetTrayIconVisible()
80 tray_view()->SetVisible(visible); in SetTrayIconVisible()
89 if (tray_view() && tray_view()->visible()) in CreateDefaultView()
Dtray_caps_lock.cc153 if (tray_view()) in OnCapsLockChanged()
154 tray_view()->SetVisible(caps_lock_enabled_); in OnCapsLockChanged()
/external/chromium_org/ash/system/chromeos/screen_security/
Dscreen_tray_item.h102 tray::ScreenTrayView* tray_view() { return tray_view_; } in tray_view() function
103 void set_tray_view(tray::ScreenTrayView* tray_view) { in set_tray_view() argument
104 tray_view_ = tray_view; in set_tray_view()
Dscreen_tray_item_unittest.cc194 EXPECT_FALSE(tray_item->tray_view()->visible()); in TestSystemTrayInteraction()
202 EXPECT_TRUE(tray_item->tray_view()->visible()); in TestSystemTrayInteraction()
211 EXPECT_FALSE(tray_item->tray_view()->visible()); in TestSystemTrayInteraction()
Dscreen_capture_tray_item.cc39 return tray_view(); in CreateTrayView()
Dscreen_share_tray_item.cc39 return tray_view(); in CreateTrayView()
/external/chromium_org/ash/system/
Dtray_accessibility.cc338 if (tray_view()) in SetTrayIconVisible()
339 tray_view()->SetVisible(visible); in SetTrayIconVisible()
Dtray_update.cc194 tray_view()->SetVisible(true); in OnUpdateRecommended()
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc312 views::View* tray_view() const { return tray_view_; } in tray_view() function in ash::__anonec8955ea0111::TestItem