Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp127 MinikinPaint paint2(buildFontCollection("Emoji.ttf")); in TEST() local
128 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
139 MinikinPaint paint2(collection); in TEST() local
140 paint2.size = 20.0f; in TEST()
141 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
152 MinikinPaint paint2(collection); in TEST() local
153 paint2.scaleX = 2.0f; in TEST()
154 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
165 MinikinPaint paint2(collection); in TEST() local
166 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()
/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()
/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()