Lines Matching refs:Sensor
24 import android.hardware.Sensor;
40 * sensor values. Since on wearable devices a full screen activity is very short-lived, we set the
64 * measured by the Gravity sensor, changes with a variation (delta) > GRAVITY_THRESHOLD,
70 private Sensor mSensor;
93 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY);
131 Log.d(TAG, "Successfully registered for the sensor updates");
141 Log.d(TAG, "Unregistered for sensor events");
151 public void onAccuracyChanged(Sensor sensor, int accuracy) {
157 * as measured by the Gravity Sensor is +9.8 when the hand is downward and -9.8 when the hand