Searched refs:surface (Results 126 - 150 of 157) sorted by relevance

1234567

/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java68 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument
72 mSurfaceControl = surface;
294 // Move the surface to the given touch
/frameworks/wilhelm/tests/native-media/jni/
H A Dnative-media-jni.c513 // set the surface
514 void Java_com_example_nativemedia_NativeMedia_setSurface(JNIEnv *env, jclass clazz, jobject surface) argument
516 // obtain a native window from a Java surface
517 theNativeWindow = ANativeWindow_fromSurface(env, surface);
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h243 const sp<Surface> &surface);
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h46 void setSurface(const sp<Surface> &surface);
H A DVideoEditorPlayer.h101 virtual status_t setVideoSurface(const sp<Surface> &surface);
H A DPreviewPlayer.cpp1771 void PreviewPlayer::setSurface(const sp<Surface> &surface) { argument
1774 mSurface = surface;
1775 setNativeWindow_l(surface);
1813 ALOGI("attempting to reconfigure to use new surface");
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.h54 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
H A DStagefrightRecorder.cpp228 status_t StagefrightRecorder::setPreviewSurface(const sp<IGraphicBufferProducer> &surface) { argument
229 ALOGV("setPreviewSurface: %p", surface.get());
230 mPreviewSurface = surface;
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp548 sp<Surface> surface; local
550 surface = android_view_Surface_getSurface(env, jSurface);
551 if (surface != NULL) {
552 gbp = surface->getIGraphicBufferProducer();
H A Dandroid_view_GLES20Canvas.cpp833 Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) {
835 sp<GLConsumer> surfaceTexture(SurfaceTexture_getSurfaceTexture(env, surface));
832 android_view_GLES20Canvas_updateTextureLayer(JNIEnv* env, jobject clazz, Layer* layer, jint width, jint height, jboolean isOpaque, jobject surface) argument
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp33 const GGLSurface* base = &tex->surface;
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java3010 * @param surface The surface on which preview has to be displayed
3018 void doPreview(Surface surface, long fromMs, long toMs, boolean loop, argument
3035 nativeStartPreview(surface, fromMs, toMs, callbackAfterFrameCount, loop);
3060 * from the complete story board on the surface
3062 * @param surface The surface on which frame has to be rendered
3064 * @param surfaceWidth The surface width
3065 * @param surfaceHeight The surface height
3071 long renderPreviewFrame(Surface surface, lon argument
3137 renderMediaItemPreviewFrame(Surface surface, String filepath, long time, int framewidth, int frameheight) argument
3919 clearPreviewSurface(Surface surface) argument
3994 nativeClearSurface(Surface surface) argument
[all...]
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp743 android::sp<android::Surface> surface(
746 surface->getIGraphicBufferProducer());
/frameworks/av/services/camera/libcameraservice/
H A DCameraService.h190 virtual status_t setPreviewDisplay(const sp<Surface>& surface) = 0;
H A DCamera2Client.cpp509 const sp<Surface>& surface) {
518 if (surface != 0) {
519 binder = surface->getIGraphicBufferProducer()->asBinder();
520 window = surface;
508 setPreviewDisplay( const sp<Surface>& surface) argument
/frameworks/wilhelm/tests/native-media/src/com/example/nativemedia/
H A DMyGLSurfaceView.java190 * surface is created.
226 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument
232 //Log.v(TAG, "onFrameAvailable " + surface.getTimestamp());
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp407 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
408 if (surface != NULL) {
409 bufferProducer = surface->getIGraphicBufferProducer();
414 "The surface has been released");
H A Dandroid_media_MediaPlayer.cpp278 sp<Surface> surface(android_view_Surface_getSurface(env, jsurface));
279 if (surface != NULL) {
280 new_st = surface->getIGraphicBufferProducer();
283 "The surface does not have a binding SurfaceTexture!");
289 "The surface has been released");
318 // Handle the case where the display surface was set before the mp was
335 // Handle the case where the display surface was set before the mp was
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java41 * An implementation of SurfaceView that uses the dedicated surface for
47 * <li>Manages a surface, which is a special piece of memory that can be
49 * <li>Manages an EGL display, which enables OpenGL to render into a surface.
86 * By default GLSurfaceView will create a PixelFormat.RGB_888 format surface. If a translucent
87 * surface is required, call getHolder().setFormat(PixelFormat.TRANSLUCENT).
88 * The exact format of a TRANSLUCENT surface is device dependent, but it will be
89 * a 32-bit-per-pixel surface with 8 bits per component.
174 * when the surface is created, or when {@link #requestRender} is called.
241 // underlying surface is created and destroyed
256 * whenever a surface i
799 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
821 destroySurface(EGL10 egl, EGLDisplay display, EGLSurface surface) argument
[all...]
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java285 * surface is created.
331 synchronized public void onFrameAvailable(SurfaceTexture surface) { argument
341 * Move the camera surface around based on some simple spring physics with drag
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.h151 sp<IGraphicBufferProducer> surface; member in struct:android::SurfaceFlinger::DisplayDeviceState
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DImageProcessingActivity.java394 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DImageProcessingActivity2.java355 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DImageProcessingActivityJB.java379 mSurfaceView = (SurfaceView) findViewById(R.id.surface);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java480 // If the application owns the surface, don't enable hardware acceleration
1189 // is attached to the window. Note that at this point the surface
1409 + " surface=" + mSurface);
1523 // If we are creating a new surface, then we need to
1545 // If the surface has been removed, then reset the scroll
1555 // Our surface is gone
1574 TAG, "Relayout returned: frame=" + frame + ", surface=" + mSurface);
1588 // The app owns the surface; tell it about what is going on.
1890 Log.e(TAG, "OutOfResourcesException initializing HW surface", e);
1899 mLayoutRequested = true; // ask wm for a new surface nex
2410 drawSoftware(Surface surface, AttachInfo attachInfo, int yoff, boolean scalingRequired, Rect dirty) argument
[all...]

Completed in 342 milliseconds

1234567