/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSession.aidl | 34 void setSurface(in Surface surface);
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 86 sp<IBinder> surface; member in struct:android::layer_state_t 143 sp<IGraphicBufferProducer> surface; member in struct:android::DisplayState
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
H A D | display_client.h | 23 if (auto surface = Create(attributes, &error)) 24 status.SetValue(std::move(surface));
|
/frameworks/native/opengl/tests/gl2_copyTexImage/ |
H A D | gl2_copyTexImage.cpp | 381 EGLSurface surface; local 425 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 427 if (surface == EGL_NO_SURFACE) { 438 returnValue = eglMakeCurrent(dpy, surface, surface, context); 443 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 445 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 463 eglSwapBuffers(dpy, surface);
|
/frameworks/native/opengl/tests/gl2_yuvtex/ |
H A D | gl2_yuvtex.cpp | 346 EGLSurface surface; local 380 surface = eglCreateWindowSurface(dpy, myConfig, window, NULL); 382 if (surface == EGL_NO_SURFACE) { 393 returnValue = eglMakeCurrent(dpy, surface, surface, context); 398 eglQuerySurface(dpy, surface, EGL_WIDTH, &w); 400 eglQuerySurface(dpy, surface, EGL_HEIGHT, &h); 412 fprintf(stderr, "Could not set up texture surface.\n"); 423 eglSwapBuffers(dpy, surface);
|
/frameworks/rs/driver/ |
H A D | rsdFrameBufferObj.cpp | 131 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_WIDTH, &width); 132 eglQuerySurface(dc->gl.egl.display, dc->gl.egl.surface, EGL_HEIGHT, &height);
|
H A D | rsdGL.cpp | 132 ALOGE(" EGL context %p surface %p, Display=%p", dc->gl.egl.context, dc->gl.egl.surface, 160 if (dc->gl.egl.surface != EGL_NO_SURFACE) { 161 RSD_CALL_GL(eglDestroySurface, dc->gl.egl.display, dc->gl.egl.surface); 429 if (dc->gl.egl.surface != nullptr) { 436 ret = eglDestroySurface(dc->gl.egl.display, dc->gl.egl.surface); 439 dc->gl.egl.surface = nullptr; 451 dc->gl.egl.surface = eglCreateWindowSurface(dc->gl.egl.display, dc->gl.egl.config, 454 if (dc->gl.egl.surface == EGL_NO_SURFACE) { 459 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surface, [all...] |
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | VideoConsumptionExampleFragment.java | 64 SurfaceView surface = (SurfaceView) videoSurfaceFragment.getView(); 65 surface.getHolder().addCallback(new SurfaceHolder.Callback() {
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/ |
H A D | VideoConsumptionExampleFragment.java | 64 SurfaceView surface = (SurfaceView) videoSurfaceFragment.getView(); 65 surface.getHolder().addCallback(new SurfaceHolder.Callback() {
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 86 status_t setInputSurface(const sp<PersistentSurface>& surface) argument 88 ALOGV("setInputSurface(%p)", surface.get()); 91 surface->writeToParcel(&data); 109 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) argument 111 ALOGV("setPreviewSurface(%p)", surface.get()); 114 data.writeStrongBinder(IInterface::asBinder(surface)); 509 sp<IGraphicBufferProducer> surface = interface_cast<IGraphicBufferProducer>( local 511 reply->writeInt32(setPreviewSurface(surface)); 527 sp<PersistentSurface> surface = new PersistentSurface(); local 528 surface [all...] |
/frameworks/native/opengl/libagl/ |
H A D | dxt.cpp | 195 void *surface, int stride, 211 uint16_t* rowPtr = (uint16_t*)surface; 308 void *surface, int stride) 323 uint32_t* rowPtr = (uint32_t*)surface; 417 void *surface, int stride) 447 uint32_t* rowPtr = (uint32_t*)surface; 580 * The output is written to 'surface' with each scanline separated by 600 void *surface, int stride, int format) 611 decodeDXT1(data, width, height, surface, stride, false); 615 decodeDXT1(data, width, height, surface, strid 194 decodeDXT1(const GLvoid *data, int width, int height, void *surface, int stride, bool hasAlpha) argument 307 decodeDXT3(const GLvoid *data, int width, int height, void *surface, int stride) argument 416 decodeDXT5(const GLvoid *data, int width, int height, void *surface, int stride) argument 599 decodeDXT(const GLvoid *data, int width, int height, void *surface, int stride, int format) argument [all...] |
/frameworks/av/camera/camera2/ |
H A D | OutputConfiguration.cpp | 96 ALOGE("%s: Failed to read surface set ID from parcel", __FUNCTION__); 102 ALOGE("%s: Failed to read surface type from parcel", __FUNCTION__); 108 ALOGE("%s: Failed to read surface width from parcel", __FUNCTION__); 114 ALOGE("%s: Failed to read surface height from parcel", __FUNCTION__); 120 ALOGE("%s: Failed to read surface isDeferred flag from parcel", __FUNCTION__); 126 ALOGE("%s: Failed to read surface isShared flag from parcel", __FUNCTION__); 132 ALOGE("%s: Invalid surface type for deferred configuration", __FUNCTION__); 138 ALOGE("%s: Failed to read surface(s) from parcel", __FUNCTION__); 149 for (auto& surface : surfaceShims) { 151 surface [all...] |
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 46 const sp<IGraphicBufferProducer>& surface, 53 videoSize, videoFrameRate, surface, 75 const sp<IGraphicBufferProducer>& surface, 79 videoSize, videoFrameRate, surface, 37 CreateFromCamera( const sp<hardware::ICamera> &camera, const sp<ICameraRecordingProxy> &proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument 66 CameraSourceTimeLapse( const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& proxy, int32_t cameraId, const String16& clientName, uid_t clientUid, pid_t clientPid, Size videoSize, int32_t videoFrameRate, const sp<IGraphicBufferProducer>& surface, int64_t timeBetweenFrameCaptureUs, bool storeMetaDataInVideoBuffers) argument
|
/frameworks/base/core/jni/include/android_runtime/ |
H A D | android_view_Surface.h | 74 const sp<Surface>& surface);
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLReadback.h | 29 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect,
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestContext.h | 46 // Must be called before surface(); 49 "Must be called before surface is created"); 53 sp<Surface> surface();
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | SkiaCanvasTests.cpp | 67 auto surface = SkSurface::MakeRasterN32Premul(10, 10); local 68 SkiaCanvas canvas(surface->getCanvas(), Canvas::XformToSRGB::kDefer); 80 ASSERT_EQ(TestUtils::getColor(surface, 0, 0), SK_ColorWHITE); 81 ASSERT_NE(TestUtils::getColor(surface, 5, 5), SK_ColorWHITE);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 287 surface} by calling {@link #setInputSurface}. 602 surface. You have three choices: 649 passed from the input surface to the codec. Calling {@link #dequeueInputBuffer 653 Call {@link #signalEndOfInputStream} to signal end-of-stream. The input surface will stop 805 <tr><td>⎋</td><td>Restricted to surface input mode</td></tr> 806 <tr><td>⎆</td><td>Restricted to surface output mode</td></tr> 1842 * @param surface Specify a surface on which to render the output of this 1843 * decoder. Pass {@code null} as {@code surface} if the 1852 * @throws IllegalArgumentException if the surface ha 1860 configure( @ullable MediaFormat format, @Nullable Surface surface, @Nullable MediaCrypto crypto, @ConfigureFlag int flags) argument 1890 configure( @ullable MediaFormat format, @Nullable Surface surface, @ConfigureFlag int flags, @Nullable MediaDescrambler descrambler) argument 1897 configure( @ullable MediaFormat format, @Nullable Surface surface, @Nullable MediaCrypto crypto, @Nullable IBinder descramblerBinder, @ConfigureFlag int flags) argument 1950 setOutputSurface(@onNull Surface surface) argument 1957 native_setSurface(@onNull Surface surface) argument 1997 setInputSurface(@onNull Surface surface) argument 2006 native_releasePersistentInputSurface(@onNull Surface surface) argument 2007 native_setInputSurface(@onNull Surface surface) argument 2011 native_configure( @ullable String[] keys, @Nullable Object[] values, @Nullable Surface surface, @Nullable MediaCrypto crypto, @Nullable IBinder descramblerBinder, @ConfigureFlag int flags) argument [all...] |
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | EGLImpl.java | 33 public native boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); argument 41 public native boolean eglDestroySurface(EGLDisplay display, EGLSurface surface); argument 44 public native boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); argument 46 public native boolean eglCopyBuffers(EGLDisplay display, EGLSurface surface, Object native_pixmap); argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoCallImpl.java | 262 public void setPreviewSurface(Surface surface) { argument 264 mVideoProvider.setPreviewSurface(surface); 270 public void setDisplaySurface(Surface surface) { argument 272 mVideoProvider.setDisplaySurface(surface);
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
H A D | SurfaceAndTextureViews.java | 173 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 178 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 186 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 191 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/native/cmds/flatland/ |
H A D | Flatland.h | 66 virtual bool render(EGLSurface surface) = 0;
|
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/ |
H A D | trace_creator.py | 50 print ("2. Add surface creation") 51 print ("3. Add surface deletion") 153 change.surface.buffer_queue_id, \ 154 change.surface.buffer_queue_name = surface() 266 def surface(): function
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityView.java | 187 final Surface surface = (visibility == View.GONE) ? null : mSurface; 188 setSurfaceAsync(surface, mWidth, mHeight, mDensityDpi, false); 292 private void setSurfaceAsync(final Surface surface, final int width, final int height, argument 299 mActivityContainer.setSurface(surface, width, height, densityDpi); 304 "ActivityView: Unable to set surface of ActivityContainer. ", 312 if (surface != null) { 328 * Note: If the surface has been created prior to this call being made, then 351 * Called when the surface is ready to be drawn to. Calling startActivity prior to this 356 * Called when the surface has been removed. Calling startActivity after this callback 451 void setSurface(Surface surface, in argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 91 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 92 mRenderThread = new RenderThread(getResources(), surface); 111 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 115 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 126 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument 147 RenderThread(Resources resources, SurfaceTexture surface) { argument 149 mSurface = surface;
|