Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java186 final JSONObject touchData = new JSONObject( in syncTouchPressure() local
188 if (touchData.has("min")) { in syncTouchPressure()
189 mPressureMin = Math.min(mPressureMin, touchData.getDouble("min")); in syncTouchPressure()
191 if (touchData.has("max")) { in syncTouchPressure()
192 mPressureMax = Math.max(mPressureMax, touchData.getDouble("max")); in syncTouchPressure()
195 touchData.put("min", mPressureMin); in syncTouchPressure()
196 touchData.put("max", mPressureMax); in syncTouchPressure()
199 touchData.toString()); in syncTouchPressure()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DPainting.kt217 val touchData = JSONObject( in loadDevicePressureData() constant
219 if (touchData.has("min")) devicePressureMin = touchData.getDouble("min").toFloat() in loadDevicePressureData()
220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData()