Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java285 protected static final long NANOS_PER_MS = 1000000; field in WindowOrientationListener.OrientationJudge
293 500 * NANOS_PER_MS;
399 private static final long PROPOSAL_SETTLE_TIME_NANOS = 40 * NANOS_PER_MS;
404 private static final long PROPOSAL_MIN_TIME_SINCE_FLAT_ENDED_NANOS = 500 * NANOS_PER_MS;
409 private static final long PROPOSAL_MIN_TIME_SINCE_SWING_ENDED_NANOS = 300 * NANOS_PER_MS;
414 500 * NANOS_PER_MS;
420 private static final long FLAT_TIME_NANOS = 1000 * NANOS_PER_MS;
426 private static final long SWING_TIME_NANOS = 300 * NANOS_PER_MS;
433 private static final long MAX_FILTER_DELTA_TIME_NANOS = 1000 * NANOS_PER_MS;
/frameworks/support/compat/src/main/java/androidx/core/app/
DFrameMetricsAggregator.java335 private static final int NANOS_PER_MS = 1000000; field in FrameMetricsAggregator.FrameMetricsApi24Impl
337 private static final int NANOS_ROUNDING_VALUE = NANOS_PER_MS / 2;
400 int durationMs = (int) ((duration + NANOS_ROUNDING_VALUE) / NANOS_PER_MS); in addDurationItem()
/frameworks/base/core/java/android/view/
DChoreographer.java560 return getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in getFrameTime()
613 mLastFrameTimeNanos / TimeUtils.NANOS_PER_MS + sFrameDelay, now); in scheduleFrameLocked()
687 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
720 now / TimeUtils.NANOS_PER_MS); in doCallbacks()
929 mHandler.sendMessageAtTime(msg, timestampNanos / TimeUtils.NANOS_PER_MS); in onVsync()
DViewRootImpl.java3268 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/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java19 import static android.util.TimeUtils.NANOS_PER_MS;
215 anim.setCurrentPlayTime(mChoreographer.getFrameIntervalNanos() / NANOS_PER_MS); in startAnimationLocked()
DWindowAnimator.java153 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS; in animate()
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java58 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
/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.cpp39 static const nsecs_t NANOS_PER_MS = 1000000; variable
45 static const nsecs_t ASSUME_POINTER_STOPPED_TIME = 40 * NANOS_PER_MS;
814 const nsecs_t MIN_TIME_DELTA = 2 * NANOS_PER_MS; in updateState()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java19 import static android.util.TimeUtils.NANOS_PER_MS;
250 timestampMs = timestampNs / NANOS_PER_MS; in onWakeupEvent()
/frameworks/base/core/java/android/util/
DTimeUtils.java95 public static final long NANOS_PER_MS = 1000000; field in TimeUtils
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1481 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in getFrameCount()