/cts/tests/tests/text/src/android/text/cts/ |
D | TextShaperTest.java | 54 private List<Pair<PositionedGlyphs, TextPaint>> shapeText(CharSequence text, TextPaint paint) { in shapeText() 66 TextPaint paint = new TextPaint(); in shapeText_noStyle() local 86 TextPaint paint = new TextPaint(); in shapeText_multiStyle() local 117 public void assertSameDrawResult(CharSequence text, TextPaint paint, in assertSameDrawResult() 167 TextPaint paint = new TextPaint(); in testDrawConsistencyNoStyle() local 175 TextPaint paint = new TextPaint(); in testDrawConsistencyNoStyleMultiFont() local 183 TextPaint paint = new TextPaint(); in testDrawConsistencyMultiStyle() local 195 TextPaint paint = new TextPaint(); in testDrawConsistencyBidi() local 205 TextPaint paint = new TextPaint(); in testDrawConsistencyBidi2() local 215 TextPaint paint = new TextPaint(); in testDrawConsistencyBidiMultiStyle() local [all …]
|
D | TextPaintTest.java | 43 final Paint paint = new Paint(); in testConstructor() local 88 Paint paint = new Paint(); in testInfinityTextSize_doesntCrash() local
|
D | PrecomputedTextTest.java | 317 final TextPaint paint = new TextPaint(); in testGetWidth() local 359 final TextPaint paint = new TextPaint(); in testGetWidth_multiStyle() local 388 final TextPaint paint = new TextPaint(); in testGetWidth_multiStyle2() local 461 final TextPaint paint = new TextPaint(); in testGetBounds() local 520 final TextPaint paint = new TextPaint(); in testGetBounds_multiStyle() local 557 final TextPaint paint = new TextPaint(); in testGetBounds_multiStyle2() local 644 @NonNull TextPaint paint) { in drawToBitmap() 661 @NonNull TextPaint paint) { in assertSameOutput() 683 final TextPaint paint = new TextPaint(); in testDrawText() local 694 final TextPaint paint = new TextPaint(); in testDrawText_MultiStyle() local [all …]
|
D | FontCoverageTest.java | 1226 final Paint paint = new Paint(); in testLanguageCoverage() local 1252 final Paint paint = new Paint(); in testEmojiCoverage() local
|
D | LayoutTest.java | 40 TextPaint paint = new TextPaint(); in testGetDesiredWidthRange() local 57 TextPaint paint = new TextPaint(); in testGetDesiredWidth() local
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | TextRunShaperTest.java | 54 Paint paint = new Paint(); in shapeText() local 91 Paint paint = new Paint(); in shapeText_differentPaint() local 117 Paint paint = new Paint(); in shapeText_context() local 137 Paint paint = new Paint(); in shapeText_twoAPISameResult() local 165 Paint paint = new Paint(); in shapeText_multiLanguage() local 185 Paint paint = new Paint(); in shapeText_FontCreateFromNative() local 213 Paint paint = new Paint(); in positionedGlyphs_equality() local 240 Paint paint = new Paint(); in positionedGlyphs_IllegalArgument_glyphID() local 253 Paint paint = new Paint(); in resultTest_IllegalArgument_font() local 266 Paint paint = new Paint(); in resultTest_IllegalArgument_X() local [all …]
|
D | MeasuredTextTest.java | 192 Paint paint = new Paint(); in testGetBounds_RTL() local 346 public Bitmap makeBitmapFromSsb(String text, TextPaint paint, boolean isRtl) { in makeBitmapFromSsb() 359 public Bitmap makeBitmapFromMtWithSamePaint(String text, TextPaint paint, boolean isRtl) { in makeBitmapFromMtWithSamePaint() 374 public Bitmap makeBitmapFromMtWithDifferentPaint(String text, TextPaint paint, boolean isRtl) { in makeBitmapFromMtWithDifferentPaint() 390 public Bitmap makeBitmapFromPct(String text, TextPaint paint, boolean isRtl) { in makeBitmapFromPct() 405 final TextPaint paint = new TextPaint(); in testCanvasDrawTextRun_sameOutputTestForLatinText() local 421 final TextPaint paint = new TextPaint(); in testCanvasDrawTextRun_sameOutputTestForCJKText() local 437 final TextPaint paint = new TextPaint(); in testCanvasDrawTextRun_sameOutputTestForRTLText() local
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | GradientTests.java | 49 Paint paint = new Paint(); in testAlphaPreMultiplication() local 78 Paint paint = new Paint(); in testRadialGradientWithFocalPoint() local 117 Paint paint = new Paint(); in testRadialGradientSameStartEndCircles() local 217 Paint paint = new Paint(); in testRadialGradientWithFocalPointMatchesRegularRadialGradient() local 270 Paint paint = new Paint(); in testMatrixTransformation() local
|
D | PaintTests.kt | 59 val paint = Paint() in <lambda>() constant 84 paint, canvas -> in <lambda>() method 91 paint, canvas -> in <lambda>() method 100 paint, canvas -> in <lambda>() method 106 paint, canvas -> in <lambda>() method 112 paint, canvas -> in <lambda>() method 120 paint, canvas -> in <lambda>() method 126 paint, canvas -> in <lambda>() method 137 paint, canvas -> in <lambda>() method 143 paint, canvas -> in <lambda>() method [all …]
|
D | PathClippingTests.java | 198 Paint paint = new Paint(); in testTextClip() local 229 Paint paint = new Paint(); in testWebViewClipWithCircle() local
|
D | PathTests.java | 26 Paint paint = new Paint(); in testTextPathWithOffset() local 79 final Paint paint = new Paint(); in verifyPathApproximation() local
|
D | CameraTests.java | 39 Paint paint = new Paint(); in testBasicTranslate() local
|
D | BitmapFilterTests.java | 120 final Paint paint = new Paint(filterEnum.equals(FilterEnum.ADD_FILTER) ? in runScaleTest() local 166 Paint paint = new Paint(); in testDrawSnapped() local 190 Paint paint = new Paint(); in testDrawHalfPixelFiltered() local
|
D | RenderNodeTests.java | 194 Paint paint = new Paint(); in testUseCompositingLayer() local 418 Paint paint = new Paint(); in testOffsetImplicitInputRenderEffect() local 471 Paint paint = new Paint(); in testColorFilterRenderEffectImplicitInput() local 518 Paint paint = new Paint(); in testColorFilterRenderEffect() local 548 Paint paint = new Paint(); in testOffsetRenderEffect() local 709 Paint paint = new Paint(); in testBlurRenderEffectImplicitInput() local 756 Paint paint = new Paint(); in testBlurRenderEffect() local 788 Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG); in testChainRenderEffect() local
|
D | LayerTests.java | 635 Paint paint = new Paint(); in testWebViewOnHWLayerAndComplexAntiAliasedClip() local 664 Paint paint = new Paint(); in testWebViewWithParentLayerAndComplexClip() local 694 Paint paint = new Paint(); in testWebViewWithRRectClip() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasDrawGlyphsTest.java | 60 int positionStart, int glyphCount, Font font, Paint paint) { in drawGlyphsToBitmap() 70 Paint paint = new Paint(); in drawGlyphs_SameToDrawText() local 99 Paint paint = new Paint(); in drawGlyphs_glyphOffset() local 156 Paint paint = new Paint(); in drawGlyphs_positionOffset() local 215 Paint paint = new Paint(); in drawGlyphs_glyphCount() local 255 Paint paint = new Paint(); in drawGlyphs_positionDifference() local 299 Paint paint = new Paint(); in drawGlyphs_paintEffect() local
|
D | BitmapShaderTest.java | 56 Paint paint = new Paint(); in testBitmapShader() local 111 Paint paint = new Paint(); in testClamp() local 133 Paint paint = new Paint(); in testRepeat() local 155 Paint paint = new Paint(); in testMirror() local
|
D | ComposeShaderTest.java | 58 Paint paint = new Paint(); in testPorterDuff() local 91 Paint paint = new Paint(); in testBlendMode() local 130 Paint paint = new Paint(); in testXfermode() local 159 Paint paint = new Paint(); in testChildLocalMatrix() local
|
D | ComposePathEffectTest.java | 63 Paint paint = makePaint(); in testComposePathEffect() local 81 Paint paint = new Paint(); in makePaint() local
|
D | PictureTest.java | 76 Paint paint = new Paint(); in createImbalance() local 140 Paint paint = new Paint(); in drawPicture() local
|
D | SumPathEffectTest.java | 58 Paint paint = new Paint(); in testSumPathEffect() local
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 87 TextPaint paint = mTextView.getPaint(); in testScrollTo() local 119 TextPaint paint = mTextView.getPaint(); in testOnTouchEvent() local 183 private int getTextWidth(String str, TextPaint paint) { in getTextWidth()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ReplacementSpanTest.java | 60 float x, int top, int y, int bottom, Paint paint) { in draw() 64 public int getSize(Paint paint, CharSequence text, int start, int end, in getSize()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/ |
D | DisplayModifier.java | 442 abstract public void modifyDrawing(Paint paint, Canvas canvas); in modifyDrawing() 525 public void modifyDrawing(Canvas canvas, Paint paint) { in modifyDrawing() 585 public void modifyDrawing(Paint paint, Canvas canvas) { in modifyDrawing() 599 public void modifyDrawing(Paint paint, Canvas canvas) { in modifyDrawing()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | ShapeTest.java | 113 Paint paint = new Paint(); in testDraw() local 139 public void draw(Canvas canvas, Paint paint) { in draw()
|