Searched refs:getBounds (Results 1 - 25 of 211) sorted by relevance

123456789

/external/skia/src/gpu/
H A DGrPathRenderer.cpp21 *bounds = path.getBounds();
H A DGrPath.h37 const SkRect& getBounds() const { return fBounds; } function in class:GrPath
/external/skia/tests/
H A DAAClipTest.cpp70 mask->fBounds = rgn.getBounds();
86 tmpRgn.translate(-rgn.getBounds().fLeft, -rgn.getBounds().fTop);
128 path.getBounds().round(&ir);
188 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
190 REPORTER_ASSERT(reporter, height == clip.getBounds().height());
202 REPORTER_ASSERT(reporter, sheight == path.getBounds().height());
204 REPORTER_ASSERT(reporter, teardrop_height == clip.getBounds().height());
211 REPORTER_ASSERT(reporter, clip0.getBounds().isEmpty());
216 REPORTER_ASSERT(reporter, clip0.getBounds()
[all...]
H A DPathOpsTightBoundsTest.cpp29 SkRect classicBounds = path.getBounds();
79 SkRect classicBounds = path.getBounds();
134 const SkRect& bounds = path.getBounds();
143 const SkRect& bounds = path.getBounds();
153 const SkRect& bounds = path.getBounds();
163 const SkRect& bounds = path.getBounds();
175 const SkRect& bounds = path.getBounds();
185 const SkRect& bounds = path.getBounds();
195 const SkRect& bounds = path.getBounds();
/external/skia/bench/
H A DRegionBench.cpp29 return result.op(a, b.getBounds(), SkRegion::kDifference_Op);
34 return result.op(a, a.getBounds(), SkRegion::kDifference_Op);
38 SkIRect r = a.getBounds();
42 r = b.getBounds();
52 SkIRect r = a.getBounds();
58 const SkIRect& r = a.getBounds();
H A DBigPathBench.cpp59 const SkRect r = fPath.getBounds();
H A DCoverageBench.cpp44 fRC.setRect(fPath.getBounds().round());
/external/skia/src/core/
H A DSkDrawable.cpp43 draw_bbox(canvas, this->getBounds());
63 SkRect SkDrawable::getBounds() { function in class:SkDrawable
78 const SkRect bounds = this->getBounds();
H A DSkClipStackDevice.cpp51 fClipStack.clipDevRect(ptr->getBounds(), op);
81 fClipStack.getBounds(&bounds, &boundType, &isIntersectionOfRects);
101 fClipStack.getBounds(&bounds, &boundType, &isIntersectionOfRects);
H A DSkScan_AntiPath.cpp82 sectBounds = clip.getBounds();
84 if (!sectBounds.intersect(ir, clip.getBounds())) {
447 if (!fClipRect.intersect(clip.getBounds())) {
633 if (!safeRoundOut(path.getBounds(), &ir, SK_MaxS32 >> SHIFT)) {
635 const SkRect& r = path.getBounds();
654 clippedIR = origClip.getBounds();
656 if (!clippedIR.intersect(ir, origClip.getBounds())) {
675 const SkIRect& bounds = origClip.getBounds();
695 *clipper.getClipRect() == clipRgn->getBounds());
714 SkASSERT(SkIntToScalar(ir.fTop) <= path.getBounds()
[all...]
H A DSkRasterClip.cpp83 this->op(rrect.getBounds(), ctm, devBounds, op, doAA);
96 SkRect bounds = path.getBounds();
106 this->op(rgn.getBounds(), op);
121 fBounds = result.getBounds();
186 const SkIRect& SkRasterClip::getBounds() const { function in class:SkRasterClip
187 return fIsBW ? fBW.getBounds() : fAA.getBounds();
281 base.setRect(this->getBounds());
438 fBW.setRect(fAA.getBounds());
486 fBWRgn.setRect(aaclip->getBounds());
[all...]
H A DSkClipStack.h106 return fRRect.getBounds();
139 const SkRect& getBounds() const { function in class:SkClipStack::Element
144 return fRRect.getBounds();
146 return fPath.get()->getBounds();
178 return this->getRect().contains(rrect.getBounds());
181 return fRRect.contains(rrect.getBounds()) || rrect == fRRect;
183 return fPath.get()->conservativelyContainsRect(rrect.getBounds());
366 * getBounds places the current finite bound in its first parameter. In its
374 void getBounds(SkRect* canvFiniteBound,
H A DSkRasterClip.h34 const SkIRect& getBounds() const { return fBounds; } function in class:SkConservativeClip
89 const SkIRect& getBounds() const;
116 return !SkIRect::Intersects(this->getBounds(), rect);
154 fBW.setRect(fAA.getBounds());
227 const SkIRect& getBounds() const { function in class:SkAAClipBlitterWrapper
229 return fClipRgn->getBounds();
H A DSkAAClip.h30 const SkIRect& getBounds() const { return fBounds; } function in class:SkAAClip
33 // If true, getBounds() can be used in place of this clip.
109 fAAClipBounds = aaclip->getBounds();
H A DSkDeviceLooper.cpp23 SkASSERT(SkIRect::MakeWH(base.width(), base.height()).contains(rc.getBounds()));
26 if (rc.isEmpty() || !fClippedBounds.intersect(bounds, rc.getBounds())) {
/external/skia/include/core/
H A DSkDrawable.h54 SkRect getBounds();
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/dialogs/
H A DResizableDialog.java75 Rectangle displayBounds = getShell().getDisplay().getBounds();
102 windowBounds = windowShell.getBounds();
192 cachedBounds = getShell().getBounds();
196 cachedBounds = getShell().getBounds();
/external/skia/gm/
H A Ddrawable.cpp23 canvas->drawRect(path.getBounds(), paint);
H A Dpathmaskcache.cpp36 SkRect bounds = path.getBounds();
100 r.setRotate(60.f, path.getBounds().centerX(), path.getBounds().centerY());
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/core/controls/
H A DCImageLabel.java94 if (m_backImage == null || !m_backImage.getBounds().equals(clientArea)) {
108 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
134 Rectangle imageBounds = m_image == null ? new Rectangle(0, 0, 0, 0) : m_image.getBounds();
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/
H A DBooleanObjectPropertyEditor.java68 int imageWidth = image.getBounds().width + 2;
87 if (location == null || location.x < m_trueImage.getBounds().width + 2) {
H A DBooleanPropertyEditor.java68 int imageWidth = image.getBounds().width + 2;
85 if (location == null || location.x < m_trueImage.getBounds().width + 2) {
/external/droiddriver/src/io/appium/droiddriver/
H A DUiElement.java129 Rect getBounds(); method in interface:UiElement
/external/droiddriver/src/io/appium/droiddriver/scroll/
H A DStaticSentinelStrategy.java57 if (visibleBounds.contains(sentinel.getBounds())) {
/external/droiddriver/src/io/appium/droiddriver/uiautomation/
H A DUiAutomationElement.java96 put(attribs, Attribute.BOUNDS, getBounds(node));
129 private Rect getBounds(AccessibilityNodeInfo node) { method in class:UiAutomationElement
139 Rect foundBounds = getBounds();
142 if (!foundBounds.intersect(parent.getBounds())) {

Completed in 542 milliseconds

123456789