Searched refs:surfaceType (Results 1 – 2 of 2) sorted by relevance
150 int surfaceType = nativeDetectSurfaceType(surface); in getSurfaceFormat() local151 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() local174 if (surfaceType == BAD_VALUE) throw new IllegalArgumentException("Surface was abandoned"); in detectSurfaceFormat()176 return surfaceType; in detectSurfaceFormat()
1186 int surfaceType = source.readInt(); in OutputConfiguration() local1220 mSurfaceType = surfaceType; in OutputConfiguration()