Home
last modified time | relevance | path

Searched refs:NANOS_PER_MS (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java252 protected static final long NANOS_PER_MS = 1000000; field in WindowOrientationListener.OrientationJudge
260 500 * NANOS_PER_MS;
366 private static final long PROPOSAL_SETTLE_TIME_NANOS = 40 * NANOS_PER_MS;
371 private static final long PROPOSAL_MIN_TIME_SINCE_FLAT_ENDED_NANOS = 500 * NANOS_PER_MS;
376 private static final long PROPOSAL_MIN_TIME_SINCE_SWING_ENDED_NANOS = 300 * NANOS_PER_MS;
381 500 * NANOS_PER_MS;
387 private static final long FLAT_TIME_NANOS = 1000 * NANOS_PER_MS;
393 private static final long SWING_TIME_NANOS = 300 * NANOS_PER_MS;
400 private static final long MAX_FILTER_DELTA_TIME_NANOS = 1000 * NANOS_PER_MS;
/frameworks/support/core-utils/java/android/support/v4/app/
DFrameMetricsAggregator.java334 private static final int NANOS_PER_MS = 1000000; field in FrameMetricsAggregator.FrameMetricsApi24Impl
336 private static final int NANOS_ROUNDING_VALUE = NANOS_PER_MS / 2;
399 int durationMs = (int) ((duration + NANOS_ROUNDING_VALUE) / NANOS_PER_MS); in addDurationItem()
/frameworks/base/core/java/android/view/
DChoreographer.java536 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
589 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
649 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
682 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
891 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
DViewRootImpl.java2942 mChoreographer.getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in draw()
/frameworks/base/core/java/com/android/internal/view/animation/
DFallbackLUTInterpolator.java49 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in createLUT()
/frameworks/native/libs/input/
DInputTransport.cpp44 static const nsecs_t NANOS_PER_MS = 1000000; variable
48 static const nsecs_t RESAMPLE_LATENCY = 5 * NANOS_PER_MS;
51 static const nsecs_t RESAMPLE_MIN_DELTA = 2 * NANOS_PER_MS;
55 static const nsecs_t RESAMPLE_MAX_DELTA = 20 * NANOS_PER_MS;
59 static const nsecs_t RESAMPLE_MAX_PREDICTION = 8 * NANOS_PER_MS;
DVelocityTracker.cpp38 static const nsecs_t NANOS_PER_MS = 1000000; variable
44 static const nsecs_t ASSUME_POINTER_STOPPED_TIME = 40 * NANOS_PER_MS;
758 const nsecs_t MIN_TIME_DELTA = 2 * NANOS_PER_MS; in updateState()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimator.java144 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS; in animate()
DAppWindowAnimator.java345 return -Choreographer.getInstance().getFrameIntervalNanos() / TimeUtils.NANOS_PER_MS; in getStartTimeCorrection()
/frameworks/base/core/java/android/util/
DTimeUtils.java248 public static final long NANOS_PER_MS = 1000000; field in TimeUtils
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1477 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in getFrameCount()