Home
last modified time | relevance | path

Searched refs:previousTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/utils/
DAmbientFilter.java230 float previousTime = 0.0f; in getWeights() local
233 final float weight = calculateIntegral(previousTime, currentTime); in getWeights()
235 previousTime = currentTime; in getWeights()
238 final float lastWeight = calculateIntegral(previousTime, lastTime); in getWeights()
/frameworks/base/media/packages/BluetoothMidiService/tests/unit/src/com/android/bluetoothmidiservice/
DBluetoothMidiDecoderTest.java56 long previousTime = 0; in compareWithExpected() local
69 Log.d(TAG, "previousTime = " + previousTime + ", currentTime = " + currentTime); in compareWithExpected()
70 assertTrue(currentTime >= previousTime); in compareWithExpected()
71 previousTime = currentTime; in compareWithExpected()
DBluetoothMidiCodecTest.java162 long previousTime = 0; in test() local
174 Log.d(TAG, "previousTime = " + previousTime in test()
176 assertTrue(currentTime >= previousTime); in test()
177 previousTime = currentTime; in test()
/frameworks/native/services/gpuservice/gpuwork/
DGpuWork.cpp435 auto previousTime = std::chrono::steady_clock::now(); in periodicallyClearMap() local
443 std::chrono::duration_cast<std::chrono::seconds>(nextTime - previousTime); in periodicallyClearMap()
448 previousTime = nextTime; in periodicallyClearMap()