Home
last modified time | relevance | path

Searched refs:SensorEventListener (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java25 import android.hardware.SensorEventListener;
89 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl()
96 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
107 protected boolean flushImpl(SensorEventListener listener) { in flushImpl()
201 final ArraySet<SensorEventListener> listeners = new ArraySet<>();
210 for (SensorEventListener listener : listeners) { in sendProximityResult()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java22 import android.hardware.SensorEventListener;
39 private SensorEventListener mSensorEventListener;
113 class SensorEventListenerImpl implements SensorEventListener {
/frameworks/base/core/java/android/hardware/
DSensorManager.java641 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener()
659 public void unregisterListener(SensorEventListener listener) { in unregisterListener()
668 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl()
722 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
779 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
814 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener()
845 … public boolean registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, in registerListener()
852 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
876 public boolean flush(SensorEventListener listener) { in flush()
881 protected abstract boolean flushImpl(SensorEventListener listener); in flushImpl()
DSystemSensorManager.java86 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners =
87 new HashMap<SensorEventListener, SensorEventQueue>();
144 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl()
191 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl()
274 protected boolean flushImpl(SensorEventListener listener) { in flushImpl()
353 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = in cleanupSensorConnection()
354 new HashMap<SensorEventListener, SensorEventQueue>(mSensorListeners); in cleanupSensorConnection()
356 for (SensorEventListener l: sensorListeners.keySet()) { in cleanupSensorConnection()
772 private final SensorEventListener mListener;
775 public SensorEventQueue(SensorEventListener listener, Looper looper, in SensorEventQueue()
DSensorEventListener2.java22 public interface SensorEventListener2 extends SensorEventListener {
DSensorEventListener.java23 public interface SensorEventListener { interface
DLegacySensorManager.java206 private static final class LegacyListener implements SensorEventListener {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java24 import android.hardware.SensorEventListener;
34 public final class MotionSensor extends Filter implements SensorEventListener {
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBalls.java43 import android.hardware.SensorEventListener;
46 public class Balls extends Activity implements SensorEventListener {
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java24 import android.hardware.SensorEventListener;
36 public final class MotionSensorWTime extends Filter implements SensorEventListener {
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java27 import android.hardware.SensorEventListener;
40 implements SensorEventListener, LocationListener {
DAnyMotionDetector.java21 import android.hardware.SensorEventListener;
290 private final SensorEventListener mListener = new SensorEventListener() {
DGestureLauncherService.java29 import android.hardware.SensorEventListener;
332 private final class GestureEventListener implements SensorEventListener {
DDeviceIdleController.java35 import android.hardware.SensorEventListener;
425 implements SensorEventListener {
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java21 import android.hardware.SensorEventListener;
376 private final SensorEventListener mListener = new SensorEventListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java26 import android.hardware.SensorEventListener;
168 private class ProxSensor implements SensorEventListener {
DDozeTriggers.java27 import android.hardware.SensorEventListener;
243 private abstract class ProximityCheck implements SensorEventListener, Runnable {
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java25 import android.hardware.SensorEventListener;
598 private final SensorEventListener mLightSensorListener = new SensorEventListener() {
DDisplayPowerController.java29 import android.hardware.SensorEventListener;
1385 private final SensorEventListener mProximitySensorListener = new SensorEventListener() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManager.java23 import android.hardware.SensorEventListener;
48 public class FalsingManager implements SensorEventListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java23 import android.hardware.SensorEventListener;
50 public class DataCollector implements SensorEventListener {
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java44 import android.hardware.SensorEventListener;
71 class CamGLSurfaceView extends GLSurfaceView implements SensorEventListener {
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java22 import android.hardware.SensorEventListener;
250 abstract class OrientationJudge implements SensorEventListener {
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
DMyGLSurfaceView.java38 import android.hardware.SensorEventListener;
/frameworks/base/
Dpreloaded-classes1143 android.hardware.SensorEventListener

12