/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
RenderTarget.java | 26 import android.view.Surface; 55 /** The source for the surface used in this target (if any) */ 115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); 156 public RenderTarget forSurface(Surface surface) { 160 eglSurf = mSurfaceSources.get(surface); 162 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surface, null); 163 mSurfaceSources.put(surface, eglSurf); 169 result.setSurfaceSource(surface); 196 throw new RuntimeException("This device supports only a single display surface!"); 359 private EGLSurface surface() { method in class:RenderTarget [all...] |
CameraStreamer.java | 30 import android.view.Surface; 283 /** Map of target surface textures (one for each target context) */ 321 // Listen to client-side surface texture updates 412 throw new RuntimeException("Could not bind camera surface texture: " + [all...] |
/frameworks/native/cmds/flatland/ |
Main.cpp | 20 #include <gui/Surface.h> 23 #include <gui/Surface.h> 512 bool doFrame(EGLSurface surface) { 530 result = mGLHelper->makeCurrent(surface); 545 result = mGLHelper->swapBuffers(surface); 575 // The surface into which layers are composited 579 // Used for displaying the surface to a window.
|
/frameworks/native/services/surfaceflinger/ |
DisplayDevice.cpp | 30 #include <gui/Surface.h> 76 mNativeWindow = new Surface(producer, false); 93 * Create our display's surface 96 EGLSurface surface; local 99 surface = eglCreateWindowSurface(display, config, window, NULL); 100 eglQuerySurface(display, surface, EGL_WIDTH, &mDisplayWidth); 101 eglQuerySurface(display, surface, EGL_HEIGHT, &mDisplayHeight); 104 mSurface = surface; 187 EGLSurface surface = mSurface; local 193 eglSetSwapRectangleANDROID(dpy, surface, [all...] |
/external/chromium_org/gpu/gles2_conform_support/egl/ |
display.cc | 17 #include "gpu/gles2_conform_support/egl/surface.h" 94 bool Display::IsValidSurface(EGLSurface surface) { 95 return (surface != NULL) && (surface == surface_.get()); 102 // We do not support more than one window surface. 194 surface_.reset(new Surface(win)); 199 void Display::DestroySurface(EGLSurface surface) { 200 DCHECK(IsValidSurface(surface)); 211 void Display::SwapBuffers(EGLSurface surface) { 212 DCHECK(IsValidSurface(surface)); [all...] |
/frameworks/av/include/media/ |
IOMX.h | 35 class Surface;
|
MediaPlayerInterface.h | 39 class Surface;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3ZslStream.cpp | 120 mConsumer = new Surface(bq);
|
/frameworks/base/media/jni/ |
android_media_MediaCodec.cpp | 30 #include <gui/Surface.h> 123 sp<Surface> client; 125 mSurfaceTextureClient = new Surface(bufferProducer, true /* controlledByApp */); 444 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface)); 445 if (surface != NULL) { 446 bufferProducer = surface->getIGraphicBufferProducer(); 451 "The surface has been released"); 476 // Tell the MediaCodec that we want to use a Surface as input. 484 // Wrap the IGBP in a Java-language Surface [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/ |
SurfaceRenderFilter.java | 37 import android.view.Surface; 54 /** Required. Sets the destination filter surface view for this 139 // Bind surface view to us. This will emit a surfaceCreated and surfaceChanged call that 147 // Make sure we are bound to a surface before rendering 150 this + ": Ignoring frame as there is no surface to render to!"); 158 throw new RuntimeException("Surface created under different GLEnvironment!"); 185 // Activate our surface 226 // If the screen is null, we do not care about surface changes (yet). Once we have a
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
GlobalScreenshot.java | 51 import android.view.Surface; 422 case Surface.ROTATION_90: 424 case Surface.ROTATION_180: 426 case Surface.ROTATION_270: 436 // We need to orient the screenshot correctly (and the Surface api seems to take screenshots
|
/frameworks/base/services/java/com/android/server/wm/ |
BlackFrame.java | 25 import android.view.Surface.OutOfResourcesException; 37 final SurfaceControl surface; field in class:BlackFrame.BlackSurface 48 surface = new WindowStateAnimator.SurfaceTrace(session, "BlackSurface(" 52 surface = new SurfaceControl(session, "BlackSurface", 56 surface.setAlpha(1); 57 surface.setLayerStack(layerStack); 58 surface.setLayer(layer); 59 surface.show(); 62 " BLACK " + surface + ": CREATE layer=" + layer); 66 surface.setAlpha(alpha) [all...] |
WindowManagerService.java | 120 import android.view.Surface.OutOfResourcesException; 121 import android.view.Surface; 215 * Dim surface layer is immediately below target window. 220 * Blur surface layer is immediately below dim layer. 362 * underlying surface. 377 * Windows whose surface should be destroyed. 640 // move the surface and tell the involved window(s) where we are 6835 SurfaceControl surface = new SurfaceControl(session, "drag surface", local 9647 final SurfaceControl surface = winAnimator.mSurfaceControl; local [all...] |
/frameworks/base/core/java/android/hardware/ |
Camera.java | 41 import android.view.Surface; 81 * {@link #setPreviewDisplay(SurfaceHolder)}. Without a surface, the camera 85 * preview surface. Preview must be started before you can take a picture. 94 * <li>Call {@link #stopPreview()} to stop updating the preview surface. 435 * Sets the {@link Surface} to be used for live preview. 436 * Either a surface or surface texture is necessary for preview, and 437 * preview is necessary to take pictures. The same surface can be re-set 438 * without harm. Setting a preview surface will un-set any preview surface [all...] |
/frameworks/base/media/java/android/media/videoeditor/ |
MediaArtistNativeHelper.java | 38 import android.view.Surface; [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 16 import android.view.Surface; 654 private native void nativeSetSurface(long nativeContentVideoView, Surface surface);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
ZslProcessor.cpp | 30 #include <gui/Surface.h> 137 mZslWindow = new Surface(bq);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.cpp | 42 #include <gui/Surface.h> 94 // calling requestExit() is not enough here because the Surface code 227 // create the native surface 235 sp<Surface> s = control->getSurface(); 248 EGLSurface surface; local 255 surface = eglCreateWindowSurface(display, config, s.get(), NULL); 257 eglQuerySurface(display, surface, EGL_WIDTH, &w); 258 eglQuerySurface(display, surface, EGL_HEIGHT, &h); 260 if (eglMakeCurrent(display, surface, surface, context) == EGL_FALSE [all...] |
/frameworks/base/services/input/ |
SpriteController.cpp | 25 #include <gui/Surface.h> 165 ALOGE("Error %d resizing sprite surface from %dx%d to %dx%d", 177 ALOGE("Error %d hiding sprite surface after resize.", status); 201 sp<Surface> surface = update.state.surfaceControl->getSurface(); local 203 status_t status = surface->lock(&outBuffer, NULL); 205 ALOGE("Error %d locking sprite surface before drawing.", status); 230 status = surface->unlockAndPost(); 232 ALOGE("Error %d unlocking and posting sprite surface after drawing.", status); 241 // Set sprite surface properties and make them visible [all...] |
/hardware/libhardware/tests/camera2/ |
CameraMultiStreamTests.cpp | 29 #include <gui/Surface.h> 91 void CreateOnScreenSurface(sp<ANativeWindow>& surface) { 96 String8("CameraMultiStreamTest StreamingImage Surface"), 108 surface = mSurfaceControl->getSurface(); 110 ASSERT_NE((void*)NULL, surface.get()); 174 CameraStreamParams param, sp<ANativeWindow> surface, 185 mNativeWindow = new Surface(bq); 189 mNativeWindow = surface; 331 sp<ANativeWindow> surface = NULL, 335 param, surface, useCpuConsumer) 553 sp<ANativeWindow> surface; local [all...] |
/frameworks/av/camera/ |
Camera.cpp | 33 #include <gui/Surface.h> 108 ALOGD_IF(bufferProducer == 0, "app passed NULL surface");
|
IProCameraUser.cpp | 26 #include <gui/Surface.h>
|
/frameworks/av/camera/camera2/ |
ICameraDeviceUser.cpp | 26 #include <gui/Surface.h> 134 data.writeString16(String16("unknown_name")); // name of surface
|
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.cpp | 33 #include <gui/Surface.h> 35 #include <gui/Surface.h> [all...] |
VideoEditorPreviewController.cpp | 21 #include <gui/Surface.h> 421 M4OSA_ERR VideoEditorPreviewController::setSurface(const sp<Surface> &surface) { 425 mSurface = surface; 734 const sp<Surface> &surface, VideoEditor_renderPreviewFrameStr* pFrameInfo) { 757 surface, 781 /* Fill the surface with black frame */ 794 const sp<Surface> &surface, [all...] |