Home
last modified time | relevance | path

Searched refs:statusBarColor (Results 1 – 12 of 12) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DCustomizationParams.java33 public final int statusBarColor; field in CustomizationParams
54 int statusBarColor, mainColor; in createInstance() local
57 statusBarColor = mainColor = params.mainColor; in createInstance()
60 statusBarColor = context.getColor(DEFAULT_STATUS_BAR_COLOR_ID); in createInstance()
66 return new CustomizationParams(mainColor, statusBarColor, useSetupStatusBarColor, in createInstance()
70 private CustomizationParams(int mainColor, int statusBarColor, boolean useSetupStatusBarColor, in CustomizationParams() argument
73 this.statusBarColor = statusBarColor; in CustomizationParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupLayoutActivity.java86 protected void setStatusBarColor(int statusBarColor) { in setStatusBarColor() argument
87 statusBarColor = toSolidColor(statusBarColor); in setStatusBarColor()
92 window.setStatusBarColor(statusBarColor); in setStatusBarColor()
97 decorView.setSystemUiVisibility(getUtils().isBrightColor(statusBarColor) in setStatusBarColor()
101 setTaskDescription(new TaskDescription(null /* label */, null /* icon */, statusBarColor)); in setStatusBarColor()
DSetupGlifLayoutActivity.java67 setStatusBarColor(params.statusBarColor); in initializeLayoutParams()
DUtils.java825 context, customizationParams.supportUrl, customizationParams.statusBarColor); in handleSupportUrl()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java82 int statusBarColor = getColor(R.color.term_status_bar); in onCreate() local
83 setStatusBarColor(statusBarColor); in onCreate()
89 setUpTermsList(terms, statusBarColor); in onCreate()
100 private void setUpTermsList(List<TermsDocument> terms, @ColorInt int statusBarColor) { in setUpTermsList() argument
104 statusBarColor)); in setUpTermsList()
112 container::isGroupExpanded, statusBarColor)); in setUpTermsList()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DCustomizationParamsTest.java72 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_STATUS_BAR_COLOR_ID))); in defaultColorManagedProfile()
85 assertThat(instance.statusBarColor, equalTo(getColor(DEFAULT_STATUS_BAR_COLOR_ID))); in defaultColorDeviceOwner()
98 assertThat(instance.statusBarColor, equalTo(SAMPLE_COLOR)); in respectsMainColor()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/adapters/
DTermsAdapterUtils.java43 TermsDocument disclaimer, @ColorInt int statusBarColor) { in populateContentTextView() argument
46 url -> WebActivity.createIntent(context, url, statusBarColor)); in populateContentTextView()
DTermsListAdapterCar.java43 @ColorInt int statusBarColor) { in TermsListAdapterCar() argument
46 mStatusBarColor = statusBarColor; in TermsListAdapterCar()
DTermsListAdapter.java54 @ColorInt int statusBarColor) { in TermsListAdapter() argument
60 mStatusBarColor = statusBarColor; in TermsListAdapter()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DWebActivity.java125 public static Intent createIntent(Context context, String url, int statusBarColor) { in createIntent() argument
129 .putExtra(EXTRA_STATUS_BAR_COLOR, statusBarColor); in createIntent()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java54 int statusBarColor = mActivity.getWindow().getStatusBarColor(); in assertStatusBarColorCorrect() local
55 assertThat(statusBarColor, equalTo(targetColor)); in assertStatusBarColorCorrect()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java272 private void assertColorsCorrect(Intent intent, int mainColor, int statusBarColor) in assertColorsCorrect() argument
278 customizationVerifier.assertStatusBarColorCorrect(statusBarColor); in assertColorsCorrect()