Home
last modified time | relevance | path

Searched refs:getSystemWindowInsets (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java62 assertThat(insets.getSystemWindowInsets(), equalTo(Insets.NONE)); in negativeInsets_areSetToZero()
72 assertThat(insets.getSystemWindowInsets(), equalTo(Insets.of(0, 20, 0, 40))); in negativeInsets_areSetToZero_positiveAreLeftAsIs()
82 assertThat(insets.getSystemWindowInsets(), equalTo(Insets.of(10, 20, 30, 40))); in positiveInsets_areLeftAsIs()
DInsetsStateTest.java75 assertEquals(Insets.of(0, 100, 0, 100), insets.getSystemWindowInsets()); in testCalculateInsets()
96 assertEquals(Insets.of(0, 0, 0, 200), insets.getSystemWindowInsets()); in testCalculateInsets_imeAndNav()
113 assertEquals(Insets.of(0, 100, 20, 0), insets.getSystemWindowInsets()); in testCalculateInsets_navRightStatusTop()
DWindowInsetsTest.java65 assertEquals(300, insets.getSystemWindowInsets().bottom); in typeMap()
/frameworks/base/core/java/android/view/
DWindowInsets.java265 Insets insets = getSystemWindowInsets(); in getSystemWindowInsetsAsRect()
280 public Insets getSystemWindowInsets() { in getSystemWindowInsets() method in WindowInsets
354 return getSystemWindowInsets().left; in getSystemWindowInsetLeft()
367 return getSystemWindowInsets().top; in getSystemWindowInsetTop()
380 return getSystemWindowInsets().right; in getSystemWindowInsetRight()
393 return getSystemWindowInsets().bottom; in getSystemWindowInsetBottom()
406 return !getSystemWindowInsets().equals(Insets.NONE); in hasSystemWindowInsets()
740 return "WindowInsets{systemWindowInsets=" + getSystemWindowInsets() in toString()
/frameworks/base/core/java/android/widget/
DMagnifier.java733 final Insets systemInsets = mView.getRootWindowInsets().getSystemWindowInsets(); in getCurrentClampedWindowCoordinates()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java389 mSystemWindowInsets = insets.getSystemWindowInsets();
/frameworks/base/api/
Dcurrent.txt51758 method @NonNull public android.graphics.Insets getSystemWindowInsets();