Searched refs:thresholdLevels (Results 1 – 1 of 1) sorted by relevance
196 private float getReferenceLevel(float value, float[] thresholdLevels, in getReferenceLevel() argument198 if (thresholdLevels == null || thresholdLevels.length == 0 || value < thresholdLevels[0]) { in getReferenceLevel()202 while (index < thresholdLevels.length - 1 && value >= thresholdLevels[index + 1]) { in getReferenceLevel()370 float[] thresholdLevels = new float[size]; in getBrightnessLevelAndPercentage() local375 thresholdLevels[i] = point.getThreshold().floatValue(); in getBrightnessLevelAndPercentage()379 return new Pair<>(thresholdLevels, thresholdPercentages); in getBrightnessLevelAndPercentage()439 private static float[] constraintInRangeIfNeeded(float[] thresholdLevels) { in constraintInRangeIfNeeded() argument440 if (isAllInRange(thresholdLevels, /* minValueInclusive= */ 0.0f, in constraintInRangeIfNeeded()442 return thresholdLevels; in constraintInRangeIfNeeded()446 float[] thresholdLevelsScaled = new float[thresholdLevels.length]; in constraintInRangeIfNeeded()[all …]