Searched refs:windowInsets (Results 1 – 6 of 6) sorted by relevance
177 final WindowInsets windowInsets = v.getRootWindowInsets(); in fromLayoutListenerCallback() local179 if (windowInsets != null && windowInsets.hasSystemWindowInsets()) { in fromLayoutListenerCallback()181 windowInsets.getSystemWindowInsetLeft(), windowInsets.getSystemWindowInsetTop(), in fromLayoutListenerCallback()182 windowInsets.getSystemWindowInsetRight(), in fromLayoutListenerCallback()183 windowInsets.getSystemWindowInsetBottom()); in fromLayoutListenerCallback()188 if (windowInsets != null && windowInsets.hasStableInsets()) { in fromLayoutListenerCallback()190 windowInsets.getStableInsetLeft(), windowInsets.getStableInsetTop(), in fromLayoutListenerCallback()191 windowInsets.getStableInsetRight(), windowInsets.getStableInsetBottom()); in fromLayoutListenerCallback()
104 public WindowInsetsPresenterDrawable(WindowInsets windowInsets) { in WindowInsetsPresenterDrawable() argument106 mWindowInsets = windowInsets; in WindowInsetsPresenterDrawable()175 public void setWindowInsets(WindowInsets windowInsets) { in setWindowInsets() argument176 if (windowInsets != null) { in setWindowInsets()177 mWindowInsets = new WindowInsets.Builder(windowInsets).build(); in setWindowInsets()
158 WindowInsets windowInsets = activity.getRootWindowInsets(); in loadCutout() local159 DisplayCutout displayCutout = windowInsets.getDisplayCutout(); in loadCutout()
247 public Rect getOperationArea(Insets insets, WindowInsets windowInsets) { in getOperationArea() argument253 final DisplayCutout cutout = windowInsets.getDisplayCutout(); in getOperationArea()
100 final WindowInsets windowInsets = getOnMainSync(() -> view.getRootWindowInsets()); in getInstance() local101 if (!windowInsets.hasStableInsets() || windowInsets.getStableInsetBottom() <= 0) { in getInstance()118 if (actualBottomInset != windowInsets.getStableInsetBottom()) { in getInstance()
654 final WindowInsets windowInsets = upperAnchor.getRootWindowInsets(); in testShowAtLocation() local655 final int xOff = windowInsets.getSystemWindowInsetLeft() + 10; in testShowAtLocation()656 final int yOff = windowInsets.getSystemWindowInsetTop() + 21; in testShowAtLocation()1288 final WindowInsets windowInsets = containerView.getRootWindowInsets(); in testUpdatePositionAndDimension() local1289 popupPos.set(windowInsets.getStableInsetLeft() + 20, windowInsets.getStableInsetTop() + 50); in testUpdatePositionAndDimension()1303 popupPos.set(windowInsets.getStableInsetLeft() + 4, windowInsets.getStableInsetTop()); in testUpdatePositionAndDimension()