Home
last modified time | relevance | path

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

12345678910>>...16

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java111 int advancesIndex, boolean draw) { in renderText() argument
117 advancesIndex, draw); in renderText() local
138 int advancesIndex, boolean draw) { in renderText() argument
144 renderScript(run.start, run.limit, run.font, flag, advances, advancesIndex, draw); in renderText()
156 float[] advances, int advancesIndex, boolean draw) { in renderScript() argument
166 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
171 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
186 render(start, start+charCount, font, flag, advances, advancesIndex, draw); in renderScript()
199 draw); in renderScript()
217 int advancesIndex, boolean draw) { in render() argument
[all …]
DCanvas_Delegate.java510 draw(nativeCanvas, new GcSnapshot.Drawable() { in native_drawColor()
513 public void draw(Graphics2D graphics, Paint_Delegate paint) { in native_drawColor()
558 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawLine()
561 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawLine()
571 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, in native_drawLines()
574 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawLines()
587 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawRect()
590 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawRect()
613 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawOval()
616 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawOval()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DActionBarBackgroundDrawable.java32 public void draw(Canvas canvas) { in draw() method in ActionBarBackgroundDrawable
35 mContainer.mSplitBackground.draw(canvas); in draw()
39 mContainer.mBackground.draw(canvas); in draw()
42 mContainer.mStackedBackground.draw(canvas); in draw()
/frameworks/base/core/java/com/android/internal/widget/
DBackgroundFallback.java42 public void draw(ViewGroup root, Canvas c, View content) { in draw() method in BackgroundFallback
86 mBackgroundFallback.draw(c); in draw()
90 mBackgroundFallback.draw(c); in draw()
94 mBackgroundFallback.draw(c); in draw()
98 mBackgroundFallback.draw(c); in draw()
/frameworks/support/design/src/android/support/design/internal/
DScrimInsetsFrameLayout.java82 public void draw(@NonNull Canvas canvas) { in draw() method in ScrimInsetsFrameLayout
83 super.draw(canvas); in draw()
94 mInsetForeground.draw(canvas); in draw()
99 mInsetForeground.draw(canvas); in draw()
104 mInsetForeground.draw(canvas); in draw()
109 mInsetForeground.draw(canvas); in draw()
/frameworks/support/v4/java/android/support/v4/widget/
DEdgeEffectCompat.java54 public boolean draw(Object edgeEffect, Canvas canvas); in draw() method
88 public boolean draw(Object edgeEffect, Canvas canvas) { in draw() method in EdgeEffectCompat.BaseEdgeEffectImpl
126 public boolean draw(Object edgeEffect, Canvas canvas) { in draw() method in EdgeEffectCompat.EdgeEffectIcsImpl
127 return EdgeEffectCompatIcs.draw(edgeEffect, canvas); in draw()
254 public boolean draw(Canvas canvas) { in draw() method in EdgeEffectCompat
255 return IMPL.draw(mEdgeEffect, canvas); in draw()
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp107 config(config), read(0), draw(0), cnx(cnx), version(version) { in egl_context_t()
112 draw = NULL; in onLooseCurrent()
115 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent() argument
117 this->draw = draw; in onMakeCurrent()
/frameworks/base/docs/html/training/graphics/opengl/
Ddraw.jd19 <li><a href="#draw">Draw a Shape</a></li>
36 <p>After you define shapes to be drawn with OpenGL, you probably want to draw them. Drawing shapes
40 <p>This lesson explains how to draw the shapes you defined in the previous lesson using the OpenGL
46 <p>Before you do any drawing, you must initialize and load the shapes you plan to draw. Unless the
72 <h2 id="draw">Draw a Shape</h2>
86 <p>You need at least one vertex shader to draw a shape and one fragment shader to color that shape.
87 These shaders must be complied and then added to an OpenGL ES program, which is then used to draw
88 the shape. Here is an example of how to define basic shaders you can use to draw a shape in the
129 <p>In order to draw your shape, you must compile the shader code, add them to a OpenGL ES program
167 <p>At this point, you are ready to add the actual calls that draw your shape. Drawing shapes with
[all …]
Dshapes.jd9 next.link=draw.html
47 before you can draw a triangle, you must define its coordinates. In OpenGL, the typical way to do
94 want to have drawn, and the back face, which you can choose to not draw using the OpenGL ES cull
112 OpenGL ES graphics pipeline how to draw these vertices. Here’s the code for this shape:</p>
128 private short drawOrder[] = { 0, 1, 2, 0, 2, 3 }; // order to draw vertices
140 // initialize byte buffer for the draw list
153 general, you use collections of triangles to draw objects. In the next lesson, you learn how to draw
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java167 public void draw(Canvas canvas) { in draw() method in TransitionDrawable
196 array[0].mDrawable.draw(canvas); in draw()
199 array[1].mDrawable.draw(canvas); in draw()
209 d.draw(canvas); in draw()
217 d.draw(canvas); in draw()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMoreNinePatchesActivity.java65 mDrawable1.draw(canvas); in onDraw()
70 mDrawable2.draw(canvas); in onDraw()
74 mDrawable3.draw(canvas); in onDraw()
DThinPatchesActivity.java85 mPatch3.draw(canvas); in onDraw()
90 mPatch1.draw(canvas); in onDraw()
96 mPatch2.draw(canvas); in onDraw()
DSimplePatchActivity.java50 mDrawable.draw(canvas); in onDraw()
52 mDrawable.draw(canvas); in onDraw()
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/
DStateListDrawableTest.java52 mockView.getBackground().draw(null); in broken_testFocusScenarioSetStringWildcardFirst()
64 mockView.getBackground().draw(null); in broken_testFocusScenarioStateSetWildcardLast()
83 public void draw(Canvas canvas) { in draw() method in StateListDrawableTest.MockDrawable
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DTexture.java41 public void draw(GLCanvas canvas, int x, int y); in draw() method
42 public void draw(GLCanvas canvas, int x, int y, int w, int h); in draw() method
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DRowContainerView.java101 public void draw(Canvas canvas) { in draw() method in RowContainerView
102 super.draw(canvas); in draw()
108 mForeground.draw(canvas); in draw()
DNonOverlappingLinearLayoutWithForeground.java91 public void draw(Canvas canvas) { in draw() method in NonOverlappingLinearLayoutWithForeground
92 super.draw(canvas); in draw()
103 foreground.draw(canvas); in draw()
DHorizontalGridView.java310 public void draw(Canvas canvas) { in draw() method in HorizontalGridView
320 super.draw(canvas); in draw()
332 super.draw(canvas); in draw()
346 super.draw(tmpCanvas); in draw()
366 super.draw(tmpCanvas); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationBackgroundView.java43 draw(canvas, mBackground); in onDraw()
46 private void draw(Canvas canvas, Drawable drawable) { in draw() method in NotificationBackgroundView
49 drawable.draw(canvas); in draw()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DGlifPatternDrawableTest.java38 drawable.draw(canvas); in testDraw()
56 drawable.draw(canvas); in testDrawTwice()
62 drawable.draw(canvas); in testDrawTwice()
/frameworks/base/docs/html/training/custom-views/
Dcustom-drawing.jd21 <li><a href="#draw">Draw!</a></li>
47 android.graphics.Canvas Canvas} object that the view can use to draw itself. The {@link
63 <li><i>What</i> to draw, handled by {@link android.graphics.Canvas Canvas}</li>
64 <li><i>How</i> to draw, handled by {@link android.graphics.Paint}.</li>
67 <p>For instance, {@link android.graphics.Canvas Canvas} provides a method to draw a line, while
71 method to draw a rectangle, while {@link android.graphics.Paint Paint} defines whether to fill that
74 can draw on the
77 draw.</p>
79 <p>So, before you draw anything, you need to create one or more {@link android.graphics.Paint Paint}
115 <p>In order to properly draw your custom view, you need to know what size it is. Complex custom
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DTrivialAnimationActivity.java33 public void draw(Canvas canvas) { in onCreate()
41 super.draw(canvas); in onCreate()
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd10 <li><a href="#draw-with-canvas">Draw with a Canvas</a>
45 <code>draw...()</code> methods (like
50 <p>Option "a," drawing to a View, is your best choice when you want to draw simple graphics that do…
52 draw your graphics into a View when you want to display a static graphic or predefined animation, w…
56 <p>Option "b," drawing to a Canvas, is better when your application needs to regularly re-draw itse…
69 <h2 id="draw-with-canvas">Draw with a Canvas</h2>
75 holds all of your "draw" calls. Via the Canvas, your drawing is actually performed upon an
90 <p>Now your Canvas will draw onto the defined Bitmap. After drawing upon it with the Canvas, you ca…
92 Canvas.drawBitmap(Bitmap,...)}</code> methods. It's recommended that you ultimately draw your final
99 Other classes that you might use also have <code>draw()</code> methods. For example, you'll probably
[all …]
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java90 public void draw(Canvas canvas) { in draw() method in StickyHeaderRecyclerView
91 super.draw(canvas); in draw()
107 drawTarget.draw(canvas); in draw()
/frameworks/base/graphics/java/android/graphics/
DNinePatch.java189 public void draw(Canvas canvas, RectF location) { in draw() method in NinePatch
199 public void draw(Canvas canvas, Rect location) { in draw() method in NinePatch
211 public void draw(Canvas canvas, Rect location, Paint paint) { in draw() method in NinePatch

12345678910>>...16