Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DSetupLayoutActivity.java56 protected void maybeSetLogoAndMainColor(Integer mainColor) { in maybeSetLogoAndMainColor() argument
58 if (mainColor == null) { in maybeSetLogoAndMainColor()
59 mainColor = getResources().getColor(R.color.orange); in maybeSetLogoAndMainColor()
62 mainColor = Color.argb(255, Color.red(mainColor), Color.green(mainColor), in maybeSetLogoAndMainColor()
63 Color.blue(mainColor)); in maybeSetLogoAndMainColor()
70 layout.setIllustration(new HeaderDrawable(this, mainColor)); in maybeSetLogoAndMainColor()
71 layout.setLayoutBackground(new ColorDrawable(mainColor)); in maybeSetLogoAndMainColor()
72 layout.setProgressBarColor(ColorStateList.valueOf(mainColor)); in maybeSetLogoAndMainColor()
75 if (mUtils.isBrightColor(mainColor)) { in maybeSetLogoAndMainColor()
124 HeaderDrawable(Activity a, int mainColor) { in HeaderDrawable() argument
[all …]
DProfileOwnerProvisioningService.java526 if (mParams.mainColor != null) { in setOrganizationColor()
529 dpm.setOrganizationColorForUser(mParams.mainColor, mManagedProfileOrUserInfo.id); in setOrganizationColor()
DDeviceOwnerProvisioningActivity.java109 maybeSetLogoAndMainColor(mParams.mainColor); in onCreate()
DProfileOwnerProvisioningActivity.java118 maybeSetLogoAndMainColor(mParams.mainColor); in onCreate()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java109 public final Integer mainColor; field in ProvisioningParams
179 mainColor = builder.mMainColor; in ProvisioningParams()
207 mainColor = in.readInt(); in ProvisioningParams()
209 mainColor = null; in ProvisioningParams()
245 if (mainColor != null) { in writeToParcel()
247 out.writeInt(mainColor); in writeToParcel()
275 && Objects.equals(mainColor, that.mainColor) in equals()
389 public Builder setMainColor(Integer mainColor) { in setMainColor() argument
390 mMainColor = mainColor; in setMainColor()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DExtrasProvisioningDataParser.java194 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR; in parseMinimalistSupportedProvisioningDataInternal() local
197 mainColor = intent.getIntExtra(EXTRA_PROVISIONING_MAIN_COLOR, 0 /* not used */); in parseMinimalistSupportedProvisioningDataInternal()
213 .setMainColor(mainColor) in parseMinimalistSupportedProvisioningDataInternal()
DMessageParser.java129 if (params.mainColor != null) { in getIntentFromProvisioningParams()
130 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, params.mainColor); in getIntentFromProvisioningParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DEncryptDeviceActivity.java71 maybeSetLogoAndMainColor(mParams.mainColor); in initializeUi()
DPreProvisioningActivity.java214 maybeSetLogoAndMainColor(params.mainColor); in initiateUi()