Searched refs:cachedSupportedFormats (Results 1 – 2 of 2) sorted by relevance
44 private List<List<CaptureFormat>> cachedSupportedFormats; field in CameraEnumerator49 if (cachedSupportedFormats == null) { in getSupportedFormats()50 cachedSupportedFormats = new ArrayList<List<CaptureFormat>>(); in getSupportedFormats()52 cachedSupportedFormats.add(enumerateFormats(i)); in getSupportedFormats()56 return cachedSupportedFormats.get(cameraId); in getSupportedFormats()
58 private final Map<Integer, List<CaptureFormat>> cachedSupportedFormats = field in Camera2Enumerator71 synchronized (cachedSupportedFormats) { in getSupportedFormats()72 if (cachedSupportedFormats.containsKey(cameraId)) { in getSupportedFormats()73 return cachedSupportedFormats.get(cameraId); in getSupportedFormats()115 cachedSupportedFormats.put(cameraId, formatList); in getSupportedFormats()