Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/timedtext/test/
DTimedTextUnitTest.cpp172 FontInfo fontInfo; in TEST_P() local
179 fontInfo.displayFlag = U32_AT(tmpData); in TEST_P()
180 ALOGI("Display flag: %d", fontInfo.displayFlag); in TEST_P()
181 fontInfo.horizontalJustification = tmpData[4]; in TEST_P()
182 ALOGI("Horizontal Justification: %d", fontInfo.horizontalJustification); in TEST_P()
183 fontInfo.verticalJustification = tmpData[5]; in TEST_P()
184 ALOGI("Vertical Justification: %d", fontInfo.verticalJustification); in TEST_P()
185 fontInfo.rgbaBackground = in TEST_P()
187 ALOGI("rgba value of background: %d", fontInfo.rgbaBackground); in TEST_P()
193 fontInfo.leftPos = U16_AT(tmpData); in TEST_P()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFontFamily_Builder_Delegate.java174 FontInfo fontInfo = new FontInfo();
175 fontInfo.mFont = font;
176 fontInfo.mWeight = weight;
177 fontInfo.mIsItalic = italic;
178 addFont(fontInfo);
181 private void addFont(@NonNull FontInfo fontInfo) {
182 mFonts.putIfAbsent(fontInfo, fontInfo.mFont);
/frameworks/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java107 FontInfo fontInfo = (FontInfo) o; in equals() local
108 return mWeight == fontInfo.mWeight && mIsItalic == fontInfo.mIsItalic; in equals()
408 FontInfo fontInfo = new FontInfo();
409 fontInfo.mFont = font;
410 fontInfo.mWeight = weight;
411 fontInfo.mIsItalic = italic == RESOLVE_BY_FONT_TABLE ? font.isItalic() : italic == 1;
412 addFont(fontInfo);
416 private boolean addFont(@NonNull FontInfo fontInfo) {
417 return mFonts.putIfAbsent(fontInfo, fontInfo.mFont) == null;
DBidiRenderer.java346 for (FontInfo fontInfo : fonts) { in getScriptFont()
347 int count = fontInfo.mFont.canDisplayUpTo(text, start, limit); in getScriptFont()
350 return fontInfo.mFont; in getScriptFont()
355 bestFont = fontInfo.mFont; in getScriptFont()
/frameworks/base/core/java/android/provider/
DFontsContract.java669 for (FontInfo fontInfo : fonts) { in buildTypeface()
670 final ByteBuffer buffer = uriBuffer.get(fontInfo.getUri()); in buildTypeface()
676 .setWeight(fontInfo.getWeight()) in buildTypeface()
677 .setSlant(fontInfo.isItalic() in buildTypeface()
679 .setTtcIndex(fontInfo.getTtcIndex()) in buildTypeface()
680 .setFontVariationSettings(fontInfo.getAxes()) in buildTypeface()