Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 19 of 19) sorted by relevance

/sdk/eclipse/scripts/
Dgen_icon.py50 draw = ImageDraw.Draw(img)
52 draw.ellipse((0, 0, sz4-zoom, sz4-zoom),
55 draw.ellipse((i, i, sz4-i-zoom, sz4-i-zoom),
59 tsx, tsy = draw.textsize(data.letter, font=font)
64 draw.text((ptx + i, pty), data.letter, font=font, fill=data.letter_color)
/sdk/emulator/opengl/host/libs/Translator/EGL/
DEglMacApi.cpp166 bool makeCurrent(EGLNativeDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType ct… in makeCurrent() argument
169 if (ctx == NULL && read == NULL && draw == NULL) { in makeCurrent()
173 else if (ctx == NULL || read == NULL || draw == NULL) { in makeCurrent()
179 if(read->native() != draw->native()) return false; in makeCurrent()
180 switch(draw->type()){ in makeCurrent()
182 nsWindowMakeCurrent(ctx,draw->native()); in makeCurrent()
187 draw->getAttrib(EGL_MIPMAP_TEXTURE,&hasMipmap); in makeCurrent()
189 nsPBufferMakeCurrent(ctx,draw->native(),mipmapLevel); in makeCurrent()
DEglContext.h46 SurfacePtr draw(){ return m_draw;}; in draw() function
51 void setSurfaces(SurfacePtr read,SurfacePtr draw);
DEglContext.cpp65 void EglContext::setSurfaces(SurfacePtr read,SurfacePtr draw) in setSurfaces() argument
68 m_draw = draw; in setSurfaces()
DEglImp.cpp668 EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay display, EGLSurface draw, in eglMakeCurrent() argument
673 bool releaseContext = EglValidate::releaseContext(context,read,draw); in eglMakeCurrent()
674 if(!releaseContext && EglValidate::badContextMatch(context,read,draw)) { in eglMakeCurrent()
691 VALIDATE_SURFACE(draw,newDrawSrfc); in eglMakeCurrent()
700 if (newDrawPtr == prevCtx->draw().Ptr() && in eglMakeCurrent()
800 …if(!currCtx->read().Ptr() || !currCtx->draw().Ptr() || currCtx->draw()->type()!=EglSurface::WINDOW… in eglSwapInterval()
803 EglOS::swapInterval(dpy->nativeType(),currCtx->draw()->native(),interval); in eglSwapInterval()
835 SurfacePtr surface = readdraw == EGL_READ ? ctx->read() : ctx->draw(); in eglGetCurrentSurface()
873 SurfacePtr draw = currCtx->draw(); in eglWaitNative() local
886 if(draw.Ptr()) { in eglWaitNative()
[all …]
DEglX11Api.cpp257 bool makeCurrent(EGLNativeDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType ct… in makeCurrent() argument
261 if (!ctx && !read && !draw) { in makeCurrent()
265 else if (ctx && read && draw) { in makeCurrent()
266 retval = glXMakeContextCurrent(dpy,draw->native()->srfc(),read->native()->srfc(),ctx); in makeCurrent()
DEglOsApi.h46 …bool makeCurrent(EGLNativeInternalDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeConte…
DEglWindowsApi.cpp549 bool makeCurrent(EGLNativeInternalDisplayType display,EglSurface* read,EglSurface* draw,EGLNativeCo… in makeCurrent() argument
552 HDC hdcDraw = draw ? draw->native()->getDC(): NULL; in makeCurrent()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/
Ddrawable1-expected-completion50.txt3 <bitmap /> : Drawable used to draw bitmaps.
5 <color /> : Drawable used to draw a single color.
8 <nine-patch /> : Drawable used to draw 9-patches.
Ddrawable1-expected-completion47.txt3 <bitmap /> : Drawable used to draw bitmaps.
5 <color /> : Drawable used to draw a single color.
8 <nine-patch /> : Drawable used to draw 9-patches.
Dcompletionvalues1-expected-completion32.txt8 android:alwaysDrawnWithCache : Defines whether the ViewGroup should always draw its children using…
40 android:clipChildren : Defines whether a child is limited to draw inside of its bounds or not. [b…
103 android:footerDividersEnabled : When set to false, the ListView will not draw the divider before e…
104 android:foreground : Defines the drawable to draw over the content. [color, reference]
109 android:gestureColor : Color used to draw a gesture. [color]
114 android:gestureStrokeWidth : Width of the stroke used to draw the gesture. [float]
121 android:headerDividersEnabled : When set to false, the ListView will not draw the divider after ea…
187 android:overScrollFooter : Drawable to draw below list content. [color, reference]
188 android:overScrollHeader : Drawable to draw above list content. [color, reference]
266 android:tabStripLeft : Drawable used to draw the left part of the strip underneath the tabs. [ref…
[all …]
/sdk/emulator/opengl/tests/ut_renderer/
DRenderer.cpp163 EGLSurface draw = EGL_NO_SURFACE; in makeCurrent() local
166 i = m_surfaces.find(drawSurface); if (i != m_surfaces.end()) draw = i->second->eglSurface(); in makeCurrent()
169 return eglMakeCurrent(m_dpy, draw, read, eglContext); in makeCurrent()
/sdk/emulator/opengl/host/libs/libOpenglRender/
DFrameBuffer.cpp657 WindowSurfacePtr draw(NULL), read(NULL); in bindContext() local
676 draw = (*w).second; in bindContext()
687 read = draw; in bindContext()
692 draw ? draw->getEGLSurface() : EGL_NO_SURFACE, in bindContext()
704 if (draw.Ptr() == NULL && read.Ptr() == NULL) { in bindContext()
709 bindDraw = draw; in bindContext()
727 tinfo->currDrawSurf = draw; in bindContext()
/sdk/emulator/opengl/tests/EGL_host_wrapper/
Degl.cpp184 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument
186 return getDispatch()->eglMakeCurrent(dpy, draw, read, ctx); in eglMakeCurrent()
274 EGLBoolean eglSetSwapRectangleANDROID(EGLDisplay dpy, EGLSurface draw, EGLint left, EGLint top, EGL… in eglSetSwapRectangleANDROID() argument
276 return getDispatch()->eglSetSwapRectangleANDROID(dpy, draw, left, top, width, height); in eglSetSwapRectangleANDROID()
/sdk/emulator/opengl/host/libs/Translator/include/EGL/
Deglext.h235 EGLAPI EGLBoolean EGLAPIENTRY eglSetSwapRectangleANDROID (EGLDisplay dpy, EGLSurface draw, EGLint l…
237 …LAPIENTRYP PFNEGLSETSWAPRECTANGLEANDROIDPROC) (EGLDisplay dpy, EGLSurface draw, EGLint left, EGLin…
Degl.h301 EGLAPI EGLBoolean EGLAPIENTRY eglMakeCurrent(EGLDisplay dpy, EGLSurface draw,
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/
DShareMockupAction.java51 v.draw(c); in launch()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/ui/
DImageViewer.java269 private void draw(int x, int y, int drawMode) { in draw() method in ImageViewer
300 draw(mCursorPoint.x, mCursorPoint.y, mDrawMode); in mouseDown()
360 draw(x, y, drawMode); in mouseMove()
366 draw(x, y, drawMode); in mouseMove()
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
DDurationMinimap.java119 draw(e.display, e.gc); in DurationMinimap()
252 private void draw(Display display, GC gc) { in draw() method in DurationMinimap