Home
last modified time | relevance | path

Searched refs:maxRange (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/include/input/
DInputDevice.h113 float maxRange, float resolution, float power, int32_t minDelay, in InputDeviceSensorInfo()
122 maxRange(maxRange), in InputDeviceSensorInfo()
143 float maxRange; member
/frameworks/base/core/java/android/hardware/input/
DInputSensorInfo.java79 float maxRange, in InputSensorInfo() argument
99 this.mMaxRange = maxRange; in InputSensorInfo()
264 float maxRange = in.readFloat(); in InputSensorInfo() local
285 this.mMaxRange = maxRange; in InputSensorInfo()
/frameworks/native/services/sensorservice/
DRotationVectorSensor.cpp38 .maxRange = 1, in RotationVectorSensor()
124 .maxRange = 1, in GyroDriftSensor()
DSensorDeviceUtils.cpp89 if (sensor.maxRange == 0) { in resolutionForSensor()
96 double lowerBound = 2.0 * sensor.maxRange / std::pow(2, 24); in resolutionForSensor()
DGravitySensor.cpp46 .maxRange = GRAVITY_EARTH * 2, in GravitySensor()
DCorrectedGyroSensor.cpp47 .maxRange = mGyro.getMaxValue(), in CorrectedGyroSensor()
DOrientationSensor.cpp39 .maxRange = 360.0f, in OrientationSensor()
DLinearAccelerationSensor.cpp41 .maxRange = gsensor.getMaxValue(), in LinearAccelerationSensor()
DSensorDevice.cpp152 float quantizedRange = sensor.maxRange; in initializeSensorList()
159 if (fabsf(sensor.maxRange - quantizedRange) > sensor.resolution / 8) { in initializeSensorList()
161 "%.12f - updated to %.12f", sensor.name, sensor.maxRange, in initializeSensorList()
163 sensor.maxRange = quantizedRange; in initializeSensorList()
383 (std::abs(prevSensor.maxRange - newSensor.maxRange) > 0.001f) || in sensorIsEquivalent()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp43 dst.maxRange = src.getMaxValue(); in convertSensor()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp63 hwSensor.maxRange = 10.f; in getTestSensorT()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp397 return reinterpret_cast<const SensorInfo *>(sensor)->maxRange; in ASensor_getMaxRange()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp190 jfieldID maxRange; member
2182 jint handle, jint type, jfloat maxRange, jfloat resolution, in createInputSensorInfo() argument
2195 env->SetFloatField(sensorInfo, gInputSensorInfo.maxRange, maxRange); in createInputSensorInfo()
2225 static_cast<jfloat>(sensorInfo.maxRange), in nativeGetSensorList()
2571 GET_FIELD_ID(gInputSensorInfo.maxRange, gInputSensorInfo.clazz, "mMaxRange", "F"); in register_android_server_InputManager()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp101 dump += StringPrintf(INDENT5 "maxRange: %f\n", sensor.sensorInfo.maxRange); in dump()
/frameworks/native/libs/sensor/
DSensor.cpp56 mMaxValue = hwSensor.maxRange; // FIXME: maxValue in Sensor()