HomeSort by relevance Sort by last modified time
    Searched refs:Surface (Results 1 - 25 of 193) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/base/core/java/android/view/
Surface.aidl 1 /* //device/java/android/android/view/Surface.aidl
20 parcelable Surface;
Surface.java 29 public class Surface implements Parcelable {
30 private static final String LOG_TAG = "Surface";
49 * Create Surface from a {@link SurfaceTexture}.
51 * Images drawn to the Surface will be made available to the {@link
56 * Surface.
58 public Surface(SurfaceTexture surfaceTexture) {
69 * Does this object hold a valid surface? Returns true if it holds
70 * a physical surface, so lockCanvas() will succeed. Otherwise
75 /** Release the local reference to the server-side surface.
76 * Always call release() when you're done with a Surface. This wil
    [all...]
  /cts/tests/tests/view/src/android/view/cts/
Surface_OutOfResourcesExceptionTest.java 20 import android.view.Surface;
21 import android.view.Surface.OutOfResourcesException;
27 new Surface.OutOfResourcesException();
28 new Surface.OutOfResourcesException(NAME);
  /external/icu4c/samples/layout/
Surface.h 5 class Surface
8 Surface(/*what?*/);
  /frameworks/base/include/android_runtime/
android_view_Surface.h 26 class Surface;
32 /* Gets the underlying Surface from a Surface Java object. */
33 extern sp<Surface> Surface_getSurface(JNIEnv* env, jobject thiz);
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
Surface.h 44 class Surface : public TilePainter {
46 Surface();
47 virtual ~Surface();
49 bool tryUpdateSurface(Surface* oldSurface);
98 LayerMergeState(Vector<Surface*>* const allGroups)
106 Vector<Surface*>* const surfaceList;
109 Surface* currentSurface;
Surface.cpp 26 #define LOG_TAG "Surface"
30 #include "Surface.h"
52 Surface::Surface()
58 ClassTracker::instance()->increment("Surface");
62 Surface::~Surface()
69 ClassTracker::instance()->decrement("Surface");
73 bool Surface::tryUpdateSurface(Surface* oldSurface
    [all...]
SurfaceCollection.h 41 class Surface;
77 WTF::Vector<Surface*> m_surfaces;
  /frameworks/native/include/gui/
Surface.h 41 class Surface;
49 static bool isValid(const sp<SurfaceControl>& surface) {
50 return (surface != 0) && surface->isValid();
60 // release surface data from java
80 sp<Surface> getSurface() const;
88 friend class Surface;
92 const sp<ISurface>& surface,
106 mutable sp<Surface> mSurfaceData;
111 class Surface : public SurfaceTextureClien
    [all...]
  /frameworks/av/libvideoeditor/lvpp/
PreviewRenderer.h 29 class Surface;
35 const sp<Surface> &surface,
50 const sp<Surface> &surface,
55 sp<Surface> mSurface;
VideoEditorPreviewController.h 28 struct Surface;
41 M4OSA_ERR setSurface(const sp<Surface>& surface);
51 const sp<Surface>& surface,
56 const sp<Surface>& surface,
86 sp<Surface> mSurface;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
GLEnvironment.java 24 import android.view.Surface;
102 public int registerSurface(Surface surface) {
103 int result = nativeAddSurface(surface);
105 throw new RuntimeException("Error registering surface " + surface + "!");
111 Surface surface = new Surface(surfaceTexture); local
112 int result = nativeAddSurfaceWidthHeight(surface, width, height)
    [all...]
  /frameworks/native/libs/gui/
Surface.cpp 17 #define LOG_TAG "Surface"
39 #include <gui/Surface.h>
51 const sp<ISurface>& surface,
53 : mClient(client), mSurface(surface),
79 // the surface's resource. Soon after this call, it will also release
199 sp<Surface> SurfaceControl::getSurface() const
204 mSurfaceData = new Surface(surface_control);
210 // Surface
215 Surface::Surface(const sp<SurfaceControl>& surface
283 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local
    [all...]
  /external/webkit/Source/ThirdParty/ANGLE/src/libEGL/
Surface.h 7 // Surface.h: Defines the egl::Surface class, representing a drawing surface
25 class Surface
28 Surface(Display *display, const egl::Config *config, HWND window);
30 ~Surface();
48 DISALLOW_COPY_AND_ASSIGN(Surface);
70 const HWND mWindow; // Window that the surface is created for.
72 const egl::Config *mConfig; // EGL config surface was created with
73 EGLint mHeight; // Height of surface
    [all...]
Surface.cpp 7 // Surface.cpp: Implements the egl::Surface class, representing a drawing surface
13 #include "libEGL/Surface.h"
22 Surface::Surface(Display *display, const Config *config, HWND window)
42 Surface::~Surface()
48 void Surface::release()
87 void Surface::resetSwapChain(
    [all...]
Display.h 25 #include "libEGL/Surface.h"
45 egl::Surface *createWindowSurface(HWND window, EGLConfig config);
48 void destroySurface(egl::Surface *surface);
54 bool isValidSurface(egl::Surface *surface);
92 typedef std::set<Surface*> SurfaceSet;
  /external/webkit/Source/WebKit/android/plugins/
ANPSurfaceInterface.cpp 35 #include <gui/Surface.h>
42 // used to cache JNI method and field IDs for Surface Objects
50 static inline sp<android::Surface> getSurface(JNIEnv* env, jobject view) {
63 "()Landroid/view/Surface;");
65 jclass surfaceClass = env->FindClass("android/view/Surface");
77 jobject surface = env->CallObjectMethod(holder, gSurfaceJavaGlue.getSurface); local
78 jint surfacePointer = env->GetIntField(surface, gSurfaceJavaGlue.surfacePointer);
81 env->DeleteLocalRef(surface);
83 return sp<android::Surface>((android::Surface*) surfacePointer)
99 sp<android::Surface> surface = getSurface(env, surfaceView); local
153 sp<android::Surface> surface = getSurface(env, surfaceView); local
    [all...]
  /frameworks/native/services/surfaceflinger/tests/resize/
resize.cpp 25 #include <gui/Surface.h>
41 sp<Surface> surface = client->createSurface(0, 160, 240, local
46 surface->setLayer(100000);
49 Surface::SurfaceInfo info;
50 surface->lock(&info);
53 surface->unlockAndPost();
55 surface->lock(&info);
57 surface->unlockAndPost();
60 surface->setSize(320, 240)
    [all...]
  /frameworks/native/services/surfaceflinger/tests/surface/
surface.cpp 25 #include <gui/Surface.h>
49 sp<Surface> surface = Surface::readFromParcel(parcel); local
50 ANativeWindow* window = surface.get();
  /frameworks/wilhelm/tests/sandbox/
nativewindow.cpp 23 #include <gui/Surface.h>
39 sp<Surface> gSurface;
54 String8("A Surface"),
69 sp<Surface> surface = control->getSurface(); local
70 CHECK(surface != NULL);
72 gSurface = surface;
76 return surface.get();
  /frameworks/base/services/java/com/android/server/wm/
DimSurface.java 21 import android.view.Surface;
27 Surface mDimSurface;
40 Surface.FX_SURFACE_DIM);
42 mDimSurface = new Surface(session, 0,
45 Surface.FX_SURFACE_DIM);
52 Slog.e(WindowManagerService.TAG, "Exception creating Dim surface", e);
58 * Show the dim surface.
73 Slog.w(WindowManagerService.TAG, "Failure showing dim surface", e);
96 Slog.w(WindowManagerService.TAG, "Illegal argument exception hiding dim surface");
StrictModeFlash.java 28 import android.view.Surface;
34 Surface mSurface;
42 mSurface = new Surface(session, 0, "StrictModeFlash", -1, 1, 1, PixelFormat.TRANSLUCENT, 0);
43 } catch (Surface.OutOfResourcesException e) {
65 } catch (Surface.OutOfResourcesException e) {
88 // Surface.openTransaction() / closeTransaction()
  /frameworks/base/core/java/android/webkit/
HTML5VideoInline.java 10 import android.view.Surface;
20 // surface texture as singleton. But the GL texture (m_textureNames)
21 // associated with the surface texture can be used for showing the screen
44 Surface surface = new Surface(surfaceTexture); local
45 mPlayer.setSurface(surface);
46 surface.release();
50 // this should be after surface holder created
72 // Create the surface texture
    [all...]
  /cts/tests/tests/mediastress/src/android/mediastress/cts/
NativeMediaActivity.java 26 import android.view.Surface;
112 //GLSurfaceView destroys surface on pause. so shutdown should be done.
138 // surface no longer available, so just shutdown
148 Surface s = new Surface(st);
175 * set surface to render. should be called before creating Media player
176 * @param surface
178 public static native boolean setSurface(Surface surface);
  /external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
main.h 29 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface);

Completed in 531 milliseconds

1 2 3 4 5 6 7 8