HomeSort by relevance Sort by last modified time
    Searched refs:TYPE_ACCELEROMETER (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/base/core/java/android/hardware/
Sensor.java 36 public static final int TYPE_ACCELEROMETER = 1;
SensorManager.java 60 * mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
678 case Sensor.TYPE_ACCELEROMETER:
701 case Sensor.TYPE_ACCELEROMETER:
823 result = registerLegacyListener(SENSOR_ACCELEROMETER, Sensor.TYPE_ACCELEROMETER,
    [all...]
  /development/samples/RenderScript/Balls/src/com/example/android/rs/balls/
Balls.java 62 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {
88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER),
  /frameworks/base/services/sensorservice/tests/
sensorservicetest.cpp 46 if (buffer[i].type == Sensor::TYPE_ACCELEROMETER) {
73 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
  /hardware/ti/omap4xxx/camera/
SensorListener.cpp 49 if (sen_events[i].type == Sensor::TYPE_ACCELEROMETER) {
205 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
224 sensor = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorTest.java 78 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
83 assertEquals(Sensor.TYPE_ACCELEROMETER, sensor.getType());
  /frameworks/base/core/java/android/view/
OrientationEventListener.java 71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values);
WindowOrientationListener.java 82 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
  /frameworks/base/core/java/android/webkit/
DeviceMotionService.java 138 List<Sensor> sensors = getSensorManager().getSensorList(Sensor.TYPE_ACCELEROMETER);
159 assert(event.sensor.getType() == Sensor.TYPE_ACCELEROMETER);
DeviceOrientationService.java 145 List<Sensor> sensors = getSensorManager().getSensorList(Sensor.TYPE_ACCELEROMETER);
197 case Sensor.TYPE_ACCELEROMETER:
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestActivity.java 69 Sensor.TYPE_ACCELEROMETER).get(0), SensorManager.SENSOR_DELAY_UI);
AccelerometerTestRenderer.java 257 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {
  /cts/tests/tests/view/src/android/view/cts/
OrientationEventListenerTest.java 89 boolean hasSensor = (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null);
  /frameworks/base/include/gui/
Sensor.h 48 TYPE_ACCELEROMETER = ASENSOR_TYPE_ACCELEROMETER,
  /packages/apps/Phone/src/com/android/phone/
AccelerometerListener.java 69 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
  /development/samples/Compass/src/com/example/android/compass/
CompassActivity.java 77 Sensor gsensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
211 if (type == Sensor.TYPE_ACCELEROMETER) {
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
SensorTest.java 141 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 346 mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
379 if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER)
  /development/samples/ApiDemos/src/com/example/android/apis/os/
Sensors.java 226 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER),
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
EyePosition.java 87 mSensor = sManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
192 case Sensor.TYPE_ACCELEROMETER: {
  /cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java 219 Sensor.TYPE_ACCELEROMETER);
  /prebuilt/sdk/11/
android.jar 
  /prebuilt/sdk/12/
android.jar 
  /prebuilt/sdk/13/
android.jar 
  /prebuilt/sdk/14/
android.jar 

Completed in 1558 milliseconds

1 2