Home
last modified time | relevance | path

Searched refs:deltaMillis (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DMidiBtleTimeTracker.java54 long deltaMillis = timestamp - mPreviousTimestamp; in convertTimestampToNanotime() local
56 if (deltaMillis < 0) { in convertTimestampToNanotime()
57 deltaMillis += RANGE_MILLIS; in convertTimestampToNanotime()
59 mPeripheralTimeMillis += deltaMillis; in convertTimestampToNanotime()
/frameworks/libs/systemui/toruslib/torus-core/src/main/java/com/google/android/torus/core/power/
DFpsThrottler.kt104 val deltaMillis = (frameTimeNanos - lastFrameTimeNanos) * NANO_TO_MILLIS in canRender() constant
105 return (deltaMillis >= frameTimeMillis) && (fps > 0f) in canRender()
/frameworks/libs/systemui/weathereffects/src/com/google/android/wallpaper/weathereffects/
DWeatherEngine.kt112 override fun onUpdate(deltaMillis: Long, frameTimeNanos: Long) { in <lambda>()
113 super.onUpdate(deltaMillis, frameTimeNanos) in <lambda>()
114 activeEffect?.update(deltaMillis, frameTimeNanos) in <lambda>()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/
DWeatherEffect.kt40 fun update(deltaMillis: Long, frameTimeNanos: Long)
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/none/
DNoEffect.kt32 override fun update(deltaMillis: Long, frameTimeNanos: Long) {} in update()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/snow/
DSnowEffect.kt63 override fun update(deltaMillis: Long, frameTimeNanos: Long) { in <lambda>()
64 elapsedTime += snowSpeed * deltaMillis * MILLIS_TO_SECONDS in <lambda>()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/fog/
DFogEffect.kt49 override fun update(deltaMillis: Long, frameTimeNanos: Long) { in resize()
50 val deltaTime = deltaMillis * MILLIS_TO_SECONDS in resize()
/frameworks/libs/systemui/weathereffects/graphics/src/main/java/com/google/android/wallpaper/weathereffects/graphics/rain/
DRainEffect.kt63 override fun update(deltaMillis: Long, frameTimeNanos: Long) { in <lambda>()
64 elapsedTime += deltaMillis * MILLIS_TO_SECONDS in <lambda>()
/frameworks/native/libs/input/
DVelocityTracker.cpp704 float deltaMillis = in chooseWeight() local
706 if (deltaMillis < 0) { in chooseWeight()
709 if (deltaMillis < 10) { in chooseWeight()
710 return 0.5f + deltaMillis * 0.05; in chooseWeight()
/frameworks/libs/systemui/toruslib/torus-framework-canvas/src/main/java/com/google/android/torus/canvas/engine/
DCanvasWallpaperEngine.kt117 open fun onUpdate(deltaMillis: Long, frameTimeNanos: Long) { in onUpdate()