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.java249 if (mNinePatchState.mBaseAlpha != 1.0f) { in draw()
251 mPaint.setAlpha((int) (restoreAlpha * mNinePatchState.mBaseAlpha + 0.5f)); in draw()
459 state.mBaseAlpha = a.getFloat(R.styleable.NinePatchDrawable_alpha, state.mBaseAlpha); in updateStateFromTypedArray()
600 float mBaseAlpha = 1.0f; field in NinePatchDrawable.NinePatchState
639 mBaseAlpha = state.mBaseAlpha; in NinePatchState()
DBitmapDrawable.java511 if (state.mBaseAlpha != 1.0f) { in draw()
514 p.setAlpha((int) (restoreAlpha * state.mBaseAlpha + 0.5f)); in draw()
767 state.mBaseAlpha = a.getFloat(R.styleable.BitmapDrawable_alpha, state.mBaseAlpha); in updateStateFromTypedArray()
881 float mBaseAlpha = 1.0f; field in BitmapDrawable.BitmapState
905 mBaseAlpha = bitmapState.mBaseAlpha; in BitmapState()