Lines Matching defs:shadowSize
83 float shadowSize, float maxShadowSize) {
96 setShadowSize(shadowSize, maxShadowSize);
124 void setShadowSize(float shadowSize, float maxShadowSize) {
125 if (shadowSize < 0 || maxShadowSize < 0) {
128 shadowSize = toEven(shadowSize);
130 if (shadowSize > maxShadowSize) {
131 shadowSize = maxShadowSize;
136 if (mRawShadowSize == shadowSize && mRawMaxShadowSize == maxShadowSize) {
139 mRawShadowSize = shadowSize;
141 mShadowSize = Math.round(shadowSize * SHADOW_MULTIPLIER);
311 // we offset the content shadowSize/2 pixels up to make it more realistic.