Home
last modified time | relevance | path

Searched refs:paint2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp128 MinikinPaint paint2(buildFontCollection("Emoji.ttf")); in TEST() local
129 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
140 MinikinPaint paint2(collection); in TEST() local
141 paint2.size = 20.0f; in TEST()
142 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
153 MinikinPaint paint2(collection); in TEST() local
154 paint2.scaleX = 2.0f; in TEST()
155 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
166 MinikinPaint paint2(collection); in TEST() local
167 paint2.skewX = 2.0f; in TEST()
[all …]
DMeasuredTextTest.cpp41 MinikinPaint paint2(font); in TEST() local
42 paint2.size = 10.0f; // make 1em = 10px in TEST()
43 builder.addStyleRun(4, 6, std::move(paint2), false /* is RTL */); in TEST()
87 MinikinPaint paint2(font); in TEST() local
88 paint2.size = 20.0f; in TEST()
89 builder.addStyleRun(helloLength, text.size(), std::move(paint2), false /* is RTL */); in TEST()
130 MinikinPaint paint2(font); in TEST() local
131 paint2.size = 20.0f; in TEST()
132 builder.addStyleRun(helloLength, text.size(), std::move(paint2), false /* is RTL */); in TEST()
226 MinikinPaint paint2(font); in TEST() local
[all …]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java78 Paint paint2 = new Paint(); in getSourceLocation()
82 paint2.setStyle(Paint.Style.STROKE); in getSourceLocation()
85 paint2.setColor(Color.BLUE); in getSourceLocation()
91 canvas.drawPath(path, paint2); in getSourceLocation()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java69 Paint paint2 = new Paint(); in getSourceLocation()
73 paint2.setStyle(Paint.Style.STROKE); in getSourceLocation()
76 paint2.setColor(Color.BLUE); in getSourceLocation()
82 canvas.drawPath(path, paint2); in getSourceLocation()