0

while using pointer location(available in developer options) in android it shows some values of pressure and size . what are the units of size and pressure . Somewhere I read that it is the normalized pressure , but normalized with reference to what .. it should also have some units right ?

1 Answers1

0

There are no units. Pressure is just a floating point ranging from 0 to 1.

The pressure generally ranges from 0 (no pressure at all) to 1 (normal pressure), although values higher than 1 may be generated depending on the calibration of the input device.

Source: http://developer.android.com/reference/android/view/MotionEvent.PointerCoords.html#pressure

Chris Stillwell
  • 10,266
  • 10
  • 67
  • 77