Searched refs:bucketBoundaries (Results 1 – 3 of 3) sorted by relevance
59 @NonNull float[] bucketBoundaries) { in AmbientBrightnessDayStats() argument60 this(localDate, bucketBoundaries, null); in AmbientBrightnessDayStats()72 @NonNull float[] bucketBoundaries, float[] stats) { in AmbientBrightnessDayStats() argument74 Preconditions.checkNotNull(bucketBoundaries); in AmbientBrightnessDayStats()75 Preconditions.checkArrayElementsInRange(bucketBoundaries, 0, Float.MAX_VALUE, in AmbientBrightnessDayStats()77 if (bucketBoundaries.length < 1) { in AmbientBrightnessDayStats()80 checkSorted(bucketBoundaries); in AmbientBrightnessDayStats()82 stats = new float[bucketBoundaries.length]; in AmbientBrightnessDayStats()85 if (bucketBoundaries.length != stats.length) { in AmbientBrightnessDayStats()91 mBucketBoundaries = bucketBoundaries; in AmbientBrightnessDayStats()
75 public IntHistogram(@NonNull int[] bucketBoundaries) { in IntHistogram() argument76 if (bucketBoundaries == null || bucketBoundaries.length == 0) { in IntHistogram()79 for (int i = 0; i < bucketBoundaries.length - 1; i++) { in IntHistogram()80 int cur = bucketBoundaries[i]; in IntHistogram()81 int next = bucketBoundaries[i + 1]; in IntHistogram()90 mBucketBoundaries = bucketBoundaries.clone(); in IntHistogram()
235 String[] bucketBoundaries = parser.getAttributeValue(null, in readFromXML() local239 if (bucketBoundaries.length != bucketStats.length in readFromXML()240 || bucketBoundaries.length < 1) { in readFromXML()243 float[] parsedBucketBoundaries = new float[bucketBoundaries.length]; in readFromXML()245 for (int i = 0; i < bucketBoundaries.length; i++) { in readFromXML()246 parsedBucketBoundaries[i] = Float.parseFloat(bucketBoundaries[i]); in readFromXML()