/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | BitmapDrawableTest.java | 79 assertNotNull(bitmapDrawable.getPaint()); in testConstructor() 81 bitmapDrawable.getPaint().getFlags()); in testConstructor() 86 assertNotNull(bitmapDrawable.getPaint()); in testConstructor() 88 bitmapDrawable.getPaint().getFlags()); in testConstructor() 142 assertFalse(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 145 assertTrue(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 148 assertFalse(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 155 assertTrue(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() 158 assertFalse(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() 161 assertTrue(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() [all …]
|
D | RotateDrawableTest.java | 126 assertEquals(100, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha()); in testSetAlpha() 129 assertEquals(255, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha()); in testSetAlpha() 136 ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter()); in testSetColorFilter() 139 assertNull(((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter()); in testSetColorFilter() 272 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 273 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 274 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 278 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 279 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 280 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() [all …]
|
D | ShapeDrawableTest.java | 124 assertEquals(255, shapeDrawable.getPaint().getAlpha()); in testGetOpacity() 127 shapeDrawable.getPaint().setAlpha(0); in testGetOpacity() 130 shapeDrawable.getPaint().setAlpha(128); in testGetOpacity() 180 assertNotNull(shapeDrawable.getPaint()); in testGetPaint() 182 | Paint.EMBEDDED_BITMAP_TEXT_FLAG, shapeDrawable.getPaint().getFlags()); in testGetPaint() 312 assertSame(cf, shapeDrawable.getPaint().getColorFilter()); in testSetColorFilter() 315 assertNull(shapeDrawable.getPaint().getColorFilter()); in testSetColorFilter() 329 assertTrue(shapeDrawable.getPaint().isDither()); in testSetDither() 332 assertFalse(shapeDrawable.getPaint().isDither()); in testSetDither()
|
D | NinePatchDrawableTest.java | 175 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 178 assertEquals(0, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 181 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 184 assertEquals(0xfe, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 188 assertNull(mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 192 assertSame(cf, mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 195 assertNull(mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 210 assertFalse(mNinePatchDrawable.getPaint().isDither()); in testSetDither() 213 assertTrue(mNinePatchDrawable.getPaint().isDither()); in testSetDither() 218 assertFalse(mNinePatchDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() [all …]
|
D | ScaleDrawableTest.java | 475 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 476 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 477 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 481 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 482 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 483 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 486 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 487 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 488 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | LayerDrawableTest.java | 1665 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1666 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1667 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1668 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1669 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1670 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1674 assertEquals(200, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1675 assertEquals(200, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1676 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1677 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() [all …]
|
D | StateListDrawableTest.java | 312 assertEquals(100, ((BitmapDrawable) d1.getCurrent()).getPaint().getAlpha()); in testMutate() 313 assertEquals(255, ((BitmapDrawable) d2.getCurrent()).getPaint().getAlpha()); in testMutate() 314 assertEquals(255, ((BitmapDrawable) d3.getCurrent()).getPaint().getAlpha()); in testMutate()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 40 public Paint getPaint() { in getPaint() method in ShapeHolder 73 mShape.getPaint().setColor(value); in setColor()
|
D | AnimationActivity.java | 250 Paint paint = drawable.getPaint(); in addBall()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 67 TextPaint paint = tv.getPaint(); in testScrollTo() 116 TextPaint paint = tv.getPaint(); in testOnTouchEvent()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutTest.java | 79 assertSame(mTextPaint, layout.getPaint()); in testGetPaint() 82 assertNull(layout.getPaint()); in testGetPaint()
|
D | StaticLayoutTest.java | 133 assertEquals(mDefaultPaint, layout.getPaint()); in testBuilder()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 570 TextPaint tp = mTextView.getPaint(); in testGetPaint() 642 assertEquals(Color.GRAY, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 646 assertEquals(Color.YELLOW, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 650 assertEquals(Color.WHITE, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 657 assertEquals(Color.BLACK, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 661 assertEquals(Color.BLACK, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 832 assertFalse(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 850 assertTrue(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 859 assertFalse(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 3164 mTextView.getPaint().getTextWidths(LONG_TEXT, widths); [all …]
|
/cts/tools/dex-tools/dex/ |
D | classes.out.dex | 35286 public final android.graphics.Paint getPaint() 36339 public android.graphics.Paint getPaint() 36396 public android.graphics.Paint getPaint() 75630 public final android.text.TextPaint getPaint() 93492 public android.text.TextPaint getPaint()
|