Home
last modified time | relevance | path

Searched refs:currentInsets (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayWindow.java86 WindowInsets currentInsets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in init()
87 mKeyboardVisible = currentInsets.isVisible(WindowInsets.Type.ime()); in init()
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsAnimationControlImpl.java176 private boolean calculatePerceptible(Insets currentInsets, float currentAlpha) { in calculatePerceptible() argument
177 return 100 * currentInsets.left >= 5 * (mShownInsets.left - mHiddenInsets.left) in calculatePerceptible()
178 && 100 * currentInsets.top >= 5 * (mShownInsets.top - mHiddenInsets.top) in calculatePerceptible()
179 && 100 * currentInsets.right >= 5 * (mShownInsets.right - mHiddenInsets.right) in calculatePerceptible()
180 && 100 * currentInsets.bottom >= 5 * (mShownInsets.bottom - mHiddenInsets.bottom) in calculatePerceptible()
/aosp14/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
H A DControllerActivity.java161 final Insets currentInsets = Insets.of( in onProgressChanged() local
166 mController.setInsetsAndAlpha(currentInsets, 1f /* alpha */, fraction); in onProgressChanged()