Searched defs:topRad (Results 1 - 2 of 2) sorted by relevance
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkRRect.cpp | 46 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, argument 54 topRad = SkMaxScalar(topRad, 0); 62 if (topRad + bottomRad > rect.height()) { 68 topRad = SkScalarMul(topRad, scale); 73 if (leftRad == rightRad && topRad == bottomRad) { 74 if (leftRad >= SkScalarHalf(rect.width()) && topRad >= SkScalarHalf(rect.height())) { 76 } else if (0 == leftRad || 0 == topRad) { 81 topRad [all...] |
/external/skia/src/core/ |
H A D | SkRRect.cpp | 46 void SkRRect::setNinePatch(const SkRect& rect, SkScalar leftRad, SkScalar topRad, argument 54 topRad = SkMaxScalar(topRad, 0); 62 if (topRad + bottomRad > rect.height()) { 68 topRad = SkScalarMul(topRad, scale); 73 if (leftRad == rightRad && topRad == bottomRad) { 74 if (leftRad >= SkScalarHalf(rect.width()) && topRad >= SkScalarHalf(rect.height())) { 76 } else if (0 == leftRad || 0 == topRad) { 81 topRad [all...] |
Completed in 143 milliseconds