Searched refs:NS_PER_MS (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | MotionEvent.java | 173 private static final long NS_PER_MS = 1000000; field in MotionEvent 1633 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 1734 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain() 1992 return nativeGetDownTimeNanos(mNativePtr) / NS_PER_MS; in getDownTime() 2002 nativeSetDownTimeNanos(mNativePtr, downTime * NS_PER_MS); in setDownTime() 2014 return nativeGetEventTimeNanos(mNativePtr, HISTORY_CURRENT) / NS_PER_MS; in getEventTime() 2522 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS; in getHistoricalEventTime() 3000 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pc, metaState); in addBatch() 3016 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pointerCoords, metaState); in addBatch()
|
/frameworks/base/services/core/java/com/android/server/webkit/ |
D | WebViewUpdater.java | 347 final long NS_PER_MS = 1000000; in waitForAndGetProvider() local 348 final long timeoutTimeMs = System.nanoTime() / NS_PER_MS + WAIT_TIMEOUT_MS; in waitForAndGetProvider() 354 final long timeNowMs = System.nanoTime() / NS_PER_MS; in waitForAndGetProvider()
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
D | LegacyMetadataMapper.java | 60 private static final long NS_PER_MS = 1000000; field in LegacyMetadataMapper 1198 long baseDuration = APPROXIMATE_CAPTURE_DELAY_MS * NS_PER_MS; // 200ms for capture in calculateJpegStallDuration() 1200 long stallPerArea = APPROXIMATE_JPEG_ENCODE_TIME_MS * NS_PER_MS / in calculateJpegStallDuration()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 5302 const int64_t NS_PER_MS = 1000000; in computeWaitTimeNs_l() local 5304 kMinNormalSinkBufferSizeMs * NS_PER_MS : PlaybackThread::computeWaitTimeNs_l(); in computeWaitTimeNs_l()
|