/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | CustomizationParams.java | 39 public final int mainColor; field in CustomizationParams 54 int statusBarColor, mainColor; in createInstance() local 56 if (params.mainColor != null) { in createInstance() 57 statusBarColor = mainColor = params.mainColor; in createInstance() 61 mainColor = utils.getAccentColor(context); in createInstance() 66 return new CustomizationParams(mainColor, statusBarColor, useSetupStatusBarColor, in createInstance() 70 private CustomizationParams(int mainColor, int statusBarColor, boolean useSetupStatusBarColor, in CustomizationParams() argument 72 this.mainColor = mainColor; in CustomizationParams()
|
D | ProvisioningParams.java | 205 public final Integer mainColor; field in ProvisioningParams 314 mainColor = builder.mMainColor; in ProvisioningParams() 355 putIntegerIfNotNull(bundle, EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in toPersistableBundle() 609 public Builder setMainColor(Integer mainColor) { in setMainColor() argument 610 mMainColor = mainColor; in setMainColor()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | CustomizationParamsTest.java | 73 assertThat(instance.mainColor, equalTo(DEFAULT_MAIN_COLOR)); in defaultColorManagedProfile() 86 assertThat(instance.mainColor, equalTo(DEFAULT_MAIN_COLOR)); in defaultColorDeviceOwner() 99 assertThat(instance.mainColor, equalTo(SAMPLE_COLOR)); in respectsMainColor() 166 private ProvisioningParams createParams(String provisioningAction, Integer mainColor, in createParams() argument 174 if (mainColor != null) { in createParams() 175 builder.setMainColor(mainColor); in createParams()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivityTest.java | 151 private Intent createIntent(String provisioningAction, Integer mainColor) { in createIntent() argument 154 if (mainColor != null) { in createIntent() 155 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in createIntent()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupGlifLayoutActivity.java | 69 layout.setPrimaryColor(ColorStateList.valueOf(params.mainColor)); in initializeLayoutParams() 77 layout.setIcon(LogoUtils.getOrganisationLogo(this, params.mainColor)); in initializeLayoutParams()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | ManagedProfileSettingsTask.java | 83 if (mProvisioningParams.mainColor != null) { in run() 86 dpm.setOrganizationColorForUser(mProvisioningParams.mainColor, userId); in run()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | WallpaperColorInfo.java | 71 return mExtractionInfo.mainColor; in getMainColor() 87 return mExtractionInfo.mainColor == MAIN_COLOR_DARK; in isMainColorDark()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | ColorExtractionAlgorithm.java | 121 int mainColor = getColorInt(primaryIndex, h, s, l); in extractInto() local 125 ColorUtils.colorToHSL(mainColor, mTmpHSL); in extractInto() 150 return new Pair<>(mainColor, secondaryColor); in extractInto()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 576 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR; in parseMinimalistSupportedProvisioningDataInternal() local 579 mainColor = getIntExtraFromLongName( in parseMinimalistSupportedProvisioningDataInternal() 622 .setMainColor(mainColor) in parseMinimalistSupportedProvisioningDataInternal()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityTest.java | 272 private void assertColorsCorrect(Intent intent, int mainColor, int statusBarColor) in assertColorsCorrect() argument 279 customizationVerifier.assertDefaultLogoCorrect(mainColor); in assertColorsCorrect()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | BenefitsAnimation.java | 109 .findTheme(customizationParams.mainColor); in setTopInfoDrawable()
|