Home
last modified time | relevance | path

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

/external/chromium_org/ash/system/session_length_limit/
Dtray_session_length_limit.cc118 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/
Dtray_item_view.cc89 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()
Dsystem_tray.cc233 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()
Dtray_background_view.cc447 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()
Dtray_image_item.cc45 SetItemAlignment(system_tray()->shelf_alignment()); in CreateTrayView()
Dtray_background_view.h142 ShelfAlignment shelf_alignment() const { return shelf_alignment_; } in shelf_alignment() function
/external/chromium_org/chrome/browser/ui/webui/chromeos/first_run/
Dfirst_run_ui.cc62 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/
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/wm/
Dapp_list_controller.cc65 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/
Dtray_date.cc179 (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/
Ddocked_window_layout_manager.cc556 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/
Dtray_ime.cc211 SetTrayLabelItemBorder(tray_label_, system_tray()->shelf_alignment()); in UpdateTrayLabel()
/external/chromium_org/ash/system/web_notification/
Dweb_notification_tray.cc458 if (alignment == shelf_alignment()) in SetShelfAlignment()
/external/chromium_org/ash/shelf/
Dshelf_layout_manager_unittest.cc1418 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()