Searched refs:currentInsets (Results 1 – 3 of 3) sorted by relevance
86 WindowInsets currentInsets = mWindowManager.getCurrentWindowMetrics().getWindowInsets(); in init()87 mKeyboardVisible = currentInsets.isVisible(WindowInsets.Type.ime()); in init()
176 private boolean calculatePerceptible(Insets currentInsets, float currentAlpha) { in calculatePerceptible() argument177 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()
161 final Insets currentInsets = Insets.of( in onProgressChanged() local166 mController.setInsetsAndAlpha(currentInsets, 1f /* alpha */, fraction); in onProgressChanged()