Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/camera2/utils/
H A DSurfaceUtils.java150 int surfaceType = nativeDetectSurfaceType(surface); in getSurfaceFormat() local
151 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in getSurfaceFormat()
155 if ((surfaceType >= PixelFormat.RGBA_8888 in getSurfaceFormat()
156 && surfaceType <= BGRA_8888)) { in getSurfaceFormat()
157 surfaceType = ImageFormat.PRIVATE; in getSurfaceFormat()
159 return surfaceType; in getSurfaceFormat()
173 int surfaceType = nativeDetectSurfaceType(surface); in detectSurfaceFormat() local
174 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in detectSurfaceFormat()
176 return surfaceType; in detectSurfaceFormat()
/aosp14/frameworks/base/core/java/android/hardware/camera2/params/
H A DOutputConfiguration.java1186 int surfaceType = source.readInt(); in OutputConfiguration() local
1220 mSurfaceType = surfaceType; in OutputConfiguration()