Home
last modified time | relevance | path

Searched refs:floatValues (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/car-support-lib/src/android/support/car/hardware/
DCarSensorEvent.java204 public final float[] floatValues; field in CarSensorEvent
215 floatValues = new float[len]; in CarSensorEvent()
216 in.readFloatArray(floatValues); in CarSensorEvent()
234 dest.writeInt(floatValues.length); in writeToParcel()
235 dest.writeFloatArray(floatValues); in writeToParcel()
257 floatValues = new float[floatValueSize]; in CarSensorEvent()
262 CarSensorEvent(int sensorType, long timeStampNs, float[] floatValues, int[] intValues) { in CarSensorEvent() argument
266 this.floatValues = floatValues; in CarSensorEvent()
300 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
301 data.pressure = floatValues[INDEX_ENVIRONMENT_PRESSURE]; in getEnvironmentData()
[all …]
DCarSensorManagerEmbedded.java138 return new CarSensorEvent(event.sensorType, event.timeStampNs, event.floatValues, in convert()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorEvent.java135 public final float[] floatValues; field in CarSensorEvent
143 floatValues = new float[len]; in CarSensorEvent()
144 in.readFloatArray(floatValues); in CarSensorEvent()
160 dest.writeInt(floatValues.length); in writeToParcel()
161 dest.writeFloatArray(floatValues); in writeToParcel()
180 floatValues = new float[floatValueSize]; in CarSensorEvent()
185 CarSensorEvent(int sensorType, long timeStampNs, float[] floatValues, int[] intValues) { in CarSensorEvent() argument
188 this.floatValues = floatValues; in CarSensorEvent()
222 data.temperature = floatValues[INDEX_ENVIRONMENT_TEMPERATURE]; in getEnvironmentData()
223 data.pressure = floatValues[INDEX_ENVIRONMENT_PRESSURE]; in getEnvironmentData()
[all …]
/packages/services/Car/service/src/com/android/car/
DDrivingStatePolicy.java171 if (lastSpeed != null && lastSpeed.floatValues[0] == 0f) { // stopped in recalcDrivingStateLocked()
186 return event.floatValues[0] == 0f; in isSpeedZero()
DCarSensorEventFactory.java39 event.floatValues[0] = value; in createFloatEvent()
/packages/services/Car/car-lib/api/
Dcurrent.txt214 field public final float[] floatValues;
Dsystem-current.txt439 field public final float[] floatValues;
/packages/services/Car/car-support-lib/api/
Dcurrent.txt466 field public final float[] floatValues;