Home
last modified time | relevance | path

Searched refs:maxValue (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera/src/com/android/camera/
DCameraSettings.java245 int maxValue = (int) Math.floor(max * step); in buildExposureCompensation() local
247 CharSequence entries[] = new CharSequence[maxValue - minValue + 1]; in buildExposureCompensation()
248 CharSequence entryValues[] = new CharSequence[maxValue - minValue + 1]; in buildExposureCompensation()
249 int[] icons = new int[maxValue - minValue + 1]; in buildExposureCompensation()
252 for (int i = minValue; i <= maxValue; ++i) { in buildExposureCompensation()
253 entryValues[maxValue - i] = Integer.toString(Math.round(i / step)); in buildExposureCompensation()
256 entries[maxValue - i] = builder.append(i).toString(); in buildExposureCompensation()
257 icons[maxValue - i] = iconIds.getResourceId(3 + i, 0); in buildExposureCompensation()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java206 int maxValue = (int) Math.floor(max * step); in buildExposureCompensation() local
208 CharSequence entries[] = new CharSequence[maxValue - minValue + 1]; in buildExposureCompensation()
209 CharSequence entryValues[] = new CharSequence[maxValue - minValue + 1]; in buildExposureCompensation()
210 for (int i = minValue; i <= maxValue; ++i) { in buildExposureCompensation()
211 entryValues[maxValue - i] = Integer.toString(Math.round(i / step)); in buildExposureCompensation()
214 entries[maxValue - i] = builder.append(i).toString(); in buildExposureCompensation()