Searched refs:dismissTarget (Results 1 – 1 of 1) sorted by relevance
1104 private float getDimFraction(int position, SnapTarget dismissTarget) { in getDimFraction() argument1111 if (hasInsetsAtDismissTarget(dismissTarget)) { in getDimFraction()1122 private boolean hasInsetsAtDismissTarget(SnapTarget dismissTarget) { in hasInsetsAtDismissTarget() argument1124 if (dismissTarget == getSnapAlgorithm().getDismissStartTarget()) { in hasInsetsAtDismissTarget()1130 if (dismissTarget == getSnapAlgorithm().getDismissStartTarget()) { in hasInsetsAtDismissTarget()1161 SnapTarget dismissTarget = null; in applyDismissingParallax() local1166 dismissTarget = mSnapAlgorithm.getDismissStartTarget(); in applyDismissingParallax()1171 dismissTarget = mSnapAlgorithm.getDismissEndTarget(); in applyDismissingParallax()1175 if (dismissTarget != null && fraction > 0f in applyDismissingParallax()1179 fraction * (dismissTarget.position - splitTarget.position)); in applyDismissingParallax()[all …]