Home
last modified time | relevance | path

Searched refs:bottomRad (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkRRect.cpp49 SkScalar rightRad, SkScalar bottomRad) { in setNinePatch() argument
55 const SkScalar array[4] = { leftRad, topRad, rightRad, bottomRad }; in setNinePatch()
64 bottomRad = SkMaxScalar(bottomRad, 0); in setNinePatch()
70 if (topRad + bottomRad > rect.height()) { in setNinePatch()
71 scale = SkMinScalar(scale, rect.height() / (topRad + bottomRad)); in setNinePatch()
78 bottomRad = SkScalarMul(bottomRad, scale); in setNinePatch()
81 if (leftRad == rightRad && topRad == bottomRad) { in setNinePatch()
91 bottomRad = 0; in setNinePatch()
102 fRadii[kLowerRight_Corner].set(rightRad, bottomRad); in setNinePatch()
103 fRadii[kLowerLeft_Corner].set(leftRad, bottomRad); in setNinePatch()
/external/skia/include/core/
DSkRRect.h168 SkScalar rightRad, SkScalar bottomRad);
/external/skia/samplecode/
DSamplePathFuzz.cpp348 SkScalar bottomRad = makeScalar(); in makeRRect() local
349 rrect.setNinePatch(rect, leftRad, topRad, rightRad, bottomRad); in makeRRect()