/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"; 35 /** Surface is created hidden */ 38 /** The surface is to be used by hardware accelerators or DMA engines 44 /** Implies "HARDWARE", the surface is to be used by the GPU 52 /** The surface contains secure content, special measures will 53 * be taken to disallow the surface's content to be copied from 56 * surface might not be hardware accelerated. */ 59 /** Creates a surface where color components are interpreted as 73 * composited on top of each-other into the surface. A pre-multiplie [all...] |
IWindowSession.aidl | 28 import android.view.Surface; 46 * position should be ignored) and surface of the window. The surface 74 * @param outSurface Object in which is placed the new display surface. 83 out Surface outSurface); 87 * completely transparent, allowing it to work with the surface flinger
|
/cts/tests/tests/view/src/android/view/cts/ |
Surface_OutOfResourcesExceptionTest.java | 20 import android.view.Surface; 21 import android.view.Surface.OutOfResourcesException; 34 method = "Surface.OutOfResourcesException", 39 method = "Surface.OutOfResourcesException", 44 new Surface.OutOfResourcesException(); 45 new Surface.OutOfResourcesException(NAME);
|
SurfaceTest.java | 30 import android.view.Surface; 31 import android.view.Surface.OutOfResourcesException; 33 @TestTargetClass(Surface.class) 43 notes = "Test Surface", 49 notes = "Test Surface", 55 notes = "Test Surface", 61 notes = "Test Surface", 67 notes = "Test Surface", 73 notes = "Test Surface", 79 notes = "Test Surface", 179 Surface surface = getActivity().getSurfaceView().getHolder().getSurface(); local [all...] |
/external/icu4c/samples/layout/ |
Surface.h | 5 class Surface 8 Surface(/*what?*/);
|
/frameworks/base/libs/surfaceflinger_client/ |
Surface.cpp | 17 #define LOG_TAG "Surface" 38 #include <surfaceflinger/Surface.h> 107 const sp<ISurface>& surface, 110 : mClient(client), mSurface(surface), 138 // the surface's resource. Soon after this call, it will also release 263 sp<Surface> SurfaceControl::getSurface() const 267 mSurfaceData = new Surface(const_cast<SurfaceControl*>(this)); 273 // Surface 323 Surface::Surface(const sp<SurfaceControl>& surface 385 sp<Surface> surface = sCachedSurfaces.valueFor(binder).promote(); local 846 sp<ISurface> surface; member in class:android::SetBufferCountIPC [all...] |
Android.mk | 10 Surface.cpp \
|
/frameworks/base/include/surfaceflinger/ |
Surface.h | 44 class Surface; 55 static bool isValid(const sp<SurfaceControl>& surface) { 56 return (surface != 0) && surface->isValid(); 67 // release surface data from java 86 sp<Surface> getSurface() const; 106 friend class Surface; 110 const sp<ISurface>& surface, 129 mutable sp<Surface> mSurfaceData; 134 class Surface [all...] |
/frameworks/base/services/surfaceflinger/tests/resize/ |
resize.cpp | 9 #include <surfaceflinger/Surface.h> 20 static const sp<ISurface>& getISurface(const sp<Surface>& s) { 35 // create pushbuffer surface 36 sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240, local 41 surface->setLayer(100000); 44 Surface::SurfaceInfo info; 45 surface->lock(&info); 48 surface->unlockAndPost(); 50 surface->lock(&info) [all...] |
/external/webkit/WebKit/android/plugins/ |
ANPSurfaceInterface.cpp | 35 #include <surfaceflinger/Surface.h> 42 // used to cache JNI method and field IDs for Surface Objects 50 static inline sp<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<Surface>((Surface*) surfacePointer) 99 sp<Surface> surface = getSurface(env, surfaceView); local 153 sp<Surface> surface = getSurface(env, surfaceView); local [all...] |
/frameworks/base/services/surfaceflinger/tests/overlays/ |
overlays.cpp | 8 #include <surfaceflinger/Surface.h> 17 static const sp<ISurface>& getISurface(const sp<Surface>& s) { 32 // create pushbuffer surface 33 sp<Surface> surface = client->createSurface(getpid(), 0, 320, 240, local 37 sp<ISurface> isurface = Test::getISurface(surface);
|
/frameworks/base/services/surfaceflinger/tests/surface/ |
surface.cpp | 9 #include <surfaceflinger/Surface.h> 26 // create pushbuffer surface 37 sp<Surface> surface = Surface::readFromParcel(parcel); local 38 ANativeWindow* window = surface.get();
|
/frameworks/base/graphics/java/android/renderscript/ |
RenderScriptGL.java | 25 import android.view.Surface; 33 private Surface mSurface; 52 public void contextSetSurface(int w, int h, Surface sur) {
|
/frameworks/base/native/android/ |
native_window.cpp | 17 #define LOG_TAG "Surface" 21 #include <surfaceflinger/Surface.h> 26 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface) { 27 sp<ANativeWindow> win = android_Surface_getNativeWindow(env, surface); 75 Surface::SurfaceInfo info; 76 status_t res = static_cast<Surface*>(window)->lock(&info, dirtyParam); 95 status_t res = static_cast<Surface*>(window)->unlockAndPost();
|
/frameworks/base/services/surfaceflinger/ |
LayerBase.h | 121 * onDraw - draws the surface. 132 * out which attributes of the surface have changed. 144 * region corresponds to any area of the surface that is covered 145 * (transparently or not) by another surface. 158 * to figure out if the content or size of a surface has changed. 165 * At this point, all visible regions, surface position and size, etc... are 176 * needsBlending - true if this surface needs blending 181 * needsDithering - true if this surface needs dithering 186 * needsLinearFiltering - true if this surface needs filtering 191 * isSecure - true if this surface is secure, that is if it prevent [all...] |
LayerBase.cpp | 545 sp<LayerBaseClient::Surface> LayerBaseClient::getSurface() 547 sp<Surface> s; 557 sp<LayerBaseClient::Surface> LayerBaseClient::createSurface() const 559 return new Surface(mFlinger, mIdentity, 579 LayerBaseClient::Surface::Surface( 587 LayerBaseClient::Surface::~Surface() 600 sp<LayerBaseClient> LayerBaseClient::Surface::getOwner() const { 605 status_t LayerBaseClient::Surface::onTransact [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
BaseSurfaceHolder.java | 24 import android.view.Surface; 40 public Surface mSurface = new Surface(); 166 "Surface type is SURFACE_TYPE_PUSH_BUFFERS"); 178 Log.e(TAG, "Exception locking surface", e); 188 // If the Surface is not ready to be drawn, then return null, 211 public Surface getSurface() {
|
/frameworks/base/core/jni/ |
android_view_Surface.cpp | 17 #define LOG_TAG "Surface" 24 #include <surfaceflinger/Surface.h> 52 "android/view/Surface$OutOfResourcesException"; 61 jfieldID surface; member in struct:android::so_t 145 const sp<SurfaceControl>& surface) 149 if (surface.get()) { 150 surface->incStrong(clazz); 155 env->SetIntField(clazz, so.surfaceControl, (int)surface.get()); 158 static sp<Surface> getSurface(JNIEnv* env, jobject clazz) 160 sp<Surface> result((Surface*)env->GetIntField(clazz, so.surface)) 215 sp<SurfaceControl> surface; local 601 const sp<SurfaceControl>& surface = getSurfaceControl(env, clazz); local [all...] |
/frameworks/base/include/camera/ |
Camera.h | 135 class Surface; 168 status_t setPreviewDisplay(const sp<Surface>& surface); 169 status_t setPreviewDisplay(const sp<ISurface>& surface);
|
/frameworks/base/include/media/ |
mediarecorder.h | 30 class Surface; 168 status_t setPreviewSurface(const sp<Surface>& surface);
|
/packages/wallpapers/Basic/src/com/android/wallpaper/ |
RenderScriptWallpaper.java | 25 import android.view.Surface; 103 Surface surface = null; local 104 while (surface == null) { 105 surface = holder.getSurface();
|
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
RenderScriptWallpaper.java | 27 import android.view.Surface; 111 Surface surface = null; local 112 while (surface == null) { 113 surface = holder.getSurface();
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/ |
RenderScriptWallpaper.java | 25 import android.view.Surface; 108 Surface surface = null; local 109 while (surface == null) { 110 surface = holder.getSurface();
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 95 sp<Surface> mFlingerSurface;
|