/external/chromium_org/ash/system/session_length_limit/ |
D | tray_session_length_limit.cc | 118 ShelfAlignment shelf_alignment); 121 void UpdateClockLayout(ShelfAlignment shelf_alignment); 125 void SetBorder(ShelfAlignment shelf_alignment); 142 ShelfAlignment shelf_alignment) in RemainingSessionTimeTrayView() argument 151 UpdateClockLayout(shelf_alignment); in RemainingSessionTimeTrayView() 158 ShelfAlignment shelf_alignment) { in UpdateClockLayout() argument 159 SetBorder(shelf_alignment); in UpdateClockLayout() 160 const bool horizontal_layout = (shelf_alignment == SHELF_ALIGNMENT_BOTTOM || in UpdateClockLayout() 161 shelf_alignment == SHELF_ALIGNMENT_TOP); in UpdateClockLayout() 265 void RemainingSessionTimeTrayView::SetBorder(ShelfAlignment shelf_alignment) { in SetBorder() argument [all …]
|
/external/chromium_org/ash/system/tray/ |
D | tray_item_view.cc | 89 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in GetPreferredSize() 90 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) in GetPreferredSize() 96 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in GetPreferredSize() 97 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) { in GetPreferredSize() 117 if (owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in AnimationProgressed() 118 owner()->system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) { in AnimationProgressed()
|
D | system_tray.cc | 233 item->UpdateAfterShelfAlignmentChange(shelf_alignment()); in AddTrayItem() 324 if (shelf_alignment() != SHELF_ALIGNMENT_BOTTOM) in UpdateAfterLoginStatusChange() 325 UpdateAfterShelfAlignmentChange(shelf_alignment()); in UpdateAfterLoginStatusChange() 417 if (shelf_alignment() != SHELF_ALIGNMENT_BOTTOM && in GetTrayXOffset() 418 shelf_alignment() != SHELF_ALIGNMENT_TOP) in GetTrayXOffset() 605 if (alignment == shelf_alignment()) in SetShelfAlignment() 710 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in PerformAction() 711 shelf_alignment() == SHELF_ALIGNMENT_TOP) { in PerformAction()
|
D | tray_background_view.cc | 447 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM) { in SetBorder() 453 } else if (shelf_alignment() == SHELF_ALIGNMENT_LEFT) { in SetBorder() 468 if (shelf_alignment() == SHELF_ALIGNMENT_BOTTOM) { in SetBorder() 474 } else if (shelf_alignment() == SHELF_ALIGNMENT_TOP) { in SetBorder() 480 } else if (shelf_alignment() == SHELF_ALIGNMENT_LEFT) { in SetBorder()
|
D | tray_image_item.cc | 45 SetItemAlignment(system_tray()->shelf_alignment()); in CreateTrayView()
|
D | tray_background_view.h | 142 ShelfAlignment shelf_alignment() const { return shelf_alignment_; } in shelf_alignment() function
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/ |
D | first_run_ui.cc | 62 std::string shelf_alignment; in SetLocalizedStrings() local 66 shelf_alignment = kShelfAlignmentBottom; in SetLocalizedStrings() 69 shelf_alignment = kShelfAlignmentLeft; in SetLocalizedStrings() 72 shelf_alignment = kShelfAlignmentRight; in SetLocalizedStrings() 77 localized_strings->SetString("shelfAlignment", shelf_alignment); in SetLocalizedStrings()
|
/external/chromium_org/ash/keyboard_overlay/ |
D | keyboard_overlay_delegate_unittest.cc | 24 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/wm/ |
D | app_list_controller.cc | 65 ShelfAlignment shelf_alignment = Shell::GetInstance()->GetShelfAlignment( in OffsetTowardsShelf() local 68 switch (shelf_alignment) { in OffsetTowardsShelf() 91 ShelfAlignment shelf_alignment = Shell::GetInstance()->GetShelfAlignment( in GetAnchorPositionOffsetToShelf() local 94 switch (shelf_alignment) { in GetAnchorPositionOffsetToShelf()
|
/external/chromium_org/ash/system/date/ |
D | tray_date.cc | 179 (system_tray()->shelf_alignment() == SHELF_ALIGNMENT_BOTTOM || in CreateTrayView() 180 system_tray()->shelf_alignment() == SHELF_ALIGNMENT_TOP) ? in CreateTrayView()
|
/external/chromium_org/ash/wm/dock/ |
D | docked_window_layout_manager.cc | 556 ShelfAlignment shelf_alignment = SHELF_ALIGNMENT_BOTTOM; in CanDockWindow() local 558 shelf_alignment = launcher_->alignment(); in CanDockWindow() 559 if ((edge == SNAP_LEFT && shelf_alignment == SHELF_ALIGNMENT_LEFT) || in CanDockWindow() 560 (edge == SNAP_RIGHT && shelf_alignment == SHELF_ALIGNMENT_RIGHT)) { in CanDockWindow() 699 ShelfAlignment shelf_alignment = launcher_->shelf_widget()->GetAlignment(); in OnShelfAlignmentChanged() local 701 shelf_alignment == SHELF_ALIGNMENT_LEFT) { in OnShelfAlignmentChanged() 704 shelf_alignment == SHELF_ALIGNMENT_RIGHT) { in OnShelfAlignmentChanged()
|
/external/chromium_org/ash/system/ime/ |
D | tray_ime.cc | 211 SetTrayLabelItemBorder(tray_label_, system_tray()->shelf_alignment()); in UpdateTrayLabel()
|
/external/chromium_org/ash/system/web_notification/ |
D | web_notification_tray.cc | 458 if (alignment == shelf_alignment()) in SetShelfAlignment()
|
/external/chromium_org/ash/shelf/ |
D | shelf_layout_manager_unittest.cc | 1418 EXPECT_EQ(SHELF_ALIGNMENT_LEFT, GetSystemTray()->shelf_alignment()); in TEST_F() 1447 EXPECT_EQ(SHELF_ALIGNMENT_RIGHT, GetSystemTray()->shelf_alignment()); in TEST_F() 1476 EXPECT_EQ(SHELF_ALIGNMENT_TOP, GetSystemTray()->shelf_alignment()); in TEST_F()
|