Home
last modified time | relevance | path

Searched refs:mBaseAlpha (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DNinePatchDrawable.java208 if (state.mBaseAlpha != 1.0f) { in draw()
210 mPaint.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()
461 state.mBaseAlpha = a.getFloat(R.styleable.NinePatchDrawable_alpha, state.mBaseAlpha); in updateStateFromTypedArray()
587 float mBaseAlpha = 1.0f; field in NinePatchDrawable.NinePatchState
622 mBaseAlpha = orig.mBaseAlpha; in NinePatchState()
DBitmapDrawable.java518 if (state.mBaseAlpha != 1.0f) { in draw()
521 p.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()
785 state.mBaseAlpha = a.getFloat(R.styleable.BitmapDrawable_alpha, state.mBaseAlpha); in updateStateFromTypedArray()
908 float mBaseAlpha = 1.0f; field in BitmapDrawable.BitmapState
932 mBaseAlpha = bitmapState.mBaseAlpha; in BitmapState()