HomeSort by relevance Sort by last modified time
    Searched refs:mainColor (Results 1 - 20 of 20) sorted by null

  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
CustomizationParams.java 36 public final int mainColor;
51 int statusBarColor, mainColor;
52 if (params.mainColor != null) {
53 statusBarColor = mainColor = params.mainColor;
56 mainColor = utils.getAccentColor(context);
61 return new CustomizationParams(mainColor, statusBarColor, params.organizationName,
65 private CustomizationParams(int mainColor, int statusBarColor,
67 this.mainColor = mainColor;
    [all...]
ProvisioningParams.java 177 public final Integer mainColor;
272 mainColor = builder.mMainColor;
309 putIntegerIfNotNull(bundle, EXTRA_PROVISIONING_MAIN_COLOR, mainColor);
546 public Builder setMainColor(Integer mainColor) {
547 mMainColor = mainColor;
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
TonalCompat.java 37 result.mainColor = darkColors.getMainColor();
48 public int mainColor;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
SetupGlifLayoutActivity.java 49 int mainColor, int statusBarColor) {
54 layout.setPrimaryColor(ColorStateList.valueOf(mainColor));
60 layout.setIcon(LogoUtils.getOrganisationLogo(this, mainColor));
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
CustomizationParamsTest.java 72 assertThat(instance.mainColor, equalTo(DEFAULT_MAIN_COLOR));
85 assertThat(instance.mainColor, equalTo(DEFAULT_MAIN_COLOR));
98 assertThat(instance.mainColor, equalTo(SAMPLE_COLOR));
165 private ProvisioningParams createParams(String provisioningAction, Integer mainColor,
173 if (mainColor != null) {
174 builder.setMainColor(mainColor);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
ManagedProfileSettingsTask.java 70 if (mProvisioningParams.mainColor != null) {
73 dpm.setOrganizationColorForUser(mProvisioningParams.mainColor, userId);
  /frameworks/base/core/java/com/android/internal/colorextraction/drawable/
GradientDrawable.java 80 public void setColors(int mainColor, int secondaryColor, boolean animated) {
81 if (mainColor == mMainColorTo && secondaryColor == mSecondaryColorTo) {
89 mMainColorTo = mainColor;
90 mSecondaryColorTo = mainColor;
100 mMainColor = ColorUtils.blendARGB(mainFrom, mainColor, ratio);
117 mMainColor = mainColor;
  /frameworks/base/core/java/com/android/internal/colorextraction/types/
Tonal.java 194 int mainColor = getColorInt(primaryIndex, h, s, l);
198 ColorUtils.colorToHSL(mainColor, mTmpHSL);
212 outColorsNormal.setMainColor(mainColor);
213 outColorsNormal.setSecondaryColor(mainColor);
224 mainColor = getColorInt(primaryIndex, h, s, l);
225 outColorsDark.setMainColor(mainColor);
226 outColorsDark.setSecondaryColor(mainColor);
237 mainColor = getColorInt(primaryIndex, h, s, l);
238 outColorsExtraDark.setMainColor(mainColor);
239 outColorsExtraDark.setSecondaryColor(mainColor);
    [all...]
  /packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
WallpaperColorInfo.java 67 return mExtractionInfo.mainColor;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
EncryptDeviceActivity.java 89 initializeLayoutParams(R.layout.encrypt_device, headerRes, customizationParams.mainColor,
PreProvisioningActivity.java 279 customization.mainColor,
288 nextButton.setBackgroundTintList(ColorStateList.valueOf(customization.mainColor));
289 if (mUtils.isBrightColor(customization.mainColor)) {
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
PreProvisioningActivityTest.java 172 private Intent createIntent(String provisioningAction, Integer mainColor) {
175 if (mainColor != null) {
176 intent.putExtra(EXTRA_PROVISIONING_MAIN_COLOR, mainColor);
  /frameworks/base/core/java/com/android/internal/colorextraction/
ColorExtractor.java 227 public void setMainColor(int mainColor) {
228 mMainColor = mainColor;
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
ExtrasProvisioningDataParser.java 232 Integer mainColor = ProvisioningParams.DEFAULT_MAIN_COLOR;
235 mainColor = intent.getIntExtra(EXTRA_PROVISIONING_MAIN_COLOR, 0 /* not used */);
273 .setMainColor(mainColor)
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
BenefitsAnimation.java 96 .findTheme(customizationParams.mainColor);
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
ProvisioningActivityTest.java 243 private void assertColorsCorrect(Intent intent, int mainColor, int statusBarColor)
250 customizationVerifier.assertDefaultLogoCorrect(mainColor);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
ProvisioningActivity.java 313 initializeLayoutParams(R.layout.progress, headerResId, customizationParams.mainColor,
  /packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/
ColorExtractionAlgorithm.java 127 int mainColor = getColorInt(primaryIndex, h, s, l);
131 ColorUtils.colorToHSL(mainColor, mTmpHSL);
156 return new Pair<>(mainColor, secondaryColor);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
ScrimController.java 503 int mainColor = currentScrimColors.getMainColor();
504 float minOpacity = ColorUtils.calculateMinimumBackgroundAlpha(textColor, mainColor,
    [all...]
  /packages/apps/Launcher3/quickstep/libs/
sysui_shared.jar 

Completed in 961 milliseconds