Searched refs:metrics (Results 76 - 100 of 707) sorted by relevance

1234567891011>>

/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cid/
H A Dcidgload.c169 /* Incremental fonts can optionally override the metrics. */
172 FT_Incremental_MetricsRec metrics; local
175 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x );
176 metrics.bearing_y = 0;
177 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x );
178 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y );
181 glyph_index, FALSE, &metrics );
183 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x );
184 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance );
185 decoder->builder.advance.y = INT_TO_FIXED( metrics
359 FT_Glyph_Metrics* metrics = &cidglyph->metrics; local
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/fonts/
H A DGlyphMetricsMap.h53 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
55 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics);
64 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
66 setMetricsForIndex(glyph % size, metrics);
68 void setMetricsForIndex(unsigned index, const T& metrics) argument
71 m_metrics[index] = metrics;
/external/chromium_org/third_party/freetype/src/autofit/
H A Daflatin.h34 #define AF_LATIN_CONSTANT( metrics, c ) \
35 ( ( (c) * (FT_Long)( (AF_LatinMetrics)(metrics) )->units_per_em ) / 2048 )
54 /* Latin (global) metrics management */
107 /* ignored for horizontal metrics */
127 af_latin_metrics_init( AF_LatinMetrics metrics,
131 af_latin_metrics_scale( AF_LatinMetrics metrics,
135 af_latin_metrics_init_widths( AF_LatinMetrics metrics,
139 af_latin_metrics_check_digits( AF_LatinMetrics metrics,
H A Dafloader.c111 AF_ScriptMetrics metrics = loader->metrics; local
173 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance,
183 if ( metrics->clazz->script_hints_apply )
184 metrics->clazz->script_hints_apply( hints,
186 metrics );
188 /* we now need to adjust the metrics according to the change in */
400 vvector.x = slot->metrics.vertBearingX - slot->metrics.horiBearingX;
401 vvector.y = slot->metrics
521 AF_ScriptMetrics metrics; local
[all...]
H A Dafglobal.c205 if ( globals->metrics[nn] )
210 FT_ASSERT( globals->metrics[nn]->clazz == clazz );
213 clazz->script_metrics_done( globals->metrics[nn] );
215 FT_FREE( globals->metrics[nn] );
234 AF_ScriptMetrics metrics = NULL; local
257 metrics = globals->metrics[clazz->script];
258 if ( metrics == NULL )
260 /* create the global metrics object if necessary */
264 if ( FT_ALLOC( metrics, claz
[all...]
/external/chromium_org/tools/perf/metrics/
H A Dmedia.py7 from metrics import Metric
13 """MediaMetric class injects and calls JS responsible for recording metrics.
15 Default media metrics are collected for every media element in the page,
29 """Create the media metrics for all media elements in the document."""
38 """Reports all recorded metrics as Telemetry perf results."""
46 """Reports metrics for one media element.
48 Media metrics contain an ID identifying the media element and values:
51 'metrics': {
59 metrics = media_metric['metrics']
[all...]
/external/freetype/src/base/
H A Dftsynth.c99 face->size->metrics.y_scale ) / 24;
142 slot->metrics.width += xstr;
143 slot->metrics.height += ystr;
144 slot->metrics.horiAdvance += xstr;
145 slot->metrics.vertAdvance += ystr;
146 slot->metrics.horiBearingY += ystr;
/external/chromium_org/chrome/browser/metrics/
H A Dgoogle_update_metrics_provider_win.h12 #include "components/metrics/metrics_provider.h"
16 class GoogleUpdateMetricsProviderWin : public metrics::MetricsProvider {
25 // metrics::MetricsProvider
27 metrics::SystemProfileProto* system_profile_proto) OVERRIDE;
30 // This is a small helper struct containing the Google Update metrics state.
61 // Google Update metrics that were fetched via GetGoogleUpdateData(). Will be
H A Dextensions_metrics_provider.cc5 #include "chrome/browser/metrics/extensions_metrics_provider.h"
17 #include "components/metrics/metrics_log.h"
18 #include "components/metrics/metrics_state_manager.h"
19 #include "components/metrics/proto/system_profile.pb.h"
43 // components/metrics/proto/system_profile.proto
51 metrics::SystemProfileProto::ExtensionsState ExtensionStateAsProto(
55 return metrics::SystemProfileProto::NO_EXTENSIONS;
57 return metrics::SystemProfileProto::NO_OFFSTORE_VERIFIED;
59 return metrics::SystemProfileProto::NO_OFFSTORE_UNVERIFIED;
61 return metrics
[all...]
H A Dchrome_metrics_service_client.cc5 #include "chrome/browser/metrics/chrome_metrics_service_client.h"
14 #include "base/metrics/histogram.h"
24 #include "chrome/browser/metrics/chrome_stability_metrics_provider.h"
25 #include "chrome/browser/metrics/omnibox_metrics_provider.h"
33 #include "components/metrics/gpu/gpu_metrics_provider.h"
34 #include "components/metrics/metrics_service.h"
35 #include "components/metrics/net/net_metrics_log_uploader.h"
36 #include "components/metrics/net/network_metrics_provider.h"
37 #include "components/metrics/profiler/profiler_metrics_provider.h"
38 #include "components/metrics/profile
[all...]
/external/chromium_org/components/omnibox/
H A Dautocomplete_input.h13 #include "components/metrics/proto/omnibox_event.pb.h"
14 #include "components/metrics/proto/omnibox_input_type.pb.h"
70 metrics::OmniboxEventProto::PageClassification
82 metrics::OmniboxInputType::Type type,
86 static std::string TypeToString(metrics::OmniboxInputType::Type type);
95 static metrics::OmniboxInputType::Type Parse(
151 metrics::OmniboxEventProto::PageClassification current_page_classification()
157 metrics::OmniboxInputType::Type type() const { return type_; }
198 metrics::OmniboxEventProto::PageClassification current_page_classification_;
199 metrics
[all...]
H A Dautocomplete_provider.cc56 metrics::OmniboxEventProto_ProviderType AutocompleteProvider::
60 return metrics::OmniboxEventProto::BOOKMARK;
62 return metrics::OmniboxEventProto::BUILTIN;
64 return metrics::OmniboxEventProto::HISTORY_QUICK;
66 return metrics::OmniboxEventProto::HISTORY_URL;
68 return metrics::OmniboxEventProto::KEYWORD;
70 return metrics::OmniboxEventProto::SEARCH;
72 return metrics::OmniboxEventProto::SHORTCUTS;
74 return metrics::OmniboxEventProto::ZERO_SUGGEST;
77 return metrics
[all...]
/external/chromium_org/net/socket_stream/
H A Dsocket_stream_metrics_unittest.cc9 #include "base/metrics/histogram.h"
10 #include "base/metrics/histogram_samples.h"
11 #include "base/metrics/statistics_recorder.h"
65 SocketStreamMetrics metrics(GURL("ws://www.example.com/"));
67 metrics.OnStartConnection();
69 metrics.OnCountConnectionType(SocketStreamMetrics::TUNNEL_CONNECTION);
71 metrics.OnCountConnectionType(SocketStreamMetrics::SOCKS_CONNECTION);
73 metrics.OnCountConnectionType(SocketStreamMetrics::SSL_CONNECTION);
100 SocketStreamMetrics metrics(GURL("ws://www.example.com/"));
102 metrics
[all...]
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttsbit.h46 FT_Size_Metrics* metrics );
55 TT_SBit_MetricsRec *metrics );
/external/chromium_org/third_party/ots/src/
H A Dhmtx.cc25 &file->hhea->header, &hmtx->metrics)) {
37 if (!SerialiseMetricsTable(out, &file->hmtx->metrics)) {
H A Dmetrics.cc5 #include "metrics.h"
104 OpenTypeMetricsTable *metrics) {
117 metrics->entries.reserve(num_metrics);
138 metrics->entries.push_back(std::make_pair(adv, sb));
141 metrics->sbs.reserve(num_sbs);
156 metrics->sbs.push_back(sb);
163 const OpenTypeMetricsTable *metrics) {
164 for (unsigned i = 0; i < metrics->entries.size(); ++i) {
165 if (!out->WriteU16(metrics->entries[i].first) ||
166 !out->WriteS16(metrics
101 ParseMetricsTable(Buffer *table, const uint16_t num_glyphs, const OpenTypeMetricsHeader *header, OpenTypeMetricsTable *metrics) argument
162 SerialiseMetricsTable(OTSStream *out, const OpenTypeMetricsTable *metrics) argument
[all...]
/external/fonttools/Lib/fontTools/ttLib/tables/
H A DE_B_D_T_.py79 # changed the size metrics should be recalculated. There are a variety
120 # requires metrics then those metrics may be in the locator.
121 # In this case populate the bitmaps with "export metrics".
128 # I'm not sure which metrics have priority here.
129 # For now if both metrics exist go with glyph metrics.
130 if hasattr(glyph, 'metrics'):
131 glyph.exportMetrics = glyph.metrics
133 glyph.exportMetrics = curIndexSubTable.metrics
[all...]
/external/fonttools/Tools/fontTools/ttLib/tables/
H A DE_B_D_T_.py79 # changed the size metrics should be recalculated. There are a variety
120 # requires metrics then those metrics may be in the locator.
121 # In this case populate the bitmaps with "export metrics".
128 # I'm not sure which metrics have priority here.
129 # For now if both metrics exist go with glyph metrics.
130 if hasattr(glyph, 'metrics'):
131 glyph.exportMetrics = glyph.metrics
133 glyph.exportMetrics = curIndexSubTable.metrics
[all...]
/external/freetype/src/sfnt/
H A Dttsbit.h46 FT_Size_Metrics* metrics );
55 TT_SBit_MetricsRec *metrics );
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttsbit.h46 FT_Size_Metrics* metrics );
55 TT_SBit_MetricsRec *metrics );
/external/chromium_org/third_party/skia/src/fonts/
H A DSkTestScalerContext.cpp124 void SkTestTypeface::getFontMetrics(SkPaint::FontMetrics* metrics) {
125 *metrics = fTestFont->fMetrics;
274 virtual void generateFontMetrics(SkPaint::FontMetrics* metrics) SK_OVERRIDE {
275 fFace->getFontMetrics(metrics);
276 if (metrics) {
278 metrics->fTop = SkScalarMul(metrics->fTop, scale);
279 metrics->fAscent = SkScalarMul(metrics->fAscent, scale);
280 metrics
[all...]
H A DSkGScalerContext.cpp140 void SkGScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { argument
141 fProxy->getFontMetrics(metrics);
142 if (metrics) {
144 metrics->fTop = SkScalarMul(metrics->fTop, scale);
145 metrics->fAscent = SkScalarMul(metrics->fAscent, scale);
146 metrics->fDescent = SkScalarMul(metrics->fDescent, scale);
147 metrics
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DSVGTextLayoutEngineBaseline.cpp181 float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, const SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const argument
188 // of 180 degrees, then the current text position is incremented according to the vertical metrics of the glyph.
191 // 180 degrees, then the current text position is incremented according to the horizontal metrics of the glyph.
199 xOrientationShift = (ascentMinusDescent - metrics.width()) / 2;
202 xOrientationShift = (ascentMinusDescent + metrics.width()) / 2;
204 yOrientationShift = metrics.width();
210 return metrics.width();
212 return metrics.height();
217 yOrientationShift = -metrics.width();
219 xOrientationShift = metrics
[all...]
/external/freetype/src/autofit/
H A Dafloader.c112 AF_StyleMetrics metrics = loader->metrics; local
174 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance,
188 AF_StyleClass style_class = metrics->style_class;
196 metrics );
199 /* we now need to adjust the metrics according to the change in */
406 vvector.x = slot->metrics.vertBearingX - slot->metrics.horiBearingX;
407 vvector.y = slot->metrics.vertBearingY - slot->metrics
527 AF_StyleMetrics metrics; local
[all...]
/external/skia/src/fonts/
H A DSkGScalerContext.cpp142 SkPaint::FontMetrics* metrics) {
143 fProxy->getFontMetrics(metrics);
144 if (metrics) {
146 metrics->fTop = SkScalarMul(metrics->fTop, scale);
147 metrics->fAscent = SkScalarMul(metrics->fAscent, scale);
148 metrics->fDescent = SkScalarMul(metrics->fDescent, scale);
149 metrics
141 generateFontMetrics(SkPaint::FontMetrics*, SkPaint::FontMetrics* metrics) argument
[all...]

Completed in 466 milliseconds

1234567891011>>