OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hwSensor
(Results
1 - 7
of
7
) sorted by null
/frameworks/native/services/sensorservice/
RotationVectorSensor.cpp
64
sensor_t
hwSensor
;
65
hwSensor
.name = "Rotation Vector Sensor";
66
hwSensor
.vendor = "AOSP";
67
hwSensor
.version = 3;
68
hwSensor
.handle = '_rov';
69
hwSensor
.type = SENSOR_TYPE_ROTATION_VECTOR;
70
hwSensor
.maxRange = 1;
71
hwSensor
.resolution = 1.0f / (1<<24);
72
hwSensor
.power = mSensorFusion.getPowerUsage();
73
hwSensor
.minDelay = mSensorFusion.getMinDelay()
[
all
...]
LinearAccelerationSensor.cpp
63
sensor_t
hwSensor
;
64
hwSensor
.name = "Linear Acceleration Sensor";
65
hwSensor
.vendor = "AOSP";
66
hwSensor
.version = gsensor.getVersion();
67
hwSensor
.handle = '_lin';
68
hwSensor
.type = SENSOR_TYPE_LINEAR_ACCELERATION;
69
hwSensor
.maxRange = gsensor.getMaxValue();
70
hwSensor
.resolution = gsensor.getResolution();
71
hwSensor
.power = gsensor.getPowerUsage();
72
hwSensor
.minDelay = gsensor.getMinDelay()
[
all
...]
CorrectedGyroSensor.cpp
70
sensor_t
hwSensor
;
71
hwSensor
.name = "Corrected Gyroscope Sensor";
72
hwSensor
.vendor = "AOSP";
73
hwSensor
.version = 1;
74
hwSensor
.handle = '_cgy';
75
hwSensor
.type = SENSOR_TYPE_GYROSCOPE;
76
hwSensor
.maxRange = mGyro.getMaxValue();
77
hwSensor
.resolution = mGyro.getResolution();
78
hwSensor
.power = mSensorFusion.getPowerUsage();
79
hwSensor
.minDelay = mGyro.getMinDelay()
[
all
...]
GravitySensor.cpp
78
sensor_t
hwSensor
;
79
hwSensor
.name = "Gravity Sensor";
80
hwSensor
.vendor = "AOSP";
81
hwSensor
.version = 3;
82
hwSensor
.handle = '_grv';
83
hwSensor
.type = SENSOR_TYPE_GRAVITY;
84
hwSensor
.maxRange = GRAVITY_EARTH * 2;
85
hwSensor
.resolution = mAccelerometer.getResolution();
86
hwSensor
.power = mSensorFusion.getPowerUsage();
87
hwSensor
.minDelay = mSensorFusion.getMinDelay()
[
all
...]
OrientationSensor.cpp
77
sensor_t
hwSensor
;
78
hwSensor
.name = "Orientation Sensor";
79
hwSensor
.vendor = "AOSP";
80
hwSensor
.version = 1;
81
hwSensor
.handle = '_ypr';
82
hwSensor
.type = SENSOR_TYPE_ORIENTATION;
83
hwSensor
.maxRange = 360.0f;
84
hwSensor
.resolution = 1.0f/256.0f; // FIXME: real value here
85
hwSensor
.power = mSensorFusion.getPowerUsage();
86
hwSensor
.minDelay = mSensorFusion.getMinDelay()
[
all
...]
/frameworks/native/libs/gui/
Sensor.cpp
39
Sensor::Sensor(struct sensor_t const*
hwSensor
, int halVersion)
41
mName =
hwSensor
->name;
42
mVendor =
hwSensor
->vendor;
43
mVersion =
hwSensor
->version;
44
mHandle =
hwSensor
->handle;
45
mType =
hwSensor
->type;
47
mMaxValue =
hwSensor
->maxRange; // FIXME: maxValue
48
mResolution =
hwSensor
->resolution;
49
mPower =
hwSensor
->power;
50
mMinDelay =
hwSensor
->minDelay
[
all
...]
/frameworks/native/include/gui/
Sensor.h
56
Sensor(struct sensor_t const*
hwSensor
, int halVersion = 0);
Completed in 1596 milliseconds