HomeSort by relevance Sort by last modified time
    Searched refs:getPaint (Results 1 - 25 of 114) sorted by null

1 2 3 4 5

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ShapeDrawableTest.java 18 Paint paint = shapeDrawable.getPaint();
20 assertThat(shapeDrawable.getPaint(), is(paint));
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
BitmapDrawableTest.java 62 assertNotNull(bitmapDrawable.getPaint());
64 bitmapDrawable.getPaint().getFlags());
69 assertNotNull(bitmapDrawable.getPaint());
71 bitmapDrawable.getPaint().getFlags());
114 assertFalse(bitmapDrawable.getPaint().isAntiAlias());
117 assertTrue(bitmapDrawable.getPaint().isAntiAlias());
120 assertFalse(bitmapDrawable.getPaint().isAntiAlias());
127 assertTrue(bitmapDrawable.getPaint().isFilterBitmap());
130 assertFalse(bitmapDrawable.getPaint().isFilterBitmap());
133 assertTrue(bitmapDrawable.getPaint().isFilterBitmap())
    [all...]
RotateDrawableTest.java 72 assertEquals(100, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha());
75 assertEquals(255, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha());
82 ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter());
85 assertNull(((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter());
218 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha());
219 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha());
220 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha());
224 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha());
225 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha());
226 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha())
    [all...]
NinePatchDrawableTest.java 160 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha());
163 assertEquals(0, mNinePatchDrawable.getPaint().getAlpha());
166 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha());
169 assertEquals(0xfe, mNinePatchDrawable.getPaint().getAlpha());
173 assertNull(mNinePatchDrawable.getPaint().getColorFilter());
177 assertSame(cf, mNinePatchDrawable.getPaint().getColorFilter());
180 assertNull(mNinePatchDrawable.getPaint().getColorFilter());
185 assertFalse(mNinePatchDrawable.getPaint().isDither());
188 assertTrue(mNinePatchDrawable.getPaint().isDither());
192 Paint paint = mNinePatchDrawable.getPaint();
    [all...]
ShapeDrawableTest.java 123 assertEquals(255, shapeDrawable.getPaint().getAlpha());
126 shapeDrawable.getPaint().setAlpha(0);
129 shapeDrawable.getPaint().setAlpha(128);
179 assertNotNull(shapeDrawable.getPaint());
181 | Paint.EMBEDDED_BITMAP_TEXT_FLAG, shapeDrawable.getPaint().getFlags());
311 assertSame(cf, shapeDrawable.getPaint().getColorFilter());
314 assertNull(shapeDrawable.getPaint().getColorFilter());
321 assertTrue(shapeDrawable.getPaint().isDither());
324 assertFalse(shapeDrawable.getPaint().isDither());
ScaleDrawableTest.java 446 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha());
447 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha());
448 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha());
452 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha());
453 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha());
454 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha());
457 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha());
458 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha());
459 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha());
LayerDrawableTest.java     [all...]
  /developers/build/prebuilts/gradle/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 68 rectChecked.getPaint().setColor(0xFFFFFFFF);
69 rectChecked.getPaint().setStyle(Paint.Style.STROKE);
70 rectChecked.getPaint().setStrokeWidth(strokeWidth);
78 rectUnchecked.getPaint().setColor(0x0);
79 rectUnchecked.getPaint().setStyle(Paint.Style.STROKE);
80 rectUnchecked.getPaint().setStrokeWidth(strokeWidth);
  /developers/samples/android/renderScript/RenderScriptIntrinsic/RenderScriptIntrinsicSample/src/main/java/com/example/android/renderscriptintrinsic/
ThumbnailRadioButton.java 68 rectChecked.getPaint().setColor(0xFFFFFFFF);
69 rectChecked.getPaint().setStyle(Paint.Style.STROKE);
70 rectChecked.getPaint().setStrokeWidth(strokeWidth);
78 rectUnchecked.getPaint().setColor(0x0);
79 rectUnchecked.getPaint().setStyle(Paint.Style.STROKE);
80 rectUnchecked.getPaint().setStrokeWidth(strokeWidth);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ShapeDrawable1.java 104 mDrawables[0].getPaint().setColor(0xFFFF0000);
105 mDrawables[1].getPaint().setColor(0xFF00FF00);
106 mDrawables[2].getPaint().setColor(0xFF0000FF);
107 mDrawables[3].getPaint().setShader(makeSweep());
108 mDrawables[4].getPaint().setShader(makeLinear());
109 mDrawables[5].getPaint().setShader(makeTiling());
110 mDrawables[6].getPaint().setColor(0x88FF8844);
114 mDrawables[3].getPaint().setPathEffect(
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowShapeDrawable.java 14 public android.graphics.Paint getPaint() {
  /external/chromium_org/third_party/skia/src/core/
SkTextToPathIter.h 22 const SkPaint& getPaint() const { return fPaint; }
SkPicturePlayback.cpp 874 const SkPaint* paint = getPaint(reader);
880 const SkPaint* paint = getPaint(reader);
889 const SkPaint* paint = getPaint(reader);
895 const SkPaint* paint = getPaint(reader);
922 const SkPaint& paint = *getPaint(reader)
    [all...]
  /external/skia/src/core/
SkTextToPathIter.h 22 const SkPaint& getPaint() const { return fPaint; }
SkPicturePlayback.cpp 874 const SkPaint* paint = getPaint(reader);
880 const SkPaint* paint = getPaint(reader);
889 const SkPaint* paint = getPaint(reader);
895 const SkPaint* paint = getPaint(reader);
922 const SkPaint& paint = *getPaint(reader)
    [all...]
  /cts/tests/tests/animation/src/android/animation/cts/
ShapeHolder.java 40 public Paint getPaint() {
73 mShape.getPaint().setColor(value);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
ShapeHolder.java 40 public Paint getPaint() {
66 shape.getPaint().setColor(value);
  /packages/apps/Launcher3/src/com/android/launcher3/
PagedViewIcon.java 116 getPaint().clearShadowLayer();
122 getPaint().setShadowLayer(BubbleTextView.SHADOW_LARGE_RADIUS, 0.0f,
129 getPaint().setShadowLayer(BubbleTextView.SHADOW_SMALL_RADIUS, 0.0f, 0.0f,
  /packages/apps/DeskClock/src/com/android/deskclock/
AndroidClockTextView.java 55 Paint paint = getPaint();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
EllipsizedMultilineTextView.java 77 layout = new StaticLayout(text, 0, text.length(), getPaint(), w, Alignment.ALIGN_NORMAL,
84 text.length()), getPaint(), avail, TextUtils.TruncateAt.END);
  /packages/apps/Calculator/src/com/android/calculator2/
ColorButton.java 56 Paint paint = getPaint();
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageItemPreference.java 62 shape.getPaint().setColor(color);
  /frameworks/base/graphics/java/android/graphics/drawable/
NinePatchDrawable.java 269 getPaint().setAlpha(alpha);
279 return getPaint().getAlpha();
288 getPaint().setColorFilter(cf);
299 getPaint().setDither(dither);
319 getPaint().setFilterBitmap(filter);
377 public Paint getPaint() {
PaintDrawable.java 36 getPaint().setColor(color);
  /frameworks/base/libs/hwui/
DisplayListOp.h 191 SkPaint* getPaint(OpenGLRenderer& renderer) {
212 SkPaint* mPaint; // should be accessed via getPaint() when applying
744 getPaint(renderer));
848 return renderer.drawBitmap(mBitmap, mMatrix, getPaint(renderer));
877 getPaint(renderer));
904 mLocalBounds.top, getPaint(renderer));
929 mVertices, mColors, getPaint(renderer));
    [all...]

Completed in 523 milliseconds

1 2 3 4 5