Searched refs:surface (Results 126 - 150 of 309) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/tv/
H A DITvInputSession.aidl34 void setSurface(in Surface surface);
/frameworks/native/include/private/gui/
H A DLayerState.h86 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 Ddisplay_client.h23 if (auto surface = Create(attributes, &error))
24 status.SetValue(std::move(surface));
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp381 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 Dgl2_yuvtex.cpp346 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 DrsdFrameBufferObj.cpp131 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 DrsdGL.cpp132 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 DVideoConsumptionExampleFragment.java64 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 DVideoConsumptionExampleFragment.java64 SurfaceView surface = (SurfaceView) videoSurfaceFragment.getView();
65 surface.getHolder().addCallback(new SurfaceHolder.Callback() {
/frameworks/av/media/libmedia/
H A DIMediaRecorder.cpp86 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 Ddxt.cpp195 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 DOutputConfiguration.cpp96 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 DCameraSourceTimeLapse.cpp46 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 Dandroid_view_Surface.h74 const sp<Surface>& surface);
/frameworks/base/libs/hwui/
H A DOpenGLReadback.h29 virtual CopyResult copySurfaceInto(Surface& surface, const Rect& srcRect,
/frameworks/base/libs/hwui/tests/common/
H A DTestContext.h46 // 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 DSkiaCanvasTests.cpp67 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 DMediaCodec.java287 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>&#9099;</td><td>Restricted to surface input mode</td></tr>
806 <tr><td>&#9094;</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 DEGLImpl.java33 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 DVideoCallImpl.java262 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 DSurfaceAndTextureViews.java173 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 DFlatland.h66 virtual bool render(EGLSurface surface) = 0;
/frameworks/native/cmds/surfacereplayer/replayer/trace_creator/
H A Dtrace_creator.py50 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 DActivityView.java187 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 DGLTextureViewActivity.java91 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;

Completed in 1299 milliseconds

1234567891011>>