/frameworks/base/graphics/java/android/graphics/ |
LayerRasterizer.java | 26 the specified paint, but will not retain a reference to the paint 29 public void addLayer(Paint paint, float dx, float dy) { 30 nativeAddLayer(native_instance, paint.mNativePaint, dx, dy); 33 public void addLayer(Paint paint) { 34 nativeAddLayer(native_instance, paint.mNativePaint, 0, 0);
|
/external/skia/src/effects/ |
SkPaintFlagsDrawFilter.cpp | 11 bool SkPaintFlagsDrawFilter::filter(SkCanvas*, SkPaint* paint, Type) 13 fPrevFlags = paint->getFlags(); 14 paint->setFlags((fPrevFlags & ~fClearFlags) | fSetFlags); 18 void SkPaintFlagsDrawFilter::restore(SkCanvas*, SkPaint* paint, Type) 20 paint->setFlags(fPrevFlags);
|
SkLayerRasterizer.cpp | 47 void SkLayerRasterizer::addLayer(const SkPaint& paint, SkScalar dx, SkScalar dy) 51 new (&rec->fPaint) SkPaint(paint); 65 const SkPaint& paint = rec->fPaint; local 69 if (paint.getPathEffect() || paint.getStyle() != SkPaint::kFill_Style) 71 paint.getFillPath(path, &fillPath); 85 if (!SkDraw::DrawToMask(devPath, clipBounds, paint.getMaskFilter(), &matrix, 156 static void paint_read(SkPaint* paint, SkFlattenableReadBuffer& buffer) 158 paint->setAntiAlias(buffer.readBool()); 159 paint->setStyle((SkPaint::Style)buffer.readU8()) [all...] |
/external/webkit/WebKit/android/plugins/ |
ANPPaintInterface.cpp | 35 static void anp_deletePaint(ANPPaint* paint) { 36 delete paint; 39 static ANPPaintFlags anp_getFlags(const ANPPaint* paint) { 40 return paint->getFlags(); 43 static void anp_setFlags(ANPPaint* paint, ANPPaintFlags flags) { 44 paint->setFlags(flags); 47 static ANPColor anp_getColor(const ANPPaint* paint) { 48 return paint->getColor(); 51 static void anp_setColor(ANPPaint* paint, ANPColor color) { 52 paint->setColor(color) [all...] |
/external/skia/tests/ |
PaintTest.cpp | 9 SkPaint paint; local 19 paint.setStyle(SkPaint::kStroke_Style); 20 paint.setStrokeWidth(SkIntToScalar(2)); 21 paint.getFillPath(path, &stroke); 25 SkScalar miter = SkMaxScalar(SK_Scalar1, paint.getStrokeMiter()); 26 SkScalar inset = paint.getStrokeJoin() == SkPaint::kMiter_Join ? 27 SkScalarMul(paint.getStrokeWidth(), miter) : 28 paint.getStrokeWidth(); 36 // TODO add general paint tests 43 DEFINE_TESTCLASS("Paint", TestPaintClass, TestPaint [all...] |
/external/skia/src/gl/ |
SkGLDevice_SWLayer.cpp | 30 void SkGLDevice_SWLayer::drawPaint(const SkDraw& draw, const SkPaint& paint) { 31 draw.drawPaint(paint); 35 const SkPoint pts[], const SkPaint& paint) { 36 draw.drawPoints(mode, count, pts, paint); 40 const SkPaint& paint) { 41 draw.drawRect(r, paint); 45 const SkPaint& paint) { 46 draw.drawPath(path, paint); 50 const SkMatrix& matrix, const SkPaint& paint) { 51 draw.drawBitmap(bitmap, matrix, paint); [all...] |
SkGLDevice_SWLayer.h | 15 virtual void drawPaint(const SkDraw&, const SkPaint& paint); 17 const SkPoint[], const SkPaint& paint); 19 const SkPaint& paint); 21 const SkPaint& paint); 23 const SkMatrix& matrix, const SkPaint& paint); 25 int x, int y, const SkPaint& paint); 27 SkScalar x, SkScalar y, const SkPaint& paint); 30 int scalarsPerPos, const SkPaint& paint); 33 const SkPaint& paint); 38 const SkPaint& paint); [all...] |
/external/proguard/src/proguard/gui/splash/ |
Sprite.java | 26 * This interface describes objects that can paint themselves, possibly varying 36 * @param graphics the Graphics to paint on. 40 public void paint(Graphics graphics, long time); method in interface:Sprite
|
/external/webkit/WebCore/platform/graphics/android/ |
FontDataAndroid.cpp | 45 SkPaint paint; local 48 m_platformData.setupPaint(&paint); 49 (void)paint.getFontMetrics(&metrics); 86 SkPaint paint; local 88 m_platformData.setupPaint(&paint); 89 paint.setTextEncoding(SkPaint::kUTF16_TextEncoding); 90 return paint.containsText(characters, length << 1); 102 SkPaint paint; local 104 m_platformData.setupPaint(&paint); 107 return EmojiFont::GetAdvanceWidth(glyph, paint); [all...] |
FontAndroid.cpp | 48 static void updateForFont(SkPaint* paint, const SimpleFontData* font) { 49 font->platformData().setupPaint(paint); 50 paint->setTextEncoding(SkPaint::kGlyphID_TextEncoding); 53 static SkPaint* setupFill(SkPaint* paint, GraphicsContext* gc, 55 gc->setupFillPaint(paint); 56 updateForFont(paint, font); 57 return paint; 60 static SkPaint* setupStroke(SkPaint* paint, GraphicsContext* gc, 62 gc->setupStrokePaint(paint); 63 updateForFont(paint, font) 122 SkPaint paint; local 181 SkPaint paint; local 200 SkPaint paint; local 216 SkPaint paint; local 229 SkPaint paint; local [all...] |
/external/quake/src/com/android/quake/ |
QuakeViewNoData.java | 21 import android.graphics.Paint; 36 Paint paint = new Paint(); local 37 paint.setColor(0xffffffff); 38 paint.setStyle(Paint.Style.FILL); 39 canvas.drawRect(0, 0, getWidth(), getHeight(), paint); 40 paint.setColor(0xff000000); 45 10.0f, 20.0f, paint); [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
StringTexture.java | 21 import android.graphics.Paint; 22 import android.graphics.Paint.FontMetricsInt; 28 private final Paint mPaint; 31 public StringTexture(String text, Paint paint, 35 mPaint = paint; 40 public static StringTexture newInstance(String text, Paint paint) { 41 FontMetricsInt metrics = paint.getFontMetricsInt(); 42 int width = (int) (.5f + paint.measureText(text)) + DEFAULT_PADDING * 2 49 Paint paint = new Paint(); local [all...] |
/external/skia/gm/ |
filltypes.cpp | 24 SkScalar scale, const SkPaint& paint) { 36 canvas->drawPath(fPath, paint); 40 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 42 scale, paint); 44 scale, paint); 46 scale, paint); 48 scale, paint); 56 SkPaint paint; local 59 paint.setAntiAlias(false); 61 showFour(canvas, SK_Scalar1, paint); [all...] |
/external/skia/xcode/hostapp/ |
test.cpp | 11 SkPaint paint; local 12 paint.setAntiAlias(true); 15 SkIntToScalar(90), paint); 20 paint.setColor(SK_ColorWHITE); 21 paint.setTextSize(SkIntToScalar(50)); 22 canvas->drawText(text, len, SkIntToScalar(100), SkIntToScalar(50), paint); 23 paint.setTextAlign(SkPaint::kCenter_Align); 24 canvas->drawText(text, len, SkIntToScalar(100), SkIntToScalar(100), paint); 25 paint.setTextAlign(SkPaint::kRight_Align); 26 canvas->drawText(text, len, SkIntToScalar(100), SkIntToScalar(150), paint); [all...] |
/external/skia/src/core/ |
SkDevice.cpp | 48 void SkDevice::drawPaint(const SkDraw& draw, const SkPaint& paint) { 49 draw.drawPaint(paint); 53 const SkPoint pts[], const SkPaint& paint) { 54 draw.drawPoints(mode, count, pts, paint); 58 const SkPaint& paint) { 59 draw.drawRect(r, paint); 63 const SkPaint& paint) { 64 draw.drawPath(path, paint); 68 const SkMatrix& matrix, const SkPaint& paint) { 69 draw.drawBitmap(bitmap, matrix, paint); [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
SimpleStringTexture.java | 22 import android.graphics.Paint; 48 // Configure paint. 50 Paint paint = new Paint(); local 51 paint.setAntiAlias(true); 52 paint.setColor(Shared.argb(config.a, config.r, config.g, config.b)); 53 paint.setShadowLayer(config.shadowRadius, 0f, 0f, Color.BLACK); 54 paint.setTypeface(config.bold ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT); 55 paint.setTextSize(config.fontSize) [all...] |
StringTexture.java | 23 import android.graphics.Paint; 29 import android.graphics.Paint.Align; 37 private Paint mPaint; 40 private static final Paint sPaint = new Paint(); 47 Paint paint = sPaint; local 48 synchronized (paint) { 49 paint.setAntiAlias(true); 50 paint.setTypeface(typeface) 94 Paint paint = computePaint(); local [all...] |
/external/webkit/WebCore/platform/graphics/chromium/ |
IconChromiumMac.cpp | 51 void Icon::paint(GraphicsContext*, const IntRect&) function in class:WebCore::Icon
|
/external/webkit/WebCore/platform/gtk/ |
GtkPluginWidget.h | 38 void paint(GraphicsContext*, const IntRect&);
|
/external/webkit/WebCore/rendering/ |
SVGInlineFlowBox.cpp | 35 void SVGInlineFlowBox::paint(RenderObject::PaintInfo&, int, int) function in class:WebCore::SVGInlineFlowBox
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
LightingColorFilterTest.java | 27 import android.graphics.Paint; 46 Paint paint = new Paint(); local 48 paint.setColor(Color.MAGENTA); 49 paint.setColorFilter(new LightingColorFilter(Color.WHITE, Color.BLACK)); 50 canvas.drawPaint(paint); 53 paint.setColor(Color.MAGENTA); 54 paint.setColorFilter(new LightingColorFilter(Color.CYAN, Color.BLACK)); 55 canvas.drawPaint(paint); [all...] |
DiscretePathEffectTest.java | 27 import android.graphics.Paint; 31 import android.graphics.Paint.Style; 54 Paint paint = new Paint(); local 55 paint.setColor(Color.GREEN); 56 paint.setStyle(Style.STROKE); 57 paint.setStrokeWidth(0); 58 paint.setPathEffect(effect); 68 canvas.drawPath(path, paint); [all...] |
ComposePathEffectTest.java | 27 import android.graphics.Paint; 64 Paint paint = makePaint(); local 65 paint.setPathEffect(composedEffect); 66 canvas.drawPath(path, paint); 70 paint = makePaint(); 71 paint.setPathEffect(expectedEffect); 72 canvas.drawPath(path, paint); 81 private Paint makePaint() { 82 Paint paint = new Paint() local [all...] |
/external/skia/include/core/ |
SkDevice.h | 101 and are handling any looping from the paint, and any effects from the 104 virtual void drawPaint(const SkDraw&, const SkPaint& paint); 106 const SkPoint[], const SkPaint& paint); 108 const SkPaint& paint); 110 const SkPaint& paint); 112 const SkMatrix& matrix, const SkPaint& paint); 114 int x, int y, const SkPaint& paint); 116 SkScalar x, SkScalar y, const SkPaint& paint); 119 int scalarsPerPos, const SkPaint& paint); 122 const SkPaint& paint); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathFillTypes.java | 39 private Paint mPaint = new Paint(Paint.ANTI_ALIAS_FLAG); 53 Paint paint) { 59 canvas.drawPath(mPath, paint); 64 Paint paint = mPaint; local 70 paint.setAntiAlias(true); 72 showPath(canvas, 0, 0, Path.FillType.WINDING, paint); [all...] |