Home
last modified time | relevance | path

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

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DRGBZ.java43 private Bitmap preview; field in RGBZ
55 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uri)); in RGBZ()
56 if (preview == null) { in RGBZ()
61 bitmap = setAlphaChannel(preview, depthBitmap); in RGBZ()
74 preview = BitmapFactory.decodeStream(contentResolver.openInputStream(uriImage)); in RGBZ()
75 if (preview == null) { in RGBZ()
80 bitmap = setAlphaChannel(preview, depthBitmap); in RGBZ()
/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java124 private static native boolean testCameraDeviceSessionOpenAndCloseNative(Surface preview); in testCameraDeviceSessionOpenAndCloseNative() argument
125 private static native boolean testCameraDeviceSimplePreviewNative(Surface preview); in testCameraDeviceSimplePreviewNative() argument
127 Surface preview); in testCameraDevicePreviewWithSessionParametersNative() argument
129 private static native boolean testCameraDeviceLogicalPhysicalStreamingNative(Surface preview); in testCameraDeviceLogicalPhysicalStreamingNative() argument
130 private static native boolean testCameraDeviceLogicalPhysicalSettingsNative(Surface preview); in testCameraDeviceLogicalPhysicalSettingsNative() argument
DRobustnessTest.java759 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testBasicTriggerSequence() local
762 prepareTriggerTestSession(preview, aeMode, afMode); in testBasicTriggerSequence()
852 preview.release(); in testBasicTriggerSequence()
898 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testSimultaneousTriggers() local
901 prepareTriggerTestSession(preview, aeMode, afMode); in testSimultaneousTriggers()
956 preview.release(); in testSimultaneousTriggers()
1000 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAfThenAeTrigger() local
1003 prepareTriggerTestSession(preview, aeMode, afMode); in testAfThenAeTrigger()
1072 preview.release(); in testAfThenAeTrigger()
1116 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAeThenAfTrigger() local
[all …]
DHeifWriterTest.java154 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testHeif() local
155 Surface previewSurface = new Surface(preview); in testHeif()
156 preview.setDefaultBufferSize(640, 480); in testHeif()
DRecordingTest.java435 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAbandonedHighSpeedRequest() local
436 Surface previewSurface = new Surface(preview); in testAbandonedHighSpeedRequest()
437 preview.setDefaultBufferSize(size.getWidth(), size.getHeight()); in testAbandonedHighSpeedRequest()
DMultiViewTest.java934 Surface preview = new Surface(surfaceTexture0); in testTextureImageWriterReaderOperation() local
938 requestBuilder.addTarget(preview); in testTextureImageWriterReaderOperation()
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp271 AutoPtr<dng_preview> preview (useCompressedPreview ? in dng_validate() local
277 preview->fInfo.fApplicationName.Set("dng_validate"); in dng_validate()
278 preview->fInfo.fApplicationVersion.Set(kDNGValidateVersion); in dng_validate()
280 preview->fInfo.fSettingsName.Set("Default"); in dng_validate()
282 preview->fInfo.fColorSpace = previewImage->Planes() == 1 ? in dng_validate()
286 preview->fInfo.fDateTime = dateTimeInfo.Encode_ISO_8601(); in dng_validate()
289 … dng_image_preview *imagePreview = static_cast<dng_image_preview *>(preview.Get()); in dng_validate()
292 dng_jpeg_preview *jpegPreview = static_cast<dng_jpeg_preview *>(preview.Get()); in dng_validate()
300 previewList.Append (preview); in dng_validate()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewCtsActivity.java91 View preview = new View(this); in onCreate() local
92 preview.setBackgroundColor(Color.WHITE); in onCreate()
93 mPreview = preview; in onCreate()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java139 private static ContentValues createDummyChannelValues(String inputId, boolean preview) { in createDummyChannelValues() argument
143 values.put(Channels.COLUMN_TYPE, preview ? Channels.TYPE_PREVIEW : Channels.TYPE_OTHER); in createDummyChannelValues()