Searched refs:getDefaultSensor (Results 1 – 21 of 21) sorted by relevance
55 Sensor const* getDefaultSensor(int type);
73 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
115 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
80 mSensor = mSensorManager.getDefaultSensor(USE_GRAVITY_SENSOR in WindowOrientationListener()
59 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
113 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener()165 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
427 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in SensorManager
140 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);193 mOrientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);241 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD);262 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);283 mProximity = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);
192 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);282 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY);301 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE);381 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION);415 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR);
421 android.hardware.SensorManager#getDefaultSensor getDefaultSensor()} method and passing in the type430 if (mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD) != null){469 if (mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY) != null){481 if (mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null){482 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);561 mLight = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT);654 if (mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE) != null){
120 mPressure = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE);
56 mRotationVectorSensor = mSensorManager.getDefaultSensor( in SimpleModelView()
79 mAcceleration = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in CamGLSurfaceView()
3073 mProximitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in systemReady()3076 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in systemReady()
200 NO DOC BLOCK: android.hardware.SensorManager Method getDefaultSensor(int)
9530 method public android.hardware.Sensor getDefaultSensor(int);
9566 method public android.hardware.Sensor getDefaultSensor(int);
9851 method public android.hardware.Sensor getDefaultSensor(int);