Home
last modified time | relevance | path

Searched refs:decorView (Results 1 – 11 of 11) 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/robolectric/src/test/java/org/robolectric/shadows/
DShadowInstrumentationTest.java132 View decorView = in setInTouchMode_setFalse() local
135 assertThat(decorView.isInTouchMode()).isFalse(); in setInTouchMode_setFalse()
142 View decorView = in setInTouchMode_setTrue() local
145 assertThat(decorView.isInTouchMode()).isTrue(); in setInTouchMode_setTrue()
DShadowBackdropFrameRendererTest.java28 DecorView decorView = (DecorView) activity.getWindow().getDecorView(); in releaseRenderer_afterCreate_doesNotLeakThread() local
32 decorView, in releaseRenderer_afterCreate_doesNotLeakThread()
DShadowWindowManagerGlobalTest.java59 View decorView = in windowIsVisible() local
62 assertThat(decorView.getWindowVisibility()).isEqualTo(View.VISIBLE); in windowIsVisible()
DShadowActivityTest.java828 View decorView = activity.getWindow().getDecorView(); in decorViewSizeEqualToDisplaySize() local
829 assertThat(decorView).isNotEqualTo(null); in decorViewSizeEqualToDisplaySize()
830 ViewRootImpl root = decorView.getViewRootImpl(); in decorViewSizeEqualToDisplaySize()
832 assertThat(decorView.getWidth()).isNotEqualTo(0); in decorViewSizeEqualToDisplaySize()
833 assertThat(decorView.getHeight()).isNotEqualTo(0); in decorViewSizeEqualToDisplaySize()
835 assertThat(decorView.getWidth()).isEqualTo(display.getWidth()); in decorViewSizeEqualToDisplaySize()
836 assertThat(decorView.getHeight()).isEqualTo(display.getHeight()); in decorViewSizeEqualToDisplaySize()
/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/robolectric/robolectric/src/main/java/org/robolectric/android/internal/
DLocalControlledLooper.java22 public void simulateWindowFocus(View decorView) { in simulateWindowFocus() argument
23 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()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
D_Activity_.java374 void setDecor(View decorView); in setDecor() argument