question: private void updatePromoVisibility ( float percentage ) { if ( isPromoAvailable ( ) ) { mPromoVisible = true ; mPromoHeightPx = Math . round ( MathUtils . clamp ( percentage * mPromoContentHeightPx , 0.f , mPromoContentHeightPx ) ) ; mPromoOpacity = percentage ; } else { mPromoVisible = false ; mPromoHeightPx = 0.f ; mPromoOpacity = 0.f ; } }
target:  Updates the UI state for Opt Out Promo.