/cts/tests/tests/media/src/android/media/cts/ |
ExtractDecodeEditEncodeMuxTest.java | 30 import android.view.Surface; 42 * <p>It uses MediaExtractor to get frames from a test stream, decodes them to a surface, uses a 43 * shader to edit them, encodes them from the resulting surface, and then uses MediaMuxer to write 301 // our desired properties. Request a Surface to use for input. 302 AtomicReference<Surface> inputSurfaceReference = new AtomicReference<Surface>(); 327 // our desired properties. Request a Surface to use for input. 467 * Creates a decoder for the given format, which outputs to the given surface. 470 * @param surface into which to decode the frames 472 private MediaCodec createVideoDecoder(MediaFormat inputFormat, Surface surface) [all...] |
/external/qemu/android/skin/ |
trackball.c | 164 SDL_Surface* surface; member in struct:SkinTrackBall 221 /* init SDL surface */ 230 ball->surface = sdl_surface_from_argb32( ball->pixels, diameter2, diameter2 ); 386 if (ball->surface) { 387 SDL_FreeSurface( ball->surface ); 388 ball->surface = NULL; 481 SDL_LockSurface( ball->surface ); 546 SDL_UnlockSurface( ball->surface ); 559 SDL_BlitSurface( ball->surface, NULL, dst, &d );
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsvideo.c | 59 /* Hardware surface functions */ 60 static int WSCONS_AllocHWSurface(_THIS, SDL_Surface *surface); 61 static int WSCONS_LockHWSurface(_THIS, SDL_Surface *surface); 62 static void WSCONS_UnlockHWSurface(_THIS, SDL_Surface *surface); 63 static void WSCONS_FreeHWSurface(_THIS, SDL_Surface *surface); 382 static int WSCONS_AllocHWSurface(_THIS, SDL_Surface *surface) 386 static void WSCONS_FreeHWSurface(_THIS, SDL_Surface *surface) 390 static int WSCONS_LockHWSurface(_THIS, SDL_Surface *surface) 395 static void WSCONS_UnlockHWSurface(_THIS, SDL_Surface *surface)
|
/frameworks/base/core/jni/ |
android_app_NativeActivity.cpp | 30 #include <gui/Surface.h> 462 onSurfaceCreated_native(JNIEnv* env, jobject clazz, jint handle, jobject surface) 467 code->setSurface(surface); 482 onSurfaceChanged_native(JNIEnv* env, jobject clazz, jint handle, jobject surface, 489 code->setSurface(surface); 535 onSurfaceDestroyed_native(JNIEnv* env, jobject clazz, jint handle, jobject surface) 604 { "onSurfaceCreatedNative", "(ILandroid/view/Surface;)V", (void*)onSurfaceCreated_native }, 605 { "onSurfaceChangedNative", "(ILandroid/view/Surface;III)V", (void*)onSurfaceChanged_native }, 606 { "onSurfaceRedrawNeededNative", "(ILandroid/view/Surface;)V", (void*)onSurfaceRedrawNeeded_native },
|
android_view_TextureView.cpp | 26 #include <gui/Surface.h> 73 jobject surface, jint width, jint height) { 75 sp<GLConsumer> glConsumer(SurfaceTexture_getSurfaceTexture(env, surface)); 107 jobject surface) { 109 sp<GLConsumer> glConsumer(SurfaceTexture_getSurfaceTexture(env, surface)); 110 sp<ANativeWindow> window = new Surface(glConsumer->getBufferQueue());
|
/frameworks/native/opengl/include/EGL/ |
eglext.h | 71 EGLAPI EGLBoolean EGLAPIENTRY eglLockSurfaceKHR (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 72 EGLAPI EGLBoolean EGLAPIENTRY eglUnlockSurfaceKHR (EGLDisplay display, EGLSurface surface); 74 typedef EGLBoolean (EGLAPIENTRYP PFNEGLLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface, const EGLint *attrib_list); 75 typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNLOCKSURFACEKHRPROC) (EGLDisplay display, EGLSurface surface); 240 /* Surface Attribute */ 290 EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 292 typedef EGLBoolean (EGLAPIENTRYP PFNEGLPOSTSUBBUFFERNVPROC) (EGLDisplay dpy, EGLSurface surface, EGLint x, EGLint y, EGLint width, EGLint height); 298 EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value); 300 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
|
/packages/apps/Nfc/src/com/android/nfc/ |
SendUi.java | 41 import android.view.Surface; 139 // Wait for hw surface => start frame counter => start pre-animation after 3 frames 170 // Used for holding the surface 371 } // else, we will start the animation once we get the hardware surface 504 case Surface.ROTATION_90: 506 case Surface.ROTATION_180: 508 case Surface.ROTATION_270: 549 // We need to orient the screenshot correctly (and the Surface api seems to 659 // on the surface, which will allocate large buffers the first three calls 687 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) [all...] |
/development/ndk/platforms/android-5/samples/hello-gl2/src/com/android/gl2jni/ |
GL2JNIView.java | 51 * OpenGL ES 2.0 rendering into a GL Surface. Note the following important 63 * - The class must select the surface's format, then choose an EGLConfig 83 /* By default, GLSurfaceView() creates a RGB_565 opaque surface. 84 * If we want a translucent one, we should change the surface's 86 * is interpreted as any 32-bit surface with alpha by SurfaceFlinger. 98 * our surface exactly. This is going to be done in our
|
/external/chromium/chrome/browser/ui/gtk/tabs/ |
dragged_tab_gtk.cc | 236 void DraggedTabGtk::SetContainerShapeMask(cairo_surface_t* surface) { 250 cairo_set_source_surface(cairo_context, surface, 0, 0); 281 cairo_surface_t* surface = dragged_tab->renderer_->PaintToSurface(); local 285 dragged_tab->SetContainerShapeMask(surface); 336 cairo_set_source_surface(cr, surface, 0, 0); 341 cairo_surface_destroy(surface);
|
/external/webkit/Source/WebCore/platform/graphics/android/layers/ |
LayerAndroid.h | 55 class Surface; 273 bool canJoinSurface(Surface* surface); 275 Surface* surface() { return m_surface; } function in class:WebCore::LayerAndroid 395 Surface* m_surface;
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
GraphicsContextOpenVG.cpp | 45 GraphicsContextPlatformPrivate(SurfaceOpenVG* surface) 46 : PainterOpenVG(surface) 51 void GraphicsContext::platformInit(SurfaceOpenVG* surface) 53 m_data = surface ? new GraphicsContextPlatformPrivate(surface) : 0; 54 setPaintingDisabled(!surface);
|
/frameworks/av/camera/ |
ProCamera.cpp | 181 const sp<Surface>& surface, 190 if (surface == 0) { 195 surface->getIGraphicBufferProducer(), 253 sp<Surface> stc = new Surface(
|
/frameworks/av/media/libmedia/ |
IMediaRecorder.cpp | 25 #include <gui/Surface.h> 90 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) 92 ALOGV("setPreviewSurface(%p)", surface.get()); 95 data.writeStrongBinder(surface->asBinder()); 446 sp<IGraphicBufferProducer> surface = interface_cast<IGraphicBufferProducer>(data.readStrongBinder()); local 447 reply->writeInt32(setPreviewSurface(surface));
|
/frameworks/base/services/java/com/android/server/display/ |
LogicalDisplay.java | 22 import android.view.Surface; 212 mBaseDisplayInfo.rotation = Surface.ROTATION_0; 236 * The caller must have an open Surface transaction. 260 int orientation = Surface.ROTATION_0; 274 boolean rotated = (orientation == Surface.ROTATION_90 275 || orientation == Surface.ROTATION_270);
|
/frameworks/native/opengl/libagl/ |
texture.cpp | 80 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 145 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 168 c->rasterizer.procs.bindTexture(c, &(u.texture->surface)); 390 GGLSurface& surface = tex->editMip(level); 391 *outSurface = &surface; 403 *outSurface = &tex->surface; 452 void *surface, int stride, int format) 498 uint8_t* p = (uint8_t*)surface + y*stride*2; 522 uint8_t* p = (uint8_t*)surface + y*stride*3; 549 uint8_t* p = (uint8_t*)surface + y*stride*4 1118 GGLSurface* surface; local [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/html/ |
index.html | 217 > -- returns a pointer to the current display surface</DT 263 > -- Sets a portion of the colormap for the given 8-bit surface.</DT 268 > -- Sets the colors in the palette of an 8-bit surface.</DT 323 > -- Lock a surface for directly access.</DT 328 > -- Unlocks a previously locked surface.</DT 343 > -- Sets the color key (transparent pixel) in a blittable surface and 349 > -- Adjust the alpha properties of a surface</DT 354 > -- Sets the clipping rectangle for a surface.</DT 359 > -- Gets the clipping rectangle for a surface.</DT 364 > -- Converts a surface to the same format as another surface.</D [all...] |
sdlfreesurface.html | 109 >(SDL_Surface *surface);</CODE 126 >. If the surface was created using
|
sdlloadbmp.html | 123 >Loads a surface from a named Windows BMP file.</P 133 >Returns the new surface, or <TT
|
sdlsavebmp.html | 109 >(SDL_Surface *surface, const char *file);</CODE 129 >surface</I
|
/development/samples/LunarLander/src/com/example/android/lunarlander/ |
LunarView.java | 114 * Current height of the surface/canvas. 121 * Current width of the surface/canvas. 196 /** Indicate whether the surface has been created & is ready to draw */ 204 /** Handle to the surface manager object we interact with */ 371 // during the above, we don't leave the Surface in an 516 /* Callback invoked when the surface dimensions change. */ 802 // register our interest in hearing about changes to our surface 860 /* Callback invoked when the surface dimensions change. */ 867 * Callback invoked when the Surface has been created and is ready to be [all...] |
/external/quake/quake/src/QW/client/ |
r_edge.c | 44 // surfaces[1] is the background, and is used as the active surface stack 134 surface_p = &surfaces[2]; // background is surface 1, 135 // surface 0 is a dummy 322 // reset spanstate for all surfaces in the surface stack 342 // it's adding a new surface in, so find the correct place 443 // set last_u on the surface below
469 // it's adding a new surface in, so find the correct place 595 // clear active surfaces to just the background surface 604 // it has a left surface, so a surface is going away for this spa [all...] |
/external/quake/quake/src/WinQuake/ |
r_edge.cpp | 44 // surfaces[1] is the background, and is used as the active surface stack
134 surface_p = &surfaces[2]; // background is surface 1,
135 // surface 0 is a dummy
322 // reset spanstate for all surfaces in the surface stack
342 // it's adding a new surface in, so find the correct place
443 // set last_u on the surface below
469 // it's adding a new surface in, so find the correct place
595 // clear active surfaces to just the background surface
604 // it has a left surface, so a surface is going away for this span [all...] |
/docs/source.android.com/src/devices/tech/security/ |
enhancements42.jd | 36 reducing potential attack surface for root privilege escalation.</li> 47 Provider</a>, reducing default attack surface for applications.</li>
|
enhancements43.jd | 23 reduces root attack surface and the likelihood of potential security 34 from executing setuid programs. This reduces root attack surface and
|
/external/qemu/android/utils/ |
debug.h | 30 _VERBOSE_TAG(surface, "video surface support") \
|