Home
last modified time | relevance | path

Searched refs:TYPE_ACCELEROMETER (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp47 if (buffer[i].type == Sensor::TYPE_ACCELEROMETER) { in receiver()
74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/
DBalls.java62 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) { in onSensorChanged()
88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values); in onSensorChanged()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java74 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()
DSensor.java39 public static final int TYPE_ACCELEROMETER = 1; field in Sensor
1045 case TYPE_ACCELEROMETER: in setType()
/frameworks/native/include/gui/
DSensor.h48 TYPE_ACCELEROMETER = ASENSOR_TYPE_ACCELEROMETER, enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManager.java51 Sensor.TYPE_ACCELEROMETER,
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java116 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java98 ? Sensor.TYPE_GRAVITY : Sensor.TYPE_ACCELEROMETER); in WindowOrientationListener()
/frameworks/base/docs/html/guide/topics/sensors/
Dsensors_overview.jd125 <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);
Dsensors_motion.jd86 <td rowspan="3">{@link android.hardware.Sensor#TYPE_ACCELEROMETER}</td>
240 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12406 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt13522 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
Dtest-current.txt13535 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
Dsystem-current.txt13965 field public static final int TYPE_ACCELEROMETER = 1; // 0x1