Searched refs:mainColor (Results 1 – 9 of 9) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupLayoutActivity.java | 87 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()
|
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 | 159 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()
|
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/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/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | PreProvisioningActivityTest.java | 156 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/ |
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()
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
D | ColorExtractionAlgorithm.java | 128 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()
|