/frameworks/av/cmds/stagefright/ |
H A D | mediafilter.cpp | 62 "\t[-R] render output to surface (enables -S)\n" 63 "\t[-S] allocate buffers from a surface\n" 254 const sp<Surface> &surface, bool renderSurface, 275 if (surface == NULL || !renderSurface) { 315 const sp<Surface> &surface, 361 format, NULL /* surface */, NULL /* crypto */, 0 /* flags */); 462 vidFormat /* format */, surface, NULL /* crypto */, 0 /* flags */); 632 filterState, surface, renderSurface, 642 filterState, surface, renderSurface, 745 android::sp<Surface> surface; local 252 tryDrainOutputBuffer( CodecState *filterState, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, int64_t *startTimeRender) argument 312 decode( const sp<ALooper> &looper, const char *path, const sp<Surface> &surface, bool renderSurface, bool useTimestamp, FilterType filterType) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowContainerController.java | 119 StartingSurface surface = null; 130 surface = mContainer.startingSurface; 135 if (surface == null && DEBUG_STARTING_WINDOW) { 144 if (surface != null) { 146 surface.remove(); 177 StartingSurface surface = null; 179 surface = startingData.createStartingSurface(container); 183 if (surface != null) { 197 container.startingSurface = surface; 206 surface [all...] |
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 64 * public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { 68 * mCamera.setPreviewTexture(surface); 75 * public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { 79 * public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { 85 * public void onSurfaceTextureUpdated(SurfaceTexture surface) { 468 * The specified transform applies to the underlying surface 519 * of the associated surface texture. If the surface texture is not available, 530 * @return A valid {@link Bitmap.Config#ARGB_8888} bitmap, or null if the surface 543 * of the associated surface textur 811 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument 821 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument 831 onSurfaceTextureDestroyed(SurfaceTexture surface) argument 839 onSurfaceTextureUpdated(SurfaceTexture surface) argument 842 nCreateNativeWindow(SurfaceTexture surface) argument [all...] |
/frameworks/rs/tests/java_api/LivePreview/src/com/android/rs/livepreview/ |
H A D | CameraPreviewActivity.java | 138 public void onSurfaceTextureAvailable(SurfaceTexture surface, argument 140 mPreviewTexture = surface; 148 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument 152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) { argument 157 public void onSurfaceTextureUpdated(SurfaceTexture surface) { argument
|
/frameworks/native/libs/gui/tests/ |
H A D | Surface_test.cpp | 221 sp<Surface> surface = new Surface(producer); local 222 sp<ANativeWindow> window(surface); 235 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&graphicBuffer, &fence)); 238 ASSERT_EQ(NO_ERROR, surface->setGenerationNumber(1)); 242 ASSERT_EQ(NO_ERROR, surface->attachBuffer(buffer)); 260 sp<Surface> surface = new Surface(producer); local 261 sp<ANativeWindow> window(surface); 264 EXPECT_STREQ("TestConsumer", surface->getConsumerName().string()); 276 sp<Surface> surface = new Surface(producer); local 277 sp<ANativeWindow> window(surface); 307 sp<Surface> surface = new Surface(producer); local 333 sp<Surface> surface = new Surface(producer); local [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 58 jfieldID surface; member in struct:fields_t 406 jobject surface = env->GetObjectField(thiz, fields.surface); local 407 if (surface != NULL) { 408 const sp<Surface> native_surface = get_surface(env, surface); 411 // the preview surface becomes unavailable 413 ALOGE("Application lost the surface"); 414 jniThrowException(env, "java/io/IOException", "invalid preview surface"); 418 ALOGI("prepare: surface=%p", native_surface.get()); 455 "failed to get surface"); 558 jclass surface = env->FindClass("android/view/Surface"); local [all...] |
H A D | android_media_MediaCodec.h | 66 const sp<IGraphicBufferProducer> &surface); 69 status_t setInputSurface(const sp<PersistentSurface> &surface);
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvInputHal.cpp | 98 void setSurface(const sp<Surface>& surface); 120 void setSurfaceLocked(const sp<Surface>& surface); 153 void BufferProducerThread::setSurface(const sp<Surface>& surface) { argument 155 setSurfaceLocked(surface); 158 void BufferProducerThread::setSurfaceLocked(const sp<Surface>& surface) { argument 159 if (surface == mSurface) { 176 mSurface = surface; 212 ALOGE("error %d while wating for non-null surface to be set", err); 228 ALOGE("error %d while queueing buffer to surface", err); 238 ALOGE("error %d while dequeueing buffer to surface", er 340 addOrUpdateStream(int deviceId, int streamId, const sp<Surface>& surface) argument [all...] |
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraDeviceImpl.java | 419 // is created, as the deferred output configuration doesn't have unique surface 498 for (Surface surface : outputs) { 499 outConfigurations.add(new OutputConfiguration(surface)); 534 for (Surface surface : outputs) { 535 outConfigurations.add(new OutputConfiguration(surface)); 575 "Output surface list must not be null and the size must be no more than 2"); 582 for (Surface surface : outputs) { 583 outConfigurations.add(new OutputConfiguration(surface)); 726 public void prepare(Surface surface) throws CameraAccessException { argument 727 if (surface 746 prepare(int maxCount, Surface surface) argument 767 tearDown(Surface surface) argument 1247 onSurfacePrepared(Surface surface) argument [all...] |
H A D | CallbackProxies.java | 193 public void onSurfacePrepared(CameraCaptureSession session, Surface surface) { argument 194 mProxy.invoke("onSurfacePrepared", session, surface);
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 1297 // (it's possible that the surface is not fully initialized) 1302 egl_surface_t* surface; local 1303 surface = new egl_window_surface_v2_t(dpy, config, depthFormat, 1306 if (!surface->initCheck()) { 1309 delete surface; 1310 surface = 0; 1312 return surface; 1348 egl_surface_t* surface = 1352 if (!surface->initCheck()) { 1355 delete surface; 1392 egl_surface_t* surface = local [all...] |
/frameworks/av/include/media/ |
H A D | mediarecorder.h | 226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface); 250 status_t setInputSurface(const sp<PersistentSurface>& surface);
|
/frameworks/av/media/libmedia/include/media/ |
H A D | mediarecorder.h | 226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface); 250 status_t setInputSurface(const sp<PersistentSurface>& surface);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.h | 66 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface); 92 virtual status_t setInputSurface(const sp<PersistentSurface>& surface);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDecoder.h | 34 const sp<Surface> &surface = NULL, 39 // sets the output surface of video decoders. 40 virtual status_t setVideoSurface(const sp<Surface> &surface);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 184 void CanvasContext::setSurface(Surface* surface) { argument 187 mNativeSurface = surface; 189 bool hasSurface = mRenderPipeline->setSurface(surface, mSwapBehavior); 205 void CanvasContext::initialize(Surface* surface) { argument 206 setSurface(surface); 209 void CanvasContext::updateSurface(Surface* surface) { argument 210 setSurface(surface); 213 bool CanvasContext::pauseSurface(Surface* surface) { argument 697 // mFrameNumber is reset to -1 when the surface changes or we swap buffers 711 // New surface need [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | HardwareCanvasSurfaceViewActivity.java | 110 public RenderingThread(SurfaceHolder surface) { argument 111 mSurface = surface;
|
/frameworks/native/libs/vr/libdvr/ |
H A D | dvr_buffer_queue.cpp | 80 sp<Surface> surface = new Surface(gbp, true); local 81 write_queue->native_window = static_cast<ANativeWindow*>(surface.get());
|
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | VrState.java | 58 public void createOutputAllocation(Surface surface, int w, int h) {
argument 80 mScrAllocation.setSurface(surface);
|
/frameworks/base/libs/hwui/tests/common/ |
H A D | TestContext.cpp | 65 sp<Surface> TestContext::surface() { function in class:android::uirenderer::test::TestContext
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRecorder.java | 137 * Gets the surface to record from when using SURFACE video source. 149 * Configures the recorder to use a persistent surface when using SURFACE video source. 154 * @param surface a persistent input surface created by 158 * @throws IllegalArgumentException if the surface was not created by 163 public void setInputSurface(@NonNull Surface surface) { argument 164 if (!(surface instanceof MediaCodec.PersistentSurface)) { 167 native_setInputSurface(surface); 170 private native final void native_setInputSurface(@NonNull Surface surface); argument 175 * set. If {@link #setCamera(Camera)} is used and the surface ha [all...] |
/frameworks/native/libs/vr/libdvr/include/dvr/ |
H A D | dvr_api.h | 158 typedef void (*DvrSurfaceDestroyPtr)(DvrSurface* surface); 159 typedef int (*DvrSurfaceGetIdPtr)(DvrSurface* surface); 160 typedef int (*DvrSurfaceSetAttributesPtr)(DvrSurface* surface, 164 DvrSurface* surface, uint32_t width, uint32_t height, uint32_t format,
|
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/ |
H A D | NativeMedia.java | 333 public static native void setSurface(Surface surface); argument 392 Surface surface = new Surface(mMyGLSurfaceView.getSurfaceTexture()); 393 setSurface(surface); 394 surface.release();
|
/frameworks/base/core/jni/ |
H A D | android_view_ThreadedRenderer.cpp | 648 sp<Surface> surface = android_view_Surface_getSurface(env, jsurface); local 649 proxy->initialize(surface); 655 sp<Surface> surface; local 657 surface = android_view_Surface_getSurface(env, jsurface); 659 proxy->updateSurface(surface); 665 sp<Surface> surface; local 667 surface = android_view_Surface_getSurface(env, jsurface); 669 return proxy->pauseSurface(surface); 861 sp<Surface> surface = android_view_Surface_getSurface(env, jsurface); local 862 return RenderProxy::copySurfaceInto(surface, lef 892 sp<Surface> surface = new Surface(producer); local [all...] |
H A D | com_google_android_gles_jni_EGLImpl.cpp | 162 jobject surface, jint attribute, jintArray value) { 163 if (display == NULL || surface == NULL || value == NULL 169 EGLContext sur = getSurface(_env, surface); 394 static jboolean jni_eglDestroySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface) { argument 395 if (display == NULL || surface == NULL) { 400 EGLSurface sur = getSurface(_env, surface); 403 SkPixelRef* ref = (SkPixelRef*)(_env->GetLongField(surface, 439 static jboolean jni_eglSwapBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface) { argument 440 if (display == NULL || surface == NULL) { 445 EGLSurface sur = getSurface(_env, surface); 161 jni_eglQuerySurface(JNIEnv *_env, jobject _this, jobject display, jobject surface, jint attribute, jintArray value) argument 458 jni_eglCopyBuffers(JNIEnv *_env, jobject _this, jobject display, jobject surface, jobject native_pixmap) argument [all...] |