Searched defs:metrics (Results 26 - 50 of 86) sorted by relevance

1234

/external/webkit/Tools/DumpRenderTree/chromium/
H A DTestShellWin.cpp190 NONCLIENTMETRICS metrics = {0}; local
191 metrics.cbSize = isVistaOrLater ? (sizeof NONCLIENTMETRICS) : NONCLIENTMETRICS_SIZE_PRE_VISTA;
192 const bool success = !!::SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0);
195 {&metrics.lfStatusFont, &metrics.lfMenuFont, &metrics.lfSmCaptionFont};
/external/chromium/chrome/browser/
H A Dbrowser_main_win.cc26 #include "chrome/browser/metrics/metrics_service.h"
103 void RecordBreakpadStatusUMA(MetricsService* metrics) { argument
106 metrics->RecordBreakpadRegistration((len == 0));
107 metrics->RecordBreakpadHasDebugger(TRUE == ::IsDebuggerPresent());
H A Dmemory_details_linux.cc162 base::ProcessMetrics* metrics = local
164 metrics->GetWorkingSetKBytes(&pmi.working_set);
165 delete metrics;
H A Dbrowser_process_impl.cc35 #include "chrome/browser/metrics/metrics_service.h"
36 #include "chrome/browser/metrics/thread_watcher.h"
333 // Tell the metrics service it was cleanly shutdown.
334 MetricsService* metrics = g_browser_process->metrics_service(); local
335 if (metrics && local_state()) {
336 metrics->RecordStartOfSessionEnd();
342 // We must write that the profile and metrics service shutdown cleanly,
/external/emma/ant/ant14/com/vladium/emma/report/
H A DReportCfg.java75 public void setMetrics (final String metrics) argument
77 m_settings.setProperty (m_prefix.concat (METRICS), metrics);
370 public void setMetrics (final String metrics) argument
372 m_settings.setProperty (PREFIX.concat (METRICS), metrics);
/external/emma/core/java12/com/vladium/emma/report/
H A DReportProperties.java147 public void setMetrics (final IntIntMap metrics) argument
149 if ($assert.ENABLED) $assert.ASSERT (metrics != null, "null input: metrics");
151 m_metrics = metrics;
/external/freetype/src/autofit/
H A Dafloader.c103 AF_ScriptMetrics metrics = loader->metrics; local
127 /* set linear metrics */
128 slot->linearHoriAdvance = slot->metrics.horiAdvance;
129 slot->linearVertAdvance = slot->metrics.vertAdvance;
167 loader->pp2.x = FT_MulFix( slot->metrics.horiAdvance,
177 if ( metrics->clazz->script_hints_apply )
178 metrics->clazz->script_hints_apply( hints,
180 metrics );
182 /* we now need to adjust the metrics accordin
514 AF_ScriptMetrics metrics; local
[all...]
/external/freetype/src/sfnt/
H A Dsfobjs.c581 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */
641 /* do not load the metrics headers and tables if this is an Apple */
656 /* overriding metrics, tolerate a missing `hmtx' table. */
683 /* overriding metrics, tolerate a missing `hhea' table. */
924 FT_Size_Metrics metrics; local
941 error = sfnt->load_strike_metrics( face, i, &metrics );
945 bsize->height = (FT_Short)( metrics.height >> 6 );
947 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size );
949 bsize->x_ppem = metrics.x_ppem << 6;
950 bsize->y_ppem = metrics
[all...]
H A Dttsbit.c230 /* Loads the metrics for `EBLC' index tables format 2 and 5. */
250 return FT_STREAM_READ_FIELDS( sbit_metrics_fields, &range->metrics );
345 case 1: /* variable metrics with 4-byte offsets */
346 case 3: /* variable metrics with 2-byte offsets */
378 case 2: /* all glyphs have identical metrics */
659 FT_Size_Metrics* metrics )
669 metrics->x_ppem = strike->x_ppem;
670 metrics->y_ppem = strike->y_ppem;
672 metrics->ascender = strike->hori.ascender << 6;
673 metrics
1159 Load_SBit_Single( FT_Bitmap* map, FT_Int x_offset, FT_Int y_offset, FT_Int pix_bits, FT_UShort image_format, TT_SBit_Metrics metrics, FT_Stream stream ) argument
1246 Load_SBit_Image( TT_SBit_Strike strike, TT_SBit_Range range, FT_ULong ebdt_pos, FT_ULong glyph_offset, FT_GlyphSlot slot, FT_Int x_offset, FT_Int y_offset, FT_Stream stream, TT_SBit_Metrics metrics, FT_Int depth ) argument
[all...]
/external/freetype/src/truetype/
H A Dttobjs.c752 FT_Size_Metrics* metrics = &exec->metrics; local
756 metrics->x_ppem = 0;
757 metrics->y_ppem = 0;
758 metrics->x_scale = 0;
759 metrics->y_scale = 0;
946 /* Set default metrics */
948 TT_Size_Metrics* metrics = &size->ttmetrics; local
951 metrics->rotated = FALSE;
952 metrics
1130 FT_Size_Metrics* metrics; local
[all...]
/external/harfbuzz/tests/shaping/
H A Dmain.cpp139 void hb_getGlyphMetrics(HB_Font font, HB_Glyph glyph, HB_GlyphMetrics *metrics) argument
142 metrics->x = metrics->y = metrics->width = metrics->height = metrics->xOffset = metrics->yOffset = 0;
219 hbFont.x_ppem = face->size->metrics.x_ppem;
220 hbFont.y_ppem = face->size->metrics.y_ppem;
221 hbFont.x_scale = face->size->metrics
[all...]
/external/icu4c/samples/layout/
H A DGDIFontInstance.cpp367 GLYPHMETRICS metrics; local
374 result = GetGlyphOutline(hdc, glyph, GGO_GLYPH_INDEX | GGO_METRICS, &metrics, 0, NULL, &identity);
380 advance.fX = metrics.gmCellIncX;
/external/skia/src/ports/
H A DSkHarfBuzzFont.cpp111 HB_GlyphMetrics* metrics) {
123 metrics->x = SkScalarToHarfbuzzFixed(bounds.fLeft);
124 metrics->y = SkScalarToHarfbuzzFixed(bounds.fTop);
125 metrics->width = SkScalarToHarfbuzzFixed(bounds.width());
126 metrics->height = SkScalarToHarfbuzzFixed(bounds.height());
128 metrics->xOffset = SkScalarToHarfbuzzFixed(width);
132 metrics->yOffset = 0;
110 getGlyphMetrics(HB_Font hbFont, HB_Glyph glyph, HB_GlyphMetrics* metrics) argument
/external/skia/src/views/
H A DSkTextBox.cpp150 SkPaint::FontMetrics metrics; local
165 fontHeight = paint.getFontMetrics(&metrics);
192 y += fBox.fTop - metrics.fAscent;
198 if (y + metrics.fDescent + metrics.fLeading > 0)
204 if (y + metrics.fAscent >= height)
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DHarfbuzzSkia.cpp151 static void getGlyphMetrics(HB_Font hbFont, HB_Glyph glyph, HB_GlyphMetrics* metrics) argument
163 metrics->x = SkiaScalarToHarfbuzzFixed(bounds.fLeft);
164 metrics->y = SkiaScalarToHarfbuzzFixed(bounds.fTop);
165 metrics->width = SkiaScalarToHarfbuzzFixed(bounds.width());
166 metrics->height = SkiaScalarToHarfbuzzFixed(bounds.height());
168 metrics->xOffset = SkiaScalarToHarfbuzzFixed(width);
172 metrics->yOffset = 0;
187 // We don't support getting the rest of the metrics and Harfbuzz doesn't seem to need them.
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DHarfbuzzSkia.cpp168 static void getGlyphMetrics(HB_Font hbFont, HB_Glyph glyph, HB_GlyphMetrics* metrics) argument
180 metrics->x = SkiaScalarToHarfbuzzFixed(bounds.fLeft);
181 metrics->y = SkiaScalarToHarfbuzzFixed(bounds.fTop);
182 metrics->width = SkiaScalarToHarfbuzzFixed(bounds.width());
183 metrics->height = SkiaScalarToHarfbuzzFixed(bounds.height());
185 metrics->xOffset = SkiaScalarToHarfbuzzFixed(width);
189 metrics->yOffset = 0;
204 // We don't support getting the rest of the metrics and Harfbuzz doesn't seem to need them.
H A DSimpleFontDataLinux.cpp65 SkPaint::FontMetrics metrics; local
68 paint.getFontMetrics(&metrics);
90 // metrics *exactly*.
95 SkScalar height = -metrics.fAscent + metrics.fDescent + metrics.fLeading;
96 ascent = SkScalarRound(-metrics.fAscent);
104 if (metrics.fXHeight)
105 xHeight = metrics.fXHeight;
111 float lineGap = SkScalarToFloat(metrics
[all...]
/external/webkit/Source/WebCore/platform/graphics/win/
H A DSimpleFontDataWin.cpp76 OUTLINETEXTMETRIC metrics; local
77 GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics);
78 TEXTMETRIC& textMetrics = metrics.otmTextMetrics;
97 m_fontMetrics.setUnitsPerEm(metrics.otmEMSquare);
/external/webkit/Source/WebCore/platform/graphics/wince/
H A DFontCacheWinCE.cpp187 static int CALLBACK traitsInFamilyEnumProc(CONST LOGFONT* logFont, CONST TEXTMETRIC* metrics, DWORD fontType, LPARAM lParam) argument
/external/webkit/Source/WebCore/platform/win/
H A DDragImageWin.cpp109 NONCLIENTMETRICS metrics; local
110 metrics.cbSize = sizeof(metrics);
111 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0);
117 family.setFamily(metrics.lfSmCaptionFont.lfFaceName);
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGInlineText.cpp86 // The text metrics may be influenced by style changes.
151 const SVGTextMetrics& metrics = m_attributes.textMetricsValues().at(i); local
159 currentPosition += metrics.length();
/external/webkit/Source/WebKit/android/plugins/
H A DANPPaintInterface.cpp161 static float anp_getFontMetrics(ANPPaint* paint, ANPFontMetrics* metrics) { argument
164 if (metrics) {
165 metrics->fTop = SkScalarToFloat(fm.fTop);
166 metrics->fAscent = SkScalarToFloat(fm.fAscent);
167 metrics->fDescent = SkScalarToFloat(fm.fDescent);
168 metrics->fBottom = SkScalarToFloat(fm.fBottom);
169 metrics->fLeading = SkScalarToFloat(fm.fLeading);
/external/webrtc/src/modules/audio_processing/
H A Decho_cancellation_impl.cc238 // TODO(ajm): we currently just use the metrics from the first AEC. Think more
240 int EchoCancellationImpl::GetMetrics(Metrics* metrics) { argument
242 if (metrics == NULL) {
252 memset(metrics, 0, sizeof(Metrics));
260 metrics->residual_echo_return_loss.instant = my_metrics.rerl.instant;
261 metrics->residual_echo_return_loss.average = my_metrics.rerl.average;
262 metrics->residual_echo_return_loss.maximum = my_metrics.rerl.max;
263 metrics->residual_echo_return_loss.minimum = my_metrics.rerl.min;
265 metrics->echo_return_loss.instant = my_metrics.erl.instant;
266 metrics
[all...]
/external/emma/ant/ant14/com/vladium/emma/
H A DemmajavaTask.java513 public final void setMetrics (final String metrics) argument
515 m_reportCfg.setMetrics (metrics);
/external/webkit/Source/WebCore/platform/graphics/ca/win/
H A DPlatformCALayerWinInternal.cpp118 NONCLIENTMETRICS metrics; local
119 metrics.cbSize = sizeof(metrics);
120 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0);
122 family.setFamily(metrics.lfSmCaptionFont.lfFaceName);

Completed in 388 milliseconds

1234