Searched refs:fadeThreshold (Results 1 – 1 of 1) sorted by relevance
480 final float fadeThreshold = mParent.getWidth() * 0.3f; in onParentTranslationUpdate() local485 } else if (absTrans <= fadeThreshold) { in onParentTranslationUpdate()488 desiredAlpha = 1 - ((absTrans - fadeThreshold) / (mParent.getWidth() - fadeThreshold)); in onParentTranslationUpdate()