Home | History | Annotate | Download | only in diagnostic

Lines Matching defs:floatValues

58     private final SparseArray<Float> floatValues;
70 floatValues = new SparseArray<>(len);
74 floatValues.put(key, value);
96 dest.writeInt(floatValues.size());
97 for (int i = 0; i < floatValues.size(); ++i) {
98 int key = floatValues.keyAt(i);
100 dest.writeFloat(floatValues.get(key));
120 * floatValues: an array of objects each of which has two elements:
151 jsonWriter.name("floatValues").beginArray();
152 for (int i = 0; i < floatValues.size(); ++i) {
154 jsonWriter.name("id").value(floatValues.keyAt(i));
155 jsonWriter.name("value").value(floatValues.valueAt(i));
181 SparseArray<Float> floatValues,
186 this.floatValues = floatValues;
253 SparseArray<Float> newFloatValues = floatValues.clone();
260 for (int i = 0; i < floatValues.size(); ++i) {
261 int key = floatValues.keyAt(i);
282 empty &= (0 == floatValues.size());
323 if (otherEvent.floatValues.size() != floatValues.size())
339 for (int i = 0; i < floatValues.size(); ++i) {
340 int key = floatValues.keyAt(i);
341 int otherKey = otherEvent.floatValues.keyAt(i);
345 float value = floatValues.valueAt(i);
346 float otherValue = otherEvent.floatValues.valueAt(i);
357 Integer[] floatKeys = new Integer[floatValues.size()];
359 Float[] floatValues = new Float[floatKeys.length];
365 floatKeys[i] = this.floatValues.keyAt(i);
366 floatValues[i] = this.floatValues.valueAt(i);
371 int floatValuesHash = Objects.hash((Object[])floatValues);
393 floatValues.toString());
411 return floatValues.get(sensor, defaultValue);
427 return floatValues.get(sensor, defaultValue);
447 int index = floatValues.indexOfKey(sensor);
449 return floatValues.valueAt(index);
467 int index = floatValues.indexOfKey(sensor);
469 return floatValues.valueAt(index);