Home
last modified time | relevance | path

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

/frameworks/minikin/sample/
DMinikinSkia.cpp17 bool MinikinFontSkia::GetGlyph(uint32_t codepoint, uint32_t *glyph) const { in GetGlyph() argument
22 paint.textToGlyphs(&codepoint, sizeof(codepoint), &glyph16); in GetGlyph()
DMinikinSkia.h9 bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const;
/frameworks/base/core/jni/android/graphics/
DHarfBuzzNGFaceSkia.cpp55 static void SkiaGetGlyphWidthAndExtents(SkPaint* paint, hb_codepoint_t codepoint, hb_position_t* wi… in SkiaGetGlyphWidthAndExtents() argument
57 ALOG_ASSERT(codepoint <= 0xFFFF); in SkiaGetGlyphWidthAndExtents()
62 uint16_t glyph = codepoint; in SkiaGetGlyphWidthAndExtents()
66 ALOGD("returned glyph for %i: width = %f", codepoint, skWidth); in SkiaGetGlyphWidthAndExtents()
DMinikinSkia.cpp35 bool MinikinFontSkia::GetGlyph(uint32_t codepoint, uint32_t *glyph) const { in GetGlyph() argument
40 paint.textToGlyphs(&codepoint, sizeof(codepoint), &glyph16); in GetGlyph()
DMinikinSkia.h31 bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const;
/frameworks/minikin/libs/minikin/
DMinikinFontFreeType.cpp41 bool MinikinFontFreeType::GetGlyph(uint32_t codepoint, uint32_t *glyph) const { in GetGlyph() argument
42 FT_UInt glyph_index = FT_Get_Char_Index(mTypeface, codepoint); in GetGlyph()
DLayout.cpp406 static hb_script_t codePointToScript(hb_codepoint_t codepoint) { in codePointToScript() argument
411 return hb_unicode_script(u, codepoint); in codePointToScript()
736 … << positions[i].y_offset << std::endl; std::cout << "DoLayout " << info[i].codepoint << in doLayoutRun()
745 hb_codepoint_t glyph_ix = info[i].codepoint; in doLayoutRun()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java511 int codepoint = str.codePointAt(i); in containsOnlyAlphaDigitHyphen() local
512 if (!((lowerAlphabetFirst <= codepoint && codepoint < lowerAlphabetAfterLast) || in containsOnlyAlphaDigitHyphen()
513 (upperAlphabetFirst <= codepoint && codepoint < upperAlphabetAfterLast) || in containsOnlyAlphaDigitHyphen()
514 (digitFirst <= codepoint && codepoint < digitAfterLast) || in containsOnlyAlphaDigitHyphen()
515 (codepoint == hyphen))) { in containsOnlyAlphaDigitHyphen()
/frameworks/minikin/include/minikin/
DMinikinFontFreeType.h45 bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const;
DMinikinFont.h85 virtual bool GetGlyph(uint32_t codepoint, uint32_t *glyph) const = 0;
/frameworks/base/core/java/android/text/
DHtml.java396 int codepoint = 0x010000 | (int) c - 0xD800 << 10 | (int) d - 0xDC00; in withinStyle() local
397 out.append("&#").append(codepoint).append(";"); in withinStyle()