Searched refs:mainColor (Results 1 – 9 of 9) sorted by relevance
56 protected void maybeSetLogoAndMainColor(Integer mainColor) { in maybeSetLogoAndMainColor() argument58 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 …]
526 if (mParams.mainColor != null) { in setOrganizationColor()529 dpm.setOrganizationColorForUser(mParams.mainColor, mManagedProfileOrUserInfo.id); in setOrganizationColor()
109 maybeSetLogoAndMainColor(mParams.mainColor); in onCreate()
118 maybeSetLogoAndMainColor(mParams.mainColor); in onCreate()
109 public final Integer mainColor; field in ProvisioningParams179 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() argument390 mMainColor = mainColor; in setMainColor()
194 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR; in parseMinimalistSupportedProvisioningDataInternal() local197 mainColor = intent.getIntExtra(EXTRA_PROVISIONING_MAIN_COLOR, 0 /* not used */); in parseMinimalistSupportedProvisioningDataInternal()213 .setMainColor(mainColor) in parseMinimalistSupportedProvisioningDataInternal()
129 if (params.mainColor != null) { in getIntentFromProvisioningParams()130 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, params.mainColor); in getIntentFromProvisioningParams()
71 maybeSetLogoAndMainColor(mParams.mainColor); in initializeUi()
214 maybeSetLogoAndMainColor(params.mainColor); in initiateUi()