Searched refs:systemInsets (Results 1 – 1 of 1) sorted by relevance
448 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft() local451 assertEquals(systemInsets.left, magnifierCoords.x, PIXEL_COMPARISON_DELTA); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()452 assertEquals(systemInsets.top, magnifierCoords.y, PIXEL_COMPARISON_DELTA); in testWindowPosition_isClampedInsideMainApplicationWindow_topLeft()466 final Insets systemInsets = mLayout.getRootWindowInsets().getSystemWindowInsets(); in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight() local470 - systemInsets.right - mMagnifier.getWidth(), in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()473 - systemInsets.bottom - mMagnifier.getHeight(), in testWindowPosition_isClampedInsideMainApplicationWindow_bottomRight()795 final Insets systemInsets = view.getRootWindowInsets().getSystemWindowInsets(); in testSourceBounds_areAdjustedWhenInvalid() local797 .setSize(2 * view.getWidth() + systemInsets.right, in testSourceBounds_areAdjustedWhenInvalid()798 2 * view.getHeight() + systemInsets.bottom) in testSourceBounds_areAdjustedWhenInvalid()