/dports/devel/p5-Bread-Board/Bread-Board-0.37/t/ |
H A D | 077_more_complex_typemap_w_roles.t | 128 does_ok($micheal->work_area, 'WorkArea'); 129 isa_ok($micheal->work_area, 'Cubicle'); 131 does_ok($micheal->work_area->desk, 'Desk'); 141 does_ok($samir->work_area, 'WorkArea'); 142 isa_ok($samir->work_area, 'Cubicle'); 144 does_ok($samir->work_area->desk, 'Desk'); 151 isnt($micheal->work_area, $samir->work_area, '... two different cubicles'); 152 isnt($micheal->work_area->chair, $samir->work_area->chair, '... two different cubicle chairs'); 153 isnt($micheal->work_area->desk, $samir->work_area->desk, '... two different cubicle desks'); 169 does_ok($lundberg->work_area, 'WorkArea'); [all …]
|
H A D | 076_more_complex_typemap.t | 107 isa_ok($micheal->work_area, 'Cubicle'); 108 isa_ok($micheal->work_area->desk, 'Desk'); 115 isa_ok($samir->work_area, 'Cubicle'); 116 isa_ok($samir->work_area->desk, 'Desk'); 121 isnt($micheal->work_area, $samir->work_area, '... two different work_areas'); 122 isnt($micheal->work_area->chair, $samir->work_area->chair, '... two different work_area chairs'); 123 isnt($micheal->work_area->desk, $samir->work_area->desk, '... two different work_area desks'); 139 isa_ok($milton->work_area, 'Cubicle'); 146 isnt($milton->work_area, $_->work_area, '... two different work_areas'); 147 isnt($milton->work_area->chair, $_->work_area->chair, '... two different work_area chairs'); [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/views/widget/ |
H A D | desktop_widget_unittest.cc | 41 gfx::Rect work_area = in TEST_F() local 57 gfx::Size(700, work_area.height() - origin.y() - work_area.y())); in TEST_F() 92 gfx::Rect work_area = in TEST_F() local 96 gfx::Point(work_area.width() * 3 / 4, work_area.height() * 3 / 4); in TEST_F() 104 origin, gfx::Size(work_area.width() / 2, work_area.height() / 2)); in TEST_F() 109 gfx::Point expected_origin(work_area.right() - work_area.width() / 2, in TEST_F() 110 work_area.bottom() - work_area.height() / 2); in TEST_F() 123 gfx::Rect work_area = in TEST_F() local 125 gfx::Point origin = gfx::Point(work_area.x() + work_area.width() / 4, in TEST_F() 126 work_area.y() + work_area.height() / 4); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/views/widget/ |
H A D | desktop_widget_unittest.cc | 41 gfx::Rect work_area = in TEST_F() local 57 gfx::Size(700, work_area.height() - origin.y() - work_area.y())); in TEST_F() 92 gfx::Rect work_area = in TEST_F() local 96 gfx::Point(work_area.width() * 3 / 4, work_area.height() * 3 / 4); in TEST_F() 104 origin, gfx::Size(work_area.width() / 2, work_area.height() / 2)); in TEST_F() 109 gfx::Point expected_origin(work_area.right() - work_area.width() / 2, in TEST_F() 110 work_area.bottom() - work_area.height() / 2); in TEST_F() 123 gfx::Rect work_area = in TEST_F() local 125 gfx::Point origin = gfx::Point(work_area.x() + work_area.width() / 4, in TEST_F() 126 work_area.y() + work_area.height() / 4); in TEST_F() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/ |
H A D | window_positioner.cc | 63 if (work_area.right() > bounds->right()) { in MoveRectToOneSide() 68 if (work_area.x() < bounds->x()) { in MoveRectToOneSide() 69 bounds->set_x(work_area.x()); in MoveRectToOneSide() 87 if ((child_bounds.x() <= work_area.x() && in SetBoundsAndOffsetTransientChildren() 96 new_child_bounds.set_x(work_area.x()); in SetBoundsAndOffsetTransientChildren() 136 bounds.set_x(work_area.x() + (work_area.width() - bounds.width()) / 2); in AutoPlaceSingleWindow() 212 .work_area(); in GetBoundsAndShowStateForNewWindow() 213 bounds_in_out->AdjustToFit(work_area); in GetBoundsAndShowStateForNewWindow() 240 bounds_in_out->AdjustToFit(work_area); in GetBoundsAndShowStateForNewWindow() 299 gfx::Rect work_area = in RearrangeVisibleWindowOnShow() local [all …]
|
H A D | window_positioning_utils.cc | 98 gfx::Rect GetDefaultLeftSnappedWindowBounds(const gfx::Rect& work_area, in GetDefaultLeftSnappedWindowBounds() argument 102 work_area.CenterPoint().x() - work_area.x(), window); in GetDefaultLeftSnappedWindowBounds() 103 return gfx::Rect(work_area.x(), work_area.y(), width, work_area.height()); in GetDefaultLeftSnappedWindowBounds() 106 gfx::Rect GetDefaultRightSnappedWindowBounds(const gfx::Rect& work_area, in GetDefaultRightSnappedWindowBounds() argument 110 work_area.right() - work_area.CenterPoint().x(), window); in GetDefaultRightSnappedWindowBounds() 111 return gfx::Rect(work_area.right() - width, work_area.y(), width, in GetDefaultRightSnappedWindowBounds() 112 work_area.height()); in GetDefaultRightSnappedWindowBounds()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/window_sizer/ |
H A D | window_sizer.cc | 201 gfx::Rect work_area = in DetermineWindowBoundsAndShowState() local 204 bounds->AdjustToFit(work_area); in DetermineWindowBoundsAndShowState() 239 gfx::Rect work_area = display.work_area(); in GetDefaultWindowBounds() local 292 gfx::Rect work_area = display.work_area(); in AdjustBoundsToBeVisibleOnDisplay() local 294 if (bounds->y() < work_area.y()) in AdjustBoundsToBeVisibleOnDisplay() 295 bounds->set_y(work_area.y()); in AdjustBoundsToBeVisibleOnDisplay() 301 saved_work_area != work_area && in AdjustBoundsToBeVisibleOnDisplay() 322 if (bounds->x() < work_area.x() || bounds->right() > work_area.right()) in AdjustBoundsToBeVisibleOnDisplay() 323 bounds->set_x(work_area.x()); in AdjustBoundsToBeVisibleOnDisplay() 327 if (bounds->y() < work_area.y() || bounds->bottom() > work_area.bottom()) in AdjustBoundsToBeVisibleOnDisplay() [all …]
|
H A D | window_sizer_chromeos.cc | 70 const gfx::Rect work_area = display.work_area(); in GetDefaultWindowBounds() local 73 int default_width = work_area.width() - 2 * kDesktopBorderSize; in GetDefaultWindowBounds() 76 int default_height = work_area.height() - kDesktopBorderSize; in GetDefaultWindowBounds() 80 offset_x = (work_area.width() - kMaximumWindowWidth) / 2; in GetDefaultWindowBounds() 83 return gfx::Rect(work_area.x() + offset_x, work_area.y() + kDesktopBorderSize, in GetDefaultWindowBounds() 121 gfx::Rect work_area = display.work_area(); in GetBrowserBounds() local 122 bounds->AdjustToFit(work_area); in GetBrowserBounds() 123 if (*bounds == work_area) { in GetBrowserBounds() 157 display.work_area().width() <= kForceMaximizeWidthLimit)) { in GetTabbedBrowserBounds() 176 bounds_in_screen->AdjustToFit(display.work_area()); in GetTabbedBrowserBounds()
|
/dports/devel/openocd/openocd-0.11.0/contrib/loaders/flash/bluenrg-x/ |
H A D | bluenrg-x_write.c | 77 volatile work_area_t *work_area = (work_area_t *) work_area_p; in write() local 78 uint8_t *fifo_start = (uint8_t *) work_area->rp; in write() 84 while (work_area->rp == work_area->wp) in write() 86 if (work_area->wp == 0) { in write() 90 if (work_area->rp > work_area->wp) { in write() 91 fifo_linear_size = fifo_end-work_area->rp; in write() 93 fifo_linear_size = (work_area->wp - work_area->rp); in write() 102 …retval = flashWrite((uint32_t) target_address, (uint8_t **) &work_area->rp, fifo_linear_size, flas… in write() 104 work_area->rp = (uint8_t *)retval; in write() 108 if (work_area->rp >= fifo_end) in write() [all …]
|
/dports/x11-wm/metacity/metacity-3.42.0/src/core/ |
H A D | place.c | 104 MetaRectangle work_area; in find_next_cascade() local 181 (work_area.x + work_area.width)) || in find_next_cascade() 183 (work_area.y + work_area.height))) in find_next_cascade() 196 (work_area.x + work_area.width)) in find_next_cascade() 266 right_space = work_area.width - (avoid.x + avoid.width - work_area.x); in find_most_freespace() 268 bottom_space = work_area.height - (avoid.y + avoid.height - work_area.y); in find_most_freespace() 315 *new_x = work_area.x + work_area.width - outer.width + frame_size_left; in find_most_freespace() 329 *new_y = work_area.y + work_area.height - outer.height + frame_size_top; in find_most_freespace() 703 if ((rect.width <= work_area.width) && (rect.height <= work_area.height)) in find_preferred_position() 713 *new_x = work_area.x + ((work_area.width - rect.width) / 2); in find_preferred_position() [all …]
|
H A D | workspace.c | 607 MetaRectangle work_area; in ensure_work_areas_validated() local 663 work_area = meta_rect (0, 0, -1, -1); in ensure_work_areas_validated() 671 if (work_area.width < MIN_SANE_AREA) in ensure_work_areas_validated() 677 if (work_area.width < 1) in ensure_work_areas_validated() 685 work_area.x -= amount; in ensure_work_areas_validated() 686 work_area.width += 2*amount; in ensure_work_areas_validated() 689 if (work_area.height < MIN_SANE_AREA) in ensure_work_areas_validated() 695 if (work_area.height < 1) in ensure_work_areas_validated() 703 work_area.y -= amount; in ensure_work_areas_validated() 704 work_area.height += 2*amount; in ensure_work_areas_validated() [all …]
|
/dports/x11-wm/mutter/mutter-41.1/src/core/ |
H A D | place.c | 96 MetaRectangle work_area; in find_next_cascade() local 159 (work_area.x + work_area.width)) || in find_next_cascade() 161 (work_area.y + work_area.height))) in find_next_cascade() 174 (work_area.x + work_area.width)) in find_next_cascade() 218 MetaRectangle work_area; in find_most_freespace() local 230 right_space = work_area.width - (avoid.x + avoid.width - work_area.x); in find_most_freespace() 232 bottom_space = work_area.height - (avoid.y + avoid.height - work_area.y); in find_most_freespace() 279 *new_x = work_area.x + work_area.width - frame_rect.width; in find_most_freespace() 293 *new_y = work_area.y + work_area.height - frame_rect.height; in find_most_freespace() 818 x = work_area.x + (work_area.width - frame_rect.width) / 2; in meta_window_place() [all …]
|
/dports/x11-wm/marco/marco-1.26.0/src/core/ |
H A D | place.c | 147 MetaRectangle work_area; in find_next_cascade() local 224 (work_area.x + work_area.width)) || in find_next_cascade() 226 (work_area.y + work_area.height))) in find_next_cascade() 239 (work_area.x + work_area.width)) in find_next_cascade() 294 MetaRectangle work_area; in find_most_freespace() local 309 right_space = work_area.width - (avoid.x + avoid.width - work_area.x); in find_most_freespace() 311 bottom_space = work_area.height - (avoid.y + avoid.height - work_area.y); in find_most_freespace() 358 *new_x = work_area.x + work_area.width - outer.width + frame_size_left; in find_most_freespace() 372 *new_y = work_area.y + work_area.height - outer.height + frame_size_top; in find_most_freespace() 535 rect->x = work_area->x + ((work_area->width - rect->width) / 2); in center_rect_in_area() [all …]
|
H A D | workspace.c | 597 MetaRectangle work_area; in ensure_work_areas_validated() local 652 work_area = meta_rect (0, 0, -1, -1); in ensure_work_areas_validated() 660 if (work_area.width < MIN_SANE_AREA) in ensure_work_areas_validated() 665 if (work_area.width < 1) in ensure_work_areas_validated() 673 work_area.x -= amount; in ensure_work_areas_validated() 674 work_area.width += 2*amount; in ensure_work_areas_validated() 677 if (work_area.height < MIN_SANE_AREA) in ensure_work_areas_validated() 682 if (work_area.height < 1) in ensure_work_areas_validated() 690 work_area.y -= amount; in ensure_work_areas_validated() 691 work_area.height += 2*amount; in ensure_work_areas_validated() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/ |
H A D | dip_unittest.cc | 39 gfx::Rect work_area = display.work_area(); in TEST_F() local 41 work_area.ToString()); in TEST_F() 43 display.bounds().InsetsFrom(work_area).ToString()); in TEST_F() 57 work_area = display_2x.work_area(); in TEST_F() 59 work_area.ToString()); in TEST_F() 61 display_2x.bounds().InsetsFrom(work_area).ToString()); in TEST_F() 66 EXPECT_EQ(display_2x.bounds().InsetsFrom(work_area).height(), in TEST_F()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/system/accessibility/ |
H A D | floating_menu_utils.cc | 25 gfx::Rect work_area = in GetOnScreenBoundsForFloatingMenuPosition() local 30 return gfx::Rect(work_area.right() - menu_bounds.width(), in GetOnScreenBoundsForFloatingMenuPosition() 31 work_area.bottom() - menu_bounds.height(), in GetOnScreenBoundsForFloatingMenuPosition() 34 return gfx::Rect(work_area.x(), work_area.bottom() - menu_bounds.height(), in GetOnScreenBoundsForFloatingMenuPosition() 40 return gfx::Rect(work_area.x(), in GetOnScreenBoundsForFloatingMenuPosition() 41 work_area.y() + 2 * kCollisionWindowWorkAreaInsetsDp, in GetOnScreenBoundsForFloatingMenuPosition() 47 return gfx::Rect(work_area.right() - menu_bounds.width(), in GetOnScreenBoundsForFloatingMenuPosition() 48 work_area.y() + 2 * kCollisionWindowWorkAreaInsetsDp, in GetOnScreenBoundsForFloatingMenuPosition()
|
/dports/x11-wm/muffin/muffin-4.8.0/src/core/ |
H A D | place.c | 179 MetaRectangle work_area; in find_next_cascade() local 251 (work_area.x + work_area.width)) || in find_next_cascade() 253 (work_area.y + work_area.height))) in find_next_cascade() 266 (work_area.x + work_area.width)) in find_next_cascade() 321 MetaRectangle work_area; in find_most_freespace() local 336 right_space = work_area.width - (avoid.x + avoid.width - work_area.x); in find_most_freespace() 338 bottom_space = work_area.height - (avoid.y + avoid.height - work_area.y); in find_most_freespace() 385 *new_x = work_area.x + work_area.width - outer.width + frame_size_left; in find_most_freespace() 399 *new_y = work_area.y + work_area.height - outer.height + frame_size_top; in find_most_freespace() 561 rect->x = work_area->x + fluff; in center_tile_rect_in_area() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/display/ |
H A D | display_unittest.cc | 20 EXPECT_EQ("0,0 100x100", display.work_area().ToString()); in TEST() 24 EXPECT_EQ("3,4 90x80", display.work_area().ToString()); in TEST() 28 EXPECT_EQ("13,24 40x30", display.work_area().ToString()); in TEST() 31 EXPECT_EQ("13,24 190x180", display.work_area().ToString()); in TEST() 34 EXPECT_EQ("14,23 190x192", display.work_area().ToString()); in TEST() 41 EXPECT_EQ("10,10 80x80", display.work_area().ToString()); in TEST() 46 EXPECT_EQ("10,10 50x50", display.work_area().ToString()); in TEST() 51 EXPECT_EQ("10,10 80x80", display.work_area().ToString()); in TEST()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/display/ |
H A D | display_unittest.cc | 20 EXPECT_EQ("0,0 100x100", display.work_area().ToString()); in TEST() 24 EXPECT_EQ("3,4 90x80", display.work_area().ToString()); in TEST() 28 EXPECT_EQ("13,24 40x30", display.work_area().ToString()); in TEST() 31 EXPECT_EQ("13,24 190x180", display.work_area().ToString()); in TEST() 34 EXPECT_EQ("14,23 190x192", display.work_area().ToString()); in TEST() 41 EXPECT_EQ("10,10 80x80", display.work_area().ToString()); in TEST() 46 EXPECT_EQ("10,10 50x50", display.work_area().ToString()); in TEST() 51 EXPECT_EQ("10,10 80x80", display.work_area().ToString()); in TEST()
|
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/ |
H A D | Frame.c | 487 if (fw->frame.work_area && XtIsManaged(fw->frame.work_area)) { in ConfigureChildren() 687 Widget work_area = fw->frame.work_area; in GeometryManager() local 694 Dimension work_width = (work_area)?work_area->core.width:0; in GeometryManager() 695 Dimension work_height = (work_area)?work_area->core.height:0; in GeometryManager() 696 Dimension work_bw = (work_area)?work_area->core.border_width:0; in GeometryManager() 859 Widget work_area = (fw->frame.work_area && in ChangeManaged() local 863 Dimension w_w = (work_area) ? work_area->core.width : 0; in ChangeManaged() 864 Dimension w_h = (work_area) ? work_area->core.height : 0; in ChangeManaged() 931 Widget work_area = (new_w->frame.work_area && in SetValues() local 934 Dimension w_w = (work_area) ? work_area->core.width : 0; in SetValues() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/exo/wayland/ |
H A D | wayland_positioner.cc | 123 const Range1D& work_area, in DetermineBestConstraintAdjustment() argument 130 if (work_area.start != 0) { in DetermineBestConstraintAdjustment() 131 int32_t shift = -work_area.start; in DetermineBestConstraintAdjustment() 134 work_area.GetTranspose(shift), anchor_range.GetTranspose(shift), in DetermineBestConstraintAdjustment() 160 Range1D position = Calculate(adjustment, work_area.end, anchor_range, size, in DetermineBestConstraintAdjustment() 162 bool constrained = position.start < 0 || position.end > work_area.end; in DetermineBestConstraintAdjustment() 163 int32_t visibility = std::abs(std::min(position.end, work_area.end) - in DetermineBestConstraintAdjustment() 178 const gfx::Rect& work_area, in CalculatePosition() argument 235 {work_area.x(), work_area.right()}, in CalculatePosition() 240 {work_area.y(), work_area.bottom()}, in CalculatePosition()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/extensions/browser/api/system_display/ |
H A D | display_info_provider.cc | 74 const gfx::Rect& work_area = display.work_area(); in CreateDisplayUnitInfo() local 85 unit.work_area.left = work_area.x(); in CreateDisplayUnitInfo() 86 unit.work_area.top = work_area.y(); in CreateDisplayUnitInfo() 87 unit.work_area.width = work_area.width(); in CreateDisplayUnitInfo() 88 unit.work_area.height = work_area.height(); in CreateDisplayUnitInfo()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/extensions/browser/api/system_display/ |
H A D | display_info_provider.cc | 74 const gfx::Rect& work_area = display.work_area(); in CreateDisplayUnitInfo() local 85 unit.work_area.left = work_area.x(); in CreateDisplayUnitInfo() 86 unit.work_area.top = work_area.y(); in CreateDisplayUnitInfo() 87 unit.work_area.width = work_area.width(); in CreateDisplayUnitInfo() 88 unit.work_area.height = work_area.height(); in CreateDisplayUnitInfo()
|
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/ |
H A D | canvasview.cpp | 1233 work_area->show(); in create_work_area() 1234 return work_area; in create_work_area() 2748 work_area->queue_draw(); in on_mode_changed() 2870 work_area->clear_ducks(); in rebuild_ducks() 3044 work_area->toggle_grid(); in toggle_show_grid() 3105 work_area->clear_ducks(); in play_async() 3876 work_area->set_type_mask(work_area->get_type_mask()-type); in toggle_duck_mask() 3878 work_area->set_type_mask(work_area->get_type_mask()|type); in toggle_duck_mask() 3883 work_area->queue_draw(); in toggle_duck_mask() 3916 work_area->set_type_mask_state ( work_area->get_type_mask()); in toggle_duck_mask_all() [all …]
|
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/ |
H A D | canvasview.cpp | 1233 work_area->show(); in create_work_area() 1234 return work_area; in create_work_area() 2748 work_area->queue_draw(); in on_mode_changed() 2870 work_area->clear_ducks(); in rebuild_ducks() 3044 work_area->toggle_grid(); in toggle_show_grid() 3105 work_area->clear_ducks(); in play_async() 3876 work_area->set_type_mask(work_area->get_type_mask()-type); in toggle_duck_mask() 3878 work_area->set_type_mask(work_area->get_type_mask()|type); in toggle_duck_mask() 3883 work_area->queue_draw(); in toggle_duck_mask() 3916 work_area->set_type_mask_state ( work_area->get_type_mask()); in toggle_duck_mask_all() [all …]
|