Searched refs:currentInsets (Results 1 – 2 of 2) sorted by relevance
159 private boolean calculatePerceptible(Insets currentInsets, float currentAlpha) { in calculatePerceptible() argument160 return 100 * currentInsets.left >= 5 * (mShownInsets.left - mHiddenInsets.left) in calculatePerceptible()161 && 100 * currentInsets.top >= 5 * (mShownInsets.top - mHiddenInsets.top) in calculatePerceptible()162 && 100 * currentInsets.right >= 5 * (mShownInsets.right - mHiddenInsets.right) in calculatePerceptible()163 && 100 * currentInsets.bottom >= 5 * (mShownInsets.bottom - mHiddenInsets.bottom) in calculatePerceptible()
156 final Insets currentInsets = Insets.of( in onProgressChanged() local161 mController.setInsetsAndAlpha(currentInsets, 1f /* alpha */, fraction); in onProgressChanged()