/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/referenceui/ |
D | BackgroundAdjustingTemperatureControlView.java | 59 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/ |
D | PrivacyItemsChip.java | 57 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/ |
D | TopLevelIcon.java | 81 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/ |
D | EnergyModesHelper.java | 66 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()
|
D | EnergyModesContentProvider.java | 203 bundle.putInt(KEY_COLOR, context.getColor(mode.colorRes)); in convertEnergyModeToBundle()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | AnimationDynamicColorsHelper.java | 143 ColorItem(int colorRes, String layerName) { in ColorItem() argument 144 this.mColorRes = colorRes; in ColorItem()
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | IncomingCallNotifier.java | 299 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/ |
D | CameraUtil.java | 1127 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/ |
D | SafetyCenterQsFragment.java | 735 int colorRes = value.resourceId != 0 ? value.resourceId : value.data; 736 int color = mContext.getColor(colorRes);
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | StatusBarNotifier.java | 875 private Spannable getActionText(@StringRes int stringRes, @ColorRes int colorRes) { in getActionText() argument 882 new ForegroundColorSpan(context.getColor(colorRes)), 0, spannable.length(), 0); in getActionText()
|