HomeSort by relevance Sort by last modified time
    Searched full:sensor (Results 26 - 50 of 1103) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/docs/html/guide/topics/sensors/
sensors_position.jd 9 <li><a href="#sensors-pos-gamerot">Using the Game Rotation Vector Sensor</a></li>
10 <li><a href="#sensors-pos-geomrot">Using the Geomagnetic Rotation Vector Sensor</a></li>
11 <li><a href="#sensors-pos-orient">Using the Orientation Sensor</a></li>
12 <li><a href="#sensors-pos-mag">Using the Geomagnetic Field Sensor</a></li>
13 <li><a href="#sensors-pos-prox">Using the Proximity Sensor</a></li>
17 <li>{@link android.hardware.Sensor}</li>
46 geomagnetic field sensor and the orientation sensor. The Android platform also
47 provides a sensor that lets you determine how close the face of a device is to an object (known as
48 the proximity sensor). The geomagnetic field sensor and the proximity sensor are hardware-based
    [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
38 * @param event the received sensor event
53 sensor = event.sensor;
63 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) {
64 this(sensor, timestamp, timestamp, accuracy, values);
70 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy
    [all...]
  /cts/tests/tests/hardware/src/android/hardware/cts/
SensorIntegrationTests.java 19 import android.hardware.Sensor;
44 * This test focuses in the interaction of continuous and batching clients for the same Sensor
45 * under test. The verification ensures that sensor clients can interact with the System and
53 * that the sensors must be independent. Activating one sensor should not cause another sensor
61 * - the sensor type and sensor handle that caused the failure
63 * It is important to look at the internals of the Sensor HAL to identify how the interaction
72 Sensor.TYPE_ACCELEROMETER,
73 Sensor.TYPE_MAGNETIC_FIELD
88 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); local
266 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
RotationVectorTestActivity.java 26 import android.hardware.Sensor;
72 private final Sensor[] mSensor = new Sensor[3];
120 * Verifies that a given 'Rotation Vector' sensor does not drift over time.
126 Sensor sensor = mSensor[sensorIndex]; local
127 if (sensor == null) {
150 return verifyVector(ROTATION_VECTOR_INDEX, Sensor.TYPE_ROTATION_VECTOR);
156 Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR);
160 return verifyVector(GAME_ROTATION_VECTOR_INDEX, Sensor.TYPE_GAME_ROTATION_VECTOR)
198 Sensor sensor = mSensor[i]; local
    [all...]
  /frameworks/base/core/java/android/hardware/
LegacySensorManager.java 29 * Helper class for implementing the legacy sensor manager API.
71 final List<Sensor> fullList = mSensorManager.getFullSensorList();
72 for (Sensor i : fullList) {
74 case Sensor.TYPE_ACCELEROMETER:
77 case Sensor.TYPE_MAGNETIC_FIELD:
80 case Sensor.TYPE_ORIENTATION:
95 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result;
97 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result;
99 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result;
101 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result
113 Sensor sensor = mSensorManager.getDefaultSensor(type); local
165 Sensor sensor = mSensorManager.getDefaultSensor(type); local
    [all...]
  /device/generic/goldfish/camera/fake-pipeline2/
Sensor.cpp 30 #include "Sensor.h"
37 const unsigned int Sensor::kResolution[2] = {640, 480};
39 const nsecs_t Sensor::kExposureTimeRange[2] =
41 const nsecs_t Sensor::kFrameDurationRange[2] =
43 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
45 const uint8_t Sensor::kColorFilterArrangement =
49 const uint32_t Sensor::kMaxRawValue = 4000;
50 const uint32_t Sensor::kBlackLevel = 1000;
52 // Sensor sensitivity
53 const float Sensor::kSaturationVoltage = 0.520f
    [all...]
  /development/ndk/platforms/android-19/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.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/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.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/arch-mips/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.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [all...]
  /prebuilts/ndk/9/platforms/android-19/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.
111 int32_t sensor; member in struct:AMetaDataEvent
136 int32_t sensor; member in struct:ASensorEvent
177 * Get a reference to the sensor manager. ASensorManager is a singleton.
193 * Returns the default sensor for the given type, or NULL if no sensor
    [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...]
  /prebuilts/ndk/7/platforms/android-14/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/7/platforms/android-14/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...]
  /prebuilts/ndk/7/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/7/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...]
  /prebuilts/ndk/8/platforms/android-14/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/8/platforms/android-14/arch-mips/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/8/platforms/android-14/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...]
  /prebuilts/ndk/8/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/8/platforms/android-9/arch-mips/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/8/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...]
  /prebuilts/ndk/9/platforms/android-12/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...]

Completed in 996 milliseconds

12 3 4 5 6 7 8 91011>>