Searched refs:bounds (Results 51 - 75 of 1705) sorted by relevance

1234567891011>>

/external/chromium_org/ash/shell/
H A Dtoplevel_window.cc22 gfx::Rect bounds; member in struct:ash::shell::__anon1951::SavedState
69 void ToplevelWindow::SaveWindowPlacement(const gfx::Rect& bounds, argument
73 saved_state->bounds = bounds;
79 gfx::Rect* bounds,
83 *bounds = saved_state->bounds;
86 // Initial default bounds.
87 bounds->SetRect(10, 150, 300, 300);
94 bounds, local
77 GetSavedWindowPlacement( const views::Widget* widget, gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
[all...]
/external/libvterm/src/
H A Drect.h17 /* Clip the dst to ensure it does not step outside of bounds */
18 static void rect_clip(VTermRect *dst, VTermRect *bounds) argument
20 if(dst->start_row < bounds->start_row) dst->start_row = bounds->start_row;
21 if(dst->start_col < bounds->start_col) dst->start_col = bounds->start_col;
22 if(dst->end_row > bounds->end_row) dst->end_row = bounds->end_row;
23 if(dst->end_col > bounds->end_col) dst->end_col = bounds
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkMatrixConvolutionImageFilter.cpp164 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
171 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
172 x = SkPin32(x, bounds.fLeft, bounds.fRight - 1);
173 y = SkPin32(y, bounds.fTop, bounds.fBottom - 1);
180 static inline SkPMColor fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) { argument
181 x = (x - bounds.left()) % bounds.width() + bounds
195 fetch(const SkBitmap& src, int x, int y, const SkIRect& bounds) argument
322 SkIRect bounds; local
364 SkIRect bounds = src; local
[all...]
/external/chromium_org/ash/wm/gestures/
H A Dtray_gesture_handler.cc33 gfx::Rect bounds = widget_->GetWindowBoundsInScreen(); local
34 int height_change = bounds.height() - kMinBubbleHeight;
35 bounds.set_height(kMinBubbleHeight);
36 bounds.set_y(bounds.y() + height_change);
37 widget_->SetBounds(bounds);
56 gfx::Rect bounds = widget_->GetWindowBoundsInScreen(); local
60 int height_change = bounds.height() - new_height;
61 bounds.set_height(new_height);
62 bounds
[all...]
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_window_delegate_impl.cc36 void DriWindowDelegateImpl::OnBoundsChanged(const gfx::Rect& bounds) { argument
41 "bounds",
42 bounds.ToString());
43 controller_ = screen_manager_->GetDisplayController(bounds);
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
H A DTransformOperationsTest.cpp52 FloatBox bounds; local
54 EXPECT_TRUE(to.blendedBoundsForBox(box, from, minProgress, maxProgress, &bounds));
75 ASSERT_PRED_FORMAT2(FloatBoxTest::AssertContains, bounds, empiricalBounds);
85 FloatBox bounds; local
87 EXPECT_TRUE(toOps.blendedBoundsForBox(box, identityOperations, 0, 1, &bounds));
88 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds);
90 EXPECT_TRUE(identityOperations.blendedBoundsForBox(box, toOps, 0, 1, &bounds));
91 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds);
93 EXPECT_TRUE(identityOperations.blendedBoundsForBox(box, fromOps, 0, 1, &bounds));
94 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(-30, 0, 0, 40, 30, 25), bounds);
138 FloatBox bounds; local
193 FloatBox bounds; local
218 FloatBox bounds; local
241 FloatBox bounds; local
257 FloatBox bounds; local
304 FloatBox bounds; local
378 FloatBox bounds; local
420 FloatBox bounds; local
445 FloatBox bounds; local
478 FloatBox bounds; local
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_resize_controller.cc101 gfx::Rect bounds = resizing_panel_->GetBounds(); local
104 bounds.set_width(std::max(bounds_at_start_.width() +
108 bounds.set_height(std::max(bounds_at_start_.height() +
112 bounds.set_width(std::max(bounds_at_start_.width() +
123 GetDisplayAreaMatching(bounds);
125 GetWorkAreaMatching(bounds);
131 bounds.set_height(new_height);
134 resizing_panel_->IncreaseMaxSize(bounds.size());
138 bounds.set_size(resizing_panel_->ClampSize(bounds
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_layout_manager_unittest.cc53 gfx::Rect* bounds,
55 *bounds = initial_bounds_;
108 gfx::Rect bounds(10, 15, 25, 35);
109 window->SetBounds(bounds);
118 EXPECT_EQ("10,15 25x35", window.get()->bounds().ToString());
140 Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds()));
190 Shell::GetPrimaryRootWindow()->bounds().Intersects(window->bounds()));
191 // Y bounds shoul
416 gfx::Rect bounds = out_window->bounds(); local
534 CreateTestWindow(const gfx::Rect& bounds) argument
800 CreateTestWindow(const gfx::Rect& bounds) argument
990 CreateTestWindow(const gfx::Rect& bounds) argument
1010 SetKeyboardBounds(const gfx::Rect& bounds) argument
[all...]
/external/chromium_org/ash/wm/
H A Dtoplevel_window_event_handler_unittest.cc102 gfx::Size size = w1->bounds().size();
105 EXPECT_EQ("100,100", w1->bounds().origin().ToString());
107 EXPECT_EQ(size.ToString(), w1->bounds().size().ToString());
111 EXPECT_EQ("200,200", w1->bounds().origin().ToString());
113 EXPECT_EQ(size.ToString(), w1->bounds().size().ToString());
118 gfx::Point position = w1->bounds().origin();
121 EXPECT_EQ(position.ToString(), w1->bounds().origin().ToString());
123 EXPECT_EQ(gfx::Size(200, 200).ToString(), w1->bounds().size().ToString());
132 gfx::Point position = w1->bounds().origin();
137 EXPECT_EQ(position.ToString(), w1->bounds()
221 gfx::Rect bounds = w1->bounds(); local
600 gfx::Rect bounds = notmoved->bounds(); local
[all...]
H A Ddefault_window_resizer.cc30 gfx::Rect bounds(CalculateBoundsForDrag(location));
31 if (bounds != GetTarget()->bounds()) {
35 GetTarget()->SetBounds(bounds);
/external/chromium_org/athena/home/
H A Dminimized_home.cc30 gfx::Rect bounds(layer()->GetTargetBounds().size());
31 canvas->FillRect(bounds, SK_ColorBLACK);
32 canvas->FillRect(gfx::Rect((bounds.width() - kDragHandleWidth) / 2,
33 bounds.bottom() - kDragHandleHeight,
/external/chromium_org/third_party/skia/src/core/
H A DSkCanvasPriv.h15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
/external/chromium_org/ui/aura/test/
H A Dtest_windows.h20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent);
23 const gfx::Rect& bounds,
27 const gfx::Rect& bounds,
32 const gfx::Rect& bounds,
/external/chromium_org/ui/keyboard/
H A Dkeyboard_controller_proxy.cc56 // point. Otherwise, wrong keyboard bounds is used and may cause problem as
59 gfx::Rect bounds = keyboard->bounds(); variable
61 bounds.set_y(bounds.y() + bounds.height() - new_height);
62 bounds.set_height(new_height);
63 keyboard->SetBounds(bounds);
152 gfx::Rect available_bounds = root_window->bounds();
153 gfx::Rect keyboard_bounds = keyboard_window->bounds();
176 gfx::Rect bounds = GetKeyboardWindow()->bounds(); local
[all...]
/external/chromium_org/cc/test/
H A Dlayer_tree_host_common_test.cc27 const gfx::Size& bounds,
34 bounds,
44 const gfx::Size& bounds,
51 bounds,
54 layer->SetContentBounds(bounds);
66 gfx::Size(root_layer->bounds().width() * device_scale_factor,
67 root_layer->bounds().height() * device_scale_factor);
71 // We are probably not testing what is intended if the root_layer bounds are
73 DCHECK(!root_layer->bounds().IsEmpty());
92 gfx::Size(root_layer->bounds()
22 SetLayerPropertiesForTesting( Layer* layer, const gfx::Transform& transform, const gfx::Point3F& transform_origin, const gfx::PointF& position, const gfx::Size& bounds, bool flatten_transform, bool is_3d_sorted) argument
39 SetLayerPropertiesForTesting( LayerImpl* layer, const gfx::Transform& transform, const gfx::Point3F& transform_origin, const gfx::PointF& position, const gfx::Size& bounds, bool flatten_transform, bool is_3d_sorted) argument
[all...]
/external/chromium_org/third_party/skia/gm/
H A Dcoloremoji.cpp68 // compute the bounds of the text
69 SkRect bounds; local
70 paint.measureText(text, strlen(text), &bounds);
72 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf;
73 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf;
77 SkRect upperLeftClip = SkRect::MakeXYWH(bounds.left(), bounds.top(),
79 SkRect lowerRightClip = SkRect::MakeXYWH(bounds.centerX(), bounds.centerY(),
81 SkRect interiorClip = bounds;
[all...]
/external/skia/gm/
H A Dcoloremoji.cpp74 // compute the bounds of the text
75 SkRect bounds; local
76 paint.measureText(text, strlen(text), &bounds);
78 const SkScalar boundsHalfWidth = bounds.width() * SK_ScalarHalf;
79 const SkScalar boundsHalfHeight = bounds.height() * SK_ScalarHalf;
83 SkRect upperLeftClip = SkRect::MakeXYWH(bounds.left(), bounds.top(),
85 SkRect lowerRightClip = SkRect::MakeXYWH(bounds.centerX(), bounds.centerY(),
87 SkRect interiorClip = bounds;
[all...]
/external/chromium_org/third_party/skia/include/utils/
H A DSkNoSaveLayerCanvas.h24 virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint,
26 this->INHERITED::willSaveLayer(bounds, paint, flags);
/external/chromium_org/ui/gfx/
H A Dcolor_profile.cc11 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
15 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
H A Dcolor_profile_win_unittest.cc11 bool TestColorProfileUsingScreenBounds(const gfx::Rect& bounds) { argument
13 return gfx::GetDisplayColorProfile(bounds, &color_profile);
/external/chromium_org/ui/v2/src/
H A Dview_private.h30 void set_bounds(const gfx::Rect& bounds) { view_->bounds_ = bounds; } argument
/external/chromium_org/ui/views/controls/tabbed_pane/
H A Dtabbed_pane_unittest.cc54 // The bounds of our children should be smaller than the tabbed pane's bounds.
57 gfx::Rect bounds(child1->bounds());
58 EXPECT_GT(bounds.width(), 0);
61 EXPECT_LE(bounds.width(), 100);
62 EXPECT_GT(bounds.height(), 0);
63 EXPECT_LT(bounds.height(), 200);
65 // If we switch to the other tab, it should get assigned the same bounds.
67 EXPECT_EQ(bounds, child
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_BView.h64 BRect bounds; local
65 bounds.top = bounds.left = 0;
66 bounds.right = width;
67 bounds.bottom = height;
69 FillRect(bounds, B_SOLID_HIGH);
72 bounds = image->Bounds();
73 Draw(bounds);
/external/valgrind/main/none/tests/x86/
H A Dint.stderr.exp4 GPF (Pointer out of bounds?)
/external/chromium_org/ash/
H A Ddip_unittest.cc42 EXPECT_EQ("0,0 1000x900", display.bounds().ToString());
45 EXPECT_EQ("0,0,47,0", display.bounds().InsetsFrom(work_area).ToString());
54 // The |bounds_in_pixel()| should report bounds in pixel coordinate.
58 // Aura and views coordinates are in DIP, so they their bounds do not change.
59 EXPECT_EQ("0,0 1000x900", display_2x.bounds().ToString());
62 EXPECT_EQ("0,0,47,0", display_2x.bounds().InsetsFrom(work_area).ToString());
68 display_2x.bounds().InsetsFrom(work_area).height(),
69 shelf->shelf_widget()->GetNativeView()->layer()->bounds().height());

Completed in 564 milliseconds

1234567891011>>