/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | CustomizationParams.java | 33 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/ |
D | SetupLayoutActivity.java | 86 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()
|
D | SetupGlifLayoutActivity.java | 67 setStatusBarColor(params.statusBarColor); in initializeLayoutParams()
|
D | Utils.java | 795 context, customizationParams.supportUrl, customizationParams.statusBarColor); in handleSupportUrl()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivity.java | 82 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/ |
D | CustomizationParamsTest.java | 72 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/ |
D | TermsAdapterUtils.java | 43 TermsDocument disclaimer, @ColorInt int statusBarColor) { in populateContentTextView() argument 46 url -> WebActivity.createIntent(context, url, statusBarColor)); in populateContentTextView()
|
D | TermsListAdapterCar.java | 43 @ColorInt int statusBarColor) { in TermsListAdapterCar() argument 46 mStatusBarColor = statusBarColor; in TermsListAdapterCar()
|
D | TermsListAdapter.java | 54 @ColorInt int statusBarColor) { in TermsListAdapter() argument 60 mStatusBarColor = statusBarColor; in TermsListAdapter()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | WebActivity.java | 125 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/ |
D | CustomizationVerifier.java | 54 int statusBarColor = mActivity.getWindow().getStatusBarColor(); in assertStatusBarColorCorrect() local 55 assertThat(statusBarColor, equalTo(targetColor)); in assertStatusBarColorCorrect()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MaterialSearchViewController.java | 196 final int statusBarColor = useDefaultColor ? R.color.mail_activity_status_bar_color : in showSearchActionBar() local 198 ViewUtils.setStatusBarColor(mActivity, statusBarColor); in showSearchActionBar()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityTest.java | 272 private void assertColorsCorrect(Intent intent, int mainColor, int statusBarColor) in assertColorsCorrect() argument 278 customizationVerifier.assertStatusBarColorCorrect(statusBarColor); in assertColorsCorrect()
|