Home
last modified time | relevance | path

Searched refs:mDisabledAlpha (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/widget/
DToggleButton.java48 private float mDisabledAlpha; field in ToggleButton
59mDisabledAlpha = a.getFloat(com.android.internal.R.styleable.ToggleButton_disabledAlpha, 0.5f); in ToggleButton()
147 return mDisabledAlpha; in getDisabledAlpha()
179 mIndicatorDrawable.setAlpha(isEnabled() ? NO_ALPHA : (int) (NO_ALPHA * mDisabledAlpha)); in drawableStateChanged()
DAbsSeekBar.java92 private float mDisabledAlpha; field in AbsSeekBar
165 mDisabledAlpha = ta.getFloat(R.styleable.Theme_disabledAlpha, 0.5f); in AbsSeekBar()
168 mDisabledAlpha = 1.0f; in AbsSeekBar()
618 if (progressDrawable != null && mDisabledAlpha < 1.0f) {
619 progressDrawable.setAlpha(isEnabled() ? NO_ALPHA : (int) (NO_ALPHA * mDisabledAlpha));
DRadialTimePickerView.java191 private float mDisabledAlpha; field in RadialTimePickerView
336 mDisabledAlpha = outValue.getFloat(); in RadialTimePickerView()
668 final float alphaMod = mInputEnabled ? 1 : mDisabledAlpha; in onDraw()
/frameworks/base/core/java/com/android/internal/view/menu/
DIconMenuItemView.java52 private float mDisabledAlpha; field in IconMenuItemView
77 mDisabledAlpha = a.getFloat( in IconMenuItemView()
250 mIcon.setAlpha(isInAlphaState ? (int) (mDisabledAlpha * NO_ALPHA) : NO_ALPHA); in drawableStateChanged()