Home
last modified time | relevance | path

Searched refs:insetsType (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowMetricsTestHelper.java62 final int insetsType = statusBars() | navigationBars() | displayCutout(); in assertMetricsMatchesLayout() local
63 assertEquals(layoutInsets.getInsets(insetsType), in assertMetricsMatchesLayout()
64 currentMetrics.getWindowInsets().getInsets(insetsType)); in assertMetricsMatchesLayout()
DWindowInsetsControllerTests.java380 private void testSysUiVisCallbackCausedByInsets(int insetsType, int sysUiFlag, View target, in testSysUiVisCallbackCausedByInsets() argument
382 if (target.getRootWindowInsets().isVisible(insetsType)) { in testSysUiVisCallbackCausedByInsets()
386 () -> target.getWindowInsetsController().hide(insetsType)); in testSysUiVisCallbackCausedByInsets()
390 () -> target.getWindowInsetsController().show(insetsType)); in testSysUiVisCallbackCausedByInsets()