Home
last modified time | relevance | path

Searched refs:colorPrimary (Results 1 – 19 of 19) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/dialer/theme/base/impl/
H A DAospThemeImpl.java37 private int colorPrimary = -1; field in AospThemeImpl
59 android.R.attr.colorPrimary, in AospThemeImpl()
73 colorPrimary = array.getColor(/* index= */ 0, /* defValue= */ -1); in AospThemeImpl()
136 Assert.checkArgument(colorPrimary != -1); in getColorPrimary()
137 return colorPrimary; in getColorPrimary()
/aosp12/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
H A DTask.java212 public int colorPrimary; field in Task
255 this(other.key, other.colorPrimary, other.colorBackground, other.isDockable, in Task()
264 public Task(TaskKey key, int colorPrimary, int colorBackground, in Task() argument
268 this.colorPrimary = colorPrimary; in Task()
/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
H A DGlifPatternDrawable.java51 private static final int[] ATTRS_PRIMARY_COLOR = new int[] {android.R.attr.colorPrimary};
79 int colorPrimary = 0; in getDefault() local
82 colorPrimary = a.getColor(0, Color.BLACK); in getDefault()
85 return new GlifPatternDrawable(colorPrimary); in getDefault()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityManager.java1154 public TaskDescription(String label, @DrawableRes int iconRes, int colorPrimary) { in TaskDescription() argument
1156 colorPrimary, 0, 0, 0, false, false, RESIZE_MODE_RESIZEABLE, -1, -1, 0); in TaskDescription()
1157 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1200 public TaskDescription(String label, Bitmap icon, int colorPrimary) { in TaskDescription() argument
1201 this(label, icon != null ? Icon.createWithBitmap(icon) : null, colorPrimary, 0, 0, 0, in TaskDescription()
1203 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1223 int colorPrimary, int colorBackground, in TaskDescription() argument
1230 mColorPrimary = colorPrimary; in TaskDescription()
1633 final int colorPrimary = in.getAttributeIntHex(null, in restoreFromXml() local
1635 if (colorPrimary != 0) { in restoreFromXml()
[all …]
H A DActivity.java5181 int colorPrimary = a.getColor( in onApplyThemeResource() local
5183 if (colorPrimary != 0 && Color.alpha(colorPrimary) == 0xFF) { in onApplyThemeResource()
5184 mTaskDescription.setPrimaryColor(colorPrimary); in onApplyThemeResource()
/aosp12/packages/apps/Dialer/java/com/android/dialer/theme/
H A DREADME.md16 * Legacy Android attributes (android:colorPrimary). These are defined by the
20 * Appcompat Android attributes (colorPrimary). There are also defined by the
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/template/
H A DGroupSummaryNotificationViewHolder.java55 … mCardBackgroundColor = NotificationUtils.getAttrColor(mContext, android.R.attr.colorPrimary); in GroupSummaryNotificationViewHolder()
H A DProgressNotificationViewHolder.java51 android.R.attr.colorPrimary); in ProgressNotificationViewHolder()
H A DCarNotificationBaseViewHolder.java130 android.R.attr.colorPrimary); in CarNotificationBaseViewHolder()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
H A DOngoingPrivacyChip.kt94 Utils.getColorAttrDefaultColor(context, com.android.internal.R.attr.colorPrimary)
H A DPrivacyDialog.kt55 this.context, com.android.internal.R.attr.colorPrimary
/aosp12/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
H A DMediaSourceColors.java122 android.R.attr.colorPrimary, in extractColors()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DHardwareBgDrawable.java64 layers[1].setTintList(Utils.getColorAttr(context, android.R.attr.colorPrimary)); in getLayers()
/aosp12/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
H A DThemeComponentOption.java505 new int[]{android.R.attr.colorPrimary}); in bindThumbnailTile()
/aosp12/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
H A DRenderTests.java964 mContext.resolveThemeAttribute(android.R.attr.colorPrimary, outValue, true); in testTypedValue()
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt477 field public static final int colorPrimary = 16843827; // 0x1010433
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt423 field public static final int colorPrimary = 16843827; // 0x1010433
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt78954 Lcom/android/internal/R$attr;->colorPrimary:I