Home
last modified time | relevance | path

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

/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()
DLinearAccelerationSensor.cpp41 .maxRange = gsensor.getMaxValue(), in LinearAccelerationSensor()
DOrientationSensor.cpp39 .maxRange = 360.0f, in OrientationSensor()
DLimitedAxesImuSensor.cpp57 .maxRange = mImu3dSensor.getMaxValue(), in LimitedAxesImuSensor()
DSensorDevice.cpp101 float quantizedRange = sensor.maxRange; in initializeSensorList()
108 if (fabsf(sensor.maxRange - quantizedRange) > sensor.resolution / 8) { in initializeSensorList()
111 sensor.name, sensor.maxRange, sensor.resolution, quantizedRange); in initializeSensorList()
112 sensor.maxRange = quantizedRange; in initializeSensorList()
227 (std::abs(prevSensor.maxRange - newSensor.maxRange) > 0.001f) || in sensorIsEquivalent()
/frameworks/native/include/input/
DInputDevice.h148 float maxRange, float resolution, float power, int32_t minDelay, in InputDeviceSensorInfo()
157 maxRange(maxRange), in InputDeviceSensorInfo()
178 float maxRange; member
/frameworks/native/libs/sensor/fuzz/sensor_fuzzer/
Dsensor_fuzzer.cpp38 sensor_type.maxRange = fdp.ConsumeFloatingPoint<float>(); in LLVMFuzzerTestOneInput()
/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/native/services/sensorservice/aidl/
DSensorManager.cpp151 dst.maxRange = src.getMaxValue(); in convertSensor()
/frameworks/base/services/core/jni/
Dcom_android_server_sensor_SensorService.cpp136 .maxRange = maximumRange, in registerRuntimeSensor()
Dcom_android_server_input_InputManagerService.cpp205 jfieldID maxRange; member
2560 jint handle, jint type, jfloat maxRange, jfloat resolution, in createInputSensorInfo() argument
2573 env->SetFloatField(sensorInfo, gInputSensorInfo.maxRange, maxRange); in createInputSensorInfo()
2603 static_cast<jfloat>(sensorInfo.maxRange), in nativeGetSensorList()
3060 GET_FIELD_ID(gInputSensorInfo.maxRange, gInputSensorInfo.clazz, "mMaxRange", "F"); in register_android_server_InputManager()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp397 return reinterpret_cast<const SensorInfo *>(sensor)->maxRange; in ASensor_getMaxRange()
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.cpp97 dump += StringPrintf(INDENT5 "maxRange: %f\n", sensor.sensorInfo.maxRange); in dump()
/frameworks/native/libs/sensor/
DSensor.cpp56 mMaxValue = hwSensor.maxRange; // FIXME: maxValue in Sensor()