Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DLayoutCacheTest.cpp125 MinikinPaint paint1(buildFontCollection("Ascii.ttf")); in TEST() local
126 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
136 MinikinPaint paint1(collection); in TEST() local
137 paint1.size = 10.0f; in TEST()
138 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
149 MinikinPaint paint1(collection); in TEST() local
150 paint1.scaleX = 1.0f; in TEST()
151 layoutCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
162 MinikinPaint paint1(collection); in TEST() local
163 paint1.skewX = 1.0f; in TEST()
[all …]
DBoundsCacheTest.cpp98 MinikinPaint paint1(buildFontCollection("Ascii.ttf")); in TEST() local
99 paint1.size = 10.0f; in TEST()
100 paint1.scaleX = 1.0f; in TEST()
101 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
114 MinikinPaint paint1(collection); in TEST() local
115 paint1.size = 10.0f; in TEST()
116 paint1.scaleX = 1.0f; in TEST()
117 boundsCache.getOrCreate(text1, Range(0, text1.size()), paint1, false /* LTR */, in TEST()
130 MinikinPaint paint1(collection); in TEST() local
131 paint1.letterSpacing = 0.0f; in TEST()
[all …]
DMeasuredTextTest.cpp40 MinikinPaint paint1(font); in TEST() local
41 paint1.size = 10.0f; // make 1em = 10px in TEST()
42 builder.addStyleRun(0, 2, std::move(paint1), lbStyle, lbWordStyle, 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()