/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
D | CustomizationParams.java | 33 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/ |
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 | 76 setStatusBarColor(params.statusBarColor); in initializeLayoutParams()
|
D | Utils.java | 842 context, customizationParams.supportUrl, customizationParams.statusBarColor); in handleSupportUrl()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivity.java | 87 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/ |
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/tests/robotests/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityRoboTest.java | 295 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/ |
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/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | FinancedDeviceLandingActivity.java | 67 setStatusBarColor(customizationParams.statusBarColor); in initializeUi()
|