Searched refs:typedValue (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | SwitchCompatUtils.java | 43 final TypedValue typedValue = new TypedValue(); in updateSwitchCompatColor() local 46 getSwitchThumbColorStateList(context, color, typedValue), in updateSwitchCompatColor() 50 getSwitchTrackColorStateList(context, color, typedValue), PorterDuff.Mode.SRC_IN)); in updateSwitchCompatColor() 67 final int color, final TypedValue typedValue) { in getSwitchThumbColorStateList() argument 80 colors[i] = getThemeAttrColor(context, typedValue, in getSwitchThumbColorStateList() 87 final int color, final TypedValue typedValue) { in getSwitchTrackColorStateList() argument 93 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.1f); in getSwitchTrackColorStateList() 100 colors[i] = getThemeAttrColor(context, typedValue, android.R.attr.colorForeground, 0.3f); in getSwitchTrackColorStateList() 105 private static int getThemeAttrColor(final Context context, final TypedValue typedValue, in getThemeAttrColor() argument 107 if (context.getTheme().resolveAttribute(attr, typedValue, true)) { in getThemeAttrColor() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 80 final TypedValue typedValue = new TypedValue(); in getTypedFloat() local 81 getResources().getValue(resourceId, typedValue, /* resolveRefs =*/ true); in getTypedFloat() 82 return typedValue.getFloat(); in getTypedFloat()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AllAppsTipView.java | 134 TypedValue typedValue = new TypedValue(); in init() local 135 context.getTheme().resolveAttribute(android.R.attr.colorAccent, typedValue, true); in init() 136 arrowPaint.setColor(ContextCompat.getColor(getContext(), typedValue.resourceId)); in init()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/ |
D | ReviewPermissionsWearFragment.java | 282 TypedValue typedValue = new TypedValue(); in addTitlePreferenceToScreen() local 283 activity.getTheme().resolveAttribute(android.R.attr.colorAccent, typedValue, true); in addTitlePreferenceToScreen() 284 final int color = activity.getColor(typedValue.resourceId); in addTitlePreferenceToScreen()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockPattern.java | 714 TypedValue typedValue = new TypedValue(); in updateStage() local 716 theme.resolveAttribute(R.attr.colorError, typedValue, true); in updateStage() 717 mHeaderText.setTextColor(typedValue.data); in updateStage()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockPattern.java | 715 TypedValue typedValue = new TypedValue(); in updateStage() local 717 theme.resolveAttribute(R.attr.colorError, typedValue, true); in updateStage() 718 mHeaderText.setTextColor(typedValue.data); in updateStage()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/ |
D | Utils.java | 484 TypedValue typedValue = new TypedValue(); in applyTint() local 485 theme.resolveAttribute(attr, typedValue, true); in applyTint() 487 icon.setTint(context.getColor(typedValue.resourceId)); in applyTint()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListItemView.java | 1346 final TypedValue typedValue = new TypedValue(); in getDeleteImageButton() local 1348 android.R.attr.selectableItemBackgroundBorderless, typedValue, true); in getDeleteImageButton() 1349 mDeleteImageButton.setBackgroundResource(typedValue.resourceId); in getDeleteImageButton()
|