Searched refs:touchData (Results 1 – 2 of 2) sorted by relevance
215 final JSONObject touchData = new JSONObject( in syncTouchPressure() local217 if (touchData.has("min")) { in syncTouchPressure()218 mPressureMin = Math.min(mPressureMin, touchData.getDouble("min")); in syncTouchPressure()220 if (touchData.has("max")) { in syncTouchPressure()221 mPressureMax = Math.max(mPressureMax, touchData.getDouble("max")); in syncTouchPressure()224 touchData.put("min", mPressureMin); in syncTouchPressure()225 touchData.put("max", mPressureMax); in syncTouchPressure()226 Settings.System.putString(getContentResolver(), TOUCH_STATS, touchData.toString()); in syncTouchPressure()
217 val touchData = JSONObject( in loadDevicePressureData() constant219 if (touchData.has("min")) devicePressureMin = touchData.getDouble("min").toFloat() in loadDevicePressureData()220 if (touchData.has("max")) devicePressureMax = touchData.getDouble("max").toFloat() in loadDevicePressureData()