Searched defs:metrics (Results 1 - 25 of 86) sorted by relevance

1234

/external/chromium/base/win/
H A Dwin_util_unittest.cc50 NONCLIENTMETRICS metrics = {0}; local
51 GetNonClientMetrics(&metrics);
52 EXPECT_TRUE(metrics.cbSize > 0);
53 EXPECT_TRUE(metrics.iScrollWidth > 0);
54 EXPECT_TRUE(metrics.iScrollHeight > 0);
H A Dwin_util.cc32 void GetNonClientMetrics(NONCLIENTMETRICS* metrics) { argument
33 DCHECK(metrics);
38 metrics->cbSize = SIZEOF_NONCLIENTMETRICS;
40 SIZEOF_NONCLIENTMETRICS, metrics,
/external/freetype/src/autofit/
H A Dafindic.c36 af_indic_metrics_init( AF_CJKMetrics metrics, argument
43 metrics->units_per_em = face->units_per_EM;
49 af_cjk_metrics_init_widths( metrics, face, 0x7530 );
52 af_cjk_metrics_init_blues( metrics, face, af_cjk_blue_chars );
54 af_cjk_metrics_check_digits( metrics, face );
64 af_indic_metrics_scale( AF_CJKMetrics metrics, argument
68 af_cjk_metrics_scale( metrics, scaler );
74 AF_CJKMetrics metrics )
77 return af_cjk_hints_init( hints, metrics );
84 AF_CJKMetrics metrics )
[all...]
H A Dafloader.h34 AF_ScriptMetrics metrics; member in struct:AF_LoaderRec_
H A Dafglobal.c71 AF_ScriptMetrics metrics[AF_SCRIPT_MAX]; member in struct:AF_FaceGlobalsRec_
221 if ( globals->metrics[nn] )
226 FT_ASSERT( globals->metrics[nn]->clazz == clazz );
229 clazz->script_metrics_done( globals->metrics[nn] );
231 FT_FREE( globals->metrics[nn] );
250 AF_ScriptMetrics metrics = NULL; local
273 metrics = globals->metrics[clazz->script];
274 if ( metrics == NULL )
276 /* create the global metrics objec
[all...]
/external/chromium/chrome/browser/ui/options/
H A Doptions_util.cc13 #include "chrome/browser/metrics/metrics_service.h"
127 MetricsService* metrics = g_browser_process->metrics_service(); local
128 DCHECK(metrics);
129 if (metrics) {
131 metrics->Start();
133 metrics->Stop();
/external/webkit/Source/WebCore/platform/graphics/win/
H A DFontPlatformDataWin.cpp63 OUTLINETEXTMETRICW* metrics = (OUTLINETEXTMETRICW*)malloc(bufferSize); local
65 GetOutlineTextMetricsW(hdc, bufferSize, metrics);
66 WCHAR* faceName = (WCHAR*)((uintptr_t)metrics + (uintptr_t)metrics->otmpFaceName);
70 free(metrics);
H A DSimpleFontDataCairoWin.cpp76 OUTLINETEXTMETRIC metrics; local
77 if (GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics) > 0) {
H A DWebLayer.cpp119 NONCLIENTMETRICS metrics; local
120 metrics.cbSize = sizeof(metrics);
121 SystemParametersInfo(SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0);
123 family.setFamily(metrics.lfSmCaptionFont.lfFaceName);
/external/webkit/Source/WebCore/platform/graphics/haiku/
H A DSimpleFontDataHaiku.cpp110 GlyphMetrics metrics; local
112 return metrics;
118 metrics.horizontalAdvance = escapements[0] * m_platformData.font()->Size();
119 return metrics;
/external/apache-http/src/org/apache/http/impl/io/
H A DAbstractSessionOutputBuffer.java64 private HttpTransportMetricsImpl metrics; field in class:AbstractSessionOutputBuffer
81 this.metrics = new HttpTransportMetricsImpl();
89 this.metrics.incrementBytesTransferred(len);
110 this.metrics.incrementBytesTransferred(len);
176 return this.metrics;
H A DAbstractSessionInputBuffer.java66 private HttpTransportMetricsImpl metrics; field in class:AbstractSessionInputBuffer
87 this.metrics = new HttpTransportMetricsImpl();
108 this.metrics.incrementBytesTransferred(l);
272 return this.metrics;
/external/chromium/chrome/browser/
H A Dmemory_details_win.cc114 scoped_ptr<base::ProcessMetrics> metrics; local
115 metrics.reset(base::ProcessMetrics::CreateProcessMetrics(process_handle));
116 metrics->GetCommittedKBytes(&info.committed);
117 metrics->GetWorkingSetKBytes(&info.working_set);
H A Dbrowser_main_gtk.cc15 #include "chrome/browser/metrics/metrics_service.h"
148 void RecordBreakpadStatusUMA(MetricsService* metrics) { argument
150 metrics->RecordBreakpadRegistration(IsCrashReporterEnabled());
152 metrics->RecordBreakpadRegistration(false);
154 metrics->RecordBreakpadHasDebugger(base::debug::BeingDebugged());
H A Dbrowser_shutdown.cc13 #include "base/metrics/histogram.h"
27 #include "chrome/browser/metrics/metrics_service.h"
149 MetricsService* metrics = g_browser_process->metrics_service(); local
150 if (metrics)
151 metrics->RecordCompletedSessionEnd();
/external/webkit/Source/WebCore/platform/graphics/
H A DGlyphMetricsMap.h58 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
60 locatePage(glyph / GlyphMetricsPage::size)->setMetricsForGlyph(glyph, metrics);
69 void setMetricsForGlyph(Glyph glyph, const T& metrics) argument
71 setMetricsForIndex(glyph % size, metrics);
73 void setMetricsForIndex(unsigned index, const T& metrics) argument
75 m_metrics[index] = metrics;
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/
H A Dfontprops.cpp76 PangoFontMetrics* metrics = pango_context_get_metrics (context, font->GetNativeFontInfo()->description, NULL); local
80 m_ascent = PANGO_PIXELS(pango_font_metrics_get_ascent(metrics));
81 m_descent = PANGO_PIXELS(pango_font_metrics_get_descent(metrics));
93 pango_font_metrics_unref(metrics);
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGTextLayoutAttributes.cpp127 const SVGTextMetrics& metrics = m_textMetricsValues.at(i); local
129 metrics.length(), metrics.glyph().name.utf8().data(), metrics.glyph().unicodeString.utf8().data(), metrics.width(), metrics.height());
H A DSVGTextLayoutEngineBaseline.cpp185 float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const argument
192 // of 180 degrees, then the current text position is incremented according to the vertical metrics of the glyph.
195 // 180 degrees, then the current text position is incremented according to the horizontal metrics of the glyph.
203 xOrientationShift = (ascentMinusDescent - metrics.width()) / 2;
206 xOrientationShift = (ascentMinusDescent + metrics.width()) / 2;
208 yOrientationShift = metrics.width();
214 return metrics.width();
216 return metrics.height();
221 yOrientationShift = -metrics.width();
223 xOrientationShift = metrics
[all...]
/external/apache-http/src/org/apache/http/impl/
H A DAbstractHttpClientConnection.java76 private HttpConnectionMetricsImpl metrics = null; field in class:AbstractHttpClientConnection
133 this.metrics = new HttpConnectionMetricsImpl(
150 this.metrics.incrementRequestCount();
182 this.metrics.incrementResponseCount();
216 return this.metrics;
H A DAbstractHttpServerConnection.java75 private HttpConnectionMetricsImpl metrics = null; field in class:AbstractHttpServerConnection
133 this.metrics = new HttpConnectionMetricsImpl(
142 this.metrics.incrementRequestCount();
173 this.metrics.incrementResponseCount();
199 return this.metrics;
/external/emma/ant/ant14/com/vladium/emma/report/
H A DreportTask.java146 public void setMetrics (final String metrics) argument
148 m_reportCfg.setMetrics (metrics);
/external/freetype/src/truetype/
H A Dttdriver.c197 /* use the scaled metrics, even when tt_size_reset fails */
205 FT_Size_Metrics* metrics = &size->metrics; local
208 error = sfnt->load_strike_metrics( ttface, strike_index, metrics );
251 ttsize->root.metrics = ttsize->metrics;
/external/harfbuzz/contrib/
H A Dharfbuzz-freetype.c96 HB_GlyphMetrics *metrics) {
101 metrics->x = metrics->y = metrics->width = metrics->height = 0;
102 metrics->xOffset = metrics->yOffset = 0;
106 const FT_Glyph_Metrics *ftmetrics = &face->glyph->metrics;
107 metrics->width = ftmetrics->width;
108 metrics
95 hb_freetype_glyph_metrics_get(HB_Font font, HB_Glyph glyph, HB_GlyphMetrics *metrics) argument
[all...]
/external/skia/src/animator/
H A DSkDrawPaint.cpp179 SkPaint::FontMetrics metrics; local
182 paint.getFontMetrics(&metrics);
185 value->fOperand.fScalar = metrics.fAscent;
188 value->fOperand.fScalar = metrics.fDescent;

Completed in 434 milliseconds

1234