HomeSort by relevance Sort by last modified time
    Searched refs:boundingBox (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
BasicShapes.cpp 89 void BasicShapeCircle::path(Path& path, const FloatRect& boundingBox)
92 FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size());
93 float radius = floatValueForRadiusInBox(boundingBox.size());
95 center.x() - radius + boundingBox.x(),
96 center.y() - radius + boundingBox.y(),
134 void BasicShapeEllipse::path(Path& path, const FloatRect& boundingBox)
137 FloatPoint center = floatPointForCenterCoordinate(m_centerX, m_centerY, boundingBox.size());
138 float radiusX = floatValueForRadiusInBox(m_radiusX, center.x(), boundingBox.width());
139 float radiusY = floatValueForRadiusInBox(m_radiusY, center.y(), boundingBox.height());
141 center.x() - radiusX + boundingBox.x()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/paint/
SVGImagePainter.cpp 30 FloatRect boundingBox = m_renderSVGImage.paintInvalidationRectInLocalCoordinates();
31 if (!SVGRenderSupport::paintInfoIntersectsPaintInvalidationRect(boundingBox, m_renderSVGImage.localToParentTransform(), paintInfo))
53 ObjectPainter(m_renderSVGImage).paintOutline(childPaintInfo, IntRect(boundingBox));
  /external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
SVGRenderingContext.cpp 280 FloatRect boundingBox = m_object->objectBoundingBox();
285 IntSize expandedBoundingBox = expandedIntSize(boundingBox.size());
293 if ((imageBuffer = m_paintInfo->context->createRasterBuffer(expandedIntSize(boundingBox.size())))) {
295 bufferedRenderingContext->translate(-boundingBox.x(), -boundingBox.y());
303 m_paintInfo->context->drawImageBuffer(imageBuffer.get(), boundingBox);
RenderSVGInlineText.cpp 131 FloatRect boundingBox;
133 boundingBox.unite(box->calculateBoundaries());
134 return boundingBox;
  /frameworks/base/core/java/android/gesture/
GestureStroke.java 36 public final RectF boundingBox;
81 boundingBox = bx;
89 boundingBox = new RectF(bbx.left, bbx.top, bbx.right, bbx.bottom);
97 return new GestureStroke(boundingBox, length, points, timestamps);
163 final RectF rect = boundingBox;
  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchDisambiguation.cpp 69 static float scoreTouchTarget(IntPoint touchPoint, int padding, IntRect boundingBox)
71 if (boundingBox.isEmpty())
77 IntSize distance = boundingBox.differenceToPoint(touchPoint);
PrintContext.cpp 264 IntRect boundingBox = renderer->absoluteBoundingBoxRect();
265 if (!pageRect.intersects(boundingBox))
270 graphicsContext.setURLFragmentForRect(name, boundingBox);
272 graphicsContext.setURLForRect(url, boundingBox);
281 IntRect boundingBox = renderer->absoluteBoundingBoxRect();
282 if (!pageRect.intersects(boundingBox))
284 IntPoint point = boundingBox.minXMinYCorner();
TouchAdjustment.cpp 59 IntRect boundingBox() const { return m_quad.enclosingBoundingBox(); }
335 IntRect rect = subtarget.boundingBox();
358 IntRect rect = subtarget.boundingBox();
406 IntRect contentBounds = geom.boundingBox();
464 targetArea = it->boundingBox();
474 targetArea = it->boundingBox();
  /external/chromium_org/third_party/WebKit/Source/platform/geometry/
FloatQuad.h 75 bool isEmpty() const { return boundingBox().isEmpty(); }
80 // corresponding FloatRect can be retrieved with boundingBox().
107 FloatRect boundingBox() const;
110 return enclosingIntRect(boundingBox());
FloatPolygonTest.cpp 140 EXPECT_EQ(FloatRect(100, 100, 100, 100), triangle.boundingBox());
272 EXPECT_EQ(FloatRect(100, 100, 200, 50), trapezoid.boundingBox());
308 EXPECT_EQ(FloatRect(100, 100, 150, 150), h.boundingBox());
FloatPolygon.h 62 FloatRect boundingBox() const { return m_boundingBox; }
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
HitTestLocation.h 58 IntRect boundingBox() const { return m_boundingBox; }
RenderGeometryMap.h 55 return mapToContainer(rect, 0).boundingBox();
HitTestLocation.cpp 59 m_boundingBox = enclosingIntRect(quad.boundingBox());
115 m_boundingBox = enclosingIntRect(m_transformedRect.boundingBox());
RenderInline.h 158 IntRect boundingBox = linesBoundingBox();
159 return IntRect(0, 0, boundingBox.width(), boundingBox.height());
RenderGeometryMap.cpp 162 result = transformState.lastPlanarQuad().boundingBox();
174 FloatRect rendererMappedResult = lastRenderer->localToContainerQuad(rect, container, m_mapCoordinatesFlags).boundingBox();
178 ASSERT(enclosingIntRect(rendererMappedResult) == enclosingIntRect(FloatQuad(result).boundingBox()));
  /external/chromium_org/third_party/WebKit/Source/web/
ViewportAnchor.cpp 60 if (node && area(node->boundingBox()) > maxNodeArea) {
66 while (node && node->boundingBox().isEmpty())
146 m_anchorNodeBounds = node->boundingBox();
181 const LayoutRect currentNodeBounds = m_anchorNode->boundingBox();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SwtUtils.java 248 * @param boundingBox the bounding rectangle of the rectangle list, which can be
259 List<Rectangle> rectangles, Rectangle boundingBox, double scale, byte alpha) {
261 if (rectangles.size() == 0 || boundingBox == null || boundingBox.isEmpty()) {
266 int destWidth = (int) (scale * boundingBox.width);
267 int destHeight = (int) (scale * boundingBox.height);
274 int dx1 = bounds.x - boundingBox.x;
275 int dy1 = bounds.y - boundingBox.y;
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
SimpleFontDataMac.mm 374 FloatRect boundingBox;
375 boundingBox = CTFontGetBoundingRectsForGlyphs(m_platformData.ctFont(), platformData().orientation() == Vertical ? kCTFontVerticalOrientation : kCTFontHorizontalOrientation, &glyph, 0, 1);
376 boundingBox.setY(-boundingBox.maxY());
378 boundingBox.setWidth(boundingBox.width() + m_syntheticBoldOffset);
380 return boundingBox;
  /cts/tests/tests/gesture/src/android/gesture/cts/
GestureStrokeTest.java 119 * Verifies that {@link android.gesture.GestureStroke#boundingBox} has expected values for
124 mHelper.assertLineBoundingBox(line.boundingBox);
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXSlider.cpp 151 return toElement(sliderRenderer->node())->userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())->boundingBox();
  /external/chromium_org/chrome/browser/resources/options/chromeos/
display_options.js 775 var boundingBox = {left: 0, right: 0, top: 0, bottom: 0};
778 boundingBox.left = Math.min(boundingBox.left, display.x);
779 boundingBox.right = Math.max(
780 boundingBox.right, display.x + display.width);
781 boundingBox.top = Math.min(boundingBox.top, display.y);
782 boundingBox.bottom = Math.max(
783 boundingBox.bottom, display.y + display.height);
789 var areaWidth = boundingBox.right - boundingBox.left + maxWidth
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
ImageUtilsTest.java 212 * @param boundingBox the bounding rectangle of the set of rectangles to copy, can be
220 List<Rectangle> rectangles, Rectangle boundingBox, double scale) {
235 // rectangles, boundingBox, scale);
241 if (boundingBox == null) {
245 int destWidth = (int) (scale * boundingBox.width);
246 int destHeight = (int) (scale * boundingBox.height);
252 int dx1 = bounds.x - boundingBox.x;
253 int dy1 = bounds.y - boundingBox.y;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
PolygonShape.cpp 118 FloatRect box = m_polygon.boundingBox();
128 if (m_polygon.isEmpty() || !overlapsYRange(m_polygon.boundingBox(), y1 - shapeMargin(), y2 + shapeMargin()))
  /external/chromium_org/third_party/WebKit/Source/web/tests/
LinkHighlightTest.cpp 187 IntRect boundingBox(touchEvent.x - touchEvent.data.tap.width / 2, touchEvent.y - touchEvent.data.tap.height / 2, touchEvent.data.tap.width, touchEvent.data.tap.height);
188 findGoodTouchTargets(boundingBox, webViewImpl->mainFrameImpl()->frame(), goodTargets, highlightNodes);

Completed in 632 milliseconds

1 2 3 4