/pdk/apps/CameraITS/service/src/com/android/camera2/its/ |
ItsService.java | 40 import android.view.Surface; 325 List<Surface> outputSurfaces = new ArrayList<Surface>(1); 466 // Set the output surface and listeners. 504 List<Surface> outputSurfaces = new ArrayList<Surface>(1);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindowManager.java | 86 import android.view.Surface; 284 int mUserRotation = Surface.ROTATION_0; [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 19 import android.view.Surface; 101 private Surface mSurface; 660 private native void nativeSetSurface(int nativeContentVideoView, Surface surface);
|
ContentViewCore.java | 34 import android.view.Surface; [all...] |
/frameworks/av/cmds/stagefright/ |
SimplePlayer.cpp | 23 #include <gui/Surface.h> 70 sp<Surface> surface; local 72 surface = new Surface(bufferProducer); 76 "native-window", new NativeWindowWrapper(surface));
|
sf2.cpp | 47 const sp<Surface> &surface, bool renderToSurface) 50 mSurface(surface), 241 sp<Surface> mSurface; 556 " -S(urface) Allocate output buffers on a surface.\n" 557 " -R(ender) Render surface-allocated buffers.\n"); 607 sp<Surface> surface; local 614 String8("A Surface"), 628 surface = control->getSurface() [all...] |
/frameworks/av/services/camera/libcameraservice/api2/ |
CameraDeviceClient.cpp | 24 #include <gui/Surface.h> 118 ALOGE("%s: Camera %d: Requests must have at least one surface target. " 130 * the capture request's list of surface targets 135 sp<Surface> surface = request->mSurfaceList[i]; local 137 if (surface == 0) continue; 139 sp<IGraphicBufferProducer> gbp = surface->getIGraphicBufferProducer(); 142 // Trying to submit request with surface that wasn't created 144 ALOGE("%s: Camera %d: Tried to submit a request with a surface that" 281 // Don't create multiple streams for the same target surface [all...] |
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
VideoDumpView.java | 52 import android.view.Surface; 61 * It uses a renderer to display each video frame over a surface texture, read pixels, 267 * A renderer to read each video frame from a media player, draw it over a surface 462 * Called when the surface changed size. 463 * Called after the surface is created and whenever the OpenGL surface size changes. 466 Log.d(TAG, "Surface size: " + width + "x" + height); 473 // TODO: adjust video_width and video_height with the surface size. 512 * Called when the surface is created or recreated. 551 // Create our texture. This has to be done each time the surface is created 578 Surface surface = new Surface(mSurface); local [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
Session.java | 43 import android.view.Surface; 187 Rect outVisibleInsets, Configuration outConfig, Surface outSurface) { 255 int width, int height, Surface outSurface) { 317 // Make the surface visible at the proper location 461 WindowManagerService.TAG, " NEW SURFACE SESSION " + mSurfaceSession); 480 WindowManagerService.TAG, " KILL SURFACE SESSION " + mSurfaceSession); 484 Slog.w(WindowManagerService.TAG, "Exception thrown when killing surface session "
|
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...] |
/frameworks/wilhelm/src/android/ |
MediaPlayer_to_android.cpp | 19 #include <gui/Surface.h> 741 case NATIVE_WINDOW_SURFACE: { // Surface 743 android::sp<android::Surface> surface( 744 static_cast<android::Surface *>(nativeWindow)); 746 surface->getIGraphicBufferProducer());
|
/cts/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayTest.java | 35 import android.view.Surface; 173 Surface inputSurface = encoder.createInputSurface(); 273 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + 410 * Checks the contents of the current EGL surface to see if it matches expectations. 412 * The surface may be black or one of the colors we've drawn. We have sufficiently little 423 // Read a pixel from the center of the surface. Might want to read from multiple points
|
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/ |
Context.h | 41 class Surface; 176 void makeCurrent(egl::Surface *surface);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
CallbackProcessor.cpp | 23 #include <gui/Surface.h> 117 mCallbackWindow = new Surface(bq);
|
/frameworks/base/media/java/android/media/videoeditor/ |
MediaVideoItem.java | 27 import android.view.Surface; 498 throw new IllegalArgumentException("Surface Holder is null"); 505 final Surface surface = surfaceHolder.getSurface(); local 506 if (surface == null) { 507 throw new RuntimeException("Surface could not be retrieved from Surface holder"); 511 return mMANativeHelper.renderMediaItemPreviewFrame(surface,
|
/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...] |
/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 | 16 #include "gpu/gles2_conform_support/egl/surface.h" 93 bool Display::IsValidSurface(EGLSurface surface) { 94 return (surface != NULL) && (surface == surface_.get()); 101 // We do not support more than one window surface. 191 surface_.reset(new Surface(win)); 196 void Display::DestroySurface(EGLSurface surface) { 197 DCHECK(IsValidSurface(surface)); 208 void Display::SwapBuffers(EGLSurface surface) { 209 DCHECK(IsValidSurface(surface)); [all...] |
/frameworks/av/include/media/ |
IOMX.h | 35 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/core/java/android/hardware/ |
Camera.java | 41 import android.view.Surface; 80 * {@link #setPreviewDisplay(SurfaceHolder)}. Without a surface, the camera 84 * preview surface. Preview must be started before you can take a picture. 93 * <li>Call {@link #stopPreview()} to stop updating the preview surface. 434 * Sets the {@link Surface} to be used for live preview. 435 * Either a surface or surface texture is necessary for preview, and 436 * preview is necessary to take pictures. The same surface can be re-set 437 * without harm. Setting a preview surface will un-set any preview surface [all...] |