Searched refs:bounds (Results 276 - 300 of 1705) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawSaveLayer.h30 SkDrawRect* bounds; member in class:SkSaveLayer
/external/chromium_org/ui/aura/test/
H A Dtest_window_tree_client.h24 const gfx::Rect& bounds) OVERRIDE;
/external/chromium_org/ui/gfx/
H A Dcolor_profile.h37 // Return the color profile of the display nearest the screen bounds. On Win32,
39 // If the given bounds are empty, or are off-screen, return false meaning there
40 // is no color profile associated with the bounds.
41 GFX_EXPORT bool GetDisplayColorProfile(const gfx::Rect& bounds,
H A Ddisplay.h21 // |bounds()| and |work_area| will return values in DIP coordinate
43 Display(int64 id, const Rect& bounds);
59 // Gets/Sets the display's bounds in gfx::Screen's coordinates.
60 const Rect& bounds() const { return bounds_; } function in class:gfx::Display
61 void set_bounds(const Rect& bounds) { bounds_ = bounds; } argument
90 // Sets the device scale factor and display bounds in pixel. This
91 // updates the work are using the same insets between old bounds and
97 // between old bounds and work area.
101 // |work_area_insets| and the bounds
[all...]
/external/chromium_org/ui/views/controls/menu/
H A Dmenu_runner_handler.h23 const gfx::Rect& bounds,
H A Dmenu_runner.cc27 const gfx::Rect& bounds,
32 parent, button, bounds, anchor, source_type, run_types_);
59 return impl_->RunMenuAt(parent, button, bounds, anchor, run_types_);
25 RunMenuAt(Widget* parent, MenuButton* button, const gfx::Rect& bounds, MenuAnchorPosition anchor, ui::MenuSourceType source_type) argument
/external/clang/test/FixIt/
H A Dtypo.c19 struct Rectangle bounds; // expected-note{{'bounds' declared here}} member in struct:Window
24 .bunds. // expected-error{{field designator 'bunds' does not refer to any field in type 'struct Window'; did you mean 'bounds'?}}
25 // CHECK: fix-it:"{{.*}}":{[[@LINE-1]]:4-[[@LINE-1]]:9}:"bounds"
/external/skia/gm/
H A Dpictureimagefilter.cpp58 SkRect bounds = SkRect::MakeXYWH(0, 0, 100, 100); variable
64 fillRectFiltered(canvas, bounds, pictureSource);
68 fillRectFiltered(canvas, bounds, pictureSourceSrcRect);
72 fillRectFiltered(canvas, bounds, pictureSourceEmptyRect);
/external/skia/src/animator/
H A DSkDrawSaveLayer.h30 SkDrawRect* bounds; member in class:SkSaveLayer
/external/chromium_org/ash/wm/
H A Dwindow_positioner.cc79 // use window's bounds instead.
81 gfx::Rect work_area = gfx::Rect(window->parent()->bounds().size());
90 // Move the given |bounds| on the available |work_area| in the direction
95 gfx::Rect* bounds) {
97 if (work_area.right() > bounds->right()) {
98 bounds->set_x(work_area.right() - bounds->width());
102 if (work_area.x() < bounds->x()) {
103 bounds->set_x(work_area.x());
110 // Move a |window| to new |bounds|
93 MoveRectToOneSide(const gfx::Rect& work_area, bool move_right, gfx::Rect* bounds) argument
113 SetBoundsAndOffsetTransientChildren(aura::Window* window, const gfx::Rect& bounds, const gfx::Rect& work_area, const gfx::Vector2d& offset) argument
151 SetBoundsAnimated(aura::Window* window, const gfx::Rect& bounds, const gfx::Rect& work_area) argument
165 gfx::Rect bounds = window->bounds(); local
340 gfx::Rect bounds = added_window->bounds(); local
[all...]
H A Dsystem_modal_container_layout_manager.cc62 // Note: we have to set the entire bounds with the screen offset.
64 Shell::GetScreen()->GetDisplayNearestWindow(container_).bounds());
160 params.bounds = Shell::GetScreen()->GetDisplayNearestWindow(
161 container_).bounds();
226 gfx::Rect target_bounds = window->bounds();
252 gfx::Rect valid_bounds = container_->bounds();
256 gfx::Rect bounds = keyboard_controller->current_keyboard_bounds(); local
257 if (!bounds.IsEmpty()) {
259 0, valid_bounds.height() - bounds.height()));
272 target_bounds.ClampToCenteredSize(window->bounds()
[all...]
/external/chromium_org/ash/keyboard_overlay/
H A Dkeyboard_overlay_delegate_unittest.cc52 gfx::Rect bounds = widget->GetRestoredBounds(); local
53 EXPECT_EQ(work_area.CenterPoint().x(), bounds.CenterPoint().x());
54 EXPECT_EQ(work_area.bottom(), bounds.bottom());
/external/chromium_org/ash/test/
H A Dash_test_base.cc221 const gfx::Rect& bounds) {
222 return CreateTestWindowInShellWithDelegate(NULL, 0, bounds);
227 const gfx::Rect& bounds) {
229 new aura::test::ColorTestWindowDelegate(color), id, bounds);
235 const gfx::Rect& bounds) {
237 delegate, ui::wm::WINDOW_TYPE_NORMAL, id, bounds);
244 const gfx::Rect& bounds) {
251 if (bounds.IsEmpty()) {
255 Shell::GetScreen()->GetDisplayMatching(bounds);
258 gfx::Point origin = bounds
220 CreateTestWindowInShellWithBounds( const gfx::Rect& bounds) argument
225 CreateTestWindowInShell(SkColor color, int id, const gfx::Rect& bounds) argument
232 CreateTestWindowInShellWithDelegate( aura::WindowDelegate* delegate, int id, const gfx::Rect& bounds) argument
240 CreateTestWindowInShellWithDelegateAndType( aura::WindowDelegate* delegate, ui::wm::WindowType type, int id, const gfx::Rect& bounds) argument
[all...]
/external/chromium_org/cc/blink/
H A Dweb_layer_impl_fixed_bounds_unittest.cc27 EXPECT_EQ(WebSize(100, 100), layer->bounds());
28 EXPECT_EQ(gfx::Size(100, 100), layer->layer()->bounds());
40 const WebSize& bounds,
42 layer->setBounds(bounds);
45 EXPECT_EQ(bounds, layer->bounds());
46 EXPECT_EQ(fixed_bounds, layer->layer()->bounds());
52 original_point.x() * bounds.width / fixed_bounds.width(),
53 original_point.y() * bounds.height / fixed_bounds.height(),
55 // Test if the bounds scal
39 CheckBoundsScaleSimple(WebLayerImplFixedBounds* layer, const WebSize& bounds, const gfx::Size& fixed_bounds) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/importer/
H A Dimport_lock_dialog_view.cc60 gfx::Rect bounds(GetLocalBounds());
61 bounds.Inset(views::kButtonHEdgeMargin, views::kPanelVertMargin);
62 description_label_->SetBoundsRect(bounds);
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/
H A Dview.js111 var bounds = location && button && button.getClientRects()[0];
112 var x = bounds && location.clientX;
113 var y = bounds && location.clientY;
114 var x1 = bounds && bounds.left;
115 var x2 = bounds && bounds.right;
116 var y1 = bounds && bounds.top;
117 var y2 = bounds
[all...]
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
H A DDOMUtils.java89 Assert.assertFalse("Failed to retrieve bounds for " + nodeId,
93 int[] bounds = new int[4];
98 bounds[i++] = jsonReader.nextInt();
101 Assert.assertEquals("Invalid bounds returned.", 4, i);
108 return new Rect(bounds[0], bounds[1], bounds[0] + bounds[2], bounds[1] + bounds[
[all...]
/external/chromium_org/mojo/services/native_viewport/
H A Dnative_viewport_impl.h31 virtual void Create(SizePtr bounds) OVERRIDE;
35 virtual void SetBounds(SizePtr bounds) OVERRIDE;
39 virtual void OnBoundsChanged(const gfx::Rect& bounds) OVERRIDE;
/external/chromium_org/ui/app_list/
H A Dpagination_controller.cc53 const gfx::Rect& bounds) {
63 int width = scroll_axis_ == SCROLL_AXIS_HORIZONTAL ? bounds.width()
64 : bounds.height();
52 OnGestureEvent(const ui::GestureEvent& event, const gfx::Rect& bounds) argument
/external/chromium_org/ui/message_center/views/
H A Ddesktop_popup_alignment_delegate.cc72 alignment_ = work_area_.y() > display.bounds().y() ? POPUP_ALIGNMENT_TOP
81 alignment_ |= (work_area_.x() > display.bounds().x() &&
82 work_area_.y() == display.bounds().y())
/external/chromium_org/ui/views/accessibility/
H A Dnative_view_accessibility_unittest.cc63 gfx::Rect bounds = button_accessibility_->GetData()->location; local
64 bounds.Offset(button_accessibility_->GetGlobalCoordinateOffset());
65 EXPECT_EQ(button_->GetBoundsInScreen(), bounds);
/external/chromium_org/ui/views/controls/button/
H A Dblue_button_unittest.cc37 gfx::Canvas button_canvas(button.bounds().size(), 1.0, true);
44 gfx::Canvas canvas(blue_button.bounds().size(), 1.0, true);
52 gfx::Canvas canvas2(blue_button.bounds().size(), 1.0, true);
/external/chromium_org/ui/views/
H A Dshadow_border.cc38 gfx::Rect bounds(view.size());
41 bounds.Inset(gfx::Insets(blur_ / 2, blur_ / 2, blur_ / 2, blur_ / 2));
42 canvas->DrawRect(bounds, paint);
/external/skia/src/gpu/
H A DGrLayerCache.h22 // means the plot in which it resides and its bounds inside the plot.
28 void set(GrPlot* plot, const GrIRect16& bounds) { argument
30 fBounds = bounds;
37 const GrIRect16& bounds() const { function in class:GrAtlasLocation
/external/chromium_org/cc/trees/
H A Dlayer_tree_impl_unittest.cc53 gfx::Size bounds(100, 100);
58 bounds,
63 host_impl().SetViewportSize(root->bounds());
105 gfx::Size bounds(100, 100);
110 bounds,
177 gfx::Size bounds(100, 100);
182 bounds,
187 host_impl().SetViewportSize(root->bounds());
243 gfx::Size bounds(100, 100);
248 bounds,
[all...]

Completed in 5531 milliseconds

<<11121314151617181920>>