Home
last modified time | relevance | path

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

/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt73 var devicePressureMax = 1f; // ideal value variable
220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData()
222 if (devicePressureMax < devicePressureMin) devicePressureMax = devicePressureMin + 1f in loadDevicePressureData()
228 if (pressure > devicePressureMax) devicePressureMax = pressure in adjustPressure()
230 return invlerp(pressure, devicePressureMin, devicePressureMax) in adjustPressure()