Home
last modified time | relevance | path

Searched refs:preview (Results 1 – 7 of 7) 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.java85 private static native boolean testCameraDeviceSessionOpenAndCloseNative(Surface preview); in testCameraDeviceSessionOpenAndCloseNative() argument
86 private static native boolean testCameraDeviceSimplePreviewNative(Surface preview); in testCameraDeviceSimplePreviewNative() argument
88 Surface preview); in testCameraDevicePreviewWithSessionParametersNative() argument
DRobustnessTest.java475 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testBasicTriggerSequence() local
478 prepareTriggerTestSession(preview, aeMode, afMode); in testBasicTriggerSequence()
568 preview.release(); in testBasicTriggerSequence()
613 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testSimultaneousTriggers() local
616 prepareTriggerTestSession(preview, aeMode, afMode); in testSimultaneousTriggers()
671 preview.release(); in testSimultaneousTriggers()
714 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAfThenAeTrigger() local
717 prepareTriggerTestSession(preview, aeMode, afMode); in testAfThenAeTrigger()
786 preview.release(); in testAfThenAeTrigger()
829 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAeThenAfTrigger() local
[all …]
DRecordingTest.java387 SurfaceTexture preview = new SurfaceTexture(/*random int*/ 1); in testAbandonedHighSpeedRequest() local
388 Surface previewSurface = new Surface(preview); in testAbandonedHighSpeedRequest()
389 preview.setDefaultBufferSize(size.getWidth(), size.getHeight()); in testAbandonedHighSpeedRequest()
/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.java90 View preview = new View(this); in onCreate() local
91 preview.setBackgroundColor(Color.WHITE); in onCreate()
92 mPreview = preview; in onCreate()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java138 private static ContentValues createDummyChannelValues(String inputId, boolean preview) { in createDummyChannelValues() argument
142 values.put(Channels.COLUMN_TYPE, preview ? Channels.TYPE_PREVIEW : Channels.TYPE_OTHER); in createDummyChannelValues()