/frameworks/base/core/java/android/webkit/ |
D | ViewStateSerializer.java | 36 static boolean serializeViewState(OutputStream stream, DrawData draw) in serializeViewState() argument 38 int baseLayer = draw.mBaseLayer; in serializeViewState() 44 dos.writeInt(draw.mContentSize.x); in serializeViewState() 45 dos.writeInt(draw.mContentSize.y); in serializeViewState() 62 final WebViewCore.DrawData draw = new WebViewCore.DrawData(); in deserializeViewState() local 63 draw.mViewState = new WebViewCore.ViewState(); in deserializeViewState() 64 draw.mContentSize = new Point(contentWidth, contentHeight); in deserializeViewState() 65 draw.mBaseLayer = baseLayer; in deserializeViewState() 67 return draw; in deserializeViewState()
|
D | OverScrollGlow.java | 170 invalidateForGlow |= mEdgeGlowTop.draw(canvas); in drawEdgeGlows() 180 invalidateForGlow |= mEdgeGlowBottom.draw(canvas); in drawEdgeGlows() 189 invalidateForGlow |= mEdgeGlowLeft.draw(canvas); in drawEdgeGlows() 199 invalidateForGlow |= mEdgeGlowRight.draw(canvas); in drawEdgeGlows()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | EdgeEffectCompat.java | 52 public boolean draw(Object edgeEffect, Canvas canvas); in draw() method 85 public boolean draw(Object edgeEffect, Canvas canvas) { in draw() method in EdgeEffectCompat.BaseEdgeEffectImpl 119 public boolean draw(Object edgeEffect, Canvas canvas) { in draw() method in EdgeEffectCompat.EdgeEffectIcsImpl 120 return EdgeEffectCompatIcs.draw(edgeEffect, canvas); in draw() 217 public boolean draw(Canvas canvas) { in draw() method in EdgeEffectCompat 218 return IMPL.draw(mEdgeEffect, canvas); in draw()
|
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.cpp | 92 config(config), read(0), draw(0), cnx(cnx), version(version) { in egl_context_t() 97 draw = NULL; in onLooseCurrent() 100 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent() argument 102 this->draw = draw; in onMakeCurrent()
|
/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 64 <h2 id="draw">Draw a Shape</h2> 78 <p>You need at least one vertex shader to draw a shape and one fragment shader to color that shape. 79 These shaders must be complied and then added to an OpenGL ES program, which is then used to draw 80 the shape. Here is an example of how to define basic shaders you can use to draw a shape:</p> 115 <p>In order to draw your shape, you must compile the shader code, add them to a OpenGL ES program 138 <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> 127 private short drawOrder[] = { 0, 1, 2, 0, 2, 3 }; // order to draw vertices 139 // initialize byte buffer for the draw list 152 general, you use collections of triangles to draw objects. In the next lesson, you learn how to draw
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 292 draw(thisCanvas.mNativeCanvas, paint.mNativePaint, false /*compositeOnly*/, in drawLines() 295 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in drawLines() 626 draw(nativeCanvas, new GcSnapshot.Drawable() { in native_drawColor() 629 public void draw(Graphics2D graphics, Paint_Delegate paint) { in native_drawColor() 659 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawLine() 662 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawLine() 678 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawRect() 681 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawRect() 703 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, in native_drawOval() 706 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { in native_drawOval() [all …]
|
D | NinePatch_Delegate.java | 161 draw(canvas_instance, in nativeDraw() 170 draw(canvas_instance, in nativeDraw() 183 private static void draw(int canvas_instance, in draw() method in NinePatch_Delegate 217 canvas_delegate.getSnapshot().draw(new GcSnapshot.Drawable() { in draw() 219 public void draw(Graphics2D graphics, Paint_Delegate paint) { in draw() 220 chunkObject.draw(bitmap_delegate.getImage(), graphics, in 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/graphics/java/android/graphics/ |
D | Movie.java | 39 public native void draw(Canvas canvas, float x, float y, Paint paint); in draw() method in Movie 41 public void draw(Canvas canvas, float x, float y) { in draw() method in Movie 42 draw(canvas, x, y, null); in draw()
|
D | NinePatch.java | 82 public void draw(Canvas canvas, RectF location) { in draw() method in NinePatch 99 public void draw(Canvas canvas, Rect location) { in draw() method in NinePatch 118 public void draw(Canvas canvas, Rect location, Paint paint) { in draw() method in NinePatch
|
/frameworks/rs/driver/ |
D | rsdPath.cpp | 40 virtual void draw(Context *) = 0; 56 virtual void draw(Context *); 94 drv->draw((Context *)rsc); in rsdPathDraw() 135 void DrvPathStatic::draw(Context *rsc) { in draw() function in DrvPathStatic
|
/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/base/core/jni/android/graphics/ |
D | Picture.cpp | 54 static void draw(JNIEnv* env, jobject, SkCanvas* canvas, in draw() function in android::SkPictureGlue 58 picture->draw(canvas); in draw() 106 {"nativeDraw", "(II)V", (void*) SkPictureGlue::draw},
|
/frameworks/base/core/java/android/widget/ |
D | ScrollBarDrawable.java | 101 public void draw(Canvas canvas) { in draw() method in ScrollBarDrawable 158 track.draw(canvas); in drawTrack() 178 thumb.draw(canvas); in drawThumb() 182 thumb.draw(canvas); in drawThumb()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationPanelView.java | 83 public void draw(Canvas canvas) { in draw() method in NotificationPanelView 84 super.draw(canvas); in draw() 88 mHandleBar.draw(canvas); in draw()
|
D | SettingsPanelView.java | 131 public void draw(Canvas canvas) { in draw() method in SettingsPanelView 132 super.draw(canvas); in draw() 136 mHandleBar.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/core/java/com/android/internal/widget/multiwaveview/ |
D | TargetDrawable.java | 61 public void draw(Canvas canvas) { in draw() method in TargetDrawable.DrawableWithAlpha 63 mRealDrawable.draw(canvas); in draw() 240 public void draw(Canvas canvas) { in draw() method in TargetDrawable 249 mDrawable.draw(canvas); 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FixedSizeDrawable.java | 51 public void draw(Canvas canvas) { in draw() method in FixedSizeDrawable 52 mDrawable.draw(canvas); in draw()
|
/frameworks/base/docs/html/guide/topics/graphics/ |
D | 2d-graphics.jd | 10 <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 …]
|