Searched defs:sensor (Results 1 - 4 of 4) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/hardware/ |
H A D | HeadingSensor.java | 27 * A virtual sensor that reports device heading based on information 28 * provided by accelerometer sensor or magnetic sensor. 38 /** Device sensor manager. */ 47 /** Magnetic sensor data. */ 53 * Constructs a heading sensor. 79 // Get events from the accelerometer and magnetic sensor. 106 int type = event.sensor.getType(); 113 Log.w(TAG, String.format("Unexpected sensor type %s", event.sensor 130 onAccuracyChanged(Sensor sensor, int accuracy) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | EyePosition.java | 91 Log.w(TAG, "no sensor available"); 184 public void onAccuracyChanged(Sensor sensor, int accuracy) { argument 189 switch (event.sensor.getType()) {
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
H A D | CarSensorManager.java | 42 * API for monitoring car sensor data. 48 * This sensor represents vehicle speed in m/s. 76 * around. For this sensor, rate in {@link #registerListener(CarSensorEventListener, int, int)} 89 * Day/night sensor. Sensor data is intValues[0]. 123 * Sensor type bigger than this is invalid. Always update this after adding a new sensor. 132 * So the sensor supported in this range can vary depending on car models / manufacturers. 134 * different cars. Additionally 3rd party apps trying to access sensor in this range will get 142 /** Read sensor in default normal rate set for each sensors. This is default rate. */ 146 /** Read sensor at the maximum rate. Actual rate will be different depending on the sensor 347 doUnregisterListenerLocked(CarSensorEventListener listener, Integer sensor, Iterator<Integer> sensorIterator) argument 370 registerOrUpdateSensorListener(int sensor, int rate) argument [all...] |
/packages/services/Car/service/src/com/android/car/ |
H A D | CarSensorService.java | 63 * Abstraction for logical sensor which is not physical sensor but presented as sensor to 67 * is state change for the given sensor after {@link SensorHalServiceBase#init()} 77 * When set, sensor service sets its own dispatching rate limit. 85 /** lock to access sensor structures */ 90 /** key: sensor type. */ 93 /** key: sensor type. */ 122 // This triggers sensor hal init as well. 217 Log.v(CarLog.TAG_SENSOR, "sensor Ha 766 addSensor(int sensor) argument 770 removeSensor(int sensor) argument [all...] |
Completed in 550 milliseconds