Searched refs:desiredAlpha (Results 1 – 1 of 1) sorted by relevance
482 float desiredAlpha = 0; in onParentTranslationUpdate() local484 desiredAlpha = 0; in onParentTranslationUpdate()486 desiredAlpha = 1; in onParentTranslationUpdate()488 desiredAlpha = 1 - ((absTrans - fadeThreshold) / (mParent.getWidth() - fadeThreshold)); in onParentTranslationUpdate()490 setMenuAlpha(desiredAlpha); in onParentTranslationUpdate()