Home
last modified time | relevance | path

Searched refs:Surface (Results 1 – 25 of 201) sorted by relevance

123456789

/cts/tests/camera/src/android/hardware/camera2/cts/
DNativeCameraDeviceTest.java23 import android.view.Surface;
100 Surface outputSurface = new Surface(outputTexture); in testCameraDeviceSharedOutputUpdate()
161 private static native boolean testCameraDeviceSessionOpenAndCloseNative(Surface preview, in testCameraDeviceSessionOpenAndCloseNative()
163 private static native boolean testCameraDeviceSimplePreviewNative(Surface preview, in testCameraDeviceSimplePreviewNative()
166 Surface preview, String overrideCameraId); in testCameraDeviceSimplePreviewNative2()
168 Surface preview, String overrideCameraId); in testCameraDevicePreviewWithSessionParametersNative()
169 private static native boolean testCameraDeviceSharedOutputUpdate(Surface src, Surface dst, in testCameraDeviceSharedOutputUpdate()
171 private static native boolean testCameraDeviceLogicalPhysicalStreamingNative(Surface preview, in testCameraDeviceLogicalPhysicalStreamingNative()
173 private static native boolean testCameraDeviceLogicalPhysicalStreamingNative2(Surface preview, in testCameraDeviceLogicalPhysicalStreamingNative2()
175 private static native boolean testCameraDeviceLogicalPhysicalSettingsNative(Surface preview, in testCameraDeviceLogicalPhysicalSettingsNative()
[all …]
DMultiViewTest.java53 import android.view.Surface;
313 Surface[] surfaces = new Surface[2]; in testSharedSurfaceBasicByCamera()
327 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceBasicByCamera()
386 Surface outputSurface = new Surface(outputTexture); in testSharedSurfaceBasicByCamera()
456 Surface readerSurfaces[] = new Surface[IMG_READER_COUNT]; in testSharedSurfaceImageReaderSwitch()
465 Surface previewSurface = new Surface(previewTexture); in testSharedSurfaceImageReaderSwitch()
572 Surface readerSurfaces[] = new Surface[YUV_IMG_READER_COUNT]; in testSharedSurfaceYUVImageReaderSwitch()
677 Surface[] surfaces = new Surface[surfaceLimit]; in testSharedSurfaceLimitByCamera()
690 surfaces[i] = new Surface(previewTexture[i]); in testSharedSurfaceLimitByCamera()
794 Surface[] surfaces = new Surface[2]; in testSharedSurfaceSwitchByCamera()
[all …]
/cts/tests/tests/media/common/src/android/media/cts/
DMediaStubActivity2.java22 import android.view.Surface;
35 private Surface mSurface;
36 private CompletableFuture<Surface> mSurface2 = new CompletableFuture<>();
55 public List<Surface> getSurfaces() { in getSurfaces()
70 final Surface s = new Surface(st); in onSurfaceTextureAvailable()
DInputSurface.java30 import android.view.Surface;
49 private Surface mSurface;
56 public InputSurface(Surface surface, boolean releaseSurface, boolean useHighBitDepth) { in InputSurface()
66 public InputSurface(Surface surface, boolean useHighBitDepth) { in InputSurface()
73 public InputSurface(Surface surface) { in InputSurface()
217 public Surface getSurface() { in getSurface()
272 public static void clearSurface(Surface surface) { in clearSurface()
DCompositionTextureView.java23 import android.view.Surface;
36 private Surface mSurface;
122 mSurface = new Surface(surfaceTexture); in recreateSurface()
125 public Surface getSurface() { in getSurface()
/cts/tests/tests/telecom/src/android/telecom/cts/
DMockVideoProvider.java23 import android.view.Surface;
49 private Surface mPreviewSurface = null;
50 private Surface mDisplaySurface = null;
64 public void onSetPreviewSurface(Surface surface) { in onSetPreviewSurface()
69 public void onSetDisplaySurface(Surface surface) { in onSetDisplaySurface()
210 public Surface getPreviewSurface() { in getPreviewSurface()
214 public Surface getDisplaySurface() { in getDisplaySurface()
/cts/tests/tests/graphics/src/android/graphics/cts/
DFrameRateCtsActivity.java36 import android.view.Surface;
79 private Surface mSurface = null;
190 private Surface mSurface;
196 TestSurface(Api api, SurfaceControl parentSurfaceControl, Surface parentSurface, in TestSurface()
211 transaction.setGeometry(mSurfaceControl, null, destFrame, Surface.ROTATION_0) in TestSurface()
214 mSurface = new Surface(mSurfaceControl); in TestSurface()
233 if (changeFrameRateStrategy == Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS) { in setFrameRate()
243 if (changeFrameRateStrategy == Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS) { in setFrameRate()
361 case Surface.FRAME_RATE_COMPATIBILITY_DEFAULT: in frameRateCompatibilityToString()
363 case Surface.FRAME_RATE_COMPATIBILITY_FIXED_SOURCE: in frameRateCompatibilityToString()
[all …]
DANativeWindowTest.java47 import android.view.Surface;
151 Surface surface = new Surface(consumer); in testSetBuffersTransform()
219 Surface surface = new Surface(consumer); in testSetBuffersDataSpace()
259 final Surface outSurface = Surface.CREATOR.createFromParcel(parcel); in testWriteToParcel()
277 final Surface outSurface = nReadFromParcel(parcel); in testReadFromParcel()
295 final Surface outSurface = nReadFromParcel(parcel); in testWriteReadFromParcel()
335 Surface surface = new Surface(consumer); in testTryAllocateBuffersDoesNotCrash()
341 private static native void nPushBufferWithTransform(Surface surface, int transform); in nPushBufferWithTransform()
342 private static native int nSetBuffersDataSpace(Surface surface, int dataSpace); in nSetBuffersDataSpace()
343 private static native int nGetBuffersDataSpace(Surface surface); in nGetBuffersDataSpace()
[all …]
DVulkanPreTransformCtsActivity.java26 import android.view.Surface;
43 protected Surface mSurface;
61 if (getRotation() == Surface.ROTATION_0) { in setActivityOrientation()
94 AssetManager manager, Surface surface, boolean setPreTransform); in nCreateNativeTest()
DSetFrameRateTest.java26 import android.view.Surface;
92 activity.testExactFrameRateMatch(Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS); in testExactFrameRateMatch_Seamless()
98 activity.testExactFrameRateMatch(Surface.CHANGE_FRAME_RATE_ALWAYS); in testExactFrameRateMatch_NonSeamless()
104 activity.testFixedSource(Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS); in testFixedSource_Seamless()
110 activity.testFixedSource(Surface.CHANGE_FRAME_RATE_ALWAYS); in testFixedSource_NonSeamless()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurface_OutOfResourcesExceptionTest.java19 import android.view.Surface;
32 new Surface.OutOfResourcesException(); in testConstructor()
33 new Surface.OutOfResourcesException("Test_Surface_OutOfResourcesException"); in testConstructor()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp119 class Surface { class
121 Surface(ANativeWindow* parentWindow, const std::string& name, int left, int top, int right, in Surface() function in __anonb7bd83a40111::Surface
139 ~Surface() { in ~Surface()
207 Surface* surface = new Surface(parentWindow.mNw, strName, left, top, right, bottom); in surfaceControlCreate()
220 delete reinterpret_cast<Surface*>(surfaceControlLong); in surfaceControlDestroy()
226 reinterpret_cast<Surface*>(surfaceControlLong)->getSurfaceControl(); in surfaceControlSetFrameRate()
241 reinterpret_cast<Surface*>(surfaceControlLong)->getSurfaceControl(); in surfaceControlClearFrameRate()
250 reinterpret_cast<Surface*>(surfaceControlLong)->getSurfaceControl(); in surfaceControlSetVisibility()
260 Surface* surface = reinterpret_cast<Surface*>(surfaceControlLong); in surfaceControlPostBuffer()
/cts/tests/tests/security/src/android/security/cts/
DOutputConfigurationTest.java26 import android.view.Surface;
42 Surface surface = new Surface(outputTexture); in testSharedSurfaceOutputConfigurationBasic()
63 Surface surface2 = new Surface(outputTexture2); in testSharedSurfaceOutputConfigurationBasic()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DNativeImageReaderTest.java23 import android.view.Surface;
53 Surface surface = testCreateSurfaceNative(); in testCreateSurface()
68 private static native Surface testCreateSurfaceNative(); in testCreateSurfaceNative()
/cts/tests/media/common/src/android/mediav2/common/cts/
DInputSurface.java28 import android.view.Surface;
47 private Surface mSurface;
155 public InputSurface(Surface surface, boolean releaseSurface, boolean useHighBitDepth) { in InputSurface()
165 public InputSurface(Surface surface, boolean useHighBitDepth) { in InputSurface()
172 public InputSurface(Surface surface) { in InputSurface()
242 public Surface getSurface() { in getSurface()
262 public static void clearSurface(Surface surface) { in clearSurface()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DDockConfigChangeTests.java36 import android.view.Surface;
150 return Surface.ROTATION_0; in rotationDegreesToConst()
152 return Surface.ROTATION_90; in rotationDegreesToConst()
154 return Surface.ROTATION_180; in rotationDegreesToConst()
156 return Surface.ROTATION_270; in rotationDegreesToConst()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/
DIProjectionService.aidl20 import android.view.Surface;
25 void startRendering(in Surface surface, int width, int height, int density, int viewType); in startRendering()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DRemoteVirtualDisplayService.java35 import android.view.Surface;
60 Surface surface = Surface.CREATOR.createFromParcel(data); in onCreate()
96 private void start(Surface surface, int w, int h) { in start()
112 private Surface mSurface;
119 VirtualDisplayPresentation(Context context, Surface surface, int w, int h) { in VirtualDisplayPresentation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVCameraPreview.java24 import android.view.Surface;
163 case Surface.ROTATION_0: in getRequiredRotation()
166 case Surface.ROTATION_90: in getRequiredRotation()
169 case Surface.ROTATION_180: in getRequiredRotation()
172 case Surface.ROTATION_270: in getRequiredRotation()
/cts/tests/tests/view/src/android/view/cts/
DScrollCaptureSessionTest.java26 import android.view.Surface;
45 private Surface mSurface;
49 mSurface = Mockito.mock(Surface.class); in setUp()
/cts/hostsidetests/tv/app/src/com/android/cts/tv/hostside/
DStubTvInputService.java22 import android.view.Surface;
43 public boolean onSetSurface(Surface surface) { in onSetSurface()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java25 import android.view.Surface;
152 Surface s = new Surface(st); in setSurfaceForNative()
182 public static native boolean setSurface(Surface surface); in setSurface()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/display/
DDisplay.kt20 import android.view.Surface
82 Surface.ROTATION_0 -> DisplayProperties.ScreenOrientation.PORTRAIT in display()
83 Surface.ROTATION_90 -> DisplayProperties.ScreenOrientation.LANDSCAPE in display()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt32 import android.view.Surface
56 const val ORIENTATION_0 = Surface.ROTATION_0
57 const val ORIENTATION_90 = Surface.ROTATION_90
58 const val ORIENTATION_180 = Surface.ROTATION_180
59 const val ORIENTATION_270 = Surface.ROTATION_270
/cts/tests/tests/tv/src/android/media/tv/cts/
DStubTvInputService.java23 import android.view.Surface;
51 public boolean onSetSurface(Surface surface) { in onSetSurface()

123456789