/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 38 private final SensorManager mSensorManager; 44 public LegacySensorManager(SensorManager sensorManager) { in LegacySensorManager() 47 synchronized (SensorManager.class) { in LegacySensorManager() 75 result |= SensorManager.SENSOR_ACCELEROMETER; in getSensors() 78 result |= SensorManager.SENSOR_MAGNETIC_FIELD; in getSensors() 81 result |= SensorManager.SENSOR_ORIENTATION in getSensors() 82 | SensorManager.SENSOR_ORIENTATION_RAW; in getSensors() 94 result = registerLegacyListener(SensorManager.SENSOR_ACCELEROMETER, in registerListener() 96 result = registerLegacyListener(SensorManager.SENSOR_MAGNETIC_FIELD, in registerListener() 98 result = registerLegacyListener(SensorManager.SENSOR_ORIENTATION_RAW, in registerListener() [all …]
|
D | SensorManager.java | 79 public abstract class SensorManager { class 361 public SensorManager() { in SensorManager() method in SensorManager
|
/frameworks/native/libs/gui/ |
D | SensorManager.cpp | 39 ANDROID_SINGLETON_STATIC_INSTANCE(SensorManager) in ANDROID_SINGLETON_STATIC_INSTANCE() argument 41 SensorManager::SensorManager() in ANDROID_SINGLETON_STATIC_INSTANCE() 48 SensorManager::~SensorManager() in ~SensorManager() 53 void SensorManager::sensorManagerDied() in sensorManagerDied() 62 status_t SensorManager::assertStateLocked() const { in assertStateLocked() 79 SensorManager& mSensorManger; in assertStateLocked() 85 DeathObserver(SensorManager& mgr) : mSensorManger(mgr) { } in assertStateLocked() 88 mDeathObserver = new DeathObserver(*const_cast<SensorManager *>(this)); in assertStateLocked() 104 ssize_t SensorManager::getSensorList(Sensor const* const** list) const in getSensorList() 115 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() [all …]
|
D | Android.mk | 26 SensorManager.cpp \
|
/frameworks/native/include/gui/ |
D | SensorManager.h | 46 class SensorManager : 48 public Singleton<SensorManager> 51 SensorManager(); 52 ~SensorManager();
|
/frameworks/base/native/android/ |
D | sensor.cpp | 35 using android::SensorManager; 43 return &SensorManager::getInstance(); in ASensorManager_getInstance() 50 int c = static_cast<SensorManager*>(manager)->getSensorList(&l); in ASensorManager_getSensorList() 59 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor() 66 static_cast<SensorManager*>(manager)->createEventQueue(); in ASensorManager_createEventQueue()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 25 import android.hardware.SensorManager; 36 private SensorManager mSensorManager = null; 54 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare() 59 mSensorManager.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI); in onPrepare()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 44 import android.hardware.SensorManager; 54 private SensorManager mSensorManager; 77 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); in onCreate() 89 SensorManager.SENSOR_DELAY_FASTEST); in onResume()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 23 import android.hardware.SensorManager; 35 private SensorManager mSensorManager; 56 this(context, SensorManager.SENSOR_DELAY_NORMAL); in OrientationEventListener() 69 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in OrientationEventListener()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 25 import android.hardware.SensorManager; 38 private SensorManager mSensorManager = null; 60 mSensorManager = (SensorManager)getContext().getApplicationContext() in onPrepare() 65 mSensorManager.registerListener(this, mSensor, SensorManager.SENSOR_DELAY_UI); in onPrepare()
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelView.java | 27 import android.hardware.SensorManager; 40 private SensorManager mSensorManager; 54 mSensorManager = (SensorManager)getContext().getSystemService(Context.SENSOR_SERVICE); in SimpleModelView() 178 SensorManager.getRotationMatrixFromVector( in onSensorChanged()
|
/frameworks/base/services/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 22 import android.hardware.SensorManager; 96 private static final double MIN_GRAVITY = SensorManager.GRAVITY_EARTH - 1.0f; 97 private static final double MAX_GRAVITY = SensorManager.GRAVITY_EARTH + 1.0f; 101 private final SensorManager mSensorManager; 143 public WirelessChargerDetector(SensorManager sensorManager, in WirelessChargerDetector()
|
D | DisplayPowerController.java | 31 import android.hardware.SensorManager; 191 private final SensorManager mSensorManager; 354 LightsService lights, TwilightService twilight, SensorManager sensorManager, in DisplayPowerController() 827 SensorManager.SENSOR_DELAY_NORMAL, mHandler); in setProximitySensorEnabled()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 17 <li>{@link android.hardware.SensorManager}</li> 135 private SensorManager mSensorManager; 138 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 171 {@link android.hardware.SensorManager#getRotationMatrix getRotationMatrix()} method in conjunction 173 values. You can also use the {@link android.hardware.SensorManager#remapCoordinateSystem 183 private SensorManager mSensorManager; 191 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 204 mSensorManager.registerListener(this, mOrientation, SensorManager.SENSOR_DELAY_NORMAL); 236 private SensorManager mSensorManager; 239 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); [all …]
|
D | sensors_overview.jd | 27 <li>{@link android.hardware.SensorManager}</li> 178 the {@link android.hardware.SensorManager#getRotationMatrix getRotationMatrix()} 227 <dt>{@link android.hardware.SensorManager}</dt> 397 service. To do this, you create an instance of the {@link android.hardware.SensorManager} class by 402 private SensorManager mSensorManager; 404 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 408 {@link android.hardware.SensorManager#getSensorList getSensorList()} method and using the {@link 421 android.hardware.SensorManager#getDefaultSensor getDefaultSensor()} method and passing in the type 427 private SensorManager mSensorManager; 429 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); [all …]
|
D | sensors_motion.jd | 19 <li>{@link android.hardware.SensorManager}</li> 187 private SensorManager mSensorManager; 190 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 277 private SensorManager mSensorManager; 280 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 296 private SensorManager mSensorManager; 299 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 356 SensorManager.getRotationMatrixFromVector(deltaRotationMatrix, deltaRotationVector); 376 private SensorManager mSensorManager; 379 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); [all …]
|
D | sensors_environment.jd | 101 android.hardware.SensorManager} class, which you can use to get an instance of a physical sensor. 109 private SensorManager mSensorManager; 119 mSensorManager = (SensorManager) getSystemService(Context.SENSOR_SERVICE); 138 mSensorManager.registerListener(this, mPressure, SensorManager.SENSOR_DELAY_NORMAL);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
D | WindowOrientationListener.java | 23 import android.hardware.SensorManager; 52 private SensorManager mSensorManager; 68 this(context, handler, SensorManager.SENSOR_DELAY_UI); in WindowOrientationListener() 85 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in WindowOrientationListener() 319 SensorManager.STANDARD_GRAVITY - ACCELERATION_TOLERANCE; 321 SensorManager.STANDARD_GRAVITY + ACCELERATION_TOLERANCE;
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 64 SensorManager& mgr(SensorManager::getInstance()); in main()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 81 SensorManager& mgr(SensorManager::getInstance()); in nativeGetNextSensor() 191 SensorManager& mgr(SensorManager::getInstance()); in nativeInitSensorEventQueue()
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 42 import android.hardware.SensorManager; 78 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in CamGLSurfaceView() 112 mSensorManager.registerListener(this, mAcceleration, SensorManager.SENSOR_DELAY_GAME); in onResume() 133 SensorManager mSensorManager;
|
/frameworks/base/core/java/android/widget/ |
D | Scroller.java | 20 import android.hardware.SensorManager; 202 return SensorManager.GRAVITY_EARTH // g (m/s^2) in computeDeceleration()
|
D | OverScroller.java | 20 import android.hardware.SensorManager; 644 mPhysicalCoeff = SensorManager.GRAVITY_EARTH // g (m/s^2) in SplineOverScroller()
|
/frameworks/base/docs/html/sdk/api_diff/3/ |
D | missingSinces.txt | 200 NO DOC BLOCK: android.hardware.SensorManager Method getDefaultSensor(int) 214 NO DOC BLOCK: android.hardware.SensorManager Method getInclination(float[]) 247 NO DOC BLOCK: android.hardware.SensorManager Method getOrientation(float[], float[]) 253 NO DOC BLOCK: android.hardware.SensorManager Method getRotationMatrix(float[], float[], float[], fl… 263 NO DOC BLOCK: android.hardware.SensorManager Method getSensorList(int) 364 NO DOC BLOCK: android.hardware.SensorManager Method registerListener(android.hardware.SensorEventLi… 365 NO DOC BLOCK: android.hardware.SensorManager Method registerListener(android.hardware.SensorEventLi… 366 NO DOC BLOCK: android.hardware.SensorManager Method remapCoordinateSystem(float[], int, int, float[… 465 NO DOC BLOCK: android.hardware.SensorManager Method unregisterListener(android.hardware.SensorEvent… 466 NO DOC BLOCK: android.hardware.SensorManager Method unregisterListener(android.hardware.SensorEvent… [all …]
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 36 import android.hardware.SensorManager;
|