Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java141 public int colorPrimary; field in Task
183 String titleDescription, int colorPrimary, int colorBackground, boolean isLaunchTarget, in Task() argument
192 this.colorPrimary = colorPrimary; in Task()
194 this.useLightOnPrimaryColor = Utilities.computeContrastBetweenColors(this.colorPrimary, in Task()
215 this.colorPrimary = o.colorPrimary; in copyFrom()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouterThemeHelper.java115 int primaryColor = getThemeColor(context, style, android.R.attr.colorPrimary); in getControllerColor()
117 primaryColor = getThemeColor(context, style, android.R.attr.colorPrimary); in getControllerColor()
130 int primaryColor = getThemeColor(context, 0, android.R.attr.colorPrimary); in getButtonTextColor()
142 int primaryColor = getThemeColor(context, 0, android.R.attr.colorPrimary); in setMediaControlsBackgroundColor()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DGlifPatternDrawable.java52 private static final int[] ATTRS_PRIMARY_COLOR = new int[]{ android.R.attr.colorPrimary };
80 int colorPrimary = 0; in getDefault() local
83 colorPrimary = a.getColor(0, Color.BLACK); in getDefault()
86 return new GlifPatternDrawable(colorPrimary); in getDefault()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouterThemeHelper.java117 androidx.appcompat.R.attr.colorPrimary); in getControllerColor()
127 androidx.appcompat.R.attr.colorPrimary); in getButtonTextColor()
140 androidx.appcompat.R.attr.colorPrimary); in setMediaControlsBackgroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareBgDrawable.java64 layers[1].setTint(Utils.getColorAttr(context, android.R.attr.colorPrimary)); in getLayers()
/frameworks/base/core/java/android/app/
DActivityManager.java1075 public TaskDescription(String label, Bitmap icon, int colorPrimary) { in TaskDescription() argument
1076 this(label, icon, 0, null, colorPrimary, 0, 0, 0); in TaskDescription()
1077 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1091 public TaskDescription(String label, @DrawableRes int iconRes, int colorPrimary) { in TaskDescription() argument
1092 this(label, null, iconRes, null, colorPrimary, 0, 0, 0); in TaskDescription()
1093 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1139 int colorPrimary, int colorBackground, int statusBarColor, int navigationBarColor) { in TaskDescription() argument
1144 mColorPrimary = colorPrimary; in TaskDescription()
DActivity.java4376 int colorPrimary = a.getColor( in onApplyThemeResource() local
4378 if (colorPrimary != 0 && Color.alpha(colorPrimary) == 0xFF) { in onApplyThemeResource()
4379 mTaskDescription.setPrimaryColor(colorPrimary); in onApplyThemeResource()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewThumbnail.java354 if (t.colorPrimary != 0) { in bindToTask()
355 mLockedPaint.setColor(t.colorPrimary); in bindToTask()
DTaskViewHeader.java455 : t.colorPrimary; in bindToTask()
/frameworks/support/car/src/main/java/androidx/car/drawer/
DCarDrawerActivity.java235 getTheme().resolveAttribute(android.R.attr.colorPrimary, value, true); in getThemeColorPrimary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DHelpUtils.java207 TypedArray array = context.obtainStyledAttributes(new int[]{android.R.attr.colorPrimary}); in addIntentParameters()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
DMediaNotificationManager.java82 android.R.attr.colorPrimary, Color.DKGRAY); in MediaNotificationManager()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java1602 int colorPrimary = 0; in updateTaskDescription() local
1622 if (colorPrimary == 0) { in updateTaskDescription()
1623 colorPrimary = r.taskDescription.getPrimaryColor(); in updateTaskDescription()
1634 colorPrimary, colorBackground, statusBarColor, navigationBarColor); in updateTaskDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java394 return Utils.getColorAttr(context, android.R.attr.colorPrimary); in getColorForState()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java751 mContext.resolveThemeAttribute(android.R.attr.colorPrimary, outValue, true); in testColorTypedValue()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java1976 context.getTheme().resolveAttribute(R.attr.colorPrimary, value, true);
/frameworks/support/api/
D22.2.0.txt5486 field public static int colorPrimary;
D22.2.1.txt5533 field public static int colorPrimary;
D23.0.0.txt6313 field public static int colorPrimary;
D23.2.1.txt7022 field public static int colorPrimary;
D23.1.0.txt6618 field public static int colorPrimary;
D23.1.1.txt6588 field public static int colorPrimary;
D23.4.0.txt7036 field public static int colorPrimary;
D23.2.0.txt7021 field public static int colorPrimary;
D24.0.0.txt7647 field public static int colorPrimary;

12