HomeSort by relevance Sort by last modified time
    Searched refs:DisplayLayout (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/ash/display/
display_layout_store.h 21 const DisplayLayout& default_display_layout() const {
24 void SetDefaultDisplayLayout(const DisplayLayout& layout);
29 const DisplayLayout& layout);
33 DisplayLayout GetRegisteredDisplayLayout(const DisplayIdPair& pair);
38 DisplayLayout ComputeDisplayLayoutForDisplayIdPair(
55 DisplayLayout CreateDisplayLayout(const DisplayIdPair& display_pair);
58 DisplayLayout default_display_layout_;
61 std::map<DisplayIdPair, DisplayLayout> paired_layouts_;
display_layout.h 24 struct ASH_EXPORT DisplayLayout {
33 // Factory method to create DisplayLayout from ints. The |mirrored| is
36 static DisplayLayout FromInts(int position, int offsets);
38 DisplayLayout();
39 DisplayLayout(Position position, int offset);
42 DisplayLayout Invert() const WARN_UNUSED_RESULT;
45 static bool ConvertFromValue(const base::Value& value, DisplayLayout* layout);
46 static bool ConvertToValue(const DisplayLayout& layout, base::Value* value);
51 base::JSONValueConverter<DisplayLayout>* converter);
display_layout.cc 19 // The maximum value for 'offset' in DisplayLayout in case of outliers. Need
29 typedef std::map<DisplayLayout::Position, std::string> PositionToStringMap;
33 DisplayLayout::TOP, "top",
34 DisplayLayout::BOTTOM, "bottom",
35 DisplayLayout::RIGHT, "right",
36 DisplayLayout::LEFT, "left");
41 DisplayLayout::Position* field) {
48 std::string GetStringFromPosition(DisplayLayout::Position position) {
61 // DisplayLayout
64 DisplayLayout DisplayLayout::FromInts(int position, int offsets)
    [all...]
display_layout_store.cc 25 default_display_layout_.position = DisplayLayout::TOP;
27 default_display_layout_.position = DisplayLayout::BOTTOM;
29 default_display_layout_.position = DisplayLayout::RIGHT;
31 default_display_layout_.position = DisplayLayout::LEFT;
40 void DisplayLayoutStore::SetDefaultDisplayLayout(const DisplayLayout& layout) {
49 const DisplayLayout& layout) {
53 DisplayLayout DisplayLayoutStore::GetRegisteredDisplayLayout(
55 std::map<DisplayIdPair, DisplayLayout>::const_iterator iter =
61 DisplayLayout DisplayLayoutStore::ComputeDisplayLayoutForDisplayIdPair(
63 DisplayLayout layout = GetRegisteredDisplayLayout(pair)
    [all...]
screen_position_controller_unittest.cc 36 void SetSecondaryDisplayLayout(DisplayLayout::Position position) {
37 DisplayLayout layout =
105 SetSecondaryDisplayLayout(DisplayLayout::RIGHT);
113 SetSecondaryDisplayLayout(DisplayLayout::BOTTOM);
121 SetSecondaryDisplayLayout(DisplayLayout::LEFT);
129 SetSecondaryDisplayLayout(DisplayLayout::TOP);
138 SetSecondaryDisplayLayout(DisplayLayout::RIGHT);
150 SetSecondaryDisplayLayout(DisplayLayout::BOTTOM);
158 SetSecondaryDisplayLayout(DisplayLayout::LEFT);
166 SetSecondaryDisplayLayout(DisplayLayout::TOP)
    [all...]
mouse_cursor_event_filter.cc 62 DisplayLayout::Position position = Shell::GetInstance()->
64 if (position == DisplayLayout::TOP || position == DisplayLayout::BOTTOM)
180 DisplayLayout::Position position = Shell::GetInstance()->
190 position == DisplayLayout::TOP ?
197 position == DisplayLayout::TOP ?
209 DisplayLayout::Position position = Shell::GetInstance()->
217 int dst_x = position == DisplayLayout::LEFT ?
226 position == DisplayLayout::LEFT ?
mouse_cursor_event_filter_unittest.cc 73 DisplayLayout::RIGHT,
117 DisplayLayout::RIGHT,
147 DisplayLayout::RIGHT,
242 DisplayLayout layout(DisplayLayout::RIGHT, 0);
297 DisplayLayout layout(DisplayLayout::LEFT, 0);
325 DisplayLayout layout(DisplayLayout::TOP, 0);
343 layout.position = DisplayLayout::BOTTOM
    [all...]
display_manager.h 90 const DisplayLayout& layout,
129 DisplayLayout GetCurrentDisplayLayout();
137 const DisplayLayout& layout_relative_to_primary);
310 const DisplayLayout& layout,
display_manager_unittest.cc 650 DisplayLayout layout = layout_store->default_display_layout();
651 layout.position = DisplayLayout::LEFT;
    [all...]
display_manager.cc 237 const DisplayLayout& layout,
264 DisplayLayout DisplayManager::GetCurrentDisplayLayout() {
271 NOTREACHED() << "DisplayLayout is requested for single display";
273 DisplayLayout layout =
301 const DisplayLayout& layout_relative_to_primary) {
308 DisplayLayout to_set = pair.first == primary.id() ?
311 DisplayLayout current_layout =
322 const DisplayLayout layout = GetCurrentDisplayLayout();
775 DisplayLayout layout = layout_store_->GetRegisteredDisplayLayout(
    [all...]
display_controller_unittest.cc 166 void SetSecondaryDisplayLayoutAndOffset(DisplayLayout::Position position,
168 DisplayLayout layout(position, offset);
174 void SetSecondaryDisplayLayout(DisplayLayout::Position position) {
178 void SetDefaultDisplayLayout(DisplayLayout::Position position) {
180 SetDefaultDisplayLayout(DisplayLayout(position, 0));
339 SetSecondaryDisplayLayout(DisplayLayout::BOTTOM);
350 SetSecondaryDisplayLayout(DisplayLayout::LEFT);
361 SetSecondaryDisplayLayout(DisplayLayout::TOP);
372 SetSecondaryDisplayLayoutAndOffset(DisplayLayout::RIGHT, 300);
382 SetSecondaryDisplayLayoutAndOffset(DisplayLayout::RIGHT, 490)
    [all...]
root_window_transformers_unittest.cc 185 DisplayLayout display_layout(DisplayLayout::BOTTOM, 50);
display_change_observer_chromeos.cc 99 DisplayLayout layout = Shell::GetInstance()->display_manager()->
  /external/chromium_org/chrome/browser/chromeos/display/
display_preferences.h 14 struct DisplayLayout;
33 void SetCurrentDisplayLayout(const ash::DisplayLayout& layout);
43 const ash::DisplayLayout& layout);
display_preferences_unittest.cc 79 ash::DisplayLayout::Position layout,
83 ash::DisplayLayout display_layout(layout, offset);
95 if (ash::DisplayLayout::ConvertToValue(display_layout, layout_value.get()))
101 ash::DisplayLayout::Position layout,
109 ash::DisplayLayout::Position layout,
157 StoreDisplayLayoutPrefForPair(id1, id2, ash::DisplayLayout::TOP, 20);
158 StoreDisplayLayoutPrefForPair(id1, dummy_id, ash::DisplayLayout::LEFT, 30);
194 ash::DisplayLayout layout(ash::DisplayLayout::TOP, 10);
197 id1, dummy_id, ash::DisplayLayout(ash::DisplayLayout::LEFT, 20))
    [all...]
display_preferences.cc 88 ash::DisplayLayout layout;
89 if (!ash::DisplayLayout::ConvertFromValue(it.value(), &layout)) {
152 const ash::DisplayLayout& display_layout) {
165 if (ash::DisplayLayout::ConvertToValue(display_layout, layout_value.get()))
176 ash::DisplayLayout display_layout =
276 void SetCurrentDisplayLayout(const ash::DisplayLayout& layout) {
298 const ash::DisplayLayout& layout) {
  /external/chromium_org/ui/base/
layout.h 16 enum DisplayLayout {
29 UI_EXPORT DisplayLayout GetDisplayLayout();
layout.cc 70 DisplayLayout GetDisplayLayout() {
  /external/chromium_org/chrome/browser/extensions/api/system_display/
display_info_provider_chromeos.cc 72 // Created ash::DisplayLayout value for |rectangle| compared to the |reference|
102 ash::DisplayLayout GetLayoutForRectangles(const gfx::Rect& reference,
124 ash::DisplayLayout::Position position;
126 position = is_bottom_right ? ash::DisplayLayout::RIGHT :
127 ash::DisplayLayout::TOP;
130 is_bottom_right ? ash::DisplayLayout::BOTTOM : ash::DisplayLayout::LEFT;
139 position = ash::DisplayLayout::BOTTOM;
142 position = ash::DisplayLayout::TOP;
147 position = ash::DisplayLayout::RIGHT
    [all...]
display_info_provider_chromeos_unittest.cc 283 ash::DisplayLayout::FromInts(ash::DisplayLayout::LEFT, -40));
293 ash::DisplayLayout::FromInts(ash::DisplayLayout::TOP, 40));
303 ash::DisplayLayout::FromInts(ash::DisplayLayout::BOTTOM, 80));
  /external/chromium_org/chrome/browser/ui/webui/options/chromeos/
display_options_handler.cc 247 const ash::DisplayLayout layout =
266 ash::DisplayLayout::FromInts(position, offset));
305 DCHECK_LE(ash::DisplayLayout::TOP, layout);
306 DCHECK_GE(ash::DisplayLayout::LEFT, layout);
  /external/chromium_org/ash/
extended_desktop_unittest.cc 37 void SetSecondaryDisplayLayout(DisplayLayout::Position position) {
38 DisplayLayout layout =
343 SetSecondaryDisplayLayout(DisplayLayout::LEFT);
364 SetSecondaryDisplayLayout(DisplayLayout::LEFT);
645 SetSecondaryDisplayLayout(DisplayLayout::BOTTOM);
    [all...]
  /external/chromium_org/ash/wm/
immersive_fullscreen_controller_unittest.cc 314 ash::DisplayLayout display_layout(ash::DisplayLayout::RIGHT, 0);
481 ash::DisplayLayout display_layout(ash::DisplayLayout::TOP, 0);
    [all...]
  /external/chromium_org/ash/wm/workspace/
workspace_layout_manager_unittest.cc 135 DisplayLayout layout(DisplayLayout::TOP, 0);
  /external/chromium_org/ash/wm/dock/
docked_window_layout_manager_unittest.cc 534 DisplayLayout layout(DisplayLayout::BOTTOM, 0);
    [all...]

Completed in 412 milliseconds

1 2