Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DTask.java182 public int colorPrimary; field in Task
234 public Task(TaskKey key, int colorPrimary, int colorBackground, in Task() argument
238 this.colorPrimary = colorPrimary; in Task()
248 String titleDescription, int colorPrimary, int colorBackground, boolean isLaunchTarget, in Task() argument
257 this.colorPrimary = colorPrimary; in Task()
259 this.useLightOnPrimaryColor = Utilities.computeContrastBetweenColors(this.colorPrimary, in Task()
281 this.colorPrimary = o.colorPrimary; in copyFrom()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareBgDrawable.java64 layers[1].setTintList(Utils.getColorAttr(context, android.R.attr.colorPrimary)); in getLayers()
/frameworks/base/core/java/android/app/
DActivityManager.java1002 public TaskDescription(String label, Bitmap icon, int colorPrimary) { in TaskDescription() argument
1003 this(label, icon, 0, null, colorPrimary, 0, 0, 0, false, false); in TaskDescription()
1004 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1018 public TaskDescription(String label, @DrawableRes int iconRes, int colorPrimary) { in TaskDescription() argument
1019 this(label, null, iconRes, null, colorPrimary, 0, 0, 0, false, false); in TaskDescription()
1020 if ((colorPrimary != 0) && (Color.alpha(colorPrimary) != 255)) { in TaskDescription()
1066 int colorPrimary, int colorBackground, int statusBarColor, int navigationBarColor, in TaskDescription() argument
1073 mColorPrimary = colorPrimary; in TaskDescription()
DActivity.java4970 int colorPrimary = a.getColor( in onApplyThemeResource() local
4972 if (colorPrimary != 0 && Color.alpha(colorPrimary) == 0xFF) { in onApplyThemeResource()
4973 mTaskDescription.setPrimaryColor(colorPrimary); in onApplyThemeResource()
/frameworks/base/packages/SystemUI/legacy/recents/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/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java207 TypedArray array = context.obtainStyledAttributes(new int[]{android.R.attr.colorPrimary}); in addIntentParameters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileImpl.java419 return Utils.getColorAttrDefaultColor(context, android.R.attr.colorPrimary); in getColorForState()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskRecord.java1689 int colorPrimary = 0; in updateTaskDescription() local
1711 if (colorPrimary == 0) { in updateTaskDescription()
1712 colorPrimary = r.taskDescription.getPrimaryColor(); in updateTaskDescription()
1727 colorPrimary, colorBackground, statusBarColor, navigationBarColor, in updateTaskDescription()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java918 mContext.resolveThemeAttribute(android.R.attr.colorPrimary, outValue, true); in testColorTypedValue()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2175 context.getTheme().resolveAttribute(R.attr.colorPrimary, value, true); in setDecorCaptionShade()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt423 field public static final int colorPrimary = 16843827; // 0x1010433
/frameworks/base/api/
Dcurrent.txt441 field public static final int colorPrimary = 16843827; // 0x1010433
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt96499 Lcom/android/internal/R$attr;->colorPrimary:I