/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | TestUtils.java | 20 import android.hardware.SensorEvent; 29 public static SensorEvent createSensorEvent(Sensor sensor, int lux) throws Exception { in createSensorEvent() 30 final Constructor<SensorEvent> constructor = in createSensorEvent() 31 SensorEvent.class.getDeclaredConstructor(int.class); in createSensorEvent() 33 final SensorEvent event = constructor.newInstance(1); in createSensorEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | SensorLoggerSession.java | 21 import static com.android.systemui.statusbar.phone.nano.TouchAnalyticsProto.Session.SensorEvent; 44 private ArrayList<SensorEvent> mSensorEvents = new ArrayList<>(); 75 public void addSensorEvent(android.hardware.SensorEvent eventOrig, long systemTimeNanos) { in addSensorEvent() 76 SensorEvent event = sensorEventToProto(eventOrig, systemTimeNanos); in addSensorEvent() 125 private SensorEvent sensorEventToProto(android.hardware.SensorEvent ev, long sysTimeNanos) { in sensorEventToProto() 126 SensorEvent proto = new SensorEvent(); in sensorEventToProto()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | SensorManagerPlugin.java | 51 void onSensorChanged(SensorEvent event); in onSensorChanged() 79 class SensorEvent { class 90 public SensorEvent(Sensor sensor, int vendorType) { in SensorEvent() method in SensorManagerPlugin.SensorEvent 101 public SensorEvent(Sensor sensor, int vendorType, float[] values) { in SensorEvent() method in SensorManagerPlugin.SensorEvent
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 24 import android.hardware.SensorEvent; 260 SensorEvent event = createSensorEvent(values.length); in sendSensorEvent() 267 private SensorEvent createSensorEvent(int valuesSize) { in createSensorEvent() 268 SensorEvent event; in createSensorEvent() 270 Constructor<SensorEvent> constr = in createSensorEvent() 271 SensorEvent.class.getDeclaredConstructor(Integer.TYPE); in createSensorEvent()
|
/frameworks/base/core/java/android/hardware/ |
D | SensorEvent.java | 58 public class SensorEvent { class 655 SensorEvent(int valueSize) { in SensorEvent() method in SensorEvent
|
D | SensorEventListener.java | 43 public void onSensorChanged(SensorEvent event); in onSensorChanged()
|
D | SensorEventCallback.java | 30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged()
|
D | SystemSensorManager.java | 780 private final SparseArray<SensorEvent> mSensorsEvents = new SparseArray<SensorEvent>(); 790 SensorEvent t = new SensorEvent(Sensor.getMaxLengthValuesArray(sensor, in addSensorEvent() 815 SensorEvent t = null; in dispatchSensorEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Classifier.java | 20 import android.hardware.SensorEvent; 70 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
D | ProximityClassifier.java | 20 import android.hardware.SensorEvent; 43 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
D | HumanInteractionClassifier.java | 21 import android.hardware.SensorEvent; 209 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | ProximitySensor.java | 22 import android.hardware.SensorEvent; 48 public synchronized void onSensorChanged(SensorEvent event) { 168 private void onSensorEvent(SensorEvent event) { in onSensorEvent()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 23 import android.hardware.SensorEvent; 73 public final void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 42 import android.hardware.SensorEvent; 59 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 21 import android.hardware.SensorEvent; 118 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 23 import android.hardware.SensorEvent; 79 public final void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 26 import android.hardware.SensorEvent; 108 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
D | GestureLauncherService.java | 28 import android.hardware.SensorEvent; 463 public void onSensorChanged(SensorEvent event) { in onSensorChanged() 488 private void trackCameraLaunchEvent(SensorEvent event) { in trackCameraLaunchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | touch_analytics.proto | 60 message SensorEvent { message 131 repeated SensorEvent sensorEvents = 6;
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 22 import android.hardware.SensorEvent; 207 public void onSensorChanged(SensorEvent event) {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 22 import android.hardware.SensorEvent; 171 public void onSensorChanged(SensorEvent event) { in createWithProxSensor()
|
D | WindowOrientationListener.java | 24 import android.hardware.SensorEvent; 348 public abstract void onSensorChanged(SensorEvent event); in onSensorChanged() 626 public void onSensorChanged(SensorEvent event) { in onSensorChanged() 1048 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 102 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce() 109 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 24 import android.hardware.SensorEvent; 135 public void onSensorChanged(SensorEvent event) { in onSensorChanged()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 50 import android.hardware.SensorEvent; 405 private SensorEvent createSensorEvent(int rotation) throws Exception { in createSensorEvent() 406 final Constructor<SensorEvent> constructor = in createSensorEvent() 407 SensorEvent.class.getDeclaredConstructor(int.class); in createSensorEvent() 409 final SensorEvent event = constructor.newInstance(1); in createSensorEvent()
|