Searched refs:bounds (Results 201 - 225 of 1705) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/skia/src/core/
H A DSkImageFilter.cpp215 SkRect bounds; local
216 input->computeFastBounds(src, &bounds);
217 dst->join(bounds);
244 SkIRect bounds; local
245 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) {
248 SkRect srcRect = SkRect::Make(bounds);
254 desc.fWidth = bounds.width();
255 desc.fHeight = bounds.height();
267 offset->fX = bounds.left();
268 offset->fY = bounds
307 applyCropRect(const Context& ctx, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const argument
348 SkIRect bounds; local
[all...]
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
H A DResizableDialog.java68 // track the current dialog bounds
105 Rectangle bounds = loadBounds();
106 if (bounds != null) {
107 int x = bounds.x;
108 int y = bounds.y;
137 * Loads bounds from {@link IDialogSettings}.
152 * Saves bounds to {@link IDialogSettings}.
154 private void saveBounds(Rectangle bounds) { argument
156 settings.put(X, bounds.x);
157 settings.put(Y, bounds
[all...]
/external/skia/src/core/
H A DSkImageFilter.cpp128 * bounds with the clip bounds. This is so that the cached result
129 * is always the full size of the primitive's bounds,
151 SkRect bounds; local
152 input->computeFastBounds(src, &bounds);
153 dst->join(bounds);
180 SkIRect bounds; local
181 if (!this->applyCropRect(ctx, proxy, input, &srcOffset, &bounds, &input)) {
184 SkRect srcRect = SkRect::Make(bounds);
190 desc.fWidth = bounds
241 applyCropRect(const Context& ctx, Proxy* proxy, const SkBitmap& src, SkIPoint* srcOffset, SkIRect* bounds, SkBitmap* dst) const argument
282 SkIRect bounds; local
[all...]
H A DSkBBoxHierarchyRecord.cpp22 void SkBBoxHierarchyRecord::handleBBox(const SkRect& bounds) { argument
24 bounds.roundOut(&r);
34 SkCanvas::SaveLayerStrategy SkBBoxHierarchyRecord::willSaveLayer(const SkRect* bounds, argument
44 if (bounds) {
45 drawBounds = *bounds;
54 SkCanvas::SaveLayerStrategy strategy = this->INHERITED::willSaveLayer(bounds, paint, flags);
/external/chromium_org/ash/display/
H A Droot_window_transformers_unittest.cc152 EXPECT_EQ("120x200", root_windows[0]->bounds().size().ToString());
153 EXPECT_EQ("150x200", root_windows[1]->bounds().size().ToString());
155 ScreenUtil::GetSecondaryDisplay().bounds().ToString());
171 EXPECT_EQ("200x120", root_windows[0]->bounds().size().ToString());
172 EXPECT_EQ("150x200", root_windows[1]->bounds().size().ToString());
174 ScreenUtil::GetSecondaryDisplay().bounds().ToString());
186 ScreenUtil::GetSecondaryDisplay().bounds().ToString());
194 EXPECT_EQ("200x120", root_windows[0]->bounds().size().ToString());
195 EXPECT_EQ("200x150", root_windows[1]->bounds().size().ToString());
197 ScreenUtil::GetSecondaryDisplay().bounds()
[all...]
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_panels.cc41 // Returns the panel window bounds after the transformation.
70 gfx::RectF bounds(ScreenUtil::ConvertRectToScreen(
71 window()->GetRootWindow(), window()->layer()->bounds()));
73 new_transform.Translate(bounds.x(),
74 bounds.y());
76 new_transform.Translate(-bounds.x(),
77 -bounds.y());
78 new_transform.TransformRect(&bounds);
79 return ToEnclosingRect(bounds);
194 bounds());
198 gfx::Rect bounds = (*iter)->GetBoundsInScreen(); local
[all...]
/external/chromium_org/chrome/browser/ui/views/panels/
H A Dtaskbar_window_thumbnailer_win.cc166 RECT bounds; local
167 if (!::GetWindowRect(*iter, &bounds))
170 enclosing_x = bounds.left;
171 enclosing_y = bounds.top;
172 enclosing_right = bounds.right;
173 enclosing_bottom = bounds.bottom;
175 if (bounds.left < enclosing_x)
176 enclosing_x = bounds.left;
177 if (bounds.top < enclosing_y)
178 enclosing_y = bounds
[all...]
/external/skia/src/effects/
H A DSkDropShadowImageFilter.cpp73 SkIRect bounds;
74 if (!this->applyCropRect(ctx, src, srcOffset, &bounds)) {
78 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
97 canvas.translate(SkIntToScalar(srcOffset.fX - bounds.fLeft),
98 SkIntToScalar(srcOffset.fY - bounds.fTop));
102 offset->fX = bounds.fLeft;
103 offset->fY = bounds.fTop;
123 SkIRect bounds = src; local
124 if (getInput(0) && !getInput(0)->filterBounds(src, ctm, &bounds)) {
[all...]
/external/chromium_org/ash/wm/maximize_mode/
H A Dmaximize_mode_window_manager_unittest.cc46 const gfx::Rect& bounds) {
48 type, bounds, gfx::Size(), false, false);
55 const gfx::Rect& bounds,
57 return CreateWindowInWatchedContainer(type, bounds, max_size, false, true);
62 const gfx::Rect bounds) {
64 type, bounds, gfx::Size(), true, true);
68 aura::Window* CreateWindowWithWidget(const gfx::Rect& bounds) { argument
76 window->SetBounds(bounds);
117 const gfx::Rect& bounds,
129 delegate, type, 0, bounds, NUL
45 CreateFixedSizeNonMaximizableWindow(ui::wm::WindowType type, const gfx::Rect& bounds) argument
54 CreateNonMaximizableWindow(ui::wm::WindowType type, const gfx::Rect& bounds, const gfx::Size& max_size) argument
61 CreateWindow(ui::wm::WindowType type, const gfx::Rect bounds) argument
116 CreateWindowInWatchedContainer(ui::wm::WindowType type, const gfx::Rect& bounds, const gfx::Size& max_size, bool can_maximize, bool can_resize) argument
419 GetPlacementString(const gfx::Rect& bounds, ui::WindowShowState state) argument
427 gfx::Rect* bounds = window->GetProperty(ash::kRestoreBoundsOverrideKey); local
[all...]
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura_browsertest.cc300 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
310 gfx::Point(bounds.x() + 2, bounds.y() + 10),
311 gfx::Point(bounds.right() - 10, bounds.y() + 10),
328 gfx::Point(bounds.x() + 2, bounds.y() + 10),
329 gfx::Point(bounds.right() - 10, bounds.y() + 10),
346 gfx::Point(bounds
488 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
610 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
784 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
805 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
853 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
937 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
1037 gfx::Rect bounds = content->GetBoundsInRootWindow(); local
[all...]
/external/chromium_org/ash/wm/workspace/
H A Dmulti_window_resize_controller.cc44 return window->bounds().x() <= x && window->bounds().right() >= x;
48 return window->bounds().y() <= y && window->bounds().bottom() >= y;
250 window, HTLEFT, window->bounds().right(), point_in_parent.y());
255 window, HTRIGHT, window->bounds().x(), point_in_parent.y());
261 window, HTBOTTOM, point_in_parent.x(), window->bounds().y());
268 window, HTTOP, point_in_parent.x(), window->bounds().bottom());
290 if (ContainsY(window, y) && window->bounds().x() == x)
294 if (ContainsY(window, y) && window->bounds()
446 gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( local
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dasync_slice_group_test.js20 assertTrue(g.bounds.isEmpty);
32 assertEquals(0, g.bounds.min);
33 assertEquals(2.5, g.bounds.max);
H A Dthread.js72 this.bounds = new base.Range();
193 * Updates the bounds based on the
197 this.bounds.reset();
200 this.bounds.addRange(this.sliceGroup.bounds);
203 this.bounds.addRange(this.kernelSliceGroup.bounds);
206 this.bounds.addRange(this.asyncSliceGroup.bounds);
209 this.bounds
[all...]
/external/chromium-trace/trace-viewer/src/tracing/
H A Dtrace_model_test.js66 assertEquals(undefined, m.bounds.min);
67 assertEquals(undefined, m.bounds.max);
74 assertEquals(undefined, m.bounds.min);
75 assertEquals(undefined, m.bounds.max);
83 assertEquals(1, m.bounds.min);
84 assertEquals(4, m.bounds.max);
93 assertEquals(1, m.bounds.min);
94 assertEquals(4, m.bounds.max);
102 assertEquals(1, m.bounds.min);
103 assertEquals(4, m.bounds
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Ddropdown_bar_view.cc70 int height = view->bounds().height();
74 0, 0, view->bounds().width(), height);
83 int x_right_edge = view->bounds().width() - right_edge_width;
113 gfx::Size(bounds().width(), kAnimatingEdgeHeight),
116 canvas->Translate(bounds().OffsetFromOrigin());
120 bounds().x(), animation_offset());
/external/chromium_org/third_party/skia/include/core/
H A DSkTextBlob.h28 const SkRect& bounds() const { return fBounds; } function in class:SkTextBlob
79 SkTextBlob(int runCount, const SkRect& bounds);
135 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
136 * be used when computing the blob bounds, to avoid re-measuring.
142 const SkRect* bounds = NULL);
151 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
152 * be used when computing the blob bounds, to avoid re-measuring.
158 const SkRect* bounds = NULL);
166 * @param bounds Optional run bounding box. If known in advance (!= NULL), it will
167 * be used when computing the blob bounds, t
[all...]
/external/chromium_org/ui/aura/
H A Dwindow_tree_host_win.cc35 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { argument
36 return new WindowTreeHostWin(bounds);
45 WindowTreeHostWin::WindowTreeHostWin(const gfx::Rect& bounds) argument
48 window_(new ui::WinWindow(this, bounds)) {
77 void WindowTreeHostWin::SetBounds(const gfx::Rect& bounds) { argument
78 window_->SetBounds(bounds);
/external/chromium_org/ui/ozone/platform/dri/
H A Ddri_window.cc21 const gfx::Rect& bounds,
27 bounds_(bounds),
58 void DriWindow::SetBounds(const gfx::Rect& bounds) { argument
59 bounds_ = bounds;
60 delegate_->OnBoundsChanged(bounds);
64 dri_window_delegate_->OnBoundsChanged(bounds);
20 DriWindow(PlatformWindowDelegate* delegate, const gfx::Rect& bounds, scoped_ptr<DriWindowDelegate> dri_window_delegate, EventFactoryEvdev* event_factory, DriWindowDelegateManager* window_delegate_manager, DriWindowManager* window_manager) argument
/external/chromium_org/ui/wm/core/
H A Dimage_grid.cc32 float layer_width = layer->bounds().width() * layer->device_scale_factor();
40 float layer_height = layer->bounds().height() * layer->device_scale_factor();
52 // Returns true if |layer|'s bounds don't fit within |size|.
54 return layer->bounds().width() > size.width() ||
55 layer->bounds().height() > size.height();
62 gfx::RectF bounds = layer.bounds(); local
63 layer.transform().TransformRect(&bounds);
64 return bounds;
130 gfx::Rect updated_bounds = layer_->bounds();
[all...]
/external/chromium_org/ash/wm/panels/
H A Dpanel_layout_manager.cc235 params.bounds = ScreenUtil::ConvertRectToScreen(parent, gfx::Rect());
236 params.bounds.set_width(kArrowWidth);
237 params.bounds.set_height(kArrowHeight);
359 // result of bounds change from within the application during a drag.
362 // TODO(varkha): Updating bounds during a drag can cause problems and a more
416 gfx::Rect bounds(requested_bounds);
417 const gfx::Rect& max_bounds = panel_container_->GetRootWindow()->bounds();
420 if (bounds.width() > max_width)
421 bounds.set_width(max_width);
422 if (bounds
434 const gfx::Rect& bounds = (*new_position).window->bounds(); local
700 gfx::Rect bounds = visible_panels[i].window->GetTargetBounds(); local
782 gfx::Rect bounds = it->window->bounds(); local
824 gfx::Rect bounds = ScreenUtil::ConvertRectToScreen( local
[all...]
H A Dpanel_window_resizer.cc84 gfx::Rect bounds(CalculateBoundsForDrag(location));
87 AttachToLauncher(bounds, &offset);
130 bool PanelWindowResizer::AttachToLauncher(const gfx::Rect& bounds, argument
142 if (bounds.bottom() >= (launcher_bounds.y() -
145 offset->set_y(launcher_bounds.y() - bounds.height() - bounds.y());
149 if (bounds.x() <= (launcher_bounds.right() +
152 offset->set_x(launcher_bounds.right() - bounds.x());
156 if (bounds.right() >= (launcher_bounds.x() -
159 offset->set_x(launcher_bounds.x() - bounds
[all...]
/external/chromium_org/third_party/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp44 static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
47 find_tight_bounds(cubicPair.first(), bounds);
49 bounds.add(cubicPair.first()[0]);
50 bounds.add(cubicPair.first()[3]);
53 find_tight_bounds(cubicPair.second(), bounds);
55 bounds.add(cubicPair.second()[0]);
56 bounds.add(cubicPair.second()[3]);
226 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX};
227 find_tight_bounds(cubic, bounds);
228 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds
[all...]
/external/skia/tests/
H A DPathOpsCubicReduceOrderTest.cpp44 static void find_tight_bounds(const SkDCubic& cubic, SkDRect& bounds) {
47 find_tight_bounds(cubicPair.first(), bounds);
49 bounds.add(cubicPair.first()[0]);
50 bounds.add(cubicPair.first()[3]);
53 find_tight_bounds(cubicPair.second(), bounds);
55 bounds.add(cubicPair.second()[0]);
56 bounds.add(cubicPair.second()[3]);
226 SkDRect bounds = {DBL_MAX, DBL_MAX, -DBL_MAX, -DBL_MAX};
227 find_tight_bounds(cubic, bounds);
228 if ( (!AlmostEqualUlps(reducer.fLine[0].fX, bounds
[all...]
/external/chromium_org/ash/frame/caption_buttons/
H A Dframe_caption_button_container_view_unittest.cc95 rightmost.bounds().right() == expected.right()) {
99 LOG(ERROR) << "Buttons " << leftmost.bounds().ToString() << " "
100 << rightmost.bounds().ToString() << " not at edges of "
168 gfx::Rect initial_minimize_button_bounds = test.minimize_button()->bounds();
169 gfx::Rect initial_size_button_bounds = test.size_button()->bounds();
170 gfx::Rect initial_close_button_bounds = test.close_button()->bounds();
171 gfx::Rect initial_container_bounds = container.bounds();
190 gfx::Rect minimize_button_bounds = test.minimize_button()->bounds();
191 gfx::Rect close_button_bounds = test.close_button()->bounds();
193 EXPECT_EQ(initial_size_button_bounds, test.size_button()->bounds());
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Ddisplay_info_provider_chromeos_unittest.cc61 const core_api::system_display::Bounds& bounds) const {
64 "%d,%d %dx%d", bounds.left, bounds.top, bounds.width, bounds.height);
82 EXPECT_EQ("0,0 500x600", SystemInfoDisplayBoundsToString(result[0]->bounds));
100 SystemInfoDisplayBoundsToString(result[1]->bounds));
121 EXPECT_EQ("0,0 600x500", SystemInfoDisplayBoundsToString(result[0]->bounds));
131 EXPECT_EQ("0,0 600x500", SystemInfoDisplayBoundsToString(result[0]->bounds));
141 EXPECT_EQ("0,0 500x600", SystemInfoDisplayBoundsToString(result[0]->bounds));
[all...]

Completed in 3022 milliseconds

1234567891011>>