Home
last modified time | relevance | path

Searched refs:colorRes (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/
DBackgroundAdjustingTemperatureControlView.java59 TypedArray colorRes = res.obtainTypedArray(R.array.hvac_temperature_level_backgrounds); in onFinishInflate() local
60 mTempColors = new int[colorRes.length()]; in onFinishInflate()
61 for (int i = 0; i < colorRes.length(); i++) { in onFinishInflate()
62 mTempColors[i] = colorRes.getColor(i, in onFinishInflate()
66 colorRes.recycle(); in onFinishInflate()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/privacy/
DPrivacyItemsChip.java57 public final int colorRes; field in PrivacyItemsChip.ChipConfig
66 public ChipConfig(@NonNull List<PrivacyType> privacyTypes, int colorRes, in ChipConfig() argument
69 this.colorRes = colorRes; in ChipConfig()
112 context, config.colorRes, config.collapseToDot); in PrivacyItemsChip()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DTopLevelIcon.java81 int colorRes = metaData.getInt(META_DATA_PREFERENCE_ICON_BACKGROUND_HINT, in setBackgroundColor() local
83 if (colorRes != 0) { in setBackgroundColor()
86 .getColor(colorRes, /* theme= */ null); in setBackgroundColor()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/eco/
DEnergyModesHelper.java66 public final int colorRes; field in EnergyModesHelper.EnergyMode
100 @StringRes int subtitleRes, int colorRes, @DrawableRes int iconRes, in EnergyMode() argument
111 this.colorRes = colorRes; in EnergyMode()
DEnergyModesContentProvider.java203 bundle.putInt(KEY_COLOR, context.getColor(mode.colorRes)); in convertEnergyModeToBundle()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAnimationDynamicColorsHelper.java143 ColorItem(int colorRes, String layerName) { in ColorItem() argument
144 this.mColorRes = colorRes; in ColorItem()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DIncomingCallNotifier.java299 private CharSequence getActionText(int stringRes, int colorRes) { in getActionText() argument
306 new ForegroundColorSpan(mContext.getColor(colorRes)), 0, spannable.length(), 0); in getActionText()
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java1127 TypedArray colorRes = context.getResources() in getCameraThemeColorId() local
1129 if (modeIndex >= colorRes.length() || modeIndex < 0) { in getCameraThemeColorId()
1134 return colorRes.getResourceId(modeIndex, 0); in getCameraThemeColorId()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterQsFragment.java735 int colorRes = value.resourceId != 0 ? value.resourceId : value.data;
736 int color = mContext.getColor(colorRes);
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java875 private Spannable getActionText(@StringRes int stringRes, @ColorRes int colorRes) { in getActionText() argument
882 new ForegroundColorSpan(context.getColor(colorRes)), 0, spannable.length(), 0); in getActionText()