Searched refs:mainColor (Results 1 – 8 of 8) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupLayoutActivity.java | 86 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()
|
D | SetupGlifLayoutActivity.java | 40 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/ |
D | ProvisioningParams.java | 157 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()
|
D | CustomizationParams.java | 61 if (params.mainColor != null) { in createInstance() 62 statusBarColor = swiperColor = buttonColor = params.mainColor; in createInstance()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivityTest.java | 131 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/ |
D | CustomizationParamsTest.java | 157 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/ |
D | ManagedProfileSettingsTask.java | 70 if (mProvisioningParams.mainColor != null) { in run() 73 dpm.setOrganizationColorForUser(mProvisioningParams.mainColor, userId); in run()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 222 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()
|