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

<<111213

/frameworks/base/media/jni/
H A Dandroid_media_MediaPlayer.cpp340 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
341 if (surface != NULL) {
342 new_st = surface->getIGraphicBufferProducer();
345 "The surface does not have a binding SurfaceTexture!");
351 "The surface has been released");
440 // Handle the case where the display surface was set before the mp was
457 // Handle the case where the display surface was set before the mp was
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java669 // Compute surface insets required to draw at specified Z value.
679 // If the application owns the surface, don't enable hardware acceleration
1025 // Restore old surface insets.
1883 // and stop using the surface in case it gets destroyed.
1899 + " surface=" + mSurface);
1966 // If we are creating a new surface, then we need to
1997 // If the surface has been removed, then reset the scroll
2009 // Our surface is gone
2022 // generation id), or WindowManager changed the surface size. The latter is
2025 // Note that frame size change doesn't always imply surface siz
3022 drawSoftware(Surface surface, AttachInfo attachInfo, int xoff, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]
/frameworks/native/opengl/tests/hwc/
H A DhwcCommit.cpp233 static EGLSurface surface; variable
1502 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
/frameworks/native/cmds/surfacereplayer/replayer/
H A DReplayer.cpp437 setDisplaySurface(change.id(), change.surface());
589 ALOGE("CreateSurfaceControl: unable to create surface control");
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java281 * Dim surface layer is immediately below target window.
449 * underlying surface.
464 * Windows whose surface should be destroyed.
469 * Windows with a preserved surface waiting to be destroyed. These windows
470 * are going through a surface change. We keep the old surface around until
471 * the first frame on the new surface finishes drawing.
642 // A count of the windows which are 'seamlessly rotated', e.g. a surface
806 // move the surface and tell the involved window(s) where we are
906 * Closes a surface transactio
[all...]
/frameworks/base/core/java/android/hardware/
H A DCamera.java82 * {@link #setPreviewDisplay(SurfaceHolder)}. Without a surface, the camera
86 * preview surface. Preview must be started before you can take a picture.
95 * <li>Call {@link #stopPreview()} to stop updating the preview surface.
617 * Either a surface or surface texture is necessary for preview, and
618 * preview is necessary to take pictures. The same surface can be re-set
619 * without harm. Setting a preview surface will un-set any preview surface
622 * <p>The {@link SurfaceHolder} must already contain a surface when this
630 * one exception is that if the preview surface i
652 setPreviewSurface(Surface surface) argument
[all...]
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp777 // With no surface list passed in, stream and surface will have 1-to-1
778 // mapping. So the surface index is 0 for each stream in the surfaceMap.
1864 ALOGV("%s: Camera %s: set consumer surface for stream %d",
1966 for (const auto& surface : surfaces) {
1967 if (stream->isConsumerConfigurationDeferred(surface)) {
1968 CLOGE("Stream %d surface %zu hasn't finished configuration yet "
1969 "due to deferred consumer", stream->getId(), surface);
/frameworks/rs/driver/
H A DrsdAllocation.cpp388 // Allocation is allocated when the surface is created
574 //If we have an attached surface, need to release it.
706 // Must lock the whole surface
735 // Cleanup old surface if there is one.
780 RSD_CALL_GL(eglSwapBuffers, dc->gl.egl.display, dc->gl.egl.surface);
803 rsc->setError(RS_ERROR_DRIVER, "Sent IO buffer with no attached surface.");
/frameworks/base/rs/jni/
H A Dandroid_renderscript_RenderScript.cpp910 ALOGD("nContextSetSurface, con(%p), width(%i), height(%i), surface(%p)", (RsContext)con,
1268 sp<Surface> surface(static_cast<Surface*>(anw));
1269 sp<IGraphicBufferProducer> bp = surface->getIGraphicBufferProducer();
1279 ALOGD("nAllocationSetSurface, con(%p), alloc(%p), surface(%p)", (RsContext)con,

Completed in 330 milliseconds

<<111213