/external/chromium_org/ash/shell/ |
H A D | toplevel_window.cc | 22 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 D | rect.h | 17 /* 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 D | SkMatrixConvolutionImageFilter.cpp | 164 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 D | tray_gesture_handler.cc | 33 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 D | dri_window_delegate_impl.cc | 36 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 D | TransformOperationsTest.cpp | 52 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 D | panel_resize_controller.cc | 101 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 D | workspace_layout_manager_unittest.cc | 53 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 D | toplevel_window_event_handler_unittest.cc | 102 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 D | default_window_resizer.cc | 30 gfx::Rect bounds(CalculateBoundsForDrag(location)); 31 if (bounds != GetTarget()->bounds()) { 35 GetTarget()->SetBounds(bounds);
|
/external/chromium_org/athena/home/ |
H A D | minimized_home.cc | 30 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 D | SkCanvasPriv.h | 15 SkAutoCanvasMatrixPaint(SkCanvas*, const SkMatrix*, const SkPaint*, const SkRect& bounds);
|
/external/chromium_org/ui/aura/test/ |
H A D | test_windows.h | 20 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 D | keyboard_controller_proxy.cc | 56 // 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 D | layer_tree_host_common_test.cc | 27 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 D | coloremoji.cpp | 68 // 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 D | coloremoji.cpp | 74 // 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 D | SkNoSaveLayerCanvas.h | 24 virtual SaveLayerStrategy willSaveLayer(const SkRect* bounds, const SkPaint* paint, 26 this->INHERITED::willSaveLayer(bounds, paint, flags);
|
/external/chromium_org/ui/gfx/ |
H A D | color_profile.cc | 11 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds, 15 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
|
H A D | color_profile_win_unittest.cc | 11 bool TestColorProfileUsingScreenBounds(const gfx::Rect& bounds) { argument 13 return gfx::GetDisplayColorProfile(bounds, &color_profile);
|
/external/chromium_org/ui/v2/src/ |
H A D | view_private.h | 30 void set_bounds(const gfx::Rect& bounds) { view_->bounds_ = bounds; } argument
|
/external/chromium_org/ui/views/controls/tabbed_pane/ |
H A D | tabbed_pane_unittest.cc | 54 // 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 D | SDL_BView.h | 64 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 D | int.stderr.exp | 4 GPF (Pointer out of bounds?)
|
/external/chromium_org/ash/ |
H A D | dip_unittest.cc | 42 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());
|