/external/chromium/base/win/ |
H A D | win_util_unittest.cc | 50 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 D | win_util.cc | 32 void GetNonClientMetrics(NONCLIENTMETRICS* metrics) { argument 33 DCHECK(metrics); 38 metrics->cbSize = SIZEOF_NONCLIENTMETRICS; 40 SIZEOF_NONCLIENTMETRICS, metrics,
|
/external/freetype/src/autofit/ |
H A D | afindic.c | 36 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 D | afloader.h | 34 AF_ScriptMetrics metrics; member in struct:AF_LoaderRec_
|
H A D | afglobal.c | 71 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 D | options_util.cc | 13 #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 D | FontPlatformDataWin.cpp | 63 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 D | SimpleFontDataCairoWin.cpp | 76 OUTLINETEXTMETRIC metrics; local 77 if (GetOutlineTextMetrics(hdc, sizeof(metrics), &metrics) > 0) {
|
H A D | WebLayer.cpp | 119 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 D | SimpleFontDataHaiku.cpp | 110 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 D | AbstractSessionOutputBuffer.java | 64 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 D | AbstractSessionInputBuffer.java | 66 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 D | memory_details_win.cc | 114 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 D | browser_main_gtk.cc | 15 #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 D | browser_shutdown.cc | 13 #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 D | GlyphMetricsMap.h | 58 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 D | fontprops.cpp | 76 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 D | SVGTextLayoutAttributes.cpp | 127 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 D | SVGTextLayoutEngineBaseline.cpp | 185 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 D | AbstractHttpClientConnection.java | 76 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 D | AbstractHttpServerConnection.java | 75 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 D | reportTask.java | 146 public void setMetrics (final String metrics) argument 148 m_reportCfg.setMetrics (metrics);
|
/external/freetype/src/truetype/ |
H A D | ttdriver.c | 197 /* 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 D | harfbuzz-freetype.c | 96 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 D | SkDrawPaint.cpp | 179 SkPaint::FontMetrics metrics; local 182 paint.getFontMetrics(&metrics); 185 value->fOperand.fScalar = metrics.fAscent; 188 value->fOperand.fScalar = metrics.fDescent;
|