Home
last modified time | relevance | path

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

/frameworks/layoutlib/bridge/src/android/graphics/
DBidiRenderer.java150 private void renderScript(int start, int limit, Font preferredFont, int flag, in renderScript() argument
152 if (mPaint.getFonts().size() == 0 || preferredFont == null) { in renderScript()
157 int canDisplayUpTo = preferredFont.canDisplayUpTo(mText, start, limit); in renderScript()
160 render(start, limit, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
165 render(start, canDisplayUpTo, preferredFont, flag, advances, advancesIndex, draw); in renderScript()
178 if (preferredFont == font) { in renderScript()
215 render(start, start + charCount, preferredFont, flag, advances, advancesIndex, in renderScript()