/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/ |
D | Task.java | 182 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/ |
D | GlifPatternDrawable.java | 51 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/ |
D | HardwareBgDrawable.java | 64 layers[1].setTintList(Utils.getColorAttr(context, android.R.attr.colorPrimary)); in getLayers()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 1002 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()
|
D | Activity.java | 4970 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/ |
D | TaskViewThumbnail.java | 354 if (t.colorPrimary != 0) { in bindToTask() 355 mLockedPaint.setColor(t.colorPrimary); in bindToTask()
|
D | TaskViewHeader.java | 455 : t.colorPrimary; in bindToTask()
|
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/ |
D | HelpUtils.java | 207 TypedArray array = context.obtainStyledAttributes(new int[]{android.R.attr.colorPrimary}); in addIntentParameters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | QSTileImpl.java | 419 return Utils.getColorAttrDefaultColor(context, android.R.attr.colorPrimary); in getColorForState()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskRecord.java | 1689 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/ |
D | RenderTests.java | 918 mContext.resolveThemeAttribute(android.R.attr.colorPrimary, outValue, true); in testColorTypedValue()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 2175 context.getTheme().resolveAttribute(R.attr.colorPrimary, value, true); in setDecorCaptionShade()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 423 field public static final int colorPrimary = 16843827; // 0x1010433
|
/frameworks/base/api/ |
D | current.txt | 441 field public static final int colorPrimary = 16843827; // 0x1010433
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 96499 Lcom/android/internal/R$attr;->colorPrimary:I
|