Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java87 protected void setMainColor(int mainColor) { in setMainColor() argument
88 mainColor = toSolidColor(mainColor); in setMainColor()
93 window.setStatusBarColor(mainColor); in setMainColor()
98 decorView.setSystemUiVisibility(getUtils().isBrightColor(mainColor) in setMainColor()
102 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.java159 public final Integer mainColor; field in ProvisioningParams
235 mainColor = builder.mMainColor; in ProvisioningParams()
271 putIntegerIfNotNull(bundle, EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in toPersistableBundle()
498 public Builder setMainColor(Integer mainColor) { in setMainColor() argument
499 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/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/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivityTest.java156 private Intent createIntent(String provisioningAction, Integer mainColor) { in createIntent() argument
159 if (mainColor != null) { in createIntent()
160 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, mainColor); in createIntent()
/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()
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/
DColorExtractionAlgorithm.java128 int mainColor = getColorInt(primaryIndex, h, s, l); in extractInto() local
132 ColorUtils.colorToHSL(mainColor, mTmpHSL); in extractInto()
157 return new Pair<>(mainColor, secondaryColor); in extractInto()