Lines Matching full:options
26 // We want to make sure that Android's paint options survive a flatten/unflatten round trip.
27 // These are all non-default options.
28 SkPaintOptionsAndroid options;
29 options.setLanguage("ja-JP");
30 options.setFontVariant(SkPaintOptionsAndroid::kElegant_Variant);
31 options.setUseFontFallbacks(true);
34 paint.setPaintOptionsAndroid(options);
39 REPORTER_ASSERT(reporter, options == reconstructed.getPaintOptionsAndroid());
48 SkPaintOptionsAndroid options;
49 options.setLanguage("ja-JP");
50 options.setFontVariant(SkPaintOptionsAndroid::kElegant_Variant);
51 options.setUseFontFallbacks(true);
53 nonDefaultOptions.setPaintOptionsAndroid(options);
64 // A paint with default android options should serialize to something smaller than
65 // a paint with non-default android options.
69 SkPaintOptionsAndroid options;
70 options.setUseFontFallbacks(true);
72 nonDefaultOptions.setPaintOptionsAndroid(options);