Home
last modified time | relevance | path

Searched refs:NS_PER_MS (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/view/
DMotionEvent.java169 private static final long NS_PER_MS = 1000000; field in MotionEvent
1568 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain()
1669 downTime * NS_PER_MS, eventTime * NS_PER_MS, in obtain()
1913 return nativeGetDownTimeNanos(mNativePtr) / NS_PER_MS; in getDownTime()
1923 nativeSetDownTimeNanos(mNativePtr, downTime * NS_PER_MS); in setDownTime()
1935 return nativeGetEventTimeNanos(mNativePtr, HISTORY_CURRENT) / NS_PER_MS; in getEventTime()
2441 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS; in getHistoricalEventTime()
2919 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pc, metaState); in addBatch()
2935 nativeAddBatch(mNativePtr, eventTime * NS_PER_MS, pointerCoords, metaState); in addBatch()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java483 final long NS_PER_MS = 1000000; in waitForAndGetProvider() local
484 final long timeoutTimeMs = System.nanoTime() / NS_PER_MS + WAIT_TIMEOUT_MS; in waitForAndGetProvider()
490 final long timeNowMs = System.nanoTime() / NS_PER_MS; in waitForAndGetProvider()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyMetadataMapper.java60 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()