/external/skia/src/utils/ |
H A D | SkGatherPixelRefsAndRects.h | 171 SkPaint::FontMetrics metrics; variable 172 paint.getFontMetrics(&metrics); 180 bounds.fBottom += metrics.fBottom; 181 bounds.fTop += metrics.fTop; 191 bounds.fTop = metrics.fTop; 192 bounds.fBottom = metrics.fBottom; 195 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2; 237 SkPaint::FontMetrics metrics; variable 238 paint.getFontMetrics(&metrics); 259 SkPaint::FontMetrics metrics; variable [all...] |
/external/chromium_org/ash/display/ |
H A D | screen_ash.cc | 192 uint32_t metrics) { 195 OnDisplayMetricsChanged(display, metrics)); 191 NotifyMetricsChanged(const gfx::Display& display, uint32_t metrics) argument
|
/external/chromium_org/ash/wm/overview/ |
H A D | window_selector.cc | 11 #include "ash/metrics/user_metrics_recorder.h" 22 #include "base/metrics/histogram.h" 147 shell->metrics()->RecordUserMetricsAction(UMA_WINDOW_OVERVIEW); 252 Shell::GetInstance()->metrics()->RecordUserMetricsAction( 273 uint32_t metrics) { 272 OnDisplayMetricsChanged(const gfx::Display& display, uint32_t metrics) argument
|
/external/chromium_org/chrome/browser/extensions/api/system_info/ |
H A D | system_info_api.cc | 72 uint32_t metrics) OVERRIDE; 195 uint32_t metrics) { 194 OnDisplayMetricsChanged(const gfx::Display& display, uint32_t metrics) argument
|
/external/chromium_org/chrome/browser/ |
H A D | memory_details_linux.cc | 130 base::ProcessMetrics* metrics = local 132 metrics->GetWorkingSetKBytes(&pmi.working_set); 133 delete metrics;
|
/external/chromium_org/chrome/browser/metrics/ |
H A D | perf_provider_chromeos.cc | 12 #include "base/metrics/histogram.h" 16 #include "chrome/browser/metrics/perf_provider_chromeos.h" 78 namespace metrics { namespace 301 } // namespace metrics
|
/external/chromium_org/components/metrics/ |
H A D | metrics_log_unittest.cc | 5 #include "components/metrics/metrics_log.h" 11 #include "base/metrics/bucket_ranges.h" 12 #include "base/metrics/sample_vector.h" 17 #include "components/metrics/metrics_pref_names.h" 18 #include "components/metrics/metrics_state_manager.h" 19 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" 20 #include "components/metrics/test_metrics_service_client.h" 24 namespace metrics { namespace 49 metrics::MetricsServiceClient* client, 58 const metrics [all...] |
H A D | metrics_service.h | 20 #include "base/metrics/field_trial.h" 21 #include "base/metrics/histogram_flattener.h" 22 #include "base/metrics/histogram_snapshot_manager.h" 23 #include "base/metrics/user_metrics.h" 28 #include "components/metrics/metrics_log.h" 29 #include "components/metrics/metrics_log_manager.h" 30 #include "components/metrics/metrics_provider.h" 31 #include "components/metrics/metrics_service_observer.h" 49 namespace metrics { namespace 97 MetricsService(metrics [all...] |
H A D | persisted_logs.cc | 5 #include "components/metrics/persisted_logs.h" 11 #include "base/metrics/histogram.h" 16 #include "components/metrics/compression_utils.h" 18 namespace metrics { namespace 298 } // namespace metrics
|
/external/chromium_org/components/variations/ |
H A D | entropy_provider_unittest.cc | 19 namespace metrics { namespace 369 } // namespace metrics
|
/external/chromium_org/content/child/ |
H A D | browser_font_resource_trusted.cc | 269 PP_BrowserFont_Trusted_Metrics* metrics) { 288 metrics->height = font_->height(); 289 metrics->ascent = font_->ascent(); 290 metrics->descent = font_->descent(); 291 metrics->line_spacing = font_->lineSpacing(); 292 metrics->x_height = static_cast<int32_t>(font_->xHeight()); 267 Describe( PP_BrowserFont_Trusted_Description* description, PP_BrowserFont_Trusted_Metrics* metrics) argument
|
/external/chromium_org/pdf/ |
H A D | progress_control.cc | 100 PP_FontMetrics_Dev metrics; local 101 font.Describe(&desc, &metrics); 102 int text_height = metrics.height; 192 PP_FontMetrics_Dev metrics; local 193 font.Describe(&desc, &metrics); 196 (text_rc_.y() + text_rc_.bottom() + metrics.x_height) / 2);
|
/external/chromium_org/skia/ext/ |
H A D | pixel_ref_utils.cc | 187 SkPaint::FontMetrics metrics; variable 188 paint.getFontMetrics(&metrics); 196 bounds.fBottom += metrics.fBottom; 197 bounds.fTop += metrics.fTop; 207 bounds.fTop = metrics.fTop; 208 bounds.fBottom = metrics.fBottom; 211 SkScalar pad = (metrics.fBottom - metrics.fTop) / 2; 262 SkPaint::FontMetrics metrics; variable 263 paint.getFontMetrics(&metrics); 286 SkPaint::FontMetrics metrics; variable [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
H A D | SVGTextMetricsBuilder.cpp | 133 SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(m_text, textPosition, metricsLength, m_textDirection); local 134 ASSERT(metrics.length() == metricsLength); 144 if (currentWidth != metrics.width()) 145 metrics.setWidth(currentWidth); 148 return metrics;
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/harfbuzz/ |
H A D | FontHarfBuzz.cpp | 120 const FontMetrics& metrics = font->fontMetrics(); local 121 SkScalar verticalOriginX = SkFloatToScalar(point.x() + metrics.floatAscent() - metrics.floatAscent(IdeographicBaseline));
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
H A D | SimpleFontDataSkia.cpp | 61 SkPaint::FontMetrics metrics; local 64 paint.getFontMetrics(&metrics); 72 // Manually digging up VDMX metrics is only applicable when bytecode hinting using FreeType. 73 // With GDI, the metrics will already have taken this into account (as needed). 75 // This code should be pushed into FreeType (hinted font metrics). 98 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android). 103 ascent = SkScalarRoundToInt(-metrics.fAscent); 104 descent = SkScalarRoundToInt(metrics.fDescent); 110 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 121 if (metrics [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
H A D | afloader.c | 111 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...] |
/external/chromium_org/third_party/freetype/src/sfnt/ |
H A D | sfobjs.c | 590 /* vertical metrics tables (i.e. `hhea' and `vhea' tables are */ 650 /* do not load the metrics headers and tables if this is an Apple */ 665 /* overriding metrics, tolerate a missing `hmtx' table. */ 692 /* overriding metrics, tolerate a missing `hhea' table. */ 929 FT_Size_Metrics metrics; local 946 error = sfnt->load_strike_metrics( face, i, &metrics ); 950 bsize->height = (FT_Short)( metrics.height >> 6 ); 952 ( avgwidth * metrics.x_ppem + em_size / 2 ) / em_size ); 954 bsize->x_ppem = metrics.x_ppem << 6; 955 bsize->y_ppem = metrics [all...] |
/external/chromium_org/third_party/freetype/src/truetype/ |
H A D | ttdriver.c | 266 /* use the scaled metrics, even when tt_size_reset fails */ 274 FT_Size_Metrics* metrics = &size->metrics; local 277 error = sfnt->load_strike_metrics( ttface, strike_index, metrics ); 320 ttsize->root.metrics = ttsize->metrics;
|
H A D | ttobjs.c | 773 FT_Size_Metrics* metrics = &exec->metrics; local 777 metrics->x_ppem = 0; 778 metrics->y_ppem = 0; 779 metrics->x_scale = 0; 780 metrics->y_scale = 0; 987 /* Set default metrics */ 989 TT_Size_Metrics* metrics = &size->ttmetrics; local 992 metrics->rotated = FALSE; 993 metrics 1171 FT_Size_Metrics* metrics; local [all...] |
/external/chromium_org/third_party/skia/src/fonts/ |
H A D | SkGScalerContext.cpp | 142 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...] |
/external/chromium_org/third_party/skia/src/views/ |
H A D | SkTextBox.cpp | 180 SkPaint::FontMetrics metrics; local 195 fontHeight = paint.getFontMetrics(&metrics); 222 y += fBox.fTop - metrics.fAscent; 229 if (y + metrics.fDescent + metrics.fLeading > 0) 235 if (y + metrics.fAscent >= fBox.fBottom)
|
/external/chromium_org/third_party/skia/third_party/harfbuzz/tests/shaping/ |
H A D | main.cpp | 139 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/chromium_org/third_party/webrtc/modules/audio_processing/ |
H A D | echo_cancellation_impl.cc | 224 // TODO(ajm): we currently just use the metrics from the first AEC. Think more 226 int EchoCancellationImpl::GetMetrics(Metrics* metrics) { argument 228 if (metrics == NULL) { 238 memset(metrics, 0, sizeof(Metrics)); 246 metrics->residual_echo_return_loss.instant = my_metrics.rerl.instant; 247 metrics->residual_echo_return_loss.average = my_metrics.rerl.average; 248 metrics->residual_echo_return_loss.maximum = my_metrics.rerl.max; 249 metrics->residual_echo_return_loss.minimum = my_metrics.rerl.min; 251 metrics->echo_return_loss.instant = my_metrics.erl.instant; 252 metrics [all...] |
/external/chromium_org/third_party/webrtc/video_engine/ |
H A D | overuse_frame_detector_unittest.cc | 140 CpuOveruseMetrics metrics; local 141 overuse_detector_->GetCpuOveruseMetrics(&metrics); 142 return metrics.capture_jitter_ms; 146 CpuOveruseMetrics metrics; local 147 overuse_detector_->GetCpuOveruseMetrics(&metrics); 148 return metrics.avg_encode_time_ms; 152 CpuOveruseMetrics metrics; local 153 overuse_detector_->GetCpuOveruseMetrics(&metrics); 154 return metrics.encode_usage_percent; 158 CpuOveruseMetrics metrics; local 249 CpuOveruseMetrics metrics; local [all...] |