Home
last modified time | relevance | path

Searched refs:paint2 (Results 1 – 5 of 5) 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 …]
DBoundsCacheTest.cpp103 MinikinPaint paint2(buildFontCollection("Emoji.ttf")); in TEST() local
104 paint2.size = 10.0f; in TEST()
105 paint2.scaleX = 1.0f; in TEST()
106 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
119 MinikinPaint paint2(collection); in TEST() local
120 paint2.size = 20.0f; in TEST()
121 paint2.scaleX = 1.0f; in TEST()
122 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint2, false /* LTR */, in TEST()
136 MinikinPaint paint2(collection); in TEST() local
137 paint2.letterSpacing = 1.0f; in TEST()
[all …]
DMeasuredTextTest.cpp44 MinikinPaint paint2(font); in TEST() local
45 paint2.size = 10.0f; // make 1em = 10px in TEST()
46 builder.addStyleRun(4, 6, std::move(paint2), lbStyle, lbWordStyle, false /* is RTL */); in TEST()
126 MinikinPaint paint2(font); in TEST() local
127 paint2.size = 20.0f; in TEST()
128 builder.addStyleRun(helloLength, text.size(), std::move(paint2), lbStyle, lbWordStyle, in TEST()
174 MinikinPaint paint2(font); in TEST() local
175 paint2.size = 20.0f; in TEST()
176 builder.addStyleRun(helloLength, text.size(), std::move(paint2), 0 /* no line break */, in TEST()
284 MinikinPaint paint2(font); in TEST() local
[all …]
/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()