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