/frameworks/base/core/java/android/hardware/ |
SensorListener.java | 21 * sensor values have changed. 30 * <p>Called when sensor values have changed. 32 * depending on which sensor is being monitored. 34 * for details on possible sensor types. 87 * @param sensor The ID of the sensor being monitored 88 * @param values The new values for the sensor. 90 public void onSensorChanged(int sensor, float[] values); 93 * Called when the accuracy of a sensor has changed. 97 * @param sensor The ID of the sensor being monitore [all...] |
SensorEventListener2.java | 26 * have been delivered to the applications registered for those sensor events. 29 * @param sensor The {@link android.hardware.Sensor Sensor} on which flush was called. 33 public void onFlushCompleted(Sensor sensor);
|
SensorEventListener.java | 21 * sensor values have changed. 26 * Called when sensor values have changed. 28 * for details on possible sensor types. 42 * Called when the accuracy of a sensor has changed. 46 * @param accuracy The new accuracy of this sensor 48 public void onAccuracyChanged(Sensor sensor, int accuracy);
|
SystemSensorManager.java | 34 * Sensor manager implementation that communicates with the built-in 41 private static native int nativeGetNextSensor(Sensor sensor, int next); 45 private static final ArrayList<Sensor> sFullSensorsList = new ArrayList<Sensor>(); 46 private static final SparseArray<Sensor> sHandleToSensor = new SparseArray<Sensor>(); 68 // initialize the sensor list 69 final ArrayList<Sensor> fullList = sFullSensorsList; 72 Sensor sensor = new Sensor() local 78 sHandleToSensor.append(sensor.getHandle(), sensor); local 274 Sensor sensor = sHandleToSensor.get(handle); local 376 final Sensor sensor = sHandleToSensor.get(handle); local 413 final Sensor sensor = sHandleToSensor.get(handle); local 445 final Sensor sensor = sHandleToSensor.get(handle); local [all...] |
SensorEvent.java | 20 * This class represents a {@link android.hardware.Sensor Sensor} event and 21 * holds informations such as the sensor's type, the time-stamp, accuracy and of 22 * course the sensor's {@link SensorEvent#values data}. 52 * @see Sensor 60 * which {@link android.hardware.Sensor sensor} type is being monitored (see 64 * <h4>{@link android.hardware.Sensor#TYPE_ACCELEROMETER 65 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2) 74 * A sensor of this type measures the acceleration applied to the devic 491 public Sensor sensor; field in class:SensorEvent [all...] |
TriggerEvent.java | 21 * associated with a Trigger Sensor. When the sensor detects a trigger 23 * {@link Sensor#TYPE_SIGNIFICANT_MOTION}, the {@link TriggerEventListener} 24 * is called with the TriggerEvent. The sensor is automatically canceled 27 * This class holds information such as the value of the sensor 29 * information regarding the Sensor itself. 33 * @see android.hardware.Sensor 39 * which {@link android.hardware.Sensor sensor} type is being monitored (see 42 * <h4> {@link Sensor#TYPE_SIGNIFICANT_MOTION} </h4 52 public Sensor sensor; field in class:TriggerEvent [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTest.java | 26 import android.hardware.Sensor; 51 List<Sensor> sensors = mSensorManager.getSensorList(Sensor.TYPE_ALL); 53 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 56 // accelerometer sensor is optional 58 assertEquals(Sensor.TYPE_ACCELEROMETER, sensor.getType()); 59 assertSensorValues(sensor); 114 Sensor sensor = mSensorManager.getDefaultSensor(i); local 122 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 131 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 140 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); local 150 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 164 Sensor sensor = mSensorManager.getDefaultSensor(i); local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
TestSensorEvent.java | 19 import android.hardware.Sensor; 28 public final Sensor sensor; field in class:TestSensorEvent 37 sensor = event.sensor;
|
/device/lge/hammerhead/ |
thermal-engine-hammerhead.conf | 5 sensor batt_therm 14 sensor xo_therm_pu2 23 sensor batt_therm 32 sensor cpu0 41 sensor cpu1 50 sensor cpu2 59 sensor cpu3 68 sensor cpu1 77 sensor cpu2 86 sensor cpu [all...] |
/development/ndk/platforms/android-9/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |