/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActionBarBackgroundDrawable.java | 16 public void draw(Canvas canvas) { in draw() method in ActionBarBackgroundDrawable 19 mContainer.mSplitBackground.draw(canvas); in draw() 23 mContainer.mBackground.draw(canvas); in draw() 26 mContainer.mStackedBackground.draw(canvas); in draw()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BidiRenderer.java | 111 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 …]
|
D | Canvas_Delegate.java | 502 draw(nativeCanvas, new GcSnapshot.Drawable() { in native_drawColor() 505 public void draw(Graphics2D graphics, Paint_Delegate paint) { in native_drawColor() 550 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawLine() 553 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawLine() 563 draw(nativeCanvas, nativePaint, false /*compositeOnly*/, in native_drawLines() 566 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawLines() 579 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawRect() 582 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawRect() 605 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawOval() 608 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawOval() [all …]
|
D | NinePatch_Delegate.java | 175 draw(canvas_instance, in nativeDraw() 184 draw(canvas_instance, in nativeDraw() 197 private static void draw(long canvas_instance, in draw() method in NinePatch_Delegate 236 canvas_delegate.getSnapshot().draw(new GcSnapshot.Drawable() { in draw() 238 public void draw(Graphics2D graphics, Paint_Delegate paint) { in draw() 239 chunkObject.draw(bitmap_delegate.getImage(), graphics, in draw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | BackgroundFallback.java | 42 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/native/opengl/libs/EGL/ |
D | egl_object.cpp | 93 config(config), read(0), draw(0), cnx(cnx), version(version) { in egl_context_t() 98 draw = NULL; in onLooseCurrent() 101 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent() argument 103 this->draw = draw; in onMakeCurrent()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | ScrimInsetsFrameLayout.java | 81 public void draw(@NonNull Canvas canvas) { in draw() method in ScrimInsetsFrameLayout 82 super.draw(canvas); in draw() 93 mInsetForeground.draw(canvas); in draw() 98 mInsetForeground.draw(canvas); in draw() 103 mInsetForeground.draw(canvas); in draw() 108 mInsetForeground.draw(canvas); in draw()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | EdgeEffectCompat.java | 54 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() 253 public boolean draw(Canvas canvas) { in draw() method in EdgeEffectCompat 254 return IMPL.draw(mEdgeEffect, canvas); in draw()
|
/frameworks/base/docs/html/training/graphics/opengl/ |
D | draw.jd | 19 <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 …]
|
D | shapes.jd | 9 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/ |
D | TransitionDrawable.java | 166 public void draw(Canvas canvas) { in draw() method in TransitionDrawable 195 array[0].mDrawable.draw(canvas); in draw() 198 array[1].mDrawable.draw(canvas); in draw() 208 d.draw(canvas); in draw() 216 d.draw(canvas); in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationGuts.java | 42 draw(canvas, mBackground); in onDraw() 45 private void draw(Canvas canvas, Drawable drawable) { in draw() method in NotificationGuts 48 drawable.draw(canvas); in draw()
|
D | NotificationBackgroundView.java | 43 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/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | Texture.java | 41 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/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MoreNinePatchesActivity.java | 65 mDrawable1.draw(canvas); in onDraw() 70 mDrawable2.draw(canvas); in onDraw() 74 mDrawable3.draw(canvas); in onDraw()
|
D | ThinPatchesActivity.java | 85 mPatch3.draw(canvas); in onDraw() 90 mPatch1.draw(canvas); in onDraw() 96 mPatch2.draw(canvas); in onDraw()
|
D | SimplePatchActivity.java | 50 mDrawable.draw(canvas); in onDraw() 52 mDrawable.draw(canvas); in onDraw()
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/drawable/ |
D | StateListDrawableTest.java | 52 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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | RowContainerView.java | 101 public void draw(Canvas canvas) { in draw() method in RowContainerView 102 super.draw(canvas); in draw() 108 mForeground.draw(canvas); in draw()
|
D | HorizontalGridView.java | 310 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/support/v4/ics/android/support/v4/widget/ |
D | EdgeEffectCompatIcs.java | 61 public static boolean draw(Object edgeEffect, Canvas canvas) { in draw() method in EdgeEffectCompatIcs 62 return ((EdgeEffect) edgeEffect).draw(canvas); in draw()
|
/frameworks/base/docs/html/training/custom-views/ |
D | custom-drawing.jd | 21 <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/VectorDrawableTest/src/com/android/test/dynamic/ |
D | BoundsCheckTest.java | 51 mBitmap1.draw(canvas); in onDraw() 54 mVector1.draw(canvas); in onDraw()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | StickyHeaderListView.java | 108 public void draw(Canvas canvas) { in draw() method in StickyHeaderListView 109 super.draw(canvas); in draw() 124 drawTarget.draw(canvas); in draw()
|
/frameworks/base/graphics/java/android/graphics/ |
D | NinePatch.java | 175 public void draw(Canvas canvas, RectF location) { in draw() method in NinePatch 185 public void draw(Canvas canvas, Rect location) { in draw() method in NinePatch 197 public void draw(Canvas canvas, Rect location, Paint paint) { in draw() method in NinePatch
|