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