Home
last modified time | relevance | path

Searched refs:scaler (Results 1 – 25 of 32) sorted by relevance

12

/external/qemu/android/skin/
Dscaler.c38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp ) in skin_scaler_set() argument
46 scaler->scale = scale; in skin_scaler_set()
47 scaler->xdisp = xdisp; in skin_scaler_set()
48 scaler->ydisp = ydisp; in skin_scaler_set()
49 scaler->invscale = 1/scale; in skin_scaler_set()
50 scaler->valid = 1; in skin_scaler_set()
56 skin_scaler_free( SkinScaler* scaler ) in skin_scaler_free() argument
58 scaler=scaler; in skin_scaler_free()
84 skin_scaler_get_scaled_rect( SkinScaler* scaler, in skin_scaler_get_scaled_rect() argument
92 double scale = scaler->scale; in skin_scaler_get_scaled_rect()
[all …]
Dscaler.h24 extern int skin_scaler_set( SkinScaler* scaler,
31 extern void skin_scaler_get_scaled_rect( SkinScaler* scaler,
35 extern void skin_scaler_free( SkinScaler* scaler );
37 extern void skin_scaler_scale( SkinScaler* scaler,
Dwindow.c950 SkinScaler* scaler; member
1170 skin_scaler_get_scaled_rect(window->scaler, &drect, &drect); in skin_window_show_opengles()
1224 window->scaler = skin_scaler_create(); in skin_window_create()
1391 skin_scaler_set( window->scaler, 1.0, 0, 0 ); in skin_window_resize()
1409 skin_scaler_set( window->scaler, scale, window->effective_x, window->effective_y ); in skin_window_resize()
1498 if (window->scaler) { in skin_window_free()
1499 skin_scaler_free(window->scaler); in skin_window_free()
1500 window->scaler = NULL; in skin_window_free()
1531 skin_scaler_scale( window->scaler, window->shrink_surface, window->surface, in skin_window_update_shrink()
/external/freetype/src/cache/
Dftcbasic.c77 FTC_ScalerRec scaler; member
83 FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) && \
87 ( FTC_SCALER_HASH( &(a)->scaler ) + 31*(a)->load_flags )
144 error = FTC_Manager_LookupFace( manager, family->attrs.scaler.face_id, in ftc_basic_family_get_count()
174 error = FTC_Manager_LookupSize( manager, &family->attrs.scaler, &size ); in ftc_basic_family_load_bitmap()
198 FTC_Scaler scaler = &family->attrs.scaler; in ftc_basic_family_load_glyph() local
205 scaler, in ftc_basic_family_load_glyph()
252 result = FT_BOOL( family->attrs.scaler.face_id == face_id ); in ftc_basic_gnode_compare_faceid()
350 query.attrs.scaler.face_id = desc->font.face_id; in FTC_ImageCache_Lookup()
351 query.attrs.scaler.width = desc->font.pix_width; in FTC_ImageCache_Lookup()
[all …]
/external/skia/src/gpu/
DGrTextStrike_impl.h16 Key(GrFontScaler* scaler) { in Key() argument
17 fFontScalerKey = scaler->getKey(); in Key()
51 GrTextStrike* GrFontCache::getStrike(GrFontScaler* scaler) { in getStrike() argument
54 Key key(scaler); in getStrike()
57 strike = this->generateStrike(scaler, key); in getStrike()
97 GrFontScaler* scaler) { in getGlyph() argument
100 glyph = this->generateGlyph(packed, scaler); in getGlyph()
DGrTextStrike.cpp31 GrTextStrike* GrFontCache::generateStrike(GrFontScaler* scaler, in generateStrike() argument
36 GrTextStrike* strike = new GrTextStrike(this, scaler->getKey(), in generateStrike()
37 scaler->getMaskFormat(), fAtlasMgr); in generateStrike()
155 GrFontScaler* scaler) { in generateGlyph() argument
157 if (!scaler->getPackedGlyphBounds(packed, &bounds)) { in generateGlyph()
167 bool GrTextStrike::getGlyphAtlas(GrGlyph* glyph, GrFontScaler* scaler) { in getGlyphAtlas() argument
174 GrAssert(scaler); in getGlyphAtlas()
180 GrAutoRef ar(scaler); in getGlyphAtlas()
185 if (!scaler->getPackedGlyphImage(glyph->fPackedID, glyph->width(), in getGlyphAtlas()
DGrTextContext.cpp177 GrFontScaler* scaler) { in drawPackedGlyph() argument
179 fStrike = fContext->getFontCache()->getStrike(scaler); in drawPackedGlyph()
182 GrGlyph* glyph = fStrike->getGlyph(packed, scaler); in drawPackedGlyph()
205 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
215 if (fStrike->getGlyphAtlas(glyph, scaler)) { in drawPackedGlyph()
221 if (!scaler->getGlyphPath(glyph->glyphID(), path)) { in drawPackedGlyph()
DGrTextStrike.h66 GrGlyph* generateGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler);
DSkGpuDevice.cpp1695 GrFontScaler* scaler = NULL; in get_gr_font_scaler() local
1697 scaler = (GrFontScaler*)auxData; in get_gr_font_scaler()
1699 if (NULL == scaler) { in get_gr_font_scaler()
1700 scaler = new SkGrFontScaler(cache); in get_gr_font_scaler()
1701 cache->setAuxProc(GlyphCacheAuxProc, scaler); in get_gr_font_scaler()
1703 return scaler; in get_gr_font_scaler()
/external/freetype/src/autofit/
Dafloader.c95 AF_Scaler scaler, in af_loader_load_g() argument
184 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT ) in af_loader_load_g()
296 error = af_loader_load_g( loader, scaler, subglyph->index, in af_loader_load_g()
396 vvector.x = FT_MulFix( vvector.x, metrics->scaler.x_scale ); in af_loader_load_g()
397 vvector.y = FT_MulFix( vvector.y, metrics->scaler.y_scale ); in af_loader_load_g()
436 if ( scaler->render_mode != FT_RENDER_MODE_LIGHT && in af_loader_load_g()
442 metrics->scaler.x_scale ); in af_loader_load_g()
458 metrics->scaler.y_scale ); in af_loader_load_g()
494 AF_ScalerRec scaler; in af_loader_load_glyph() local
500 FT_ZERO( &scaler ); in af_loader_load_glyph()
[all …]
Daflatin.c73 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() local
88 scaler->x_scale = 0x10000L; in af_latin_metrics_init_widths()
89 scaler->y_scale = 0x10000L; in af_latin_metrics_init_widths()
90 scaler->x_delta = 0; in af_latin_metrics_init_widths()
91 scaler->y_delta = 0; in af_latin_metrics_init_widths()
93 scaler->face = face; in af_latin_metrics_init_widths()
94 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin_metrics_init_widths()
95 scaler->flags = 0; in af_latin_metrics_init_widths()
524 AF_Scaler scaler, in af_latin_metrics_scale_dim() argument
535 scale = scaler->x_scale; in af_latin_metrics_scale_dim()
[all …]
Daflatin2.c76 AF_Scaler scaler = &dummy->root.scaler; in af_latin2_metrics_init_widths() local
90 scaler->x_scale = scaler->y_scale = 0x10000L; in af_latin2_metrics_init_widths()
91 scaler->x_delta = scaler->y_delta = 0; in af_latin2_metrics_init_widths()
92 scaler->face = face; in af_latin2_metrics_init_widths()
93 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_latin2_metrics_init_widths()
94 scaler->flags = 0; in af_latin2_metrics_init_widths()
507 AF_Scaler scaler, in af_latin2_metrics_scale_dim() argument
518 scale = scaler->x_scale; in af_latin2_metrics_scale_dim()
519 delta = scaler->x_delta; in af_latin2_metrics_scale_dim()
523 scale = scaler->y_scale; in af_latin2_metrics_scale_dim()
[all …]
Dafcjk.c87 AF_Scaler scaler = &dummy->root.scaler; in af_cjk_metrics_init_widths() local
102 scaler->x_scale = 0x10000L; in af_cjk_metrics_init_widths()
103 scaler->y_scale = 0x10000L; in af_cjk_metrics_init_widths()
104 scaler->x_delta = 0; in af_cjk_metrics_init_widths()
105 scaler->y_delta = 0; in af_cjk_metrics_init_widths()
107 scaler->face = face; in af_cjk_metrics_init_widths()
108 scaler->render_mode = FT_RENDER_MODE_NORMAL; in af_cjk_metrics_init_widths()
109 scaler->flags = 0; in af_cjk_metrics_init_widths()
572 AF_Scaler scaler, in af_cjk_metrics_scale_dim() argument
585 scale = scaler->x_scale; in af_cjk_metrics_scale_dim()
[all …]
Dafindic.c65 AF_Scaler scaler ) in af_indic_metrics_scale() argument
68 af_cjk_metrics_scale( metrics, scaler ); in af_indic_metrics_scale()
Daftypes.h252 AF_ScalerRec scaler; member
267 AF_Scaler scaler );
Dafcjk.h112 AF_Scaler scaler );
Daflatin.h132 AF_Scaler scaler );
/external/freetype/include/freetype/
Dftcache.h498 FTC_Scaler scaler,
855 FTC_Scaler scaler,
1065 FTC_Scaler scaler,
/external/chromium/base/
Dobserver_list_unittest.cc28 explicit Adder(int scaler) : total(0), scaler_(scaler) {} in Adder() argument
/external/icu4c/data/mappings/
Dmacos-35-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-6_2-10.4.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-7_3-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-29-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dmacos-0_2-10.2.ucm21 # |3 for the best reverse fallback Unicode scaler value
Dwindows-874-2000.ucm21 # |3 for the best reverse fallback Unicode scaler value

12