Home
last modified time | relevance | path

Searched refs:mainColor (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java86 protected void setMainColor(int mainColor) { in setMainColor() argument
87 mainColor = toSolidColor(mainColor); in setMainColor()
92 window.setStatusBarColor(mainColor); in setMainColor()
97 decorView.setSystemUiVisibility(getUtils().isBrightColor(mainColor) in setMainColor()
101 setTaskDescription(new TaskDescription(null /* label */, null /* icon */, mainColor)); in setMainColor()
DSetupGlifLayoutActivity.java40 boolean showProgressBar, int mainColor) { in initializeLayoutParams() argument
44 setMainColor(mainColor); in initializeLayoutParams()
45 layout.setPrimaryColor(ColorStateList.valueOf(mainColor)); in initializeLayoutParams()
55 layout.setIcon(LogoUtils.getOrganisationLogo(this, mainColor)); in initializeLayoutParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java157 public final Integer mainColor; field in ProvisioningParams
230 mainColor = builder.mMainColor; in ProvisioningParams()
266 putIntegerIfNotNull(bundle, EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in toPersistableBundle()
490 public Builder setMainColor(Integer mainColor) { in setMainColor() argument
491 mMainColor = mainColor; in setMainColor()
DCustomizationParams.java61 if (params.mainColor != null) { in createInstance()
62 statusBarColor = swiperColor = buttonColor = params.mainColor; in createInstance()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java131 private Intent createIntent(String provisioningAction, Integer mainColor) { in createIntent() argument
134 if (mainColor != null) { in createIntent()
135 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in createIntent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DCustomizationParamsTest.java157 private ProvisioningParams createParams(String provisioningAction, Integer mainColor, in createParams() argument
165 if (mainColor != null) { in createParams()
166 builder.setMainColor(mainColor); in createParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DManagedProfileSettingsTask.java70 if (mProvisioningParams.mainColor != null) { in run()
73 dpm.setOrganizationColorForUser(mProvisioningParams.mainColor, userId); in run()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java222 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR; in parseMinimalistSupportedProvisioningDataInternal() local
225 mainColor = intent.getIntExtra(EXTRA_PROVISIONING_MAIN_COLOR, 0 /* not used */); in parseMinimalistSupportedProvisioningDataInternal()
263 .setMainColor(mainColor) in parseMinimalistSupportedProvisioningDataInternal()