Home
last modified time | relevance | path

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

/external/chromium_org/ash/system/tray/
Dtray_item_view.cc88 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in GetPreferredSize()
89 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) in GetPreferredSize()
95 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in GetPreferredSize()
96 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) { in GetPreferredSize()
116 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in AnimationProgressed()
117 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) { in AnimationProgressed()
Dsystem_tray.cc220 item->UpdateAfterShelfAlignmentChange(shelf_alignment()); in AddTrayItem()
313 if (shelf_alignment() != SHELF_ALIGNMENT_BOTTOM) in UpdateAfterLoginStatusChange()
314 UpdateAfterShelfAlignmentChange(shelf_alignment()); in UpdateAfterLoginStatusChange()
416 if (shelf_alignment() != SHELF_ALIGNMENT_BOTTOM && in GetTrayXOffset()
417 shelf_alignment() != SHELF_ALIGNMENT_TOP) in GetTrayXOffset()
609 if (alignment == shelf_alignment()) in SetShelfAlignment()
707 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in PerformAction()
708 shelf_alignment() == SHELF_ALIGNMENT_TOP) { in PerformAction()
Dtray_image_item.cc44 SetItemAlignment(system_tray()->shelf_alignment()); in CreateTrayView()
Dtray_background_view.h144 ShelfAlignment shelf_alignment() const { return shelf_alignment_; } in shelf_alignment() function
Dtray_background_view.cc488 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM) { in SetTrayBorder()
494 } else if (shelf_alignment() == SHELF_ALIGNMENT_LEFT) { in SetTrayBorder()
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/
Dfirst_run_ui.cc63 std::string shelf_alignment; in SetLocalizedStrings() local
67 shelf_alignment = kShelfAlignmentBottom; in SetLocalizedStrings()
70 shelf_alignment = kShelfAlignmentLeft; in SetLocalizedStrings()
73 shelf_alignment = kShelfAlignmentRight; in SetLocalizedStrings()
78 localized_strings->SetString("shelfAlignment", shelf_alignment); in SetLocalizedStrings()
/external/chromium_org/ash/system/overview/
Doverview_button_tray.cc88 if (alignment == shelf_alignment()) in SetShelfAlignment()
96 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in SetIconBorderForShelfAlignment()
97 shelf_alignment() == SHELF_ALIGNMENT_TOP) { in SetIconBorderForShelfAlignment()
/external/chromium_org/ash/keyboard_overlay/
Dkeyboard_overlay_delegate_unittest.cc24 ShelfAlignment shelf_alignment() const { return shelf_alignment_; } in shelf_alignment() function in ash::KeyboardOverlayDelegateTest
39 shell->SetShelfAlignment(shelf_alignment(), shell->GetPrimaryRootWindow()); in TEST_P()
/external/chromium_org/ash/system/date/
Dtray_date.cc56 (system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in CreateTrayView()
57 system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) ? in CreateTrayView()
/external/chromium_org/ash/wm/
Dapp_list_controller.cc68 ShelfAlignment shelf_alignment = Shell::GetInstance()->GetShelfAlignment( in OffsetTowardsShelf() local
71 switch (shelf_alignment) { in OffsetTowardsShelf()
94 ShelfAlignment shelf_alignment = Shell::GetInstance()->GetShelfAlignment( in GetAnchorPositionOffsetToShelf() local
97 switch (shelf_alignment) { in GetAnchorPositionOffsetToShelf()
/external/chromium_org/ash/wm/dock/
Ddocked_window_layout_manager.cc630 ShelfAlignment shelf_alignment = SHELF_ALIGNMENT_BOTTOM; in CanDockWindow() local
632 shelf_alignment = shelf_->alignment(); in CanDockWindow()
634 shelf_alignment == SHELF_ALIGNMENT_LEFT) || in CanDockWindow()
636 shelf_alignment == SHELF_ALIGNMENT_RIGHT)) { in CanDockWindow()
785 ShelfAlignment shelf_alignment = shelf_->shelf_widget()->GetAlignment(); in OnShelfAlignmentChanged() local
787 shelf_alignment == SHELF_ALIGNMENT_LEFT) { in OnShelfAlignmentChanged()
790 shelf_alignment == SHELF_ALIGNMENT_RIGHT) { in OnShelfAlignmentChanged()
/external/chromium_org/ash/system/ime/
Dtray_ime.cc236 SetTrayLabelItemBorder(tray_label_, system_tray()->shelf_alignment()); in UpdateTrayLabel()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray.cc322 if (alignment == shelf_alignment()) in SetShelfAlignment()
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc1453 EXPECT_EQ(SHELF_ALIGNMENT_LEFT, GetSystemTray()->shelf_alignment()); in TEST_F()
1482 EXPECT_EQ(SHELF_ALIGNMENT_RIGHT, GetSystemTray()->shelf_alignment()); in TEST_F()
1511 EXPECT_EQ(SHELF_ALIGNMENT_TOP, GetSystemTray()->shelf_alignment()); in TEST_F()