Home
last modified time | relevance | path

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

/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/service/
DTerminalBridge.java85 private final Paint defaultPaint; field in TerminalBridge
148 defaultPaint = new Paint(); in TerminalBridge()
202 defaultPaint = new Paint(); in TerminalBridge()
203 defaultPaint.setAntiAlias(true); in TerminalBridge()
204 defaultPaint.setTypeface(Typeface.MONOSPACE); in TerminalBridge()
205 defaultPaint.setFakeBoldText(true); // more readable? in TerminalBridge()
407 defaultPaint.setTextSize(size); in setFontSize()
411 FontMetrics fm = defaultPaint.getFontMetrics(); in setFontSize()
415 defaultPaint.getTextWidths("X", widths); in setFontSize()
501 defaultPaint.setColor(Color.BLACK); in parentChanged()
[all …]
/external/skia/tests/
DTextBlobTest.cpp199 SkPaint defaultPaint; in TestPaintProps() local
200 REPORTER_ASSERT(reporter, defaultPaint.getTextSize() != font.getTextSize()); in TestPaintProps()
201 REPORTER_ASSERT(reporter, defaultPaint.getTextScaleX() != font.getTextScaleX()); in TestPaintProps()
202 REPORTER_ASSERT(reporter, defaultPaint.getTypeface() != font.getTypeface()); in TestPaintProps()
203 REPORTER_ASSERT(reporter, defaultPaint.getTextSkewX() != font.getTextSkewX()); in TestPaintProps()
204 REPORTER_ASSERT(reporter, defaultPaint.getTextAlign() != font.getTextAlign()); in TestPaintProps()
205 REPORTER_ASSERT(reporter, defaultPaint.getHinting() != font.getHinting()); in TestPaintProps()
206 REPORTER_ASSERT(reporter, defaultPaint.isAntiAlias() != font.isAntiAlias()); in TestPaintProps()
207 REPORTER_ASSERT(reporter, defaultPaint.isFakeBoldText() != font.isFakeBoldText()); in TestPaintProps()
208 REPORTER_ASSERT(reporter, defaultPaint.isLinearText() != font.isLinearText()); in TestPaintProps()
[all …]
/external/skia/bench/
DPathTextBench.cpp39 SkPaint defaultPaint; in onDelayedSetup() local
40 SkAutoGlyphCache agc(defaultPaint, nullptr, &SkMatrix::I()); in onDelayedSetup()
/external/skia/samplecode/
DSamplePathText.cpp25 SkPaint defaultPaint; in PathText() local
26 SkAutoGlyphCache agc(defaultPaint, nullptr, &SkMatrix::I()); in PathText()