HomeSort by relevance Sort by last modified time
    Searched refs:glyph_id (Results 1 - 25 of 44) sorted by null

1 2

  /external/sfntly/cpp/src/sfntly/table/bitmap/
index_sub_table.cc 30 CALLER_ATTACH BitmapGlyphInfo* IndexSubTable::GlyphInfo(int32_t glyph_id) {
31 int32_t loca = CheckGlyphRange(glyph_id);
35 if (GlyphStartOffset(glyph_id) == -1) {
38 BitmapGlyphInfoPtr output = new BitmapGlyphInfo(glyph_id,
40 GlyphStartOffset(glyph_id),
41 GlyphLength(glyph_id),
46 int32_t IndexSubTable::GlyphOffset(int32_t glyph_id) {
47 int32_t glyph_start_offset = GlyphStartOffset(glyph_id);
79 int32_t IndexSubTable::CheckGlyphRange(int32_t glyph_id) {
80 return CheckGlyphRange(glyph_id, first_glyph_index(), last_glyph_index())
    [all...]
bitmap_size_table.h 100 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
101 int32_t GlyphOffset(int32_t glyph_id);
102 int32_t GlyphLength(int32_t glyph_id);
103 int32_t GlyphFormat(int32_t glyph_id);
117 IndexSubTable::Builder* SearchIndexSubTables(int32_t glyph_id);
118 IndexSubTable::Builder* LinearSearchIndexSubTables(int32_t glyph_id);
119 IndexSubTable::Builder* BinarySearchIndexSubTables(int32_t glyph_id);
145 int32_t GlyphOffset(int32_t glyph_id);
146 int32_t GlyphLength(int32_t glyph_id);
147 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
    [all...]
bitmap_glyph_info.cc 21 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id,
26 : glyph_id_(glyph_id),
34 BitmapGlyphInfo::BitmapGlyphInfo(int32_t glyph_id,
38 : glyph_id_(glyph_id),
58 glyph_id_ == rhs->glyph_id() &&
bitmap_glyph_info.h 37 BitmapGlyphInfo(int32_t glyph_id,
49 BitmapGlyphInfo(int32_t glyph_id,
54 int32_t glyph_id() const { return glyph_id_; } function in class:sfntly::BitmapGlyphInfo
index_sub_table.h 61 CALLER_ATTACH virtual BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
66 virtual int32_t GlyphOffset(int32_t glyph_id);
72 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
77 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
118 int32_t CheckGlyphRange(int32_t glyph_id);
137 CALLER_ATTACH BitmapGlyphInfo* GlyphInfo(int32_t glyph_id);
138 virtual int32_t GlyphOffset(int32_t glyph_id);
139 virtual int32_t GlyphStartOffset(int32_t glyph_id) = 0;
140 virtual int32_t GlyphLength(int32_t glyph_id) = 0;
157 int32_t CheckGlyphRange(int32_t glyph_id);
    [all...]
bitmap_size_table.cc 87 int32_t BitmapSizeTable::GlyphOffset(int32_t glyph_id) {
88 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
92 return subtable->GlyphOffset(glyph_id);
95 int32_t BitmapSizeTable::GlyphLength(int32_t glyph_id) {
96 IndexSubTable* subtable = SearchIndexSubTables(glyph_id);
100 return subtable->GlyphLength(glyph_id);
103 CALLER_ATTACH BitmapGlyphInfo* BitmapSizeTable::GlyphInfo(int32_t glyph_id) {
104 IndexSubTable* sub_table = SearchIndexSubTables(glyph_id);
108 return sub_table->GlyphInfo(glyph_id);
111 int32_t BitmapSizeTable::GlyphFormat(int32_t glyph_id) {
    [all...]
index_sub_table_format4.h 71 virtual int32_t GlyphLength(int32_t glyph_id);
72 virtual int32_t GlyphStartOffset(int32_t glyph_id);
103 int32_t FindCodeOffsetPair(int32_t glyph_id);
116 virtual int32_t GlyphStartOffset(int32_t glyph_id);
117 virtual int32_t GlyphLength(int32_t glyph_id);
124 int32_t FindCodeOffsetPair(int32_t glyph_id);
index_sub_table_format1.h 46 virtual int32_t GlyphLength(int32_t glyph_id);
47 virtual int32_t GlyphStartOffset(int32_t glyph_id);
95 virtual int32_t GlyphStartOffset(int32_t glyph_id);
96 virtual int32_t GlyphLength(int32_t glyph_id);
index_sub_table_format2.h 46 virtual int32_t GlyphStartOffset(int32_t glyph_id);
47 virtual int32_t GlyphLength(int32_t glyph_id);
92 virtual int32_t GlyphStartOffset(int32_t glyph_id);
93 virtual int32_t GlyphLength(int32_t glyph_id);
index_sub_table_format3.h 45 virtual int32_t GlyphStartOffset(int32_t glyph_id);
46 virtual int32_t GlyphLength(int32_t glyph_id);
92 virtual int32_t GlyphStartOffset(int32_t glyph_id);
93 virtual int32_t GlyphLength(int32_t glyph_id);
index_sub_table_format3.cc 32 int32_t IndexSubTableFormat3::GlyphStartOffset(int32_t glyph_id) {
33 int32_t loca = CheckGlyphRange(glyph_id);
40 int32_t IndexSubTableFormat3::GlyphLength(int32_t glyph_id) {
41 int32_t loca = CheckGlyphRange(glyph_id);
43 return Loca(glyph_id + 1) - Loca(glyph_id);
81 int32_t IndexSubTableFormat3::Builder::GlyphStartOffset(int32_t glyph_id) {
82 int32_t loca = CheckGlyphRange(glyph_id);
89 int32_t IndexSubTableFormat3::Builder::GlyphLength(int32_t glyph_id) {
90 int32_t loca = CheckGlyphRange(glyph_id);
    [all...]
index_sub_table_format4.cc 32 int32_t IndexSubTableFormat4::GlyphStartOffset(int32_t glyph_id) {
33 int32_t loca = CheckGlyphRange(glyph_id);
37 int32_t pair_index = FindCodeOffsetPair(glyph_id);
47 int32_t IndexSubTableFormat4::GlyphLength(int32_t glyph_id) {
48 int32_t loca = CheckGlyphRange(glyph_id);
53 int32_t pair_index = FindCodeOffsetPair(glyph_id);
73 int32_t IndexSubTableFormat4::FindCodeOffsetPair(int32_t glyph_id) {
77 glyph_id);
119 int32_t IndexSubTableFormat4::Builder::GlyphLength(int32_t glyph_id) {
120 int32_t loca = CheckGlyphRange(glyph_id);
    [all...]
index_sub_table_format5.h 45 virtual int32_t GlyphLength(int32_t glyph_id);
46 virtual int32_t GlyphStartOffset(int32_t glyph_id);
96 virtual int32_t GlyphStartOffset(int32_t glyph_id);
97 virtual int32_t GlyphLength(int32_t glyph_id);
index_sub_table_format1.cc 42 int32_t IndexSubTableFormat1::GlyphStartOffset(int32_t glyph_id) {
43 int32_t loca = CheckGlyphRange(glyph_id);
50 int32_t IndexSubTableFormat1::GlyphLength(int32_t glyph_id) {
51 int32_t loca = CheckGlyphRange(glyph_id);
80 int32_t IndexSubTableFormat1::Builder::GlyphLength(int32_t glyph_id) {
81 int32_t loca = CheckGlyphRange(glyph_id);
89 int32_t IndexSubTableFormat1::Builder::GlyphStartOffset(int32_t glyph_id) {
90 int32_t loca = CheckGlyphRange(glyph_id);
index_sub_table_format2.cc 45 int32_t IndexSubTableFormat2::GlyphStartOffset(int32_t glyph_id) {
46 int32_t loca = CheckGlyphRange(glyph_id);
53 int32_t IndexSubTableFormat2::GlyphLength(int32_t glyph_id) {
54 if (CheckGlyphRange(glyph_id) == -1) {
78 int32_t IndexSubTableFormat2::Builder::GlyphStartOffset(int32_t glyph_id) {
79 int32_t loca = CheckGlyphRange(glyph_id);
86 int32_t IndexSubTableFormat2::Builder::GlyphLength(int32_t glyph_id) {
87 int32_t loca = CheckGlyphRange(glyph_id);
index_sub_table_format5.cc 34 int32_t IndexSubTableFormat5::GlyphStartOffset(int32_t glyph_id) {
35 int32_t check = CheckGlyphRange(glyph_id);
43 glyph_id);
50 int32_t IndexSubTableFormat5::GlyphLength(int32_t glyph_id) {
51 int32_t check = CheckGlyphRange(glyph_id);
97 int32_t IndexSubTableFormat5::Builder::GlyphLength(int32_t glyph_id) {
98 UNREFERENCED_PARAMETER(glyph_id);
102 int32_t IndexSubTableFormat5::Builder::GlyphStartOffset(int32_t glyph_id) {
103 int32_t check = CheckGlyphRange(glyph_id);
110 glyph_id);
    [all...]
  /external/sfntly/cpp/src/sfntly/table/truetype/
loca_table.cc 26 int32_t LocaTable::GlyphOffset(int32_t glyph_id) {
27 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
33 return Loca(glyph_id);
36 int32_t LocaTable::GlyphLength(int32_t glyph_id) {
37 if (glyph_id < 0 || glyph_id >= num_glyphs_) {
43 return Loca(glyph_id + 1) - Loca(glyph_id);
124 int32_t LocaTable::Builder::GlyphOffset(int32_t glyph_id) {
    [all...]
loca_table.h 77 int32_t GlyphOffset(int32_t glyph_id);
80 int32_t GlyphLength(int32_t glyph_id);
124 // @return glyph_id if correct, -1 otherwise.
125 int32_t CheckGlyphRange(int32_t glyph_id);
153 int32_t GlyphOffset(int32_t glyph_id);
156 int32_t GlyphLength(int32_t glyph_id);
  /external/sfntly/cpp/src/sfntly/table/core/
horizontal_metrics_table.cc 70 int32_t HorizontalMetricsTable::AdvanceWidth(int32_t glyph_id) {
71 if (glyph_id < num_hmetrics_) {
72 return HMetricAdvanceWidth(glyph_id);
74 return HMetricAdvanceWidth(glyph_id - num_hmetrics_);
77 int32_t HorizontalMetricsTable::LeftSideBearing(int32_t glyph_id) {
78 if (glyph_id < num_hmetrics_) {
79 return HMetricLSB(glyph_id);
81 return LsbTableEntry(glyph_id - num_hmetrics_);
horizontal_metrics_table.h 56 int32_t AdvanceWidth(int32_t glyph_id);
57 int32_t LeftSideBearing(int32_t glyph_id);
  /external/sfntly/cpp/src/sample/subtly/
font_info.cc 41 GlyphId::GlyphId(int32_t glyph_id, FontId font_id)
42 : glyph_id_(glyph_id),
47 return glyph_id_ == other.glyph_id();
51 return glyph_id_ < other.glyph_id();
207 unresolved_glyph_ids->insert(it->second.glyph_id());
212 int32_t glyph_id = *(unresolved_glyph_ids->begin()); local
214 if (glyph_id < 0 || glyph_id > loca_table_->num_glyphs()) {
216 fprintf(stderr, "%d larger than %d or smaller than 0\n", glyph_id,
221 int32_t length = loca_table_->GlyphLength(glyph_id);
245 int32_t glyph_id = composite_glyph->GlyphIndex(i); local
    [all...]
font_info.h 40 GlyphId(int32_t glyph_id, FontId font_id);
46 int32_t glyph_id() const { return glyph_id_; } function in class:subtly::GlyphId
47 void set_glyph_id(const int32_t glyph_id) { glyph_id_ = glyph_id; }
  /external/harfbuzz_ng/src/
hb-ot-layout-gdef-table.hh 49 inline unsigned int get_attach_points (hb_codepoint_t glyph_id,
54 unsigned int index = (this+coverage).get_coverage (glyph_id);
123 inline hb_position_t get_caret_value (hb_font_t *font, hb_direction_t direction, hb_codepoint_t glyph_id) const
126 if (font->get_glyph_contour_point_for_origin (glyph_id, caretValuePoint, direction, &x, &y))
177 hb_codepoint_t glyph_id,
182 case 2: return u.format2.get_caret_value (font, direction, glyph_id);
215 hb_codepoint_t glyph_id,
225 caret_array[i] = (this+array[i]).get_caret_value (font, direction, glyph_id, var_store);
250 hb_codepoint_t glyph_id,
256 unsigned int index = (this+coverage).get_coverage (glyph_id);
    [all...]
  /frameworks/minikin/tests/util/
FreeTypeMinikinFontForTest.h 37 float GetHorizontalAdvance(uint32_t glyph_id, const MinikinPaint& paint,
39 void GetBounds(MinikinRect* bounds, uint32_t glyph_id, const MinikinPaint& paint,
  /frameworks/base/libs/hwui/hwui/
MinikinSkia.h 34 float GetHorizontalAdvance(uint32_t glyph_id, const minikin::MinikinPaint& paint,
37 void GetBounds(minikin::MinikinRect* bounds, uint32_t glyph_id,

Completed in 236 milliseconds

1 2