Searched refs:TYPE_ACCELEROMETER (Results 1 – 15 of 15) sorted by relevance
47 if (buffer[i].type == Sensor::TYPE_ACCELEROMETER) { in receiver()74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
62 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { in onSensorChanged()88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values); in onSensorChanged()
74 case Sensor.TYPE_ACCELEROMETER: in getSensors()95 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener()148 unregisterLegacyListener(SensorManager.SENSOR_ACCELEROMETER, Sensor.TYPE_ACCELEROMETER, in unregisterListener()355 case Sensor.TYPE_ACCELEROMETER: in getLegacySensorType()
39 public static final int TYPE_ACCELEROMETER = 1; field in Sensor1045 case TYPE_ACCELEROMETER: in setType()
48 TYPE_ACCELEROMETER = ASENSOR_TYPE_ACCELEROMETER, enumerator
51 Sensor.TYPE_ACCELEROMETER,
116 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
98 ? Sensor.TYPE_GRAVITY : Sensor.TYPE_ACCELEROMETER); in WindowOrientationListener()
125 <td>{@link android.hardware.Sensor#TYPE_ACCELEROMETER}</td>290 <td>{@link android.hardware.Sensor#TYPE_ACCELEROMETER}</td>482 if (mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null){483 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
86 <td rowspan="3">{@link android.hardware.Sensor#TYPE_ACCELEROMETER}</td>240 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
12406 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
13522 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
13535 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
13965 field public static final int TYPE_ACCELEROMETER = 1; // 0x1