Home
last modified time | relevance | path

Searched refs:decorView (Results 1 – 5 of 5) sorted by relevance

/external/setupcompat/main/java/com/google/android/setupcompat/template/
DStatusBarMixin.java50 private final View decorView; field in StatusBarMixin
79 decorView = window.getDecorView(); in StatusBarMixin()
158 decorView.setSystemUiVisibility( in setLightStatusBar()
159 decorView.getSystemUiVisibility() | SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); in setLightStatusBar()
161 decorView.setSystemUiVisibility( in setLightStatusBar()
162 decorView.getSystemUiVisibility() & ~SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); in setLightStatusBar()
173 return (decorView.getSystemUiVisibility() & SYSTEM_UI_FLAG_LIGHT_STATUS_BAR) in isLightStatusBar()
/external/setupcompat/main/java/com/google/android/setupcompat/util/
DSystemBarHelper.java110 public void onDecorViewInstalled(View decorView) { in addImmersiveFlagsToDecorView()
111 addVisibilityFlag(decorView, vis); in addImmersiveFlagsToDecorView()
121 public void onDecorViewInstalled(View decorView) { in removeImmersiveFlagsFromDecorView()
122 removeVisibilityFlag(decorView, vis); in removeImmersiveFlagsFromDecorView()
322 final View decorView = window.peekDecorView();
323 if (decorView != null) {
324 callback.onDecorViewInstalled(decorView);
347 void onDecorViewInstalled(View decorView); in onDecorViewInstalled() argument
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalControlledLooper.java20 public void simulateWindowFocus(View decorView) { in simulateWindowFocus() argument
21 ViewRootImpl viewRoot = ReflectionHelpers.callInstanceMethod(decorView, "getViewRootImpl"); in simulateWindowFocus()
/external/angle/src/tests/test_utils/runner/android/java/src/com/android/angle/test/
DAngleNativeTest.java67 View decorView = activity.getWindow().getDecorView(); in postCreate() local
68 if (decorView != null) in postCreate()
70 decorView.setSystemUiVisibility( in postCreate()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java626 View decorView = activity.getWindow().getDecorView(); in decorViewSizeEqualToDisplaySize() local
627 assertThat(decorView).isNotEqualTo(null); in decorViewSizeEqualToDisplaySize()
628 ViewRootImpl root = decorView.getViewRootImpl(); in decorViewSizeEqualToDisplaySize()
630 assertThat(decorView.getWidth()).isNotEqualTo(0); in decorViewSizeEqualToDisplaySize()
631 assertThat(decorView.getHeight()).isNotEqualTo(0); in decorViewSizeEqualToDisplaySize()
633 assertThat(decorView.getWidth()).isEqualTo(display.getWidth()); in decorViewSizeEqualToDisplaySize()
634 assertThat(decorView.getHeight()).isEqualTo(display.getHeight()); in decorViewSizeEqualToDisplaySize()