HomeSort by relevance Sort by last modified time
    Searched defs:strike (Results 1 - 18 of 18) sorted by null

  /external/freetype/src/sfnt/
ttbdf.c 89 FT_Byte* strike; local
106 strike = p + count * 4;
117 strike += 10 * num_items;
122 if ( strike > bdf->strings )
149 FT_Byte* strike; local
164 strike = p + 4 * count;
187 strike += 10 * _count;
192 p = strike;
ttsbit.c 314 FT_Byte* strike; local
319 strike = face->sbit_table + 8 + strike_index * 48;
321 metrics->x_ppem = (FT_UShort)strike[44];
322 metrics->y_ppem = (FT_UShort)strike[45];
324 metrics->ascender = (FT_Char)strike[16] * 64; /* hori.ascender */
325 metrics->descender = (FT_Char)strike[17] * 64; /* hori.descender */
334 max_before_bl = (FT_Char)strike[24];
335 min_after_bl = (FT_Char)strike[25];
351 " values for strike %d (%dppem, %dppem)\n",
380 " for strike (%d, %d)\n"
    [all...]
  /external/skia/src/gpu/text/
GrGlyphCache.h 76 // If a TextStrike is abandoned by the cache, then the caller must get a new strike
79 static const SkDescriptor& GetKey(const GrTextStrike& strike) {
80 return *strike.fFontScalerKey.getDesc();
116 void setStrikeToPreserve(GrTextStrike* strike) { fPreserveStrike = strike; }
118 // The user of the cache may hold a long-lived ref to the returned strike. However, actions by
119 // another client of the cache may cause the strike to be purged while it is still reffed.
121 // interactions with the cache since the strike was received.
123 sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(cache->getDescriptor())); local
124 if (!strike) {
137 sk_sp<GrTextStrike> strike = sk_ref_sp(new GrTextStrike(cache->getDescriptor())); local
    [all...]
GrAtlasTextBlobVertexRegenerator.cpp 212 // Because the GrGlyphCache may evict the strike a blob depends on using for
213 // generating its texture coords, we have to track whether or not the strike has
215 // otherwise we have to get the new strike, and use that to get the correct glyphs.
217 // new strike, we instead keep our ref to the old strike and use the packed ids from
219 // updating our cache of the GrGlyph*s, we drop our ref on the old strike
220 if (fSubRun->strike()->isAbandoned()) {
235 sk_sp<GrTextStrike> strike; local
251 strike = fGlyphCache->getStrike(fLazyCache->get());
253 strike = fSubRun->refStrike()
    [all...]
GrGlyphCache.cpp 44 GrTextStrike* strike = &*iter; local
45 strike->removeID(id);
47 // clear out any empty strikes. We will preserve the strike whose call to addToAtlas
49 if (strike != glyphCache->fPreserveStrike && 0 == strike->fAtlasedGlyphs) {
50 glyphCache->fCache.remove(GrTextStrike::GetKey(*strike));
51 strike->fIsAbandoned = true;
52 strike->unref();
148 // The windows font host sometimes has BW glyphs in a non-BW strike. So it is important here to
149 // check the glyph's format, not the strike's format, and to be able to convert to any of th
    [all...]
GrAtlasTextBlob.h 184 sk_sp<GrTextStrike> strike,
374 void setStrike(sk_sp<GrTextStrike> strike) { fStrike = std::move(strike); }
375 GrTextStrike* strike() const { return fStrike.get(); } function in struct:GrAtlasTextBlob::Run::SubRunInfo
  /external/skqp/src/gpu/text/
GrAtlasGlyphCache.h 31 /** Owner is the cache that owns this strike. */
77 // If a TextStrike is abandoned by the cache, then the caller must get a new strike
116 // The user of the cache may hold a long-lived ref to the returned strike. However, actions by
117 // another client of the cache may cause the strike to be purged while it is still reffed.
119 // interactions with the cache since the strike was received.
121 GrAtlasTextStrike* strike = fCache.find(cache->getDescriptor()); local
122 if (nullptr == strike) {
123 strike = this->generateStrike(cache);
125 return strike;
173 bool addToAtlas(GrAtlasTextStrike* strike, GrDrawOpAtlas::AtlasID* id
    [all...]
GrAtlasTextBlobVertexRegenerator.cpp 208 // Because the GrAtlasGlyphCache may evict the strike a blob depends on using for
209 // generating its texture coords, we have to track whether or not the strike has
211 // otherwise we have to get the new strike, and use that to get the correct glyphs.
213 // new strike, we instead keep our ref to the old strike and use the packed ids from
215 // updating our cache of the GrGlyph*s, we drop our ref on the old strike
216 if (fSubRun->strike()->isAbandoned()) {
231 GrAtlasTextStrike* strike = nullptr; local
247 strike = fGlyphCache->getStrike(fLazyCache->get());
249 strike = fSubRun->strike()
    [all...]
GrAtlasGlyphCache.cpp 106 GrAtlasTextStrike* strike = &*iter; local
107 strike->removeID(id);
109 // clear out any empty strikes. We will preserve the strike whose call to addToAtlas
111 if (strike != fontCache->fPreserveStrike && 0 == strike->fAtlasedGlyphs) {
112 fontCache->fCache.remove(GrAtlasTextStrike::GetKey(*strike));
113 strike->fIsAbandoned = true;
114 strike->unref();
301 // The windows font host sometimes has BW glyphs in a non-BW strike. So it is important here to
302 // check the glyph's format, not the strike's format, and to be able to convert to any of th
    [all...]
GrAtlasTextBlob.h 175 GrAtlasTextStrike* strike,
388 void setStrike(GrAtlasTextStrike* strike) { fStrike.reset(SkRef(strike)); }
389 GrAtlasTextStrike* strike() const { return fStrike.get(); } function in struct:GrAtlasTextBlob::Run::SubRunInfo
  /cts/tests/tests/text/src/android/text/cts/
HtmlTest.java 199 StrikethroughSpan[] strike = s.getSpans(0, s.length(), StrikethroughSpan.class); local
200 assertEquals(1, strike.length);
392 String tags[] = {"del", "s", "strike"};
  /external/freetype/src/pfr/
pfrload.c 461 PFR_Strike strike; local
503 strike = phy_font->strikes + phy_font->num_strikes;
507 for ( n = 0; n < count; n++, strike++ )
509 strike->x_ppm = ( flags0 & PFR_STRIKE_2BYTE_XPPM )
513 strike->y_ppm = ( flags0 & PFR_STRIKE_2BYTE_YPPM )
517 strike->flags = PFR_NEXT_BYTE( p );
519 strike->bct_size = ( flags0 & PFR_STRIKE_3BYTE_SIZE )
523 strike->bct_offset = ( flags0 & PFR_STRIKE_3BYTE_OFFSET )
527 strike->num_bitmaps = ( flags0 & PFR_STRIKE_2BYTE_COUNT )
pfrobjs.c 212 PFR_Strike strike; local
220 strike = phy_font->strikes;
221 for ( n = 0; n < count; n++, size++, strike++ )
223 size->height = (FT_Short)strike->y_ppm;
224 size->width = (FT_Short)strike->x_ppm;
225 size->size = (FT_Pos)( strike->y_ppm << 6 );
226 size->x_ppem = (FT_Pos)( strike->x_ppm << 6 );
227 size->y_ppem = (FT_Pos)( strike->y_ppm << 6 );
pfrsbit.c 315 " thus ignoring all bitmaps in this strike\n" ));
333 " thus ignoring all bitmaps in this strike\n" ));
591 PFR_Strike strike; local
596 /* look up a bitmap strike corresponding to the current */
602 strike = phys->strikes;
605 if ( strike->x_ppm == (FT_UInt)size->root.metrics.x_ppem &&
606 strike->y_ppm == (FT_UInt)size->root.metrics.y_ppem )
609 strike++;
624 if ( strike->flags & PFR_BITMAP_2BYTE_CHARCODE )
626 if ( strike->flags & PFR_BITMAP_2BYTE_SIZE
    [all...]
  /packages/apps/Terminal/src/com/android/terminal/
Terminal.java 48 boolean strike; field in class:Terminal.CellRun
  /external/libvterm/src/
screen.c 23 unsigned int strike : 1; member in struct:__anon26330
414 screen->pen.strike = val->boolean;
753 cell->attrs.strike = intcell->pen.strike;
790 intcell->pen.strike = cell->attrs.strike;
877 if((attrs & VTERM_ATTR_STRIKE_MASK) && (a->pen.strike != b->pen.strike))
vterm_internal.h 32 unsigned int strike:1; member in struct:VTermPen
  /external/libvterm/include/
vterm.h 228 unsigned int strike : 1; member in struct:__anon26320::__anon26321

Completed in 533 milliseconds