Home
last modified time | relevance | path

Searched refs:sensorManager (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DFalsingManager.java39 private final SensorManager sensorManager; field in FalsingManager
47 sensorManager = context.getSystemService(SensorManager.class); in FalsingManager()
121 sensorManager.unregisterListener(this); in sessionExitpoint()
137 Sensor s = sensorManager.getDefaultSensor(sensorType); in registerSensors()
141 sensorManager.registerListener(this, s, SensorManager.SENSOR_DELAY_GAME); in registerSensors()
/packages/apps/Dialer/java/com/android/incallui/
DAccelerometerListener.java45 private SensorManager sensorManager; field in AccelerometerListener
92 sensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); in AccelerometerListener()
93 sensor = sensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AccelerometerListener()
108 sensorManager.registerListener(sensorListener, sensor, SensorManager.SENSOR_DELAY_NORMAL); in enable()
110 sensorManager.unregisterListener(sensorListener); in enable()
/packages/apps/DevCamera/src/com/android/devcamera/
DGyroOperations.java45 public GyroOperations(SensorManager sensorManager) { in GyroOperations() argument
46 mSensorManager = sensorManager; in GyroOperations()
DDevCameraActivity.java549 SensorManager sensorManager = (SensorManager) getSystemService(this.SENSOR_SERVICE); in startGyroDisplay() local
550 mGyroOperations = new GyroOperations(sensorManager); in startGyroDisplay()
/packages/apps/Camera2/src/com/android/camera/hardware/
DHeadingSensor.java58 public HeadingSensor(SensorManager sensorManager) { in HeadingSensor() argument
59 mSensorManager = sensorManager; in HeadingSensor()
/packages/apps/Settings/src/com/android/settings/gestures/
DDoubleTwistPreferenceController.java59 final SensorManager sensorManager = in isGestureAvailable() local
61 for (Sensor s : sensorManager.getSensorList(Sensor.TYPE_ALL)) { in isGestureAvailable()