code></td>
    <td>Pitch (angle around the x-axis).</td>
  </tr>
  <tr>
    <td><code>SensorEvent.values[2]</code></td>
    <td>Roll (angle around the y-axis).</td>
  </tr>
  <tr>
    <td><code><a href="../../../reference/android/hardware/Sensor.html#TYPE_PROXIMITY">TYPE_PROXIMITY</a></code></td>
    <td><code>SensorEvent.values[0]</code></td>
    <td>Distance from object.<sup>2</sup></td>
    <td>cm</td>
  </tr>
</table>

<p class="note"><sup><strong>1</strong></sup> This sensor was deprecated in Android 2