Home
last modified time | relevance | path

Searched refs:getColorStateList (Results 1 – 25 of 70) 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()
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DTvWindowMenuActionButton.java133 getResources().getColorStateList( in setIsCustomCloseAction()
137 .getColorStateList(isCustomCloseAction ? R.color.tv_window_menu_close_icon_bg in setIsCustomCloseAction()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelperTest.java114 helper.getColorStateList(application, TEST_COLOR_RESOURCE_NAME); in getColor_whenCacheHasColorStateList_shouldReturnExpectedColor()
133 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_shouldReturnExpectedColorStateList()
156 ColorStateList colorStateList = helper.getColorStateList( in getColorStateList_whenCacheHasColorValue_shouldReturnExpectedColorStateList()
DExternalResources.java168 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in ExternalResources.Resources
174 public ColorStateList getColorStateList(int id, @Nullable Theme theme) { in getColorStateList() method in ExternalResources.Resources
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DMaximizeButtonView.kt124 maximizeWindow.background?.setTintList(ContextCompat.getColorStateList(context, in setAnimationTints()
129 maximizeWindow.background?.setTintList(ContextCompat.getColorStateList(context, in setAnimationTints()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DColoredHeaderMixin.java44 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
/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/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java179 public void getColorStateList() { in getColorStateList() method in ResourcesPerfTest
182 mRes.getColorStateList(R.color.color_state_list, null); in getColorStateList()
/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/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/base/packages/SystemUI/src/com/android/keyguard/
DBouncerKeyguardMessageArea.kt52 colorStateList = styledAttributes.getColorStateList(0) in <lambda>()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
DPartnerConfigHelper.java113 public ColorStateList getColorStateList(@NonNull Context context, PartnerConfig partnerConfig) { in getColorStateList() method in PartnerConfigHelper
143 result = resource.getColorStateList(resourceEntry.getResourceId(), null); in getColorStateList()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBackgroundView.java73 mLightColoredStatefulColors = getResources().getColorStateList( in NotificationBackgroundView()
75 mDarkColoredStatefulColors = getResources().getColorStateList( in NotificationBackgroundView()
/frameworks/base/core/java/android/widget/
DAnalogClock.java134 ColorStateList dialTintList = a.getColorStateList( in AnalogClock()
156 ColorStateList hourHandTintList = a.getColorStateList( in AnalogClock()
178 ColorStateList minuteHandTintList = a.getColorStateList( in AnalogClock()
197 ColorStateList secondHandTintList = a.getColorStateList( in AnalogClock()
DDayPickerView.java100 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView()
137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
DTabHost.java665 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
710 tv.setTextColor(context.getColorStateList(R.color.tab_indicator_text_v4)); in createIndicatorView()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java329 ColorStateList colorStateList = ResourceHelper.getColorStateList( in getColor()
339 public ColorStateList getColorStateList(int index) { in getColorStateList() method in BridgeTypedArray
344 return ResourceHelper.getColorStateList(mResourceData[index], mContext, mTheme); in getColorStateList()
798 ColorStateList colorStateList = getColorStateList(index); in getValue()
DResources_Delegate.java225 ColorStateList stateList = ResourceHelper.getColorStateList(resourceValue, in getColor()
241 static ColorStateList getColorStateList(Resources resources, int id) throws NotFoundException { in getColorStateList() method in Resources_Delegate
242 return getColorStateList(resources, id, null); in getColorStateList()
246 static ColorStateList getColorStateList(Resources resources, int id, Theme theme) in getColorStateList() method in Resources_Delegate
251 ColorStateList stateList = ResourceHelper.getColorStateList(resValue.second, in getColorStateList()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java146 final ColorStateList tintColor = a.getColorStateList(0); in tintCompoundDrawables()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUserAvatarView.java54 setFrameColor(a.getColorStateList(attr)); in UserAvatarView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAlphaTintDrawableWrapper.java104 mTint = a.getColorStateList(R.styleable.AlphaTintDrawableWrapper_android_tint); in updateStateFromTypedArray()
/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/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestDialog.kt144 context.resources.getColorStateList(renderInfo.foreground, context.theme)) in createDialog()

123