Searched refs:bounds (Results 101 - 125 of 1705) sorted by relevance

1234567891011>>

/external/chromium_org/ash/wm/
H A Ddrag_window_controller.cc42 void DragWindowController::SetBounds(const gfx::Rect& bounds) { argument
44 bounds_ = bounds;
45 SetBoundsInternal(bounds);
63 void DragWindowController::CreateDragWidget(const gfx::Rect& bounds) { argument
78 SetBoundsInternal(bounds);
97 void DragWindowController::SetBoundsInternal(const gfx::Rect& bounds) { argument
102 screen_position_client->SetBounds(window, bounds, dst_display_);
104 drag_widget_->SetBounds(bounds);
112 gfx::Rect layer_bounds = layer_owner_->root()->bounds();
H A Ddrag_window_controller.h49 // This is used to set bounds for the drag window immediately. This should
51 void SetBounds(const gfx::Rect& bounds);
59 // Creates and shows the |drag_widget_| at |bounds|.
62 void CreateDragWidget(const gfx::Rect& bounds);
64 // Sets bounds of the drag window. The window is shown on |dst_display_|
65 // if its id() is valid. Otherwise, a display nearest to |bounds| is chosen.
66 void SetBoundsInternal(const gfx::Rect& bounds);
79 // Initially the bounds of |window_|. Each time Show() is invoked
80 // |start_bounds_| is then reset to the bounds of |drag_widget_| and
/external/chromium_org/chrome/browser/ui/panels/
H A Ddisplay_settings_provider.cc69 return gfx::Screen::GetNativeScreen()->GetPrimaryDisplay().bounds();
80 gfx::Rect display_area = display.bounds();
95 const gfx::Rect& bounds) const {
97 return gfx::Screen::GetNativeScreen()->GetDisplayMatching(bounds).bounds();
101 const gfx::Rect& bounds) const {
104 gfx::Display display = screen->GetDisplayMatching(bounds);
105 if (display.bounds() == screen->GetPrimaryDisplay().bounds())
/external/skia/src/effects/
H A DSkPictureImageFilter.cpp69 SkIRect bounds; local
71 floatBounds.roundOut(&bounds);
73 if (bounds.isEmpty()) {
78 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
86 canvas.translate(-SkIntToScalar(bounds.fLeft), -SkIntToScalar(bounds.fTop));
91 offset->fX = bounds.fLeft;
92 offset->fY = bounds.fTop;
H A DSkMatrixImageFilter.cpp93 SkRect bounds = src; local
95 getInput(0)->computeFastBounds(src, &bounds);
98 matrix.setTranslate(-bounds.x(), -bounds.y());
100 matrix.postTranslate(bounds.x(), bounds.y());
101 matrix.mapRect(dst, bounds);
118 SkIRect bounds; local
119 floatBounds.roundOut(&bounds);
120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ct
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DDisplayList.h50 static PassRefPtr<DisplayList> create(const FloatRect& bounds) argument
52 return adoptRef(new DisplayList(bounds));
57 const FloatRect& bounds() const { return m_bounds; } function in class:blink::FINAL
84 DisplayList(const FloatRect& bounds) : m_bounds(bounds) argument
/external/chromium_org/third_party/skia/samplecode/
H A DSampleLayerMask.cpp42 SkRect bounds = r; local
43 bounds.offset(-bounds.fLeft, -bounds.fTop);
44 c.drawOval(bounds, paint);
/external/chromium_org/ui/compositor/test/
H A Dtest_compositor_host_ozone.cc21 TestCompositorHostOzone(const gfx::Rect& bounds,
42 const gfx::Rect& bounds,
44 : bounds_(bounds),
74 const gfx::Rect& bounds,
76 return new TestCompositorHostOzone(bounds, context_factory);
41 TestCompositorHostOzone( const gfx::Rect& bounds, ui::ContextFactory* context_factory) argument
73 Create( const gfx::Rect& bounds, ui::ContextFactory* context_factory) argument
/external/chromium_org/ui/keyboard/
H A Dkeyboard_layout_manager.cc17 gfx::Rect window_bounds = controller_->GetContainerWindow()->bounds();
20 int height = keyboard_->bounds().height();
33 controller_->GetContainerWindow()->bounds()));
50 gfx::Rect old_bounds = child->bounds();
52 if (old_bounds.height() == 0 && child->bounds().height() != 0 &&
55 // different extension. Virtual keyboard window may wait for this bounds
/external/chromium_org/ui/ozone/platform/test/
H A Dtest_window.cc19 const gfx::Rect& bounds)
20 : delegate_(delegate), manager_(manager), bounds_(bounds) {
42 void TestWindow::SetBounds(const gfx::Rect& bounds) { argument
43 bounds_ = bounds;
44 delegate_->OnBoundsChanged(bounds);
17 TestWindow(PlatformWindowDelegate* delegate, TestWindowManager* manager, const gfx::Rect& bounds) argument
/external/chromium_org/ui/wm/core/
H A Deasy_resize_window_targeter.cc37 gfx::Rect bounds(window->bounds().size());
39 bounds.Inset(touch_extend_);
41 bounds.Inset(mouse_extend_);
43 return bounds.Contains(point);
50 // Use the extended bounds only for immediate child windows of |container_|.
/external/skia/samplecode/
H A DSampleLayerMask.cpp42 SkRect bounds = r; local
43 bounds.offset(-bounds.fLeft, -bounds.fTop);
44 c.drawOval(bounds, paint);
/external/chromium_org/third_party/skia/gm/
H A Dstrokes.cpp155 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { argument
156 path->addRect(bounds, SkPath::kCW_Direction);
157 path->addRect(inset(bounds), SkPath::kCW_Direction);
161 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { argument
162 path->addRect(bounds, SkPath::kCW_Direction);
163 path->addRect(inset(bounds), SkPath::kCCW_Direction);
167 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { argument
168 path->addOval(bounds, SkPath::kCW_Direction);
169 path->addOval(inset(bounds), SkPath::kCW_Direction);
173 static void make3(SkPath* path, const SkRect& bounds, SkStrin argument
179 make4(SkPath* path, const SkRect& bounds, SkString* title) argument
187 make5(SkPath* path, const SkRect& bounds, SkString* title) argument
226 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)); local
[all...]
/external/skia/gm/
H A Dstrokes.cpp155 static void make0(SkPath* path, const SkRect& bounds, SkString* title) { argument
156 path->addRect(bounds, SkPath::kCW_Direction);
157 path->addRect(inset(bounds), SkPath::kCW_Direction);
161 static void make1(SkPath* path, const SkRect& bounds, SkString* title) { argument
162 path->addRect(bounds, SkPath::kCW_Direction);
163 path->addRect(inset(bounds), SkPath::kCCW_Direction);
167 static void make2(SkPath* path, const SkRect& bounds, SkString* title) { argument
168 path->addOval(bounds, SkPath::kCW_Direction);
169 path->addOval(inset(bounds), SkPath::kCW_Direction);
173 static void make3(SkPath* path, const SkRect& bounds, SkStrin argument
179 make4(SkPath* path, const SkRect& bounds, SkString* title) argument
187 make5(SkPath* path, const SkRect& bounds, SkString* title) argument
226 SkRect bounds = SkRect::MakeWH(SkIntToScalar(50), SkIntToScalar(50)); local
[all...]
/external/chromium_org/third_party/skia/src/utils/
H A DSkGatherPixelRefsAndRects.h21 // device bounds to the user provided SkPixelRefContainer-derived object
74 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x()+1, max.y()+1); variable
76 this->drawRect(draw, bounds, paint);
164 SkRect bounds; variable
165 paint.measureText(text, len, &bounds);
170 SkScalar h = bounds.fBottom - bounds.fTop;
172 bounds.fTop -= h / 2;
173 bounds.fBottom -= h / 2;
175 bounds
229 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x(), max.y()); variable
253 SkRect bounds = path.getBounds(); variable
[all...]
/external/skia/src/utils/
H A DSkGatherPixelRefsAndRects.h21 // device bounds to the user provided SkPixelRefContainer-derived object
79 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x()+1, max.y()+1); variable
81 this->drawRect(draw, bounds, paint);
169 SkRect bounds; variable
170 paint.measureText(text, len, &bounds);
175 SkScalar h = bounds.fBottom - bounds.fTop;
177 bounds.fTop -= h / 2;
178 bounds.fBottom -= h / 2;
180 bounds
234 SkRect bounds = SkRect::MakeLTRB(min.x(), min.y(), max.x(), max.y()); variable
258 SkRect bounds = path.getBounds(); variable
[all...]
/external/chromium_org/ash/wm/dock/
H A Ddocked_window_resizer_unittest.cc75 aura::Window* CreateTestWindow(const gfx::Rect& bounds) { argument
80 bounds);
93 aura::Window* CreateModalWindow(const gfx::Rect& bounds) { argument
100 if (bounds.IsEmpty()) {
104 Shell::GetScreen()->GetDisplayMatching(bounds);
107 gfx::Point origin = bounds.origin();
109 window->SetBounds(gfx::Rect(origin, bounds.size()));
110 aura::client::ParentWindowWithContext(window, root, bounds);
133 window->bounds().origin() + gfx::Vector2d(dx, dy);
144 window->bounds()
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dcpu.js25 this.bounds = new base.Range();
59 this.bounds.reset();
61 this.bounds.addValue(this.slices[0].start);
62 this.bounds.addValue(this.slices[this.slices.length - 1].end);
66 this.bounds.addRange(this.counters[id].bounds);
/external/chromium_org/cc/blink/
H A Dweb_layer_impl_fixed_bounds.h15 // need to be automatically scaled when the bounds changes. The compositor
16 // can efficiently handle the bounds change of such layers if the bounds
17 // is fixed to a given value and the change of bounds are converted to
29 virtual void setBounds(const blink::WebSize& bounds);
30 virtual blink::WebSize bounds() const;
34 CC_BLINK_EXPORT void SetFixedBounds(gfx::Size bounds);
/external/chromium_org/chrome/browser/ui/views/
H A Ddetachable_toolbar_view.cc29 const gfx::Rect& bounds,
32 canvas->FillRect(bounds,
35 background_origin.x(), background_origin.y(), bounds.x(),
36 bounds.y(), bounds.width(), bounds.height());
43 bounds.x(), bounds.y(),
44 toolbar_left->width(), bounds.height());
48 bounds
26 PaintBackgroundAttachedMode( gfx::Canvas* canvas, ui::ThemeProvider* theme_provider, const gfx::Rect& bounds, const gfx::Point& background_origin, chrome::HostDesktopType host_desktop_type) argument
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkMatrixImageFilter.cpp105 SkRect bounds = src; local
107 getInput(0)->computeFastBounds(src, &bounds);
110 matrix.setTranslate(-bounds.x(), -bounds.y());
112 matrix.postTranslate(bounds.x(), bounds.y());
113 matrix.mapRect(dst, bounds);
130 SkIRect bounds; local
131 floatBounds.roundOut(&bounds);
132 if (getInput(0) && !getInput(0)->filterBounds(bounds, ct
[all...]
/external/chromium_org/ui/accessibility/platform/
H A Dax_platform_node_base.cc29 gfx::Rect bounds = delegate_->GetData()->location;
30 bounds.Offset(delegate_->GetGlobalCoordinateOffset());
31 return bounds;
/external/chromium_org/chrome/browser/chromeos/login/
H A Dhelper.cc23 gfx::Rect bounds(ash::Shell::GetScreen()->GetPrimaryDisplay().bounds());
25 int horizontal_diff = bounds.width() - size.width();
26 int vertical_diff = bounds.height() - size.height();
27 bounds.Inset(horizontal_diff / 2, vertical_diff / 2);
29 return bounds;
/external/chromium_org/chrome/browser/chromeos/ui/
H A Dfocus_ring_layer.cc31 void FocusRingLayer::Set(aura::Window* root_window, const gfx::Rect& bounds) { argument
32 focus_ring_ = bounds;
35 // Update the layer bounds.
36 gfx::Rect layer_bounds = bounds;
63 gfx::Rect bounds = focus_ring_ - layer_->bounds().OffsetFromOrigin();
73 gfx::Rect outsetRect = bounds;
/external/chromium_org/ui/aura/
H A Dwindow_tree_host_ozone.cc14 WindowTreeHostOzone::WindowTreeHostOzone(const gfx::Rect& bounds) argument
17 ui::OzonePlatform::GetInstance()->CreatePlatformWindow(this, bounds);
81 void WindowTreeHostOzone::SetBounds(const gfx::Rect& bounds) { argument
82 platform_window_->SetBounds(bounds);
119 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { argument
120 return new WindowTreeHostOzone(bounds);

Completed in 765 milliseconds

1234567891011>>