Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp124 MinikinPaint paint1(buildFontCollection("Ascii.ttf")); in TEST() local
125 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
135 MinikinPaint paint1(collection); in TEST() local
136 paint1.size = 10.0f; in TEST()
137 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
148 MinikinPaint paint1(collection); in TEST() local
149 paint1.scaleX = 1.0f; in TEST()
150 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
161 MinikinPaint paint1(collection); in TEST() local
162 paint1.skewX = 1.0f; in TEST()
[all …]
DMeasuredTextTest.cpp37 MinikinPaint paint1(font); in TEST() local
38 paint1.size = 10.0f; // make 1em = 10px in TEST()
39 builder.addStyleRun(0, 2, std::move(paint1), false /* is RTL */); in TEST()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java68 Paint paint1 = new Paint(); in getSourceLocation()
72 paint1.setStyle(Paint.Style.STROKE); in getSourceLocation()
74 paint1.setColor(Color.BLACK); in getSourceLocation()
75 paint1.setStrokeWidth(2); in getSourceLocation()
81 canvas.drawPath(path, paint1); in getSourceLocation()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java77 Paint paint1 = new Paint(); in getSourceLocation()
81 paint1.setStyle(Paint.Style.STROKE); in getSourceLocation()
83 paint1.setColor(Color.BLACK); in getSourceLocation()
84 paint1.setStrokeWidth(2); in getSourceLocation()
90 canvas.drawPath(path, paint1); in getSourceLocation()