/frameworks/base/core/java/android/content/res/ |
D | CompatResources.java | 61 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/ |
D | ColorStateListTest.java | 45 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/ |
D | TvWindowMenuActionButton.java | 133 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/ |
D | PartnerConfigHelperTest.java | 114 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()
|
D | ExternalResources.java | 168 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/ |
D | MaximizeButtonView.kt | 124 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/ |
D | ColoredHeaderMixin.java | 44 a.getColorStateList(R.styleable.SuwColoredHeaderMixin_suwHeaderColor); in ColoredHeaderMixin()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileColorPicker.java | 37 getColorStateList(R.color.tint_color_selector, context.getTheme()); in TileColorPicker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileColorPickerTest.java | 45 getColorStateList(R.color.tint_color_selector, mContext.getTheme()); in setUp()
|
/frameworks/base/apct-tests/perftests/core/src/android/app/ |
D | ResourcesPerfTest.java | 179 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/ |
D | TextAppearanceSpan.java | 109 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/ |
D | GlifLayout.java | 122 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/ |
D | BouncerKeyguardMessageArea.kt | 52 colorStateList = styledAttributes.getColorStateList(0) in <lambda>()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 113 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/ |
D | NotificationBackgroundView.java | 73 mLightColoredStatefulColors = getResources().getColorStateList( in NotificationBackgroundView() 75 mDarkColoredStatefulColors = getResources().getColorStateList( in NotificationBackgroundView()
|
/frameworks/base/core/java/android/widget/ |
D | AnalogClock.java | 134 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()
|
D | DayPickerView.java | 100 final ColorStateList daySelectorColor = a.getColorStateList( in DayPickerView() 137 final ColorStateList monthColor = ta.getColorStateList(0); in DayPickerView()
|
D | TabHost.java | 665 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/ |
D | BridgeTypedArray.java | 329 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()
|
D | Resources_Delegate.java | 225 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/ |
D | ExpandableSwitchItem.java | 146 final ColorStateList tintColor = a.getColorStateList(0); in tintCompoundDrawables()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | UserAvatarView.java | 54 setFrameColor(a.getColorStateList(attr)); in UserAvatarView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AlphaTintDrawableWrapper.java | 104 mTint = a.getColorStateList(R.styleable.AlphaTintDrawableWrapper_android_tint); in updateStateFromTypedArray()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockResources.java | 142 public ColorStateList getColorStateList(int id) throws NotFoundException { in getColorStateList() method in MockResources
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsRequestDialog.kt | 144 context.resources.getColorStateList(renderInfo.foreground, context.theme)) in createDialog()
|