Home
last modified time | relevance | path

Searched refs:getSurface (Results 1 – 25 of 77) sorted by relevance

1234

/cts/tests/tests/view/src/android/view/cts/
DASurfaceControlTest.java355 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_createFromWindow()
372 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceControl_create()
390 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer()
409 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_parentAndChild()
432 long parentSurfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBuffer_childOnly()
453 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setVisibility_show()
474 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setVisibility_hide()
495 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBufferOpaque_opaque()
516 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setBufferOpaque_transparent()
545 long surfaceControl = createFromWindow(holder.getSurface()); in testSurfaceTransaction_setDestinationRect()
[all …]
DPixelCopyTest.java109 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNullDest()
116 mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testRecycledDest()
122 int result = mCopyHelper.request(mSurfaceRule.getSurface(), dest); in testNoSourceData()
129 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(), dest); in testEmptySourceRectSurface()
141 mCopyHelper.request(mSurfaceRule.getSurface(), new Rect(10, 10, 0, 0), dest); in testInvalidSourceRectSurface()
841 public Surface getSurface() { in getSurface() method in PixelCopyTest.SurfaceTextureRule
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java132 imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration()
134 new OutputConfiguration(imageReader.getSurface()); in testInvalidPhysicalCameraIdInOutputConfiguration()
250 … OutputConfiguration config = new OutputConfiguration(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
258 outputConfigs.add(new OutputConfiguration(yuvTargetLogical.getSurface())); in testBasicLogicalPhysicalStreamCombination()
277 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
291 requestBuilder.removeTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
292 requestBuilder.addTarget(yuvTargetPhysical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
309 requestBuilder.addTarget(yuvTargetLogical.getSurface()); in testBasicLogicalPhysicalStreamCombination()
382 OutputConfiguration config = new OutputConfiguration(yuvTarget.getSurface()); in testBasicPhysicalRequests()
401 requestBuilder.addTarget(c.getSurface()); in testBasicPhysicalRequests()
[all …]
DReprocessCaptureTest.java303 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testCrossSessionCaptureException()
317 getReprocessOutputImageReader().getSurface(), result); in testCrossSessionCaptureException()
846 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessAbort()
852 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessAbort()
933 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessTimestamps()
939 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessTimestamps()
1012 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessJpegExif()
1018 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessJpegExif()
1083 TotalCaptureResult result = submitCaptureRequest(mFirstImageReader.getSurface(), in testReprocessRequestKeys()
1089 builder.addTarget(getReprocessOutputImageReader().getSurface()); in testReprocessRequestKeys()
[all …]
DImageWriterTest.java138 ImageWriter writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
157 writer = ImageWriter.newInstance(reader.getSurface(), MAX_NUM_IMAGES); in testAbandonedSurfaceExceptions()
210 Surface surface = mReaderForWriter.getSurface(); in readerWriterFormatTestByCamera()
222 outputSurfaces.add(mReader.getSurface()); in readerWriterFormatTestByCamera()
DRobustnessTest.java113 Surface surface = imageReader.getSurface(); in testBadSurfaceDimensions()
260 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets()
272 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets()
284 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets()
300 new OutputConfiguration(target.getSurface()); in setupConfigurationTargets()
313 OutputConfiguration config = new OutputConfiguration(target.getSurface()); in setupConfigurationTargets()
404 requestBuilder.addTarget(c.getSurface()); in testMandatoryStreamCombination()
597 outputSurfaces.add(config.getSurface()); in testMandatoryReprocessableStreamCombination()
620 outputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
637 builder.addTarget(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
[all …]
DImageReaderTest.java502 Surface yuvSurface = yuvReader.getSurface(); in testAllOutputYUVResolutions()
509 Surface jpegSurface = jpegReader.getSurface(); in testAllOutputYUVResolutions()
704 Surface surface = reader.getSurface(); in testUsageRespected()
871 Surface yuvSurface = yuvReader.getSurface(); in bufferFormatWithYuvTestByCamera()
882 Surface captureSurface = captureReader.getSurface(); in bufferFormatWithYuvTestByCamera()
1081 outputSurfaces.add(mReader.getSurface()); in bufferFormatLongProcessingTimeTestByCamera()
/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java51 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC); in testCreatePublicVirtualDisplay()
74 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE); in testCreateSecureVirtualDisplay()
96 reader.getSurface(), 0); in testCreatePrivateVirtualDisplay()
/cts/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java95 mSurface = mImageReader.getSurface(); in setUp()
127 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplay()
152 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivatePresentationVirtualDisplay()
176 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
180 assertEquals(mSurface, virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
189 assertNull(virtualDisplay.getSurface()); in testPrivateVirtualDisplayWithDynamicSurface()
/cts/tests/tests/graphics/src/android/graphics/cts/
DVulkanSurfaceSupportTest.java46 InstrumentationRegistry.getContext().getAssets(), reader.getSurface(), false); in testVulkanUnsupportedFormat()
53 InstrumentationRegistry.getContext().getAssets(), reader.getSurface(), true); in testVulkanSupportedFormat()
DVulkanPreTransformCtsActivity.java51 mSurface = surfaceView.getHolder().getSurface(); in onCreate()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCreateAllocationsTest.java80 Surface sRef = allocArray[0].getSurface(); in testGetProperties()
91 Surface s = allocArray[i].getSurface(); in testGetProperties()
108 inputAlloc.setSurface(allocArray[0].getSurface()); in testMultipleIoReceive_USAGE_IO_INPUT()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DVirtualDisplayActivity.java143 mPendingDisplayRequests.put(surfaceView.getHolder().getSurface(), in createVirtualDisplay()
166 mPendingDisplayRequests.remove(surfaceHolder.getSurface()); in surfaceCreated()
175 final Surface surface = surfaceHolder.getSurface(); in surfaceCreated()
234 final VirtualDisplayEntry entry = mVirtualDisplays.get(surfaceHolder.getSurface()); in surfaceChanged()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DVirtualDisplayHelper.java98 mVirtualDisplay.setSurface(mReader.getSurface()); in turnDisplayOn()
141 VIRTUAL_DISPLAY_NAME, WIDTH, HEIGHT, DENSITY, mReader.getSurface(), flags); in createVirtualDisplay()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DSurfacePixelValidator.java126 public Surface getSurface() { in getSurface() method in SurfacePixelValidator
127 return mInPixelsAllocation.getSurface(); in getSurface()
DSurfacePixelValidator2.java120 public Surface getSurface() { in getSurface() method in SurfacePixelValidator2
121 return mImageReader.getSurface(); in getSurface()
/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java252 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderCamera()
328 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderMPEG2TS()
447 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in recordVideoUsingCamera()
556 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecorderVideo()
575 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetOutputFile()
784 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testSetMaxFileSize()
872 mMediaRecorder.setInputSurface(encSurface.getSurface()); in testLevel()
894 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testLevel()
1091 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in testRecordExceedFileSizeLimit()
1157 mMediaRecorder.setPreviewDisplay(mActivity.getSurfaceHolder().getSurface()); in setupRecorder()
[all …]
DDecodeAccuracyTestBase.java727 public abstract Surface getSurface(); in getSurface() method in VideoViewFactory
768 public Surface getSurface() { in getSurface() method in TextureViewFactory
858 while (SystemClock.elapsedRealtime() - start < timeOutMs && !getSurface().isValid()) { in waitForViewIsAvailable()
868 if (!getSurface().isValid()) { in waitForViewIsAvailable()
875 public Surface getSurface() { in getSurface() method in SurfaceViewFactory
876 return surfaceHolder == null ? null : surfaceHolder.getSurface(); in getSurface()
941 && glSurfaceViewThread.getSurface() == null) { in waitForViewIsAvailable()
952 if (glSurfaceViewThread.getSurface() == null) { in waitForViewIsAvailable()
960 public Surface getSurface() { in getSurface() method in GLSurfaceViewFactory
961 return glSurfaceViewThread.getSurface(); in getSurface()
[all …]
DAdaptivePlaybackTest.java366 protected TestSurface getSurface() { in getSurface() method in AdaptivePlaybackTest.ActivityTest
368 return new ActivitySurface(getActivity().getSurfaceHolder().getSurface()); in getSurface()
945 Log.i(TAG, "configure(" + format + ", " + mSurface.getSurface() + ")");
946 mCodec.configure(format, mSurface.getSurface(), null /* crypto */, 0 /* flags */);
956 mCodec.setOutputSurface(mSurface.getSurface());
1013 if (mSurface.getSurface() == null) {
1646 abstract protected TestSurface getSurface();
1701 mDescription = title + " on " + stepSurface().getSurface() + " using " +
1732 return mTest.getSurface();
1756 public Surface getSurface();
[all …]
DEncodeVirtualDisplayWithCompositionTest.java272 mDecoder.configure(decoderFormat, mDecodingSurface.getSurface(), null, 0); in doTestRenderingOutput()
785 return mTopPresentation.getSurface(windowIndex); in getWindowSurface()
913 mTopWindow.getSurface(), mWidth, mHeight, mNumWindows); in createWindows()
1159 public Surface getSurface() { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.GlCompositor.GlWindow
1406 public Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowPresentation
1407 Surface surface = mWindows[windowIndex].getSurface(); in getSurface()
1427 Surface getSurface(int windowIndex) { in getSurface() method in EncodeVirtualDisplayWithCompositionTest.TopWindowVirtualDisplayPresentation
1428 return ((TopWindowPresentation) mPresentation).getSurface(windowIndex); in getSurface()
1572 decoder.configure(decoderFormat, decodingSurface.getSurface(), null, 0); in isConcurrentEncodingDecodingSupported()
DMediaStubActivity2.java42 mSurface = surfaceV.getHolder().getSurface(); in onCreate()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_encoder_jni.cpp54 std::shared_ptr<ANativeWindow> getSurface() const;
103 std::shared_ptr<ANativeWindow> NativeEncoder::getSurface() const { in getSurface() function in NativeEncoder
349 src->prepare(nullptr /*bufferListener*/, enc->getSurface()); in runNativeEncoderTest()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java277 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecorder()
365 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressCameraSwitchRecorder()
444 mRecorder.setPreviewDisplay(mSurfaceHolder.getSurface()); in testStressRecordVideoAndPlayback()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java343 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
368 mReaderSurface = mReader.getSurface(); in createDefaultImageReader()
461 Surface surface = mReader.getSurface(); in prepareCaptureRequest()
DCamera2SurfaceViewTestCase.java562 mReaderSurface = r.getSurface(); in createImageReader()
621 outputSurfaces.add(readers[i].getSurface()); in prepareStillCaptureAndStartPreview()
631 stillRequest.addTarget(readers[i].getSurface()); in prepareStillCaptureAndStartPreview()
709 mPreviewSurface = holder.getSurface(); in updatePreviewSurface()

1234