Searched refs:mShadowRadius (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/text/style/ |
D | TextAppearanceSpan.java | 72 private final float mShadowRadius; field in TextAppearanceSpan 167 mShadowRadius = a.getFloat(com.android.internal.R.styleable in TextAppearanceSpan() 221 mShadowRadius = 0.0f; in TextAppearanceSpan() 254 mShadowRadius = src.readFloat(); in TextAppearanceSpan() 307 dest.writeFloat(mShadowRadius); in writeToParcelInternal() 416 return mShadowRadius; in getShadowRadius() 458 ds.setShadowLayer(mShadowRadius, mShadowDx, mShadowDy, mShadowColor); in updateDrawState()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | SubtitleView.java | 51 private final float mShadowRadius; field in SubtitleView 124 … mShadowRadius = res.getDimensionPixelSize(com.android.internal.R.dimen.subtitle_shadow_radius); in SubtitleView() 338 textPaint.setShadowLayer(mShadowRadius, mShadowOffsetX, mShadowOffsetY, mEdgeColor); in onDraw() 344 final float offset = mShadowRadius / 2f; in onDraw() 348 textPaint.setShadowLayer(mShadowRadius, -offset, -offset, colorUp); in onDraw() 354 textPaint.setShadowLayer(mShadowRadius, offset, offset, colorDown); in onDraw()
|
/frameworks/base/media/java/android/media/ |
D | ClosedCaptionRenderer.java | 1266 private float mShadowRadius; field in Cea608CCWidget.CCLineBox 1287 mShadowRadius = res.getDimensionPixelSize( in CCLineBox() 1301 setShadowLayer(mShadowRadius, mShadowOffset, mShadowOffset, mEdgeColor); in setCaptionStyle() 1314 mShadowRadius = EDGE_SHADOW_RATIO * fontSize + 1.0f;; in onMeasure() 1315 mShadowOffset = mShadowRadius; in onMeasure() 1383 final float offset = mShadowRadius / 2f; in drawEdgeRaisedOrDepressed() 1386 setShadowLayer(mShadowRadius, -offset, -offset, colorUp); in drawEdgeRaisedOrDepressed() 1393 setShadowLayer(mShadowRadius, +offset, +offset, colorDown); in drawEdgeRaisedOrDepressed()
|
/frameworks/base/core/java/android/widget/ |
D | TextView.java | 454 private float mShadowRadius; field in TextView 3843 float mShadowDx = 0, mShadowDy = 0, mShadowRadius = 0; field in TextView.Drawables.TextAppearanceAttributes 3872 + " mShadowRadius:" + mShadowRadius + "\n" in toString() 4020 attributes.mShadowRadius = appearance.getFloat(attr, attributes.mShadowRadius); in readTextAppearance() 4079 setShadowLayer(attributes.mShadowRadius, attributes.mShadowDx, attributes.mShadowDy, in applyTextAppearance() 4887 mShadowRadius = radius; in setShadowLayer() 4911 return mShadowRadius; in getShadowRadius() 7563 return mShadowRadius != 0 || mDrawables != null; in isPaddingOffsetRequired() 7569 + (int) Math.min(0, mShadowDx - mShadowRadius); in getLeftPaddingOffset() 7574 return (int) Math.min(0, mShadowDy - mShadowRadius); in getTopPaddingOffset() [all …]
|