Lines Matching defs:values

22  * course the sensor's {@link SensorEvent#values data}.
37 * screen. In this system, coordinates behind the screen have negative Z values.
59 * The length and contents of the {@link #values values} array depends on
65 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2)
68 * <li> values[0]: Acceleration minus Gx on the x-axis </li>
69 * <li> values[1]: Acceleration minus Gy on the y-axis </li>
70 * <li> values[2]: Acceleration minus Gz on the z-axis </li>
117 * gravity[0] = alpha * gravity[0] + (1 - alpha) * event.values[0];
118 * gravity[1] = alpha * gravity[1] + (1 - alpha) * event.values[1];
119 * gravity[2] = alpha * gravity[2] + (1 - alpha) * event.values[2];
121 * linear_acceleration[0] = event.values[0] - gravity[0];
122 * linear_acceleration[1] = event.values[1] - gravity[1];
123 * linear_acceleration[2] = event.values[2] - gravity[2];
146 * All values are in micro-Tesla (uT) and measure the ambient magnetic field
150 * </h4> All values are in radians/second and measure the rate of rotation
160 * <li> values[0]: Angular speed around the x-axis </li>
161 * <li> values[1]: Angular speed around the y-axis </li>
162 * <li> values[2]: Angular speed around the z-axis </li>
181 * float axisX = event.values[0];
182 * float axisY = event.values[1];
183 * float axisZ = event.values[2];
222 * <li>values[0]: Ambient light level in SI lux units </li>
227 * <li>values[0]: Atmospheric pressure in hPa (millibar) </li>
234 * <li>values[0]: Proximity sensor distance measured in centimeters </li>
252 * gravity. All values have units of m/s^2. The coordinate system is the same as is used by the
290 * <li> values[0]: x*sin(&#952/2) </li>
291 * <li> values[1]: y*sin(&#952/2) </li>
292 * <li> values[2]: z*sin(&#952/2) </li>
293 * <li> values[3]: cos(&#952/2) </li>
294 * <li> values[4]: estimated heading Accuracy (in radians) (-1 if unavailable)</li>
296 * <p> values[3], originally optional, will always be present from SDK Level 18 onwards.
297 * values[4] is a new value that has been added in SDK Level 18.
301 * Sensor.TYPE_ORIENTATION}:</h4> All values are angles in degrees.
304 * <li> values[0]: Azimuth, angle between the magnetic north direction and the
310 * values[1]: Pitch, rotation around x-axis (-180 to 180), with positive
311 * values when the z-axis moves <b>toward</b> the y-axis.
315 * values[2]: Roll, rotation around the x-axis (-90 to 90)
333 * compute these values instead.
345 * <li> values[0]: Relative ambient air humidity in percent </li>
402 * <li> values[0]: ambient (room) temperature in degree Celsius.</li>
414 * The values array is shown below:
416 * <li> values[0] = x_uncalib </li>
417 * <li> values[1] = y_uncalib </li>
418 * <li> values[2] = z_uncalib </li>
419 * <li> values[3] = x_bias </li>
420 * <li> values[4] = y_bias </li>
421 * <li> values[5] = z_bias </li>
427 * calibration is not applied. The values are in micro-Tesla (uT).
432 * The values are in micro-Tesla (uT).
450 * for a detailed description of the values. This sensor will not have
456 * All values are in radians/second and measure the rate of rotation
472 * <li> values[0] : angular speed (w/o drift compensation) around the X axis in rad/s </li>
473 * <li> values[1] : angular speed (w/o drift compensation) around the Y axis in rad/s </li>
474 * <li> values[2] : angular speed (w/o drift compensation) around the Z axis in rad/s </li>
475 * <li> values[3] : estimated drift around X axis in rad/s </li>
476 * <li> values[4] : estimated drift around Y axis in rad/s </li>
477 * <li> values[5] : estimated drift around Z axis in rad/s </li>
480 * <p><b>Pro Tip:</b> Always use the length of the values array while performing operations
485 public final float[] values;
505 values = new float[valueSize];