Home
last modified time | relevance | path

Searched refs:innerBounds (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/core/
DSkRRect.cpp754 SkRect innerBounds = rr.getBounds(); in InnerBounds() local
772 SkScalar horizArea = (innerBounds.width() - dw) * innerBounds.height(); in InnerBounds()
774 SkScalar vertArea = (innerBounds.height() - dh) * innerBounds.width(); in InnerBounds()
781 SkScalar innerArea = (innerBounds.width() - kScale * dw) * (innerBounds.height() - kScale * dh); in InnerBounds()
785 innerBounds.fLeft += leftShift; in InnerBounds()
786 innerBounds.fRight -= rightShift; in InnerBounds()
789 innerBounds.fTop += topShift; in InnerBounds()
790 innerBounds.fBottom -= bottomShift; in InnerBounds()
793 innerBounds.fLeft += kScale * leftShift; in InnerBounds()
794 innerBounds.fRight -= kScale * rightShift; in InnerBounds()
[all …]
/external/skia/src/gpu/ganesh/
DClipStack.cpp909 (toAdd.innerBounds().isEmpty() || toAdd.outerBounds().contains(toAdd.innerBounds()))); in addElement()
961 if (!fInnerBounds.intersect(toAdd.innerBounds())) { in addElement()
971 fOuterBounds = subtract(fOuterBounds, toAdd.innerBounds(), /* exact */ true); in addElement()
980 fInnerBounds = subtract(toAdd.innerBounds(), oldOuter, /* exact */ false); in addElement()
986 if (toAdd.innerBounds().width() * toAdd.innerBounds().height() > in addElement()
988 fInnerBounds = toAdd.innerBounds(); in addElement()
1097 fInnerBounds = toAdd.innerBounds(); in replaceWithElement()
1204 return subtract(fDeviceBounds, current.innerBounds(), /* exact */ true); in getConservativeBounds()
1347 scissorBounds = subtract(draw.outerBounds(), cs.innerBounds(), /* exact */ true); in apply()
1423 fullyApplied = e.innerBounds() == e.outerBounds() || in apply()
[all …]
DClipStack.h127 const SkIRect& innerBounds() const { return fInnerBounds; } in innerBounds() function
226 const SkIRect& innerBounds() const { return fInnerBounds; } in innerBounds() function
/external/skia/src/gpu/graphite/
DClipStack.cpp783 fInnerBounds.intersect(toAdd.innerBounds()); in addElement()
791 fOuterBounds = subtract(fOuterBounds, toAdd.innerBounds(), /* exact */ true); in addElement()
800 fInnerBounds = subtract(toAdd.innerBounds(), oldOuter, /* exact */ false); in addElement()
806 if (toAdd.innerBounds().area() > fInnerBounds.area()) { in addElement()
807 fInnerBounds = toAdd.innerBounds(); in addElement()
921 fInnerBounds = toAdd.innerBounds(); in replaceWithElement()
1003 return subtract(this->deviceBounds(), current.innerBounds(), /* exact */ true); in conservativeBounds()
1156 if (drawBounds.isEmptyNegativeOrNaN() || cs.innerBounds().contains(drawBounds)) { in applyClipToDraw()
DClipStack_graphite.h151 const Rect& innerBounds() const { return fInnerBounds; } in innerBounds() function
237 const Rect& innerBounds() const { return fInnerBounds; } in innerBounds() function