Home
last modified time | relevance | path

Searched refs:draw (Results 1 – 24 of 24) 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.cpp258 bool makeCurrent(EGLNativeDisplayType dpy,EglSurface* read,EglSurface* draw,EGLNativeContextType ct… in makeCurrent() argument
262 if (!ctx && !read && !draw) { in makeCurrent()
266 else if (ctx && read && draw) { in makeCurrent()
267 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…
102 android:footerDividersEnabled : When set to false, the ListView will not draw the divider before e…
103 android:foreground : Defines the drawable to draw over the content. [color, reference]
108 android:gestureColor : Color used to draw a gesture. [color]
113 android:gestureStrokeWidth : Width of the stroke used to draw the gesture. [float]
120 android:headerDividersEnabled : When set to false, the ListView will not draw the divider after ea…
185 android:overScrollFooter : Drawable to draw below list content. [color, reference]
186 android:overScrollHeader : Drawable to draw above list content. [color, reference]
264 android:tabStripLeft : Drawable used to draw the left part of the strip underneath the tabs. [ref…
[all …]
/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()
703 if (draw.Ptr() == NULL && read.Ptr() == NULL) { in bindContext()
706 draw = tinfo->currDrawSurf; in bindContext()
710 if (draw.Ptr() != NULL && read.Ptr() != NULL) { in bindContext()
712 draw->bind( ctx, SURFACE_BIND_DRAW ); in bindContext()
716 draw->bind( ctx, SURFACE_BIND_READDRAW ); in bindContext()
724 tinfo->currDrawSurf = draw; in bindContext()
/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/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/ninepatch/src/com/android/ninepatch/
DNinePatch.java175 public void draw(Graphics2D graphics2D, int x, int y, int scaledWidth, int scaledHeight) { in draw() method in NinePatch
176 mChunk.draw(mImage, graphics2D, x, y, scaledWidth, scaledHeight, 0 , 0); in draw()
DNinePatchChunk.java79 public void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth, in draw() method in NinePatchChunk
101 draw(image, graphics2D, x, y, scaledWidth, scaledHeight); in draw()
107 draw(image, graphics2D, x, y, scaledWidth, scaledHeight); in draw()
111 private void draw(BufferedImage image, Graphics2D graphics2D, int x, int y, int scaledWidth, in draw() method in NinePatchChunk
/sdk/templates/other/CustomView/root/src/app_package/
DCustomView.java.ftl88 // allocations per draw cycle.
107 mExampleDrawable.draw(canvas);
121 * is the text to draw.
/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/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DOccurrenceRenderer.java88 g2.draw(line); in drawItem()
/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
/sdk/traceview/src/com/android/traceview/
DTimeLineView.java582 draw(pe.display, pe.gc); in RowLabels()
596 private void draw(Display display, GC gc) { in draw() method in TimeLineView.RowLabels
655 draw(pe.display, pe.gc); in BlankCorner()
660 private void draw(Display display, GC gc) { in draw() method in TimeLineView.BlankCorner
695 draw(pe.display, pe.gc); in Timescale()
743 private void draw(Display display, GC gc) { in draw() method in TimeLineView.Timescale
926 draw(pe.display, pe.gc); in Surface()
1022 private void draw(Display display, GC gc) { in draw() method in TimeLineView.Surface
/sdk/draw9patch/src/com/android/draw9patch/ui/
DImageEditorPanel.java971 g2.draw(new RoundRectangle2D.Float(patch.x - 2.0f / zoom, patch.y - 2.0f / zoom,
1027 g.draw(line);