Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java20 import android.hardware.camera2.legacy.LegacyCameraDevice;
44 return LegacyCameraDevice.isPreviewConsumer(surface); in isSurfaceForPreview()
55 return LegacyCameraDevice.isVideoEncoderConsumer(surface); in isSurfaceForHwVideoEncoder()
68 return LegacyCameraDevice.getSurfaceSize(surface); in getSurfaceSize()
84 return LegacyCameraDevice.detectSurfaceType(surface); in getSurfaceFormat()
100 return LegacyCameraDevice.detectSurfaceDataspace(surface); in getSurfaceDataspace()
112 return LegacyCameraDevice.isFlexibleConsumer(output); in isFlexibleConsumer()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java220 if (LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds)) {
223 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize();
225 LegacyCameraDevice.setNextTimestamp(s, timestamp);
229 LegacyCameraDevice.setSurfaceFormat(s,
234 LegacyCameraDevice.setSurfaceDimens(s, dimen, dimen);
235 LegacyCameraDevice.produceFrame(s, data, dimen, dimen,
238 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1);
239 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
371 LegacyCameraDevice.disconnectSurface(s); in configureOutputs()
391 int format = LegacyCameraDevice.detectSurfaceType(s); in configureOutputs()
[all …]
DSurfaceTextureRenderer.java261 dimens = LegacyCameraDevice.getTextureSize(st); in drawFrame()
407 LegacyCameraDevice.disconnectSurface(holder.surface); in clearState()
669 if (LegacyCameraDevice.needsConversion(s)) { in configureSurfaces()
673 LegacyCameraDevice.connectSurface(s); in configureSurfaces()
757 targetSurfaceIds = LegacyCameraDevice.getSurfaceIds(targetSurfaces); in drawIntoSurfaces()
764 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
766 LegacyCameraDevice.setSurfaceDimens(holder.surface, holder.width, in drawIntoSurfaces()
770 LegacyCameraDevice.setNextTimestamp(holder.surface, captureHolder.second); in drawIntoSurfaces()
782 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
799 int format = LegacyCameraDevice.detectSurfaceType(holder.surface); in drawIntoSurfaces()
[all …]
DRequestHolder.java92 return LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds); in jpegType()
252 return LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds); in jpegType()
DCameraDeviceUserShim.java70 private final LegacyCameraDevice mLegacyDevice;
81 protected CameraDeviceUserShim(int cameraId, LegacyCameraDevice legacyCamera, in CameraDeviceUserShim()
392 LegacyCameraDevice device = new LegacyCameraDevice( in connectBinderShim()
DLegacyCameraDevice.java60 public class LegacyCameraDevice implements AutoCloseable { class
296 public LegacyCameraDevice(int cameraId, Camera camera, CameraCharacteristics characteristics, in LegacyCameraDevice() method in LegacyCameraDevice
563 LegacyCameraDevice.findEuclidDistSquare(size, s) < in findClosestSize()
564 LegacyCameraDevice.findEuclidDistSquare(bestSize, s))) { in findClosestSize()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java27 import android.hardware.camera2.legacy.LegacyCameraDevice;
420 … (config.getSize().getWidth() <= LegacyCameraDevice.MAX_DIMEN_FOR_ROUNDING)) { in isOutputSupportedFor()
/frameworks/base/
Dpreloaded-classes1193 android.hardware.camera2.legacy.LegacyCameraDevice
Dcompiled-classes-phone1610 android.hardware.camera2.legacy.LegacyCameraDevice
/frameworks/base/services/
Dprofile-classes933 Landroid/hardware/camera2/legacy/LegacyCameraDevice;