/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 285 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/ |
D | FrameMetricsAggregator.java | 335 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/ |
D | Choreographer.java | 560 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()
|
D | ViewRootImpl.java | 3268 mChoreographer.getFrameTimeNanos() / TimeUtils.NANOS_PER_MS; in draw()
|
/frameworks/base/core/java/com/android/internal/view/animation/ |
D | FallbackLUTInterpolator.java | 49 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in createLUT()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SurfaceAnimationRunner.java | 19 import static android.util.TimeUtils.NANOS_PER_MS; 215 anim.setCurrentPlayTime(mChoreographer.getFrameIntervalNanos() / NANOS_PER_MS); in startAnimationLocked()
|
D | WindowAnimator.java | 153 mCurrentTime = frameTimeNs / TimeUtils.NANOS_PER_MS; in animate()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | Choreographer_Delegate.java | 58 AnimationUtils.lockAnimationClock(frameTimeNanos / TimeUtils.NANOS_PER_MS); in doFrame()
|
/frameworks/native/libs/input/ |
D | InputTransport.cpp | 44 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;
|
D | VelocityTracker.cpp | 39 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/ |
D | NetdEventListenerService.java | 19 import static android.util.TimeUtils.NANOS_PER_MS; 250 timestampMs = timestampNs / NANOS_PER_MS; in onWakeupEvent()
|
/frameworks/base/core/java/android/util/ |
D | TimeUtils.java | 95 public static final long NANOS_PER_MS = 1000000; field in TimeUtils
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 1481 int animIntervalMs = (int) (frameIntervalNanos / TimeUtils.NANOS_PER_MS); in getFrameCount()
|