Home
last modified time | relevance | path

Searched refs:LegacyCameraDevice (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/camera2/legacy/
DSurfaceTextureRenderer.java52 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
260 dimens = LegacyCameraDevice.getTextureSize(st); in drawFrame()
632 if (LegacyCameraDevice.needsConversion(s)) { in configureSurfaces()
634 LegacyCameraDevice.setSurfaceFormat(s, ImageFormat.YV12); in configureSurfaces()
717 List<Long> targetSurfaceIds = LegacyCameraDevice.getSurfaceIds(targetSurfaces); in drawIntoSurfaces()
719 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
721 LegacyCameraDevice.setSurfaceDimens(holder.surface, holder.width, in drawIntoSurfaces()
725 LegacyCameraDevice.setNextTimestamp(holder.surface, captureHolder.second); in drawIntoSurfaces()
736 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
748 int format = LegacyCameraDevice.detectSurfaceType(holder.surface); in drawIntoSurfaces()
[all …]
DRequestThreadManager.java68 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
71 Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.VERBOSE);
214 if (LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds)) {
217 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize();
219 LegacyCameraDevice.setNextTimestamp(s, timestamp);
223 LegacyCameraDevice.setSurfaceFormat(s,
228 LegacyCameraDevice.setSurfaceDimens(s, dimen, dimen);
229 LegacyCameraDevice.produceFrame(s, data, dimen, dimen,
232 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1);
233 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
[all …]
DCameraDeviceUserShim.java63 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
66 private final LegacyCameraDevice mLegacyDevice;
77 protected CameraDeviceUserShim(int cameraId, LegacyCameraDevice legacyCamera, in CameraDeviceUserShim()
349 LegacyCameraDevice device = new LegacyCameraDevice( in connectBinderShim()
DLegacyCameraDevice.java61 public class LegacyCameraDevice implements AutoCloseable { class
65 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
259 public LegacyCameraDevice(int cameraId, Camera camera, CameraCharacteristics characteristics, in LegacyCameraDevice() method in LegacyCameraDevice
511 LegacyCameraDevice.findEuclidDistSquare(size, s) < in findClosestSize()
512 LegacyCameraDevice.findEuclidDistSquare(bestSize, s))) { in findClosestSize()
DRequestHolder.java90 return LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds); in jpegType()
DGLThreadManager.java38 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
DCameraDeviceState.java44 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
DCaptureCollector.java37 private static final boolean DEBUG = Log.isLoggable(LegacyCameraDevice.DEBUG_PROP, Log.DEBUG);
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java25 import android.hardware.camera2.legacy.LegacyCameraDevice;
323 surfaceSize = LegacyCameraDevice.getSurfaceSize(surface); in isOutputSupportedFor()
324 surfaceFormat = LegacyCameraDevice.detectSurfaceType(surface); in isOutputSupportedFor()
330 boolean isFlexible = LegacyCameraDevice.isFlexibleConsumer(surface); in isOutputSupportedFor()
345 … (config.getSize().getWidth() <= LegacyCameraDevice.MAX_DIMEN_FOR_ROUNDING)) { in isOutputSupportedFor()
/frameworks/base/
Dpreloaded-classes786 android.hardware.camera2.legacy.LegacyCameraDevice