Searched refs:tMillis (Results 1 – 1 of 1) sorted by relevance
196 public void stop(long tMillis) { in stop() argument202 mHardExitStartMillis = computeExitStartTimeMs(tMillis, mHardExitDurationMillis); in stop()205 private long computeExitStartTimeMs(long tMillis, float exitDuration) { in computeExitStartTimeMs() argument206 if (mEnterStartMillis + mEnterDurationMillis <= tMillis) { in computeExitStartTimeMs()207 return tMillis; in computeExitStartTimeMs()211 float enterT = (tMillis - mEnterStartMillis) / mEnterDurationMillis; in computeExitStartTimeMs()219 return tMillis - (long) (exitT * exitDuration); in computeExitStartTimeMs()222 private long computeEnterStartTimeMillis(long tMillis, float enterDuration) { in computeEnterStartTimeMillis() argument223 if (mExitStartMillis + mExitDurationMillis <= tMillis) { in computeEnterStartTimeMillis()224 return tMillis; in computeEnterStartTimeMillis()[all …]