Home
last modified time | relevance | path

Searched refs:getColorStateList (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/android/content/res/
DCompatResources.java61 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList() method in CompatResources
62 return getColorStateList(id, getTheme()); in getColorStateList()
DResources.java1017 public ColorStateList getColorStateList(@ColorRes int id) throws NotFoundException { in getColorStateList() method in Resources
1018 final ColorStateList csl = getColorStateList(id, null); in getColorStateList()
1047 public ColorStateList getColorStateList(@ColorRes int id, @Nullable Theme theme) in getColorStateList() method in Resources
/frameworks/base/core/tests/coretests/src/android/graphics/
DColorStateListTest.java45 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testStateIsInList()
53 ColorStateList colorStateList = mResources.getColorStateList(R.color.color1); in testEmptyState()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java44 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
/frameworks/base/core/java/android/text/style/
DTextAppearanceSpan.java109 textColor = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
111 mTextColorLink = a.getColorStateList(com.android.internal.R.styleable. in TextAppearanceSpan()
198 textColor = a.getColorStateList(colorList); in TextAppearanceSpan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileColorPicker.java37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileColorPickerTest.java45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifLayout.java122 ColorStateList primaryColor = a.getColorStateList(R.styleable.SuwGlifLayout_suwColorPrimary); in init()
128 a.getColorStateList(R.styleable.SuwGlifLayout_suwBackgroundBaseColor); in init()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java301 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor()
311 public ColorStateList getColorStateList(int index) { in getColorStateList() method in BridgeTypedArray
316 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList()
774 ColorStateList colorStateList = getColorStateList(index); in getValue()
DResources_Delegate.java236 return getColorStateList(resources, id, theme).getDefaultColor(); in getColor()
240 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { in getColorStateList() method in Resources_Delegate
241 return getColorStateList(resources, id, null); in getColorStateList()
245 static ColorStateList getColorStateList(Resources resources, int id, Theme theme) in getColorStateList() method in Resources_Delegate
250 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.getSecond(), in getColorStateList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java54 setFrameColor(a.getColorStateList(attr)); in UserAvatarView()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java146 final ColorStateList tintColor = a.getColorStateList(0); in tintCompoundDrawables()
/frameworks/base/core/java/android/widget/
DDayPickerView.java100 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView()
137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
DTabHost.java641 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
686 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
DDatePickerCalendarDelegate.java135 final ColorStateList legacyHeaderTextColor = textAppearance.getColorStateList(0); in DatePickerCalendarDelegate()
141 headerTextColor = a.getColorStateList(R.styleable.DatePicker_headerTextColor); in DatePickerCalendarDelegate()
DProgressBar.java351 mProgressTintInfo.mProgressTintList = a.getColorStateList( in ProgressBar()
369 mProgressTintInfo.mProgressBackgroundTintList = a.getColorStateList( in ProgressBar()
387 mProgressTintInfo.mSecondaryProgressTintList = a.getColorStateList( in ProgressBar()
405 mProgressTintInfo.mIndeterminateTintList = a.getColorStateList( in ProgressBar()
DSwitch.java266 ColorStateList thumbTintList = a.getColorStateList( in Switch()
283 ColorStateList trackTintList = a.getColorStateList( in Switch()
330 colors = appearance.getColorStateList(com.android.internal.R.styleable. in setSwitchTextAppearance()
DDayPickerPagerAdapter.java74 mDayHighlightColor = ta.getColorStateList(0); in DayPickerPagerAdapter()
DRadialTimePickerView.java410 final ColorStateList numbersTextColor = a.getColorStateList( in applyAttributes()
412 final ColorStateList numbersInnerTextColor = a.getColorStateList( in applyAttributes()
421 final ColorStateList selectorColors = a.getColorStateList( in applyAttributes()
DAbsSeekBar.java135 mThumbTintList = a.getColorStateList(R.styleable.SeekBar_thumbTint); in AbsSeekBar()
149 mTickMarkTintList = a.getColorStateList(R.styleable.SeekBar_tickMarkTint); in AbsSeekBar()
DCheckedTextView.java110 mCheckMarkTintList = a.getColorStateList(R.styleable.CheckedTextView_checkMarkTint); in CheckedTextView()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java142 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in MockResources
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java217 context.getResources().getColorStateList(resId, context.getTheme()); in getColorStateListDefaultColor()
253 stateList = ta.getColorStateList(0); in getColorAttr()
/frameworks/base/graphics/java/android/graphics/drawable/
DColorStateListDrawable.java200 public @NonNull ColorStateList getColorStateList() { in getColorStateList() method in ColorStateListDrawable
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DCustomBar.java199 ResourceHelper.getColorStateList(textColor, bridgeContext, null); in setStyle()

123