Home
last modified time | relevance | path

Searched refs:SkUnichar (Results 1 – 25 of 34) sorted by relevance

12

/external/skia/include/core/
DSkUtils.h74 SkUnichar SkUTF8_ToUnichar(const char utf8[]);
75 SkUnichar SkUTF8_NextUnichar(const char**);
76 SkUnichar SkUTF8_PrevUnichar(const char**);
82 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[] = NULL);
93 SkUnichar SkUTF16_NextUnichar(const uint16_t**);
95 SkUnichar SkUTF16_PrevUnichar(const uint16_t**);
96 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t utf16[] = NULL);
DSkScalerContext.h243 uint16_t charToGlyphID(SkUnichar uni);
248 SkUnichar glyphIDToChar(uint16_t glyphID);
266 virtual uint16_t generateCharToGlyph(SkUnichar) = 0;
274 virtual SkUnichar generateGlyphToChar(uint16_t);
DSkString.h118 void insertUnichar(size_t offset, SkUnichar);
127 void appendUnichar(SkUnichar uni) { this->insertUnichar((size_t)-1, uni); } in appendUnichar()
136 void prependUnichar(SkUnichar uni) { this->insertUnichar(0, uni); } in prependUnichar()
DSkAdvancedTypefaceMetrics.h121 SkTDArray<SkUnichar> fGlyphToUnicode;
DSkPaint.h736 SkUnichar text[]) const;
819 const SkGlyph& getUnicharMetrics(SkUnichar);
/external/skia/src/core/
DSkUtils.cpp194 SkUnichar SkUTF8_ToUnichar(const char utf8[]) { in SkUTF8_ToUnichar()
215 SkUnichar SkUTF8_NextUnichar(const char** ptr) { in SkUTF8_NextUnichar()
237 SkUnichar SkUTF8_PrevUnichar(const char** ptr) { in SkUTF8_PrevUnichar()
252 size_t SkUTF8_FromUnichar(SkUnichar uni, char utf8[]) { in SkUTF8_FromUnichar()
269 SkDEBUGCODE(SkUnichar orig = uni;) in SkUTF8_FromUnichar()
326 SkUnichar SkUTF16_NextUnichar(const uint16_t** srcPtr) { in SkUTF16_NextUnichar()
330 SkUnichar c = *src++; in SkUTF16_NextUnichar()
345 SkUnichar SkUTF16_PrevUnichar(const uint16_t** srcPtr) { in SkUTF16_PrevUnichar()
349 SkUnichar c = *--src; in SkUTF16_PrevUnichar()
361 size_t SkUTF16_FromUnichar(SkUnichar uni, uint16_t dst[]) { in SkUTF16_FromUnichar()
DSkGlyphCache.h48 const SkGlyph& getUnicharAdvance(SkUnichar);
58 const SkGlyph& getUnicharMetrics(SkUnichar);
66 const SkGlyph& getUnicharMetrics(SkUnichar, SkFixed x, SkFixed y);
73 uint16_t unicharToGlyph(SkUnichar);
78 SkUnichar glyphToUnichar(uint16_t);
DSkGlyphCache.cpp104 uint16_t SkGlyphCache::unicharToGlyph(SkUnichar charCode) { in unicharToGlyph()
116 SkUnichar SkGlyphCache::glyphToUnichar(uint16_t glyphID) { in glyphToUnichar()
126 const SkGlyph& SkGlyphCache::getUnicharAdvance(SkUnichar charCode) { in getUnicharAdvance()
156 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode) { in getUnicharMetrics()
178 const SkGlyph& SkGlyphCache::getUnicharMetrics(SkUnichar charCode, in getUnicharMetrics()
DSkScalerContext.cpp243 uint16_t SkScalerContext::charToGlyphID(SkUnichar uni) { in charToGlyphID()
265 SkUnichar SkScalerContext::glyphIDToChar(uint16_t glyphID) { in glyphIDToChar()
526 SkUnichar SkScalerContext::generateGlyphToChar(uint16_t glyph) { in generateGlyphToChar()
645 virtual uint16_t generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph()
DSkString.cpp475 void SkString::insertUnichar(size_t offset, SkUnichar uni) { in insertUnichar()
596 SkUnichar uni = SkUTF8_NextUnichar(&utf8); in SkAutoUCS2()
/external/skia/tests/
DUtilsTest.cpp117 static const SkUnichar gUni[] = { in test_utf16()
129 SkUnichar c = SkUTF16_NextUnichar(&ptr); in test_utf16()
138 SkUnichar fUni; in TestUTF()
156 SkUnichar u0 = SkUTF8_ToUnichar(gTest[i].fUtf8); in TestUTF()
157 SkUnichar u1 = SkUTF8_NextUnichar(&p); in TestUTF()
/external/skia/include/views/
DSkWindow.h58 bool handleChar(SkUnichar);
78 virtual bool onHandleChar(SkUnichar);
DSkOSWindow_Unix.h58 virtual bool onHandleChar(SkUnichar);
/external/skia/src/ports/
DSkFontHost_ascender.cpp26 virtual uint16_t generateCharToGlyph(SkUnichar uni);
110 uint16_t SkScalerContext_Ascender::generateCharToGlyph(SkUnichar uni) in generateCharToGlyph()
DSkFontHost_FreeType.cpp129 virtual uint16_t generateCharToGlyph(SkUnichar uni);
136 virtual SkUnichar generateGlyphToChar(uint16_t glyph);
351 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode()
384 sizeof(SkUnichar) * face->num_glyphs); in populate_glyph_to_unicode()
389 for (SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in populate_glyph_to_unicode()
829 uint16_t SkScalerContext_FreeType::generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph()
833 SkUnichar SkScalerContext_FreeType::generateGlyphToChar(uint16_t glyph) { in generateGlyphToChar()
836 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex ); in generateGlyphToChar()
DSkFontHost_mac_coretext.cpp264 uint16_t generateCharToGlyph(SkUnichar uni);
333 uint16_t SkScalerContext_Mac::generateCharToGlyph(SkUnichar uni) in generateCharToGlyph()
637 const unsigned glyphCount, SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode()
658 SkUnichar* out = glyphToUnicode->begin(); in populate_glyph_to_unicode()
659 sk_bzero(out, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
DSkFontHost_win.cpp205 SkTDArray<SkUnichar>* glyphToUnicode) { in populate_glyph_to_unicode()
219 memset(glyphToUnicode->begin(), 0, glyphCount * sizeof(SkUnichar)); in populate_glyph_to_unicode()
259 virtual uint16_t generateCharToGlyph(SkUnichar uni);
371 uint16_t SkScalerContext_Windows::generateCharToGlyph(SkUnichar uni) { in generateCharToGlyph()
/external/webkit/Source/WebCore/platform/graphics/android/
DGlyphMapAndroid.cpp68 SkUnichar uni = SkUTF16_NextUnichar(&curr); in fill()
/external/skia/samplecode/
DSampleCode.h12 static bool CharQ(const SkEvent&, SkUnichar* outUni);
/external/skia/src/utils/unix/
DSkOSWindow_Unix.cpp128 this->handleChar((SkUnichar) uni); in loop()
266 bool SkOSWindow::onHandleChar(SkUnichar) in onHandleChar() argument
/external/skia/src/views/
DSkWindow.cpp224 bool SkWindow::handleChar(SkUnichar uni) in handleChar()
360 bool SkWindow::onHandleChar(SkUnichar) in onHandleChar() argument
DSkTextBox.cpp44 SkUnichar uni = SkUTF8_NextUnichar(&text); in linebreak()
/external/skia/include/animator/
DSkAnimator.h145 bool doCharEvent(SkUnichar ch);
/external/skia/android_sample/SampleApp/jni/
Dsample-jni.cpp120 handled |= gWindow->handleChar((SkUnichar) uni); in Java_com_skia_sampleapp_SampleApp_handleKeyDown()
/external/webkit/Source/WebKit/android/nav/
DSelectText.cpp227 SkUnichar getUniChar(const SkBounder::GlyphRec& rec) in getUniChar()
229 SkUnichar unichar; in getUniChar()
362 SkUnichar mLastUni;
363 SkUnichar mLastUniCandidate;
549 SkUnichar ch = getUniChar(rec); in onIRectGlyph()
617 SkUnichar ch = getUniChar(rec); in onIRectGlyph()
1167 SkUnichar ch = SkUTF16_NextUnichar(&start); in text()

12