/development/apps/GestureBuilder/src/com/android/gesture/builder/ |
CreateGestureActivity.java | 46 GestureOverlayView overlay = (GestureOverlayView) findViewById(R.id.gestures_overlay); local 47 overlay.addOnGestureListener(new GesturesProcessor()); 65 final GestureOverlayView overlay = local 67 overlay.post(new Runnable() { 69 overlay.setGesture(mGesture); 111 public void onGestureStarted(GestureOverlayView overlay, MotionEvent event) { 116 public void onGesture(GestureOverlayView overlay, MotionEvent event) { 119 public void onGestureEnded(GestureOverlayView overlay, MotionEvent event) { 120 mGesture = overlay.getGesture(); 122 overlay.clear(false) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/ |
SDL_lowvideo.h | 48 SDL_Overlay *overlay; member in struct:SDL_PrivateVideoData 56 #define current_overlay (_this->hidden->overlay)
|
SDL_sysyuv.cc | 130 SDL_Overlay* overlay; local 156 /* Create the overlay structure */ 157 overlay = (SDL_Overlay*)SDL_calloc(1, sizeof(SDL_Overlay)); 159 if (overlay == NULL) 166 overlay->format = format; 167 overlay->w = width; 168 overlay->h = height; 169 overlay->hwdata = NULL; 172 overlay->hwfuncs = &be_yuvfuncs; 180 SDL_FreeYUVOverlay(overlay); [all...] |
/frameworks/base/services/surfaceflinger/tests/overlays/ |
overlays.cpp | 6 #include <ui/Overlay.h> 40 // now request an overlay 42 sp<Overlay> overlay = new Overlay(ref); local 46 * here we can use the overlay API 50 overlay->dequeueBuffer(&buffer); 53 void* address = overlay->getBufferAddress(buffer); 56 overlay->queueBuffer(buffer);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
SecureView.java | 40 * overlay the contents of the activity in such a way as to make the user believe the buttons 44 * To simulate the spoofing risk, this activity pops up a specially crafted overlay as 46 * For the purposes of this demonstration, pretend that the overlay was actually popped 99 SecureViewOverlay overlay = (SecureViewOverlay) local 101 overlay.setActivityToSpoof(this); 105 toast.setView(overlay);
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_yuv.c | 38 SDL_Overlay *overlay; local 53 overlay = NULL; 57 overlay = video->CreateYUVOverlay(this, w, h, format, display); 59 /* If hardware YUV overlay failed ... */ 60 if ( overlay == NULL ) { 61 overlay = SDL_CreateYUV_SW(this, w, h, format, display); 63 return overlay; 66 int SDL_LockYUVOverlay(SDL_Overlay *overlay) 68 if ( overlay == NULL ) { 69 SDL_SetError("Passed NULL overlay"); [all...] |
SDL_yuv_sw.c | 24 /* This is the software implementation of the YUV video overlay support */ 928 SDL_Overlay *overlay; local 962 /* Create the overlay structure */ 963 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 964 if ( overlay == NULL ) { 968 SDL_memset(overlay, 0, (sizeof *overlay)); 971 overlay->format = format; 972 overlay->w = width [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
SDL_phyuv.c | 73 SDL_Overlay* overlay; local 81 /* Create the overlay structure */ 82 overlay = SDL_calloc(1, sizeof(SDL_Overlay)); 84 if (overlay == NULL) 91 overlay->format = format; 92 overlay->w = width; 93 overlay->h = height; 94 overlay->hwdata = NULL; 97 overlay->hwfuncs = &ph_yuvfuncs; 105 SDL_FreeYUVOverlay(overlay); [all...] |
SDL_ph_video.h | 125 SDL_Overlay* overlay; member in struct:SDL_PrivateVideoData 144 #define current_overlay (this->hidden->overlay)
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_yuv.c | 153 SDL_Overlay *overlay; local 156 /* Create the overlay structure */ 157 overlay = SDL_calloc (1, sizeof(SDL_Overlay)); 158 if (!overlay) 165 overlay->format = format; 166 overlay->w = width; 167 overlay->h = height; 170 overlay->hwfuncs = &directfb_yuvfuncs; 174 overlay->hwdata = hwdata; 178 SDL_FreeYUVOverlay (overlay); [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
SDL_dx5yuv.c | 124 SDL_Overlay *overlay; local 148 /* Create the overlay structure */ 149 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 150 if ( overlay == NULL ) { 154 SDL_memset(overlay, 0, (sizeof *overlay)); 157 overlay->format = format; 158 overlay->w = width; 159 overlay->h = height [all...] |
/external/netperf/ |
netcpu_pstat.c | 66 } *overlay; local 76 overlay = (union overlay_u *)&(res[i]); 77 overlay->word[0] = psp[i].psp_idlecycles.psc_hi; 78 overlay->word[1] = psp[i].psp_idlecycles.psc_lo; 146 } *overlay; local 147 overlay = (union overlay_u *)&(firstcnt[j]); 148 overlay->word[0] = psp[j].psp_idlecycles.psc_hi; 149 overlay->word[1] = psp[j].psp_idlecycles.psc_lo; 182 } *overlay; local 183 overlay = (union overlay_u *)&(secondcnt[j]) [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11yuv.c | 95 SDL_Overlay *overlay; local 197 /* Enable auto-painting of the overlay colorkey */ 221 /* Create the overlay structure */ 222 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 223 if ( overlay == NULL ) { 228 SDL_memset(overlay, 0, (sizeof *overlay)); 231 overlay->format = format; 232 overlay->w = width [all...] |
/frameworks/base/libs/ui/ |
Overlay.cpp | 23 #include <ui/Overlay.h> 25 #include <hardware/overlay.h> 29 Overlay::Overlay(const sp<OverlayRef>& overlayRef) 44 Overlay::~Overlay() { 50 status_t Overlay::dequeueBuffer(overlay_buffer_t* buffer) 56 status_t Overlay::queueBuffer(overlay_buffer_t buffer) 62 status_t Overlay::resizeInput(uint32_t width, uint32_t height) 68 status_t Overlay::setParameter(int param, int value 172 sp<IOverlay> overlay = IOverlay::asInterface(data.readStrongBinder()); local [all...] |
/frameworks/base/tools/obbtool/ |
Main.cpp | 43 {"overlay", optional_argument, NULL, 'o'}, 54 , overlay(false) 62 bool overlay; member in class:PackageInfo 81 " -o sets the OBB overlay flag\n" 101 obb->setOverlay(info->overlay); 141 printf(" Overlay: %s\n", obb->isOverlay() ? "true" : "false"); 216 package_info.overlay = true;
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsyuv.c | 77 SDL_Overlay *overlay; local 91 SDL_SetError("Overlay width/height must be multiples of 16"); 96 SDL_SetError("Overlay too large (maximum size: %d pixels)", 114 /* Create the overlay structure */ 115 overlay = (SDL_Overlay *)SDL_malloc(sizeof *overlay); 116 if ( overlay == NULL ) { 120 SDL_memset(overlay, 0, (sizeof *overlay)); 123 overlay->format = format [all...] |
/frameworks/base/services/surfaceflinger/ |
LayerBuffer.cpp | 186 * This creates an "overlay" source for this surface 599 overlay_t* overlay = overlay_dev->createOverlay(overlay_dev, w, h, format); local 600 if (overlay == NULL) { 601 // couldn't create the overlay (no memory? no more overlays?) 606 overlay_dev->setParameter(overlay_dev, overlay, 609 mOverlay = overlay; 610 mWidth = overlay->w; 611 mHeight = overlay->h; 612 mFormat = overlay->format; 613 mWidthStride = overlay->w_stride [all...] |
/external/chromium/third_party/zlib/ |
deflate.c | 231 ushf *overlay; local 232 /* We overlay pending_buf and d_buf+l_buf. This works since the average 293 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); 294 s->pending_buf = (uchf *) overlay; 304 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); 903 ushf *overlay; [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
deflate.c | 231 ushf *overlay; local 232 /* We overlay pending_buf and d_buf+l_buf. This works since the average 293 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); 294 s->pending_buf = (uchf *) overlay; 304 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); 903 ushf *overlay; [all...] |
/external/webkit/WebKit/qt/Api/ |
qgraphicswebview.cpp | 46 // the overlay is here for one reason only: to have the scroll-bars and other 86 // the overlay and stays alive for the lifetime of 129 // the overlay gets instantiated when the root layer is attached, and get deleted when it's detached 130 QSharedPointer<QGraphicsWebViewOverlay> overlay; member in class:QGraphicsWebViewPrivate 139 // we need to put the root graphics layer behind the overlay (which contains the scrollbar) 171 if (!overlay) { 172 overlay = QSharedPointer<QGraphicsWebViewOverlay>(new QGraphicsWebViewOverlay(q)); 173 overlay->setZValue(OverlayZValue); 178 overlay.clear(); 230 if (overlay) [all...] |
/external/zlib/ |
deflate.c | 225 ushf *overlay; local 226 /* We overlay pending_buf and d_buf+l_buf. This works since the average 289 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2); 290 s->pending_buf = (uchf *) overlay; 300 s->d_buf = overlay + s->lit_bufsize/sizeof(ush); [all...] |
/device/samsung/crespo/liboverlay/ |
overlay.cpp | 21 #include <hardware/overlay.h> 116 /* A separate instance is created per overlay data side user*/ 167 name: "SEC Overlay module", 177 * an overlay. here we use a subclass, where we can store our own state. 192 static int handle_format(const overlay_handle_t overlay) { 193 return static_cast<const struct handle_t *>(overlay)->format; 196 static int handle_ctl_fd(const overlay_handle_t overlay) { 197 return static_cast<const struct handle_t *>(overlay)->ctl_fd; 200 static int handle_shared_fd(const overlay_handle_t overlay) { 201 return static_cast<const struct handle_t *>(overlay)->shared_fd 526 overlay_object *overlay; local [all...] |
/external/v8/test/cctest/ |
test-regexp.cc | 1558 Vector<const uc16> overlay = CharacterRange::GetWordBounds(); local [all...] |
/hardware/ti/omap3/liboverlay/ |
overlay.cpp | 21 #include <hardware/overlay.h> 101 // A separate instance is created per overlay data side user 143 name: "Sample Overlay module", 153 * an overlay. here we use a subclass, where we can store our own state. 168 static int handle_format(const overlay_handle_t overlay) { 169 return static_cast<const struct handle_t *>(overlay)->format; 172 static int handle_ctl_fd(const overlay_handle_t overlay) { 173 return static_cast<const struct handle_t *>(overlay)->ctl_fd; 176 static int handle_shared_fd(const overlay_handle_t overlay) { 177 return static_cast<const struct handle_t *>(overlay)->shared_fd 424 overlay_object *overlay; local [all...] |
/frameworks/base/tools/aapt/ |
Resource.cpp | 507 // Replace any base level files in this category with any found from the overlay 508 // Also add any found only in the overlay. 509 sp<AaptAssets> overlay = assets->getOverlay(); local 513 while (overlay.get()) { 514 KeyedVector<String8, sp<ResourceTypeSet> >* overlayRes = overlay->getResources(); 516 // get the overlay resources of the requested type 522 // non-overlay "baseset". 563 printf("found a match (%ld) for overlay file %s, for flavor %s\n", 580 // this group doesn't exist (a file that's only in the overlay) 595 // this overlay didn't have resources for this typ [all...] |