Searched refs:dismissTarget (Results 1 – 1 of 1) sorted by relevance
1108 private float getDimFraction(int position, SnapTarget dismissTarget) { in getDimFraction() argument1115 if (hasInsetsAtDismissTarget(dismissTarget)) { in getDimFraction()1126 private boolean hasInsetsAtDismissTarget(SnapTarget dismissTarget) { in hasInsetsAtDismissTarget() argument1128 if (dismissTarget == getSnapAlgorithm().getDismissStartTarget()) { in hasInsetsAtDismissTarget()1134 if (dismissTarget == getSnapAlgorithm().getDismissStartTarget()) { in hasInsetsAtDismissTarget()1165 SnapTarget dismissTarget = null; in applyDismissingParallax() local1170 dismissTarget = mSnapAlgorithm.getDismissStartTarget(); in applyDismissingParallax()1175 dismissTarget = mSnapAlgorithm.getDismissEndTarget(); in applyDismissingParallax()1179 if (dismissTarget != null && fraction > 0f in applyDismissingParallax()1183 fraction * (dismissTarget.position - splitTarget.position)); in applyDismissingParallax()[all …]