/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 63 // and the render surface. 121 void initialize(Surface* surface); 122 void updateSurface(Surface* surface); 123 bool pauseSurface(Surface* surface); 223 // painted onto its surface.
|
H A D | OpenGLPipeline.cpp | 54 "drawRenderNode called on a context with no surface!"); 149 bool OpenGLPipeline::setSurface(Surface* surface, SwapBehavior swapBehavior) { argument 156 if (surface) { 157 mEglSurface = mEglManager.createSurface(surface);
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 124 // create the native surface 127 sp<Surface> surface = testContext.surface(); local 139 proxy->initialize(surface);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaSync.java | 44 * sync.setSurface(surface); 62 * // send video frames to surface for rendering, e.g., call 82 * // surface timestamp must contain media presentation time in nanoseconds. 103 * For video, the client needs to call {@link #createInputSurface} to obtain a surface on 139 /** The surface failed to handle video buffers. 307 * Sets the output surface for MediaSync. 311 * @param surface Specify a surface on which to render the video data. 312 * @throws IllegalArgumentException if the surface has been released, is invalid, 314 * @throws IllegalStateException if setting the surface i 317 setSurface(@ullable Surface surface) argument 321 native_setSurface(@ullable Surface surface) argument [all...] |
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | egl.h | 209 GLAPI EGLBoolean APIENTRY eglDestroySurface (EGLDisplay dpy, EGLSurface surface); 210 GLAPI EGLBoolean APIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value); 223 GLAPI EGLBoolean APIENTRY eglCopyBuffers (EGLDisplay dpy, EGLSurface surface, NativePixmapType target);
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerGlobal.java | 385 String name, int width, int height, int densityDpi, Surface surface, int flags, 400 context.getPackageName(), name, width, height, densityDpi, surface, flags, 420 return new VirtualDisplay(this, display, callbackWrapper, surface); 423 public void setVirtualDisplaySurface(IVirtualDisplayCallback token, Surface surface) { argument 425 mDm.setVirtualDisplaySurface(token, surface); 384 createVirtualDisplay(Context context, MediaProjection projection, String name, int width, int height, int densityDpi, Surface surface, int flags, VirtualDisplay.Callback callback, Handler handler, String uniqueId) argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.cpp | 64 const sp<Surface> &surface, 67 mSurface(surface), 115 status_t NuPlayer::Decoder::setVideoSurface(const sp<Surface> &surface) { argument 116 if (surface == NULL || ADebug::isExperimentEnabled("legacy-setsurface")) { 122 msg->setObject("surface", surface); 231 CHECK(msg->findObject("surface", &obj)); 232 sp<Surface> surface = static_cast<Surface *>(obj.get()); // non-null local 237 // to the surface by MediaPlayerService. 240 // surface, whic 58 Decoder( const sp<AMessage> ¬ify, const sp<Source> &source, pid_t pid, uid_t uid, const sp<Renderer> &renderer, const sp<Surface> &surface, const sp<CCDecoder> &ccDecoder) argument [all...] |
/frameworks/base/libs/hwui/tests/unit/ |
H A D | RenderNodeDrawableTests.cpp | 139 auto surface = SkSurface::MakeRasterN32Premul(1, 1); local 140 SkCanvas& canvas = *surface->getCanvas(); 142 ASSERT_EQ(TestUtils::getColor(surface, 0, 0), SK_ColorBLUE); 157 ASSERT_EQ(SK_ColorRED, TestUtils::getColor(surface, 0, 0)); 161 ASSERT_EQ(SK_ColorWHITE, TestUtils::getColor(surface, 0, 0)); 165 ASSERT_EQ(SK_ColorRED, TestUtils::getColor(surface, 0, 0)); 186 auto surface = SkSurface::MakeRasterN32Premul(400, 800); local 187 SkCanvas& canvas = *surface->getCanvas(); 189 ASSERT_EQ(TestUtils::getColor(surface, 0, 0), SK_ColorWHITE); 220 ASSERT_EQ(SK_ColorGREEN, TestUtils::getColor(surface, 20 [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | WifiDisplayController.java | 741 public void onDisplayConnected(Surface surface, 755 advertiseDisplay(display, surface, width, height, flags); 946 final Surface surface, final int width, final int height, final int flags) { 948 || mAdvertisedDisplaySurface != surface 956 mAdvertisedDisplaySurface = surface; 964 if (oldSurface != null && surface != oldSurface) { 978 if (surface != null && surface != oldSurface) { 979 mListener.onDisplayConnected(display, surface, width, height, flags); 1109 Surface surface, in 945 advertiseDisplay(final WifiDisplay display, final Surface surface, final int width, final int height, final int flags) argument 1108 onDisplayConnected(WifiDisplay display, Surface surface, int width, int height, int flags) argument [all...] |
H A D | WifiDisplayAdapter.java | 361 Surface surface, int width, int height, int flags) { 385 refreshRate, deviceFlags, address, surface); 525 public void onDisplayConnected(WifiDisplay display, Surface surface, 529 addDisplayDeviceLocked(display, surface, width, height, flags); 593 Surface surface) { 601 mSurface = surface; 360 addDisplayDeviceLocked(WifiDisplay display, Surface surface, int width, int height, int flags) argument 591 WifiDisplayDevice(IBinder displayToken, String name, int width, int height, float refreshRate, int flags, String address, Surface surface) argument
|
H A D | DisplayManagerService.java | 110 * the display manager while holding a surface transaction with the expectation that 202 // to the surface flinger state. 623 int height, int densityDpi, Surface surface, int flags, String uniqueId) { 633 surface, flags, uniqueId); 664 private void setVirtualDisplaySurfaceInternal(IBinder appToken, Surface surface) { argument 670 mVirtualDisplayAdapter.setVirtualDisplaySurfaceLocked(appToken, surface); 1518 int width, int height, int densityDpi, Surface surface, int flags, 1534 if (surface != null && surface.isSingleBuffered()) { 1582 name, width, height, densityDpi, surface, flag 621 createVirtualDisplayInternal(IVirtualDisplayCallback callback, IMediaProjection projection, int callingUid, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 1516 createVirtualDisplay(IVirtualDisplayCallback callback, IMediaProjection projection, String packageName, String name, int width, int height, int densityDpi, Surface surface, int flags, String uniqueId) argument 1600 setVirtualDisplaySurface(IVirtualDisplayCallback callback, Surface surface) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_opengl_EGL14.cpp | 738 /* EGLBoolean eglDestroySurface ( EGLDisplay dpy, EGLSurface surface ) */ 741 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface) { 744 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface); 753 /* EGLBoolean eglQuerySurface ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value ) */ 756 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) { 762 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface); 915 /* EGLBoolean eglSurfaceAttrib ( EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value ) */ 918 (JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jint value) { 921 EGLSurface surface_native = (EGLSurface) fromEGLHandle(_env, eglsurfaceGetHandleID, surface); 932 /* EGLBoolean eglBindTexImage ( EGLDisplay dpy, EGLSurface surface, EGLin 740 android_eglDestroySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument 755 android_eglQuerySurface(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jintArray value_ref, jint offset) argument 917 android_eglSurfaceAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint attribute, jint value) argument 934 android_eglBindTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument 950 android_eglReleaseTexImage(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint buffer) argument 1182 android_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface) argument 1197 android_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject dpy, jobject surface, jint target) argument [all...] |
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | ImageProcessingActivity2.java | 777 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 778 mProcessor.setSurface(new Surface(surface)); 782 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 783 mProcessor.setSurface(new Surface(surface)); 787 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 793 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | ImageProcessingActivityJB.java | 349 // During startup we may not have a surface yet to display, if 355 // Our display surface changed, set it. 770 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 771 mProcessor.setSurface(new Surface(surface)); 775 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 776 mProcessor.setSurface(new Surface(surface)); 780 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 788 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/ |
H A D | VrView.java | 124 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 125 mSurfaceTexture = surface; 129 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 130 mSurfaceTexture = surface; 134 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 139 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 299 protected void setSurface(Surface surface) { argument 300 mSurface = surface; 379 public static final void setSurface(MediaPlayer player, Surface surface) { argument 380 player.setSurface(surface); 401 // add surface holder callback 420 // remove surface holder callback 424 // hide the surface view when SurfaceViewPlayer is destroyed 570 // Set up the surface view. 637 public void onWindowCreated(Surface surface) { argument 638 setSurface(surface); [all...] |
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/ |
H A D | LocalPlayer.java | 299 protected void setSurface(Surface surface) { argument 300 mSurface = surface; 379 public static final void setSurface(MediaPlayer player, Surface surface) { argument 380 player.setSurface(surface); 401 // add surface holder callback 420 // remove surface holder callback 424 // hide the surface view when SurfaceViewPlayer is destroyed 570 // Set up the surface view. 637 public void onWindowCreated(Surface surface) { argument 638 setSurface(surface); [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | stream.cpp | 343 sp<Surface> surface = control->getSurface(); local 344 CHECK(surface != NULL); 382 player->setVideoSurfaceTexture(surface->getIGraphicBufferProducer());
|
/frameworks/base/core/java/android/app/ |
H A D | NativeActivity.java | 101 private native void onSurfaceCreatedNative(long handle, Surface surface); argument 102 private native void onSurfaceChangedNative(long handle, Surface surface, argument 104 private native void onSurfaceRedrawNeededNative(long handle, Surface surface); argument
|
/frameworks/native/include/gui/ |
H A D | Surface.h | 78 /* convenience function to check that the given surface is non NULL as 80 static bool isValid(const sp<Surface>& surface) { argument 81 return surface != NULL && surface->getIGraphicBufferProducer() != NULL; 265 // GraphicBuffers removed from this surface after a dequeueBuffer, detachNextBuffer or 267 // longer in use by this surface. 296 // mSurfaceTexture is the interface to the surface texture server. All 297 // operations on the surface texture client ultimately translate into 402 // When a non-CPU producer is attached, this reflects the surface damage
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 129 static EGLSurface surface; variable 394 list->sur = surface; 417 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaFilter.h | 36 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.cpp | 55 status_t MediaRecorderClient::setInputSurface(const sp<PersistentSurface>& surface) argument 63 return mRecorder->setInputSurface(surface); 91 status_t MediaRecorderClient::setPreviewSurface(const sp<IGraphicBufferProducer>& surface) argument 99 return mRecorder->setPreviewSurface(surface);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MediaFilter.h | 36 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
|
/frameworks/av/media/libstagefright/include/ |
H A D | MediaFilter.h | 36 virtual void initiateSetInputSurface(const sp<PersistentSurface> &surface);
|