Searched refs:bounds (Results 1 - 25 of 1705) sorted by relevance

1234567891011>>

/external/valgrind/main/drd/tests/
H A Dmatinv.stdout.exp1 Error within bounds.
H A Domp_matinv.stdout.exp1 Error within bounds.
H A Domp_matinv_racy.stdout.exp1 Error within bounds.
/external/fonttools/Lib/fontTools/pens/
H A DboundsPen.py13 """Pen to calculate the "control bounds" of a shape. This is the
18 When the shape has been drawn, the bounds are available as the
19 'bounds' attribute of the pen object. It's a 4-tuple:
25 self.bounds = None
28 bounds = self.bounds
29 if bounds:
30 self.bounds = updateBounds(bounds, pt)
33 self.bounds
[all...]
/external/fonttools/Tools/fontTools/pens/
H A DboundsPen.py13 """Pen to calculate the "control bounds" of a shape. This is the
18 When the shape has been drawn, the bounds are available as the
19 'bounds' attribute of the pen object. It's a 4-tuple:
25 self.bounds = None
28 bounds = self.bounds
29 if bounds:
30 self.bounds = updateBounds(bounds, pt)
33 self.bounds
[all...]
/external/chromium_org/tools/telemetry/telemetry/timeline/
H A Dbounds_unittest.py6 from telemetry.timeline import bounds namespace
13 self.assertEquals(0, bounds.Bounds.GetOverlap(10, 20, 30, 40))
14 self.assertEquals(0, bounds.Bounds.GetOverlap(30, 40, 10, 20))
16 self.assertEquals(10, bounds.Bounds.GetOverlap(10, 30, 20, 40))
17 self.assertEquals(10, bounds.Bounds.GetOverlap(20, 40, 10, 30))
19 self.assertEquals(10, bounds.Bounds.GetOverlap(10, 40, 20, 30))
20 self.assertEquals(10, bounds.Bounds.GetOverlap(20, 30, 10, 40))
/external/chromium_org/third_party/WebKit/public/web/
H A DWebDraggableRegion.h42 WebRect bounds; member in struct:blink::WebDraggableRegion
/external/chromium_org/third_party/skia/src/gpu/
H A DGrPathRenderer.cpp17 SkRect* bounds) {
19 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH));
22 *bounds = path.getBounds();
23 matrix.mapRect(bounds);
14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
/external/skia/src/gpu/
H A DGrPathRenderer.cpp17 SkRect* bounds) {
19 *bounds = SkRect::MakeWH(SkIntToScalar(devW), SkIntToScalar(devH));
22 *bounds = path.getBounds();
23 matrix.mapRect(bounds);
14 GetPathDevBounds(const SkPath& path, int devW, int devH, const SkMatrix& matrix, SkRect* bounds) argument
/external/chromium_org/third_party/skia/tests/
H A DPathOpsBoundsTest.cpp18 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK
66 SkPathOpsBounds bounds; local
67 bounds.setEmpty();
68 bounds.add(1, 2, 3, 4);
71 REPORTER_ASSERT(reporter, bounds == expected);
72 bounds.setEmpty();
75 bounds.add(ordinal);
76 REPORTER_ASSERT(reporter, bounds == expected);
78 bounds.setPointBounds(topLeft);
80 bounds
83 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(reallyEmpty[index]); local
89 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(notReallyEmpty[index]); local
[all...]
/external/skia/tests/
H A DPathOpsBoundsTest.cpp18 {{2, 0, 4, 1}, {3, 0, 3, 0}}, // intersecting an empty bounds is OK
66 SkPathOpsBounds bounds; local
67 bounds.setEmpty();
68 bounds.add(1, 2, 3, 4);
71 REPORTER_ASSERT(reporter, bounds == expected);
72 bounds.setEmpty();
75 bounds.add(ordinal);
76 REPORTER_ASSERT(reporter, bounds == expected);
78 bounds.setPointBounds(topLeft);
80 bounds
83 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(reallyEmpty[index]); local
89 const SkPathOpsBounds& bounds = static_cast<const SkPathOpsBounds&>(notReallyEmpty[index]); local
[all...]
/external/chromium_org/chrome/browser/chromeos/first_run/steps/
H A Dtray_step.cc25 gfx::Rect bounds = shell_helper()->GetTrayBubbleBounds(); local
26 actor()->AddRectangularHole(bounds.x(), bounds.y(), bounds.width(),
27 bounds.height());
29 position.SetTop(bounds.y());
35 position.SetRight(GetOverlaySize().width() - bounds.x());
37 position.SetLeft(bounds.right());
/external/chromium_org/chrome/browser/resources/chromeos/first_run/app/
H A Dmain.js11 var bounds = {};
12 bounds.width = content.offsetWidth;
13 bounds.height = content.offsetHeight;
14 bounds.left = Math.round(0.5 * (window.screen.availWidth - bounds.width));
15 bounds.top = Math.round(0.5 * (window.screen.availHeight - bounds.height));
16 appWindow.setBounds(bounds);
/external/chromium_org/ui/aura/
H A Dlayout_manager.cc18 const gfx::Rect& bounds) {
19 child->SetBoundsInternal(bounds);
17 SetChildBoundsDirect(aura::Window* child, const gfx::Rect& bounds) argument
/external/chromium_org/extensions/common/
H A Ddraggable_region.h14 gfx::Rect bounds; member in struct:extensions::DraggableRegion
/external/chromium_org/ash/wm/workspace/
H A Dmagnetism_matcher.h37 MagnetismEdgeMatcher(const gfx::Rect& bounds, MagnetismEdge edge);
41 const gfx::Rect& bounds() const { return bounds_; } function in class:ash::MagnetismEdgeMatcher
47 // Returns true if should attach to the specified bounds.
48 bool ShouldAttach(const gfx::Rect& bounds);
57 static int GetPrimaryCoordinate(const gfx::Rect& bounds, MagnetismEdge edge) { argument
60 return bounds.y();
62 return bounds.x();
64 return bounds.bottom();
66 return bounds.right();
87 Range GetPrimaryRange(const gfx::Rect& bounds) cons
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsTightBounds.cpp26 SkPathOpsBounds bounds = current->bounds(); local
29 bounds.add(current->bounds());
31 *result = bounds;
/external/chromium_org/ash/system/tray/
H A Dfixed_sized_scroll_view.cc37 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); local
38 bounds.set_width(std::max(0, width() - GetScrollBarWidth()));
39 contents()->SetBoundsRect(bounds);
43 gfx::Rect bounds = contents()->bounds(); local
44 bounds.set_width(bounds.width() + GetScrollBarWidth());
45 contents()->SetBoundsRect(bounds);
50 gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); local
51 bounds
[all...]
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_contents_resizing_strategy.cc14 const gfx::Rect& bounds)
15 : bounds_(bounds),
23 bounds_ = strategy.bounds();
29 return bounds_ == strategy.bounds() &&
41 const gfx::Rect& bounds = strategy.bounds(); local
42 if (bounds.size().IsEmpty() && !strategy.hide_inspected_contents()) {
48 int left = std::min(bounds.x(), container_size.width());
49 int top = std::min(bounds.y(), container_size.height());
50 int width = std::min(bounds
13 DevToolsContentsResizingStrategy( const gfx::Rect& bounds) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DRectangleShape.cpp58 const FloatRect& bounds = shapeMarginBounds(); local
59 if (bounds.isEmpty())
65 if (y2 < bounds.y() || y1 >= bounds.maxY())
68 float x1 = bounds.x();
69 float x2 = bounds.maxX();
75 if (y2 < bounds.y() + marginRadiusY) {
76 float yi = y2 - bounds.y() - marginRadiusY;
78 x1 = bounds.x() + marginRadiusX - xi;
79 x2 = bounds
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dvg_context.h195 const VGfloat *bounds,
200 if (bounds) {
201 coords[2] = MIN2(coords[2], bounds[2]);
203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) {
204 coords[2] = (bounds[0] + bounds[2]) - coords[0];
210 const VGfloat *bounds,
215 if (bounds) {
216 coords[3] = MIN2(coords[3], bounds[
194 vg_shift_rectx(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
209 vg_shift_recty(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dvg_context.h195 const VGfloat *bounds,
200 if (bounds) {
201 coords[2] = MIN2(coords[2], bounds[2]);
203 if ((coords[0] + coords[2]) > (bounds[0] + bounds[2])) {
204 coords[2] = (bounds[0] + bounds[2]) - coords[0];
210 const VGfloat *bounds,
215 if (bounds) {
216 coords[3] = MIN2(coords[3], bounds[
194 vg_shift_rectx(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
209 vg_shift_recty(VGfloat coords[4], const VGfloat *bounds, const VGfloat shift) argument
223 vg_bound_rect(VGfloat coords[4], const VGfloat bounds[4], VGfloat shift[4]) argument
[all...]
/external/chromium_org/ash/shelf/
H A Doverflow_button.cc55 gfx::Rect bounds(GetContentsBounds());
63 bounds.x() + ((bounds.width() - kButtonHoverSize) / 2) - 1,
64 bounds.y() + kBackgroundOffset - 1));
68 bounds.x() + kBackgroundOffset - 1,
69 bounds.y() + ((bounds.height() - kButtonHoverSize) / 2) - 1));
90 gfx::Rect bounds(GetContentsBounds());
103 bounds = gfx::Rect(
104 bounds
[all...]
/external/chromium_org/chrome/browser/ui/window_sizer/
H A Dwindow_sizer.cc46 gfx::Rect* bounds,
49 DCHECK(bounds); variable
66 bounds->SetRect(left, top, std::max(0, right - left),
89 gfx::Rect* bounds,
124 *bounds = window->GetRestoredBounds();
148 const gfx::Rect& bounds) const OVERRIDE {
171 // Find the size of the work area of the monitor that intersects the bounds
173 return screen->GetDisplayMatching(bounds);
235 gfx::Rect* bounds,
237 DCHECK(bounds);
233 DetermineWindowBoundsAndShowState( const gfx::Rect& specified_bounds, gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
274 GetLastActiveWindowBounds( gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
290 GetSavedWindowBounds(gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Dpanel_resize_browsertest.cc36 gfx::Rect bounds = panel->GetBounds(); local
40 mouse_location = bounds.origin();
43 mouse_location.SetPoint(bounds.x() + bounds.width() / 2, bounds.y());
46 mouse_location.SetPoint(bounds.right(), bounds.y());
49 mouse_location.SetPoint(bounds.x(), bounds.y() + bounds
88 gfx::Rect bounds = panel->GetBounds(); local
204 gfx::Rect bounds = panel->GetBounds(); local
303 gfx::Rect bounds = panel->GetBounds(); local
425 gfx::Rect bounds = panel->GetBounds(); local
472 gfx::Rect bounds = panel->GetBounds(); local
[all...]

Completed in 1215 milliseconds

1234567891011>>