Lines Matching defs:shadowSize
91 float shadowSize, float maxShadowSize) {
103 setShadowSize(shadowSize, maxShadowSize);
140 private void setShadowSize(float shadowSize, float maxShadowSize) {
141 if (shadowSize < 0f) {
142 throw new IllegalArgumentException("Invalid shadow size " + shadowSize
149 shadowSize = toEven(shadowSize);
151 if (shadowSize > maxShadowSize) {
152 shadowSize = maxShadowSize;
157 if (mRawShadowSize == shadowSize && mRawMaxShadowSize == maxShadowSize) {
160 mRawShadowSize = shadowSize;
162 mShadowSize = (int) (shadowSize * SHADOW_MULTIPLIER + mInsetShadow + .5f);
319 // we offset the content shadowSize/2 pixels up to make it more realistic.