HomeSort by relevance Sort by last modified time
    Searched refs:Sensor (Results 76 - 100 of 121) sorted by null

1 2 34 5

  /frameworks/native/libs/gui/
Android.mk 24 Sensor.cpp \
  /device/generic/goldfish/camera/
EmulatedFakeCamera2.cpp 52 // Sensor::kResolution[0], Sensor::kResolution[1]
56 Sensor::kFrameDurationRange[0]
61 // Sensor::kResolution[0], Sensor::kResolution[1]
66 // Sensor::kResolution[0], Sensor::kResolution[1]
70 Sensor::kFrameDurationRange[0]
75 // Sensor::kResolution[0], Sensor::kResolution[1
    [all...]
EmulatedFakeCamera3.h 28 #include "fake-pipeline2/Sensor.h"
46 private Sensor::SensorListener {
122 /** Handle interrupt events from the sensor */
135 // sensor-generated buffers which use a nonpositive ID. Otherwise, HAL3 has
193 sp<Sensor> mSensor;
215 // Place request in the in-flight queue to wait for sensor capture
EmulatedFakeCamera3.cpp 34 #include "fake-pipeline2/Sensor.h"
67 // Sensor::kResolution[0], Sensor::kResolution[1]
71 (const uint64_t)Sensor::kFrameDurationRange[0]
76 // Sensor::kResolution[0], Sensor::kResolution[1]
81 // Sensor::kResolution[0], Sensor::kResolution[1]
85 (const uint64_t)Sensor::kFrameDurationRange[0]
90 // Sensor::kResolution[0], Sensor::kResolution[1
    [all...]
Android.mk 61 fake-pipeline2/Sensor.cpp \
  /development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
MissileLauncherActivity.java 24 import android.hardware.Sensor;
51 private Sensor mGravitySensor;
80 mGravitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY);
210 public void onAccuracyChanged(Sensor sensor, int accuracy) {
  /frameworks/base/services/java/com/android/server/power/
WirelessChargerDetector.java 19 import android.hardware.Sensor;
69 * sensor to detect this case.
76 // The minimum amount of time to spend watching the sensor before making
80 // The sensor sampling interval.
105 // The gravity sensor, or null if none.
106 private Sensor mGravitySensor;
149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY);
249 + mTotalSamples + " samples from the gravity sensor but we "
345 public void onAccuracyChanged(Sensor sensor, int accuracy)
    [all...]
DisplayPowerController.java 28 import android.hardware.Sensor;
48 * Handles the proximity sensor, light sensor, and animations between states
93 // when it is especially dark outside. The light sensor tends to perform
119 // Proximity sensor debounce delay in milliseconds for positive or negative transitions.
126 // Light sensor event rate in milliseconds.
129 // A rate for generating synthetic light sensor events in the case where the light
130 // sensor hasn't reported any new data in a while and we need it to update the
131 // debounce filter. We only synthesize light sensor measurements when needed.
148 // level. This is used for debouncing the light sensor. Different constant
    [all...]
  /frameworks/native/services/sensorservice/
SensorDevice.h 27 #include <gui/Sensor.h>
60 // Info is a per-sensor data structure which contains the batch parameters for each client that
61 // has registered for this sensor.
SensorInterface.cpp 33 HardwareSensor::HardwareSensor(const sensor_t& sensor)
35 mSensor(&sensor, mSensorDevice.getHalDeviceVersion())
37 ALOGI("%s", sensor.name);
71 Sensor HardwareSensor::getSensor() const {
SensorService.cpp 58 * - what about a gyro-corrected magnetic-field sensor?
59 * - run mag sensor from time to time to force calibration
60 * - gravity sensor length is wrong (=> drift in linear-acc sensor)
112 // build the sensor list returned to users
116 Sensor aSensor;
139 // the orientation sensor and remove the HAL provided one.
148 // debugging sensor list
172 Sensor SensorService::registerSensor(SensorInterface* s)
177 const Sensor sensor(s->getSensor())
190 Sensor sensor = registerSensor(s); local
299 SensorInterface* sensor; local
485 SensorInterface* sensor = mSensorMap.valueFor(handle); local
516 SensorInterface* sensor = mSensorMap.valueFor( handle ); local
629 SensorInterface* sensor = mSensorMap.valueFor(handle); local
    [all...]
  /hardware/ti/omap4xxx/camera/inc/
SensorListener.h 20 * This defines API for camerahal to get sensor events
27 #include <android/sensor.h>
28 #include <gui/Sensor.h>
36 * SensorListner class - Registers with sensor manager to get sensor events
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DeviceMotionAndOrientationTest.java 7 import android.hardware.Sensor;
159 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_ROTATION_VECTOR, values);
169 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_ACCELEROMETER, values);
179 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_LINEAR_ACCELERATION, values);
189 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_GYROSCOPE, values);
208 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_ROTATION_VECTOR, values);
213 mDeviceMotionAndOrientation.sensorChanged(Sensor.TYPE_ACCELEROMETER, values2);
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 25 import android.hardware.Sensor;
47 * @see Sensor
102 * release our sensor resources and wake locks
120 private Sensor mAccelerometer;
346 mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
379 if (event.sensor.getType() != Sensor.TYPE_ACCELEROMETER)
457 public void onAccuracyChanged(Sensor sensor, int accuracy) {
  /frameworks/base/policy/src/com/android/internal/policy/impl/
WindowOrientationListener.java 20 import android.hardware.Sensor;
55 private Sensor mSensor;
65 * @param handler Provides the Looper for receiving sensor updates.
75 * @param handler Provides the Looper for receiving sensor updates.
76 * @param rate at which sensor events are processed (see also
88 ? Sensor.TYPE_GRAVITY : Sensor.TYPE_ACCELEROMETER);
96 * Enables the WindowOrientationListener so it will monitor the sensor and call
164 * Returns true if sensor is enabled and false otherwise
229 // Indices into SensorEvent.values for the accelerometer sensor
    [all...]
  /cts/tests/tests/hardware/
Android.mk 17 # Reusable Sensor test classes and helpers
  /external/qemu/android/
hw-sensors.c 39 /* this code supports emulated sensor hardware
79 /* For common Sensor Value struct */
120 } Sensor;
130 * - the HAL module sends "set:<sensor>:<flag>" to enable or disable
131 * the report of a given sensor state. <sensor> must be the name of
132 * a given sensor (e.g. "accelerometer"), and <flag> must be either
135 * - Once at least one sensor is "enabled", this code should periodically
141 * a new interval between sensor events sent by this code to the HAL
149 * - each timer tick, this code sends sensor reports in the followin
295 Sensor* sensor; local
    [all...]
  /device/samsung/manta/bubblelevel/
BubbleLevelImpl.cpp 56 Sensor const* const* sensorList;
64 mAccelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER);
274 if (sensorEvents[i].type == Sensor::TYPE_ACCELEROMETER) {
  /frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
GL2CameraEye.java 45 import android.hardware.Sensor;
79 mAcceleration = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION);
117 if (event.sensor.getType() == Sensor.TYPE_LINEAR_ACCELERATION) {
126 public void onAccuracyChanged(Sensor sensor, int accuracy) {
127 // Ignoring sensor accuracy changes.
134 Sensor mAcceleration;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
AccelerometerTestRenderer.java 32 import android.hardware.Sensor;
231 public void onAccuracyChanged(Sensor arg0, int arg1) {
257 if (event.sensor.getType() == Sensor.TYPE_ACCELEROMETER) {
GyroscopeTestActivity.java 24 import android.hardware.Sensor;
45 * Manual test for testing the gyroscope sensor. This test consists of 6 steps for all the
61 private Sensor mSensor;
87 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE);
381 public void onAccuracyChanged(Sensor sensor, int accuracy) {
  /frameworks/base/core/jni/
android_hardware_SensorManager.cpp 22 #include <gui/Sensor.h>
62 jclass sensorClass = _env->FindClass("android/hardware/Sensor");
79 nativeGetNextSensor(JNIEnv *env, jclass clazz, jobject sensor, jint next)
83 Sensor const* const* sensorList;
88 Sensor const* const list = sensorList[next];
92 env->SetObjectField(sensor, sensorOffsets.name, name);
93 env->SetObjectField(sensor, sensorOffsets.vendor, vendor);
94 env->SetIntField(sensor, sensorOffsets.version, list->getVersion());
95 env->SetIntField(sensor, sensorOffsets.handle, list->getHandle());
96 env->SetIntField(sensor, sensorOffsets.type, list->getType())
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryStatsHelper.java 28 import android.hardware.Sensor;
503 // Process Sensor usage
504 Map<Integer, ? extends BatteryStats.Uid.Sensor> sensorStats = u.getSensorStats();
505 for (Map.Entry<Integer, ? extends BatteryStats.Uid.Sensor> sensorEntry
507 Uid.Sensor sensor = sensorEntry.getValue(); local
508 int sensorHandle = sensor.getHandle();
509 BatteryStats.Timer timer = sensor.getSensorTime();
513 case Uid.Sensor.GPS:
518 List<Sensor> sensorList = sensorManager.getSensorList
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
PhotoModule.java 33 import android.hardware.Sensor;
755 // heading direction has been updated by the sensor.
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
AndouKun.java 28 import android.hardware.Sensor;
322 Sensor orientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION);
723 public void onAccuracyChanged(Sensor sensor, int accuracy) {
731 if (event.sensor.getType() == Sensor.TYPE_ORIENTATION) {

Completed in 4664 milliseconds

1 2 34 5