Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/camera2/utils/
DSurfaceUtils.java21 import android.hardware.camera2.legacy.LegacyCameraDevice;
45 return LegacyCameraDevice.isPreviewConsumer(surface); in isSurfaceForPreview()
56 return LegacyCameraDevice.isVideoEncoderConsumer(surface); in isSurfaceForHwVideoEncoder()
67 return LegacyCameraDevice.getSurfaceId(surface); in getSurfaceId()
84 return LegacyCameraDevice.getSurfaceSize(surface); in getSurfaceSize()
100 return LegacyCameraDevice.detectSurfaceType(surface); in getSurfaceFormat()
116 return LegacyCameraDevice.detectSurfaceDataspace(surface); in getSurfaceDataspace()
128 return LegacyCameraDevice.isFlexibleConsumer(output); in isFlexibleConsumer()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java225 if (LegacyCameraDevice.containsSurfaceId(s, mJpegSurfaceIds)) {
228 int totalSize = data.length + LegacyCameraDevice.nativeGetJpegFooterSize();
230 LegacyCameraDevice.setNextTimestamp(s, timestamp);
234 LegacyCameraDevice.setSurfaceFormat(s,
239 LegacyCameraDevice.setSurfaceDimens(s, dimen, dimen);
240 LegacyCameraDevice.produceFrame(s, data, dimen, dimen,
243 LegacyCameraDevice.setSurfaceDimens(s, totalSize, /*height*/1);
244 LegacyCameraDevice.produceFrame(s, data, totalSize, /*height*/1,
339 LegacyCameraDevice.disconnectSurface(s); in disconnectCallbackSurfaces()
400 int format = LegacyCameraDevice.detectSurfaceType(s); in configureOutputs()
[all …]
DSurfaceTextureRenderer.java261 dimens = LegacyCameraDevice.getTextureSize(st); in drawFrame()
407 LegacyCameraDevice.disconnectSurface(holder.surface); in clearState()
699 if (LegacyCameraDevice.needsConversion(s)) { in configureSurfaces()
703 LegacyCameraDevice.connectSurface(s); in configureSurfaces()
793 targetSurfaceIds = LegacyCameraDevice.getSurfaceIds(targetSurfaces); in drawIntoSurfaces()
800 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
802 LegacyCameraDevice.setSurfaceDimens(holder.surface, holder.width, in drawIntoSurfaces()
806 LegacyCameraDevice.setNextTimestamp(holder.surface, captureHolder.second); in drawIntoSurfaces()
818 if (LegacyCameraDevice.containsSurfaceId(holder.surface, targetSurfaceIds)) { in drawIntoSurfaces()
835 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.java73 private final LegacyCameraDevice mLegacyDevice;
84 protected CameraDeviceUserShim(int cameraId, LegacyCameraDevice legacyCamera, in CameraDeviceUserShim()
399 LegacyCameraDevice device = new LegacyCameraDevice( in connectBinderShim()
DLegacyCameraDevice.java61 public class LegacyCameraDevice implements AutoCloseable { class
319 public LegacyCameraDevice(int cameraId, Camera camera, CameraCharacteristics characteristics, in LegacyCameraDevice() method in LegacyCameraDevice
611 LegacyCameraDevice.findEuclidDistSquare(size, s) < in findClosestSize()
612 LegacyCameraDevice.findEuclidDistSquare(bestSize, s))) { in findClosestSize()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java28 import android.hardware.camera2.legacy.LegacyCameraDevice;
572 … (config.getSize().getWidth() <= LegacyCameraDevice.MAX_DIMEN_FOR_ROUNDING)) { in isOutputSupportedFor()
/frameworks/base/config/
Dpreloaded-classes1470 android.hardware.camera2.legacy.LegacyCameraDevice
Dboot-image-profile.txt33656 Landroid/hardware/camera2/legacy/LegacyCameraDevice;