Home
last modified time | relevance | path

Searched defs:paint (Results 1 – 25 of 79) sorted by relevance

1234

/cts/tests/tests/text/src/android/text/cts/
DTextShaperTest.java54 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 …]
DTextPaintTest.java43 final Paint paint = new Paint(); in testConstructor() local
88 Paint paint = new Paint(); in testInfinityTextSize_doesntCrash() local
DPrecomputedTextTest.java317 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 …]
DFontCoverageTest.java1226 final Paint paint = new Paint(); in testLanguageCoverage() local
1252 final Paint paint = new Paint(); in testEmojiCoverage() local
DLayoutTest.java40 TextPaint paint = new TextPaint(); in testGetDesiredWidthRange() local
57 TextPaint paint = new TextPaint(); in testGetDesiredWidth() local
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DTextRunShaperTest.java54 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 …]
DMeasuredTextTest.java192 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/
DGradientTests.java49 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
DPaintTests.kt59 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 …]
DPathClippingTests.java198 Paint paint = new Paint(); in testTextClip() local
229 Paint paint = new Paint(); in testWebViewClipWithCircle() local
DPathTests.java26 Paint paint = new Paint(); in testTextPathWithOffset() local
79 final Paint paint = new Paint(); in verifyPathApproximation() local
DCameraTests.java39 Paint paint = new Paint(); in testBasicTranslate() local
DBitmapFilterTests.java120 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
DRenderNodeTests.java194 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
DLayerTests.java635 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/
DCanvasDrawGlyphsTest.java60 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
DBitmapShaderTest.java56 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
DComposeShaderTest.java58 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
DComposePathEffectTest.java63 Paint paint = makePaint(); in testComposePathEffect() local
81 Paint paint = new Paint(); in makePaint() local
DPictureTest.java76 Paint paint = new Paint(); in createImbalance() local
140 Paint paint = new Paint(); in drawPicture() local
DSumPathEffectTest.java58 Paint paint = new Paint(); in testSumPathEffect() local
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java87 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/
DReplacementSpanTest.java60 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/
DDisplayModifier.java442 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/
DShapeTest.java113 Paint paint = new Paint(); in testDraw() local
139 public void draw(Canvas canvas, Paint paint) { in draw()

1234