Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DCustomizationParams.java33 public final int statusBarColor; field in CustomizationParams
64 int statusBarColor; in createInstance() local
67 statusBarColor = mainColor; in createInstance()
70 statusBarColor = context.getColor(DEFAULT_STATUS_BAR_COLOR_ID); in createInstance()
77 mainColor, statusBarColor, useSetupStatusBarColor, orgName, supportUrl); in createInstance()
80 private CustomizationParams(int mainColor, int statusBarColor, boolean useSetupStatusBarColor, in CustomizationParams() argument
83 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.java76 setStatusBarColor(params.statusBarColor); in initializeLayoutParams()
DUtils.java842 context, customizationParams.supportUrl, customizationParams.statusBarColor); in handleSupportUrl()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/
DTermsActivity.java87 int statusBarColor = getColor(R.color.term_status_bar); in onCreate() local
88 setStatusBarColor(statusBarColor); in onCreate()
94 setUpTermsList(terms, statusBarColor); in onCreate()
111 private void setUpTermsList(List<TermsDocument> terms, @ColorInt int statusBarColor) { in setUpTermsList() argument
115 statusBarColor)); in setUpTermsList()
123 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/tests/robotests/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityRoboTest.java295 private void assertColorsCorrect(Intent intent, int mainColor, int statusBarColor) { in assertColorsCorrect() argument
301 assertStatusBarColorCorrect(activity, statusBarColor); in assertColorsCorrect()
313 final int statusBarColor = activity.getWindow().getStatusBarColor(); in assertStatusBarColorCorrect() local
314 assertThat(statusBarColor).isEqualTo(targetColor); in assertStatusBarColorCorrect()
/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/src/com/android/managedprovisioning/provisioning/
DFinancedDeviceLandingActivity.java67 setStatusBarColor(customizationParams.statusBarColor); in initializeUi()