Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/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/native/services/sensorservice/tests/
Dsensorservicetest.cpp48 if (buffer[i].type == Sensor::TYPE_ACCELEROMETER) { in receiver()
106 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java75 case Sensor.TYPE_ACCELEROMETER: in getSensors()
96 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener()
149 unregisterLegacyListener(SensorManager.SENSOR_ACCELEROMETER, Sensor.TYPE_ACCELEROMETER, in unregisterListener()
356 case Sensor.TYPE_ACCELEROMETER: in getLegacySensorType()
DSensor.java42 public static final int TYPE_ACCELEROMETER = 1; field in Sensor
1159 case TYPE_ACCELEROMETER: in setType()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h48 TYPE_ACCELEROMETER = ASENSOR_TYPE_ACCELEROMETER, enumerator
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java123 ? Sensor.TYPE_GRAVITY : Sensor.TYPE_ACCELEROMETER); in WindowOrientationListener()
160 if (mSensor.getType() == Sensor.TYPE_ACCELEROMETER) { in enable()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java126 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java66 Sensor.TYPE_ACCELEROMETER,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12406 field public static final int TYPE_ACCELEROMETER = 1; // 0x1
/frameworks/base/api/
Dcurrent.txt16855 field public static final int TYPE_ACCELEROMETER = 1; // 0x1