/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | BitmapDrawableTest.java | 96 assertNotNull(bitmapDrawable.getPaint()); in testConstructor() 98 bitmapDrawable.getPaint().getFlags()); in testConstructor() 103 assertNotNull(bitmapDrawable.getPaint()); in testConstructor() 105 bitmapDrawable.getPaint().getFlags()); in testConstructor() 162 assertFalse(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 165 assertTrue(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 168 assertFalse(bitmapDrawable.getPaint().isAntiAlias()); in testSetAntiAlias() 176 assertTrue(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() 179 assertFalse(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() 182 assertTrue(bitmapDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() [all …]
|
D | RotateDrawableTest.java | 154 assertEquals(100, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha()); in testSetAlpha() 157 assertEquals(255, ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getAlpha()); in testSetAlpha() 165 ((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter()); in testSetColorFilter() 168 assertNull(((BitmapDrawable) mRotateDrawable.getDrawable()).getPaint().getColorFilter()); in testSetColorFilter() 300 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 301 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 302 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 306 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 307 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 308 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() [all …]
|
D | ShapeDrawableTest.java | 147 assertEquals(255, shapeDrawable.getPaint().getAlpha()); in testGetOpacity() 150 shapeDrawable.getPaint().setAlpha(0); in testGetOpacity() 153 shapeDrawable.getPaint().setAlpha(128); in testGetOpacity() 205 assertNotNull(shapeDrawable.getPaint()); in testGetPaint() 207 | Paint.EMBEDDED_BITMAP_TEXT_FLAG, shapeDrawable.getPaint().getFlags()); in testGetPaint() 229 assertSame(xfermode, shapeDrawable.getPaint().getXfermode()); in testSetXfermode() 232 assertNull(shapeDrawable.getPaint().getXfermode()); in testSetXfermode() 345 assertSame(cf, shapeDrawable.getPaint().getColorFilter()); in testSetColorFilter() 348 assertNull(shapeDrawable.getPaint().getColorFilter()); in testSetColorFilter() 364 assertTrue(shapeDrawable.getPaint().isDither()); in testSetDither() [all …]
|
D | NinePatchDrawableTest.java | 192 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 195 assertEquals(0, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 198 assertEquals(0xff, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 201 assertEquals(0xfe, mNinePatchDrawable.getPaint().getAlpha()); in testSetAlpha() 206 assertNull(mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 210 assertSame(cf, mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 213 assertNull(mNinePatchDrawable.getPaint().getColorFilter()); in testSetColorFilter() 230 assertFalse(mNinePatchDrawable.getPaint().isDither()); in testSetDither() 233 assertTrue(mNinePatchDrawable.getPaint().isDither()); in testSetDither() 239 assertFalse(mNinePatchDrawable.getPaint().isFilterBitmap()); in testSetFilterBitmap() [all …]
|
D | ScaleDrawableTest.java | 486 assertEquals(100, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 487 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 488 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 492 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 493 assertEquals(100, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 494 assertEquals(100, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate() 497 assertEquals(200, ((BitmapDrawable) d1.getDrawable()).getPaint().getAlpha()); in testMutate() 498 assertEquals(50, ((BitmapDrawable) d2.getDrawable()).getPaint().getAlpha()); in testMutate() 499 assertEquals(50, ((BitmapDrawable) d3.getDrawable()).getPaint().getAlpha()); in testMutate()
|
D | LayerDrawableTest.java | 1644 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1645 assertEquals(100, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1646 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1647 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1648 assertEquals(100, ((BitmapDrawable) d3.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1649 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1653 assertEquals(200, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1654 assertEquals(200, ((BitmapDrawable) d1.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1655 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() 1656 assertEquals(100, ((BitmapDrawable) d2.getDrawable(0)).getPaint().getAlpha()); in testMutate() [all …]
|
D | StateListDrawableTest.java | 342 assertEquals(100, ((BitmapDrawable) d1.getCurrent()).getPaint().getAlpha()); in testMutate() 343 assertEquals(255, ((BitmapDrawable) d2.getCurrent()).getPaint().getAlpha()); in testMutate() 344 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 | 249 Paint paint = drawable.getPaint(); in addBall()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | NinePatchTest.java | 94 assertNull(mNinePatch.getPaint()); in testPaintAccessors() 97 assertEquals(p, mNinePatch.getPaint()); in testPaintAccessors() 100 assertNull(mNinePatch.getPaint()); in testPaintAccessors()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 81 TextPaint paint = mTextView.getPaint(); in testScrollTo() 113 TextPaint paint = mTextView.getPaint(); in testOnTouchEvent()
|
D | BaseMovementMethodTest.java | 84 setContentView(mTextView, (int) mTextView.getPaint().measureText(testLine) / 3); in testOnGenericMotionEvent_horizontalScroll() 89 final double lineSpacing = Math.ceil(mTextView.getPaint().getFontSpacing()); in testOnGenericMotionEvent_horizontalScroll()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutTest.java | 101 assertSame(mTextPaint, layout.getPaint()); in testGetPaint() 104 assertNull(layout.getPaint()); in testGetPaint()
|
D | StaticLayoutTest.java | 140 assertEquals(mDefaultPaint, layout.getPaint()); in testBuilder()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 789 TextPaint tp = mTextView.getPaint(); in testGetPaint() 866 assertEquals(Color.GRAY, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 870 assertEquals(Color.YELLOW, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 874 assertEquals(Color.WHITE, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 881 assertEquals(Color.BLACK, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 885 assertEquals(Color.BLACK, mTextView.getPaint().linkColor); in testAccessLinkTextColor() 1146 assertFalse(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 1158 assertTrue(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 1163 assertFalse(mTextView.getPaint().isElegantTextHeight()); in testSetElegantLineHeight() 3583 final float halfCharWidth = (float) Math.ceil(mTextView.getPaint().measureText("a") / 2f); in testGetOffsetForPositionSingleLineLtr() [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()
|