Searched refs:metrics (Results 51 - 75 of 707) sorted by relevance

1234567891011>>

/external/chromium_org/components/omnibox/
H A Dautocomplete_scheme_classifier.h10 #include "components/metrics/proto/omnibox_input_type.pb.h"
24 // and not blocked. Returns metrics::OmniboxInputType::INVALID if it's unknown
26 virtual metrics::OmniboxInputType::Type GetInputTypeForScheme(
H A Dautocomplete_input.cc9 #include "components/metrics/proto/omnibox_event.pb.h"
36 current_page_classification_(metrics::OmniboxEventProto::INVALID_SPEC),
37 type_(metrics::OmniboxInputType::INVALID),
49 metrics::OmniboxEventProto::PageClassification current_page_classification,
76 if (type_ == metrics::OmniboxInputType::INVALID)
79 if (((type_ == metrics::OmniboxInputType::UNKNOWN) ||
80 (type_ == metrics::OmniboxInputType::URL)) &&
106 metrics::OmniboxInputType::Type type,
108 if ((type != metrics::OmniboxInputType::FORCED_QUERY) || text->empty() ||
118 metrics
[all...]
/external/chromium_org/chrome/browser/metrics/
H A Dchrome_metrics_service_client.h16 #include "chrome/browser/metrics/network_stats_uploader.h"
17 #include "components/metrics/metrics_service_client.h"
18 #include "components/metrics/profiler/tracking_synchronizer_observer.h"
35 namespace metrics { namespace
44 : public metrics::MetricsServiceClient,
45 public metrics::TrackingSynchronizerObserver,
52 metrics::MetricsStateManager* state_manager,
58 // metrics::MetricsServiceClient:
63 virtual metrics::SystemProfileProto::Channel GetChannel() OVERRIDE;
70 virtual scoped_ptr<metrics
[all...]
H A Dextensions_metrics_provider_unittest.cc5 #include "chrome/browser/metrics/extensions_metrics_provider.h"
11 #include "components/metrics/client_info.h"
12 #include "components/metrics/metrics_service.h"
13 #include "components/metrics/metrics_state_manager.h"
14 #include "components/metrics/proto/system_profile.pb.h"
26 void StoreNoClientInfoBackup(const metrics::ClientInfo& /* client_info */) {
29 scoped_ptr<metrics::ClientInfo> ReturnNoBackup() {
30 return scoped_ptr<metrics::ClientInfo>();
36 metrics::MetricsStateManager* metrics_state_manager)
104 metrics
[all...]
H A Dmetrics_reporting_state.cc5 #include "chrome/browser/metrics/metrics_reporting_state.h"
8 #include "base/metrics/histogram.h"
11 #include "chrome/browser/metrics/chrome_metrics_service_accessor.h"
14 #include "components/metrics/metrics_service.h"
32 // Tries to set metrics reporting status to |enabled| and returns whatever is
38 DVLOG(1) << "Unable to set metrics reporting status to " << enabled;
54 metrics::MetricsService* metrics = g_browser_process->metrics_service(); local
55 if (metrics) {
57 metrics
[all...]
/external/chromium_org/ash/system/chromeos/
H A Dkeyboard_brightness_controller.cc7 #include "ash/metrics/user_metrics_recorder.h"
18 Shell::GetInstance()->metrics()->RecordUserMetricsAction(
30 Shell::GetInstance()->metrics()->RecordUserMetricsAction(
/external/chromium_org/chromecast/metrics/
H A Dcast_metrics_service_client_unittest.cc5 #include "chromecast/metrics/cast_metrics_service_client.h"
11 #include "components/metrics/metrics_service.h"
25 ::metrics::MetricsService::RegisterPrefs(prefs_->registry());
39 metrics::CastMetricsServiceClient::Create(prefs(), NULL);
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafdummy.c27 AF_ScriptMetrics metrics )
30 metrics );
H A Dafcjk.h33 /* CJK (global) metrics management */
86 /* used for horizontal metrics too for CJK */
108 af_cjk_metrics_init( AF_CJKMetrics metrics,
112 af_cjk_metrics_scale( AF_CJKMetrics metrics,
117 AF_CJKMetrics metrics );
122 AF_CJKMetrics metrics );
126 af_cjk_metrics_check_digits( AF_CJKMetrics metrics,
130 af_cjk_metrics_init_widths( AF_CJKMetrics metrics,
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
H A Dbouncing_balls_draw_ball_as_text.js8 var metrics = canvasContext.measureText("Chrome");
9 ballScale = diameter/metrics.width
/external/chromium_org/chrome/browser/chromeos/
H A Dexternal_metrics_unittest.cc8 #include "base/metrics/statistics_recorder.h"
11 #include "components/metrics/serialization/metric_sample.h"
12 #include "components/metrics/serialization/serialization_utils.h"
40 scoped_ptr<metrics::MetricSample> hist =
41 metrics::MetricSample::HistogramSample("foo", 2, 1, 100, 10);
43 EXPECT_TRUE(metrics::SerializationUtils::WriteMetricToFile(
55 scoped_ptr<metrics::MetricSample> hist =
56 metrics::MetricSample::HistogramSample("bar", 30, 200, 20, 10);
58 EXPECT_TRUE(metrics::SerializationUtils::WriteMetricToFile(
/external/chromium_org/chrome/browser/spellchecker/
H A Dspellcheck_host_metrics_unittest.cc10 #include "base/metrics/histogram_samples.h"
11 #include "base/metrics/statistics_recorder.h"
34 SpellCheckHostMetrics* metrics() { return metrics_.get(); } function in class:SpellcheckHostMetricsTest
46 metrics()->RecordEnabledStats(false);
53 metrics()->RecordEnabledStats(true);
78 // This test ensures that RecordWordCounts only records metrics if they
86 metrics()->RecordCheckedWordStats(base::ASCIIToUTF16("test"), false);
104 metrics()->RecordSpellingServiceStats(false);
111 metrics()->RecordSpellingServiceStats(true);
/external/chromium_org/chrome/installer/util/
H A Duninstall_metrics.cc21 // Given a DictionaryValue containing a set of uninstall metrics,
22 // this builds a URL parameter list of all the contained metrics.
27 base::string16* metrics) {
28 DCHECK(NULL != metrics);
35 metrics->append(L"&");
36 metrics->append(base::UTF8ToWide(iter.key()));
37 metrics->append(L"=");
41 metrics->append(base::UTF8ToWide(value));
51 // Make sure that the user wants us reporting metrics. If not, don't
52 // add our uninstall metrics
25 BuildUninstallMetricsString( const base::DictionaryValue* uninstall_metrics_dict, base::string16* metrics) argument
[all...]
/external/chromium_org/courgette/
H A Danalyze_mem_test7 # Produce memory metrics for run_apply_test
34 Produce memory metrics for run_apply_test. This shows the percentiles
46 local metrics_dir="${dir}/metrics"
47 local metrics="${dir}/mem_per_file.txt"
49 if [ ! -f "${metrics}" ]; then
50 local metrics_tmp="${metrics}.tmp"
65 mv "${metrics_tmp}" "${metrics}"
68 echo "$(compute_percentiles ${metrics})max heap per file for Courgette" \
/external/freetype/src/autofit/
H A Dafcjk.h88 /* used for horizontal metrics too for CJK */
110 af_cjk_metrics_init( AF_CJKMetrics metrics,
114 af_cjk_metrics_scale( AF_CJKMetrics metrics,
119 AF_CJKMetrics metrics );
124 AF_CJKMetrics metrics );
128 af_cjk_metrics_check_digits( AF_CJKMetrics metrics,
132 af_cjk_metrics_init_widths( AF_CJKMetrics metrics,
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLMarqueeElement.js240 var metrics = {};
241 metrics.contentWidth = parseInt(moverStyle.width);
242 metrics.contentHeight = parseInt(moverStyle.height);
243 metrics.marqueeWidth = parseInt(marqueeStyle.width);
244 metrics.marqueeHeight = parseInt(marqueeStyle.height);
247 return metrics;
251 var metrics = this.getGetMetrics_();
253 var totalWidth = metrics.marqueeWidth + metrics.contentWidth;
254 var totalHeight = metrics
[all...]
/external/chromium_org/content/shell/app/
H A Dwebkit_test_platform_support_win.cc86 NONCLIENTMETRICS metrics = {0}; local
87 metrics.cbSize = is_vista_or_later ? sizeof(NONCLIENTMETRICS)
90 SPI_GETNONCLIENTMETRICS, metrics.cbSize, &metrics, 0);
93 {&metrics.lfStatusFont, &metrics.lfMenuFont, &metrics.lfSmCaptionFont};
/external/chromium_org/ui/gfx/
H A Ddisplay_change_notifier.cc70 uint32_t metrics = DisplayObserver::DISPLAY_METRIC_NONE; local
73 metrics |= DisplayObserver::DISPLAY_METRIC_BOUNDS;
76 metrics |= DisplayObserver::DISPLAY_METRIC_ROTATION;
79 metrics |= DisplayObserver::DISPLAY_METRIC_WORK_AREA;
82 metrics |= DisplayObserver::DISPLAY_METRIC_DEVICE_SCALE_FACTOR;
84 if (metrics != DisplayObserver::DISPLAY_METRIC_NONE) {
87 OnDisplayMetricsChanged(*new_it, metrics));
/external/chromium_org/tools/chrome_proxy/integration_tests/
H A Dchrome_proxy_metrics_unittest.py8 from integration_tests import chrome_proxy_metrics as metrics namespace
10 from metrics import test_page_test_results
31 'Via': (metrics.CHROME_PROXY_VIA_HEADER_DEPRECATED +
44 'Via': '1.1 ' + metrics.CHROME_PROXY_VIA_HEADER,
67 'Via': '1.1 ' + metrics.CHROME_PROXY_VIA_HEADER,
80 metrics.GetProxyInfoFromNetworkInternals = stub
85 resp = metrics.ChromeProxyResponse(
99 resp = metrics.ChromeProxyResponse(
105 'Via': '1.1 ' + metrics.CHROME_PROXY_VIA_HEADER,
115 metric = metrics
[all...]
/external/chromium_org/components/metrics/
H A Dmetrics_log.cc5 #include "components/metrics/metrics_log.h"
15 #include "base/metrics/histogram.h"
16 #include "base/metrics/histogram_samples.h"
25 #include "components/metrics/metrics_hashes.h"
26 #include "components/metrics/metrics_pref_names.h"
27 #include "components/metrics/metrics_provider.h"
28 #include "components/metrics/metrics_service_client.h"
29 #include "components/metrics/proto/histogram_event.pb.h"
30 #include "components/metrics/proto/system_profile.pb.h"
31 #include "components/metrics/prot
48 namespace metrics { namespace
[all...]
H A Dclean_exit_beacon.cc5 #include "components/metrics/clean_exit_beacon.h"
9 #include "components/metrics/metrics_pref_names.h"
12 #include "base/metrics/histogram.h"
17 namespace metrics { namespace
23 local_state->GetBoolean(metrics::prefs::kStabilityExitedCleanly)),
47 base::ASCIIToUTF16(metrics::prefs::kStabilityExitedCleanly).c_str(),
66 local_state_->SetBoolean(metrics::prefs::kStabilityExitedCleanly, value);
74 base::ASCIIToUTF16(metrics::prefs::kStabilityExitedCleanly).c_str(),
80 } // namespace metrics
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DViewportTest.java44 DisplayMetrics metrics = new DisplayMetrics();
45 winManager.getDefaultDisplay().getMetrics(metrics);
49 assertEquals(metrics.density, evaluateFloatValue("window.devicePixelRatio"), 0.1);
55 assertTrue(viewportWidth <= Math.max(981, metrics.widthPixels / metrics.density + 1));
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1gload.c99 /* Incremental fonts can optionally override the metrics. */
102 FT_Incremental_MetricsRec metrics; local
105 metrics.bearing_x = FIXED_TO_INT( decoder->builder.left_bearing.x );
106 metrics.bearing_y = 0;
107 metrics.advance = FIXED_TO_INT( decoder->builder.advance.x );
108 metrics.advance_v = FIXED_TO_INT( decoder->builder.advance.y );
111 glyph_index, FALSE, &metrics );
113 decoder->builder.left_bearing.x = INT_TO_FIXED( metrics.bearing_x );
114 decoder->builder.advance.x = INT_TO_FIXED( metrics.advance );
115 decoder->builder.advance.y = INT_TO_FIXED( metrics
395 FT_Glyph_Metrics* metrics = &t1glyph->metrics; local
[all...]
/external/chromium_org/components/component_updater/
H A Dcomponent_updater_ping_manager.cc49 // corresponding to each download metrics in |item|.
54 const CrxDownloader::DownloadMetrics& metrics = item->download_metrics[i]; local
56 StringAppendF(&event, " eventresult=\"%d\"", metrics.error == 0);
59 DownloaderToString(metrics.downloader));
60 if (metrics.error) {
61 StringAppendF(&event, " errorcode=\"%d\"", metrics.error);
63 StringAppendF(&event, " url=\"%s\"", metrics.url.spec().c_str());
66 if (metrics.downloaded_bytes != -1) {
69 base::Int64ToString(metrics.downloaded_bytes).c_str());
71 if (metrics
[all...]
/external/chromium_org/components/metrics/gpu/
H A Dgpu_metrics_provider_unittest.cc5 #include "components/metrics/gpu/gpu_metrics_provider.h"
8 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h"
12 namespace metrics { namespace
55 metrics::ChromeUserMetricsExtension uma_proto;
60 const metrics::SystemProfileProto::Hardware& hardware =
68 } // namespace metrics

Completed in 1414 milliseconds

1234567891011>>