/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
StripDrawer.java | 50 public void draw(GLCanvas canvas, Texture content, method in class:StripDrawer 70 mFocusBox.draw(canvas, x - p.left, y - p.top,
|
/external/skia/src/effects/ |
SkLayerRasterizer.cpp | 119 SkDraw draw; local 133 draw.fBitmap = &device; 134 draw.fMatrix = &drawMatrix; 135 draw.fClip = &rectClip; 137 draw.fBounder = NULL; 145 draw.drawPath(path, rec->fPaint);
|
/external/webkit/Source/WebCore/rendering/mathml/ |
RenderMathMLSquareRoot.cpp | 128 // draw top 130 // draw from top left corner to bottom point of radical 132 // draw from bottom point to top of left part of radical base "pocket" 134 // draw to end 141 // Build a mask to draw the thick part of the root. 151 // Draw the thick part of the root.
|
/frameworks/base/core/java/android/webkit/ |
OverScrollGlow.java | 153 * Draw the glow effect along the sides of the widget. mEdgeGlow* must be non-null. 155 * @param canvas Canvas to draw into, transformed into view coordinates. 170 invalidateForGlow |= mEdgeGlowTop.draw(canvas); 180 invalidateForGlow |= mEdgeGlowBottom.draw(canvas); 189 invalidateForGlow |= mEdgeGlowLeft.draw(canvas); 199 invalidateForGlow |= mEdgeGlowRight.draw(canvas);
|
/frameworks/base/docs/html/guide/topics/ui/ |
how-android-draws.jd | 7 <p>When an Activity receives focus, it will be requested to draw its layout. 12 draw the layout tree. Drawing is handled by walking the tree and rendering each View that 14 each of its children to be drawn (with the <code>{@link android.view.View#draw(Canvas) draw()}</code> method) 23 <p>The framework will not draw Views that are not in the invalid region, and also 25 <p>You can force a View to draw, by calling <code>{@link android.view.View#invalidate()}</code>.
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
TransitionDrawable.java | 166 public void draw(Canvas canvas) { method in class:TransitionDrawable 192 // the setAlpha() calls below trigger invalidation and redraw. If we're done, just draw 195 array[0].mDrawable.draw(canvas); 198 array[1].mDrawable.draw(canvas); 208 d.draw(canvas); 216 d.draw(canvas);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Canvas_Delegate.java | 87 * Returns the current {@link Graphics2D} used to draw. 292 draw(thisCanvas.mNativeCanvas, paint.mNativePaint, false /*compositeOnly*/, method 294 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { 620 draw(nativeCanvas, new GcSnapshot.Drawable() { method 622 public void draw(Graphics2D graphics, Paint_Delegate paint) { 652 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, method 654 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { 670 draw(nativeCanvas, paint, false /*compositeOnly*/, false /*forceSrcMode*/, method 672 public void draw(Graphics2D graphics, Paint_Delegate paintDelegate) { 675 // draw 694 draw(nativeCanvas, paint, false \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 729 draw(nativeCanvas, paint, false \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 758 draw(nativeCanvas, paint, false \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 790 draw(nativeCanvas, paint, false \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 893 draw(nativeCanvas, nativePaintOrZero, true \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 971 draw(nativeCanvas, paint, false \/*compositeOnly*\/, false \/*forceSrcMode*\/, method 1166 private static void draw(int nCanvas, int nPaint, boolean compositeOnly, boolean forceSrcMode, method in class:Canvas_Delegate 1186 private static void draw(int nCanvas, GcSnapshot.Drawable drawable) { method in class:Canvas_Delegate 1280 draw(nativeCanvas, nativePaintOrZero, true \/*compositeOnly*\/, sBoolOut[0], method [all...] |
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 36 * and draw the effect using {@link #draw(Canvas)} in the widget's overridden 37 * {@link android.view.View#draw(Canvas)} method. If {@link #isFinished()} returns 41 * <p>When drawing, widgets should draw their main content and child views first, 42 * usually by invoking <code>super.draw(canvas)</code> from an overridden <code>draw</code> 45 * {@link #draw(Canvas)} method.</p> 149 * after a call to {@link #draw(Canvas)} the host widget should schedule another 170 * and draw the results accordingly. 222 * draw the results accordingly 300 public boolean draw(Canvas canvas) { method in class:EdgeEffect [all...] |
/external/webkit/Source/WebKit/win/ |
FullscreenVideoController.cpp | 116 void HUDButton::draw(GraphicsContext& context) function in class:HUDButton 131 void HUDSlider::draw(GraphicsContext& context) function in class:HUDSlider 133 // Draw gutter 137 // Draw button 146 // Draw a diamond 461 draw(); 482 void FullscreenVideoController::draw() function in class:FullscreenVideoController 493 // Draw the background 503 // Draw the widgets 504 m_playPauseButton.draw(context) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 95 method = "draw", 100 method = "draw", 105 method = "draw", 121 mNinePatch.draw(c, rectf); 129 mNinePatch.draw(c, rect); 139 mNinePatch.draw(c, rect, p); 147 mNinePatch.draw(c, rectf);
|
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/ |
CubeWallpaper1.java | 69 // Create a Paint to draw the lines for our cube 107 // store the center of the surface, so we can draw the cube in the right spot 148 * Draw one frame of the animation. This method gets called repeatedly 159 // draw something 175 * Draw a wireframe cube by drawing 12 3 dimensional lines between 200 * Draw a 3 dimensional line on to the screen 232 * Draw a circle around the current touch point, if any.
|
/external/webkit/Source/WebCore/platform/android/ |
RenderThemeAndroid.cpp | 228 RenderSkinRadio::Draw(getCanvasFromInfo(info), obj->node(), rect, true); 242 skins->renderSkinButton()->draw(getCanvasFromInfo(info), rect, 287 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::FULLSCREEN, translucent); 296 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::MUTE, translucent); 307 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::PLAY, translucent); 309 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::PAUSE, translucent); 320 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::REWIND, translucent); 329 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::FORWARD, translucent); 338 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect, RenderSkinMediaButton::BACKGROUND_SLIDER, translucent); 347 RenderSkinMediaButton::Draw(getCanvasFromInfo(paintInfo), rect [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
ContextShadowCairo.cpp | 164 contains all the necessary tiles to draw the complete shadow. 222 // the radii of the corners, and then 1 pixel to draw the side tiles. 226 // Reduce the size of what we have to draw with the clip area. 240 // Draw shadow into a new ImageBuffer. 248 // Draw the rectangle. 283 // Draw top side. 293 // Draw the bottom side. 301 // Draw the right side. 309 // Draw the left side. 317 // Draw the top left corner [all...] |
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_bar_toolbar_view.mm | 61 // Draw the background. 82 // Draw our bookmark bar border on top of the background. 89 // Now draw a bezier path with rounded rectangles around the area. 96 // Draw the rounded rectangle. 114 // Draw the border of the rounded rectangle.
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
ImageWinCE.cpp | 83 draw(&gc, FloatRect(0, 0, bmpInfo.bmWidth, bmpInfo.bmHeight), FloatRect(0, 0, imageSize.width(), imageSize.height()), ColorSpaceDeviceRGB, CompositeCopy); 101 draw(ctxt, dstRect, FloatRect(0, 0, srcSize.width(), srcSize.height()), styleColorSpace, compositeOp); 108 draw(ctxt, dstRect, FloatRect(0, 0, imageSize.width(), imageSize.height()), styleColorSpace, compositeOp); 111 void BitmapImage::draw(GraphicsContext* ctxt, const FloatRect& dstRect, const FloatRect& srcRectIn, ColorSpace styleColorSpace, CompositeOperator compositeOp) function in class:WebCore::BitmapImage 130 bmp->draw(ctxt, enclosingIntRect(dstRect), intSrcRect, styleColorSpace, compositeOp);
|
/external/webkit/Source/WebCore/platform/win/ |
DragImageCairoWin.cpp | 53 // with the opposite meaning of positive Y axis, so everything we draw into this cairo 73 // with the opposite meaning of positive Y axis, so everything we draw into this cairo 95 // has the opposite meaning of positive Y axis, so everything we draw into this cairo 129 // so that when we set the srcImage as the surface it will draw 177 // Draw the image.
|
/frameworks/base/docs/html/guide/topics/views/ |
intro.jd | 10 <p>The View class serves as a base class for <em>widgets </em> — a set of fully implemented subclasses that draw interactive screen elements. Widgets handle their own measuring and drawing, so you can use them to build your UI more quickly. The list of widgets available includes Text, EditText, InputMethod, MovementMethod, Button, RadioButton, Checkbox, and ScrollView.</p> 24 <p>To attach the tree to the screen for rendering, your Activity calls its setContentView() method and passes a reference to the root node object. Once the Android system has the reference to the root node object, it can work directly with the node to invalidate, measure, and draw the tree. When your Activity becomes active and receives focus, the system notifies your activity and requests the root node to measure and draw the tree. The root node then requests that its child nodes draw themselves — in turn, each viewgroup node in the tree is responsible for drawing its direct children. </p> 27 measuring its available space, laying out its children, and calling Draw() on
|
/frameworks/base/opengl/tests/lighting1709/src/com/android/lightingtest/ |
ClearActivity.java | 128 // draw first 3 triangles, without using transforms 143 // draw the 2nd batch this time with transforms 150 // draw lower left triangle 156 // draw lower middle triangle 162 // draw lower right triangle
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartGridView.java | 102 secondary.draw(canvas); 113 primary.draw(canvas); 117 mBorder.draw(canvas); 125 start.draw(canvas); 133 end.draw(canvas);
|
/frameworks/base/docs/html/resources/tutorials/opengl/ |
opengl-es10.jd | 14 <a href="#drawing">Draw a Shape on GLSurfaceView</a> 17 <li><a href="#draw-triangle">Draw the Triangle</a></li> 49 <li>Create and draw a graphic object</li> 151 <p>In order to draw graphics in the {@link android.opengl.GLSurfaceView}, you must define an 219 <h2 id="drawing">Draw a Shape on GLSurfaceView</h2> 222 draw something with it. This section shows you how to define and draw a triangle.</p> 227 can draw a triangle, you must define its coordinates. In OpenGL, the typical way to do this is to 289 You also have to tell OpenGL to draw the triangle, which you'll do in the next section [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
RectShapeTest.java | 61 method = "draw", 73 rectShape.draw(canvas, paint); 77 rectShape.draw(canvas, paint);
|
RoundRectShapeTest.java | 77 method = "draw", 98 roundRectShape.draw(canvas, paint); 103 roundRectShape.draw(canvas, paint);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 72 s.draw(c, p); 73 s.draw(c, mStrokePaint); 130 dr.draw(canvas);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
KubeRenderer.java | 56 * Now we're ready to draw some 3D object 73 mWorld.draw(gl); 81 * each time we draw, but usually a new projection needs to be set
|
/external/chromium/chrome/browser/ui/views/ |
detachable_toolbar_view.cc | 44 // The 0.5 is to correct for Skia's "draw on pixel boundaries"ness. 98 // Draw the upper half of the divider. 110 // Draw the lower half of the divider.
|