HomeSort by relevance Sort by last modified time
    Searched full:metrics (Results 1 - 25 of 751) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium/chrome/browser/extensions/
extension_metrics_module.h 11 #include "base/metrics/histogram.h"
15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.setEnabled")
21 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.getEnabled")
28 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordUserAction")
41 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordValue")
46 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordPercentage")
51 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordCount")
56 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordSmallCount")
61 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordMediumCount")
66 DECLARE_EXTENSION_FUNCTION_NAME("experimental.metrics.recordTime"
    [all...]
  /cts/tests/tests/dpi/src/android/dpi/cts/
ConfigurationTest.java 37 DisplayMetrics metrics = new DisplayMetrics(); local
38 display.getMetrics(metrics);
40 double xInches = (double) metrics.widthPixels / metrics.xdpi;
41 double yInches = (double) metrics.heightPixels / metrics.ydpi;
46 double density = 160.0d * metrics.density;
49 int max = Math.max(metrics.widthPixels, metrics.heightPixels);
50 int min = Math.min(metrics.widthPixels, metrics.heightPixels)
    [all...]
ConfigurationScreenLayoutTest.java 98 DisplayMetrics metrics = new DisplayMetrics(); local
99 display.getMetrics(metrics);
101 int max = Math.max(metrics.widthPixels, metrics.heightPixels);
102 int min = Math.min(metrics.widthPixels, metrics.heightPixels);
103 int longSize = (int) (max / metrics.density);
104 int shortSize = (int) (min / metrics.density);
  /external/webrtc/src/modules/audio_processing/main/source/
level_estimator_impl.cc 47 int GetMetricsLocal(Handle* my_handle, LevelEstimator::Metrics* metrics) {
55 metrics->signal.instant = levels.instant;
56 metrics->signal.average = levels.average;
57 metrics->signal.maximum = levels.max;
58 metrics->signal.minimum = levels.min;
64 metrics->speech.instant = levels.instant;
65 metrics->speech.average = levels.average;
66 metrics->speech.maximum = levels.max;
67 metrics->speech.minimum = levels.min
    [all...]
echo_cancellation_impl.cc 237 // TODO(ajm): we currently just use the metrics from the first AEC. Think more
239 int EchoCancellationImpl::GetMetrics(Metrics* metrics) {
241 if (metrics == NULL) {
251 memset(metrics, 0, sizeof(Metrics));
259 metrics->residual_echo_return_loss.instant = my_metrics.rerl.instant;
260 metrics->residual_echo_return_loss.average = my_metrics.rerl.average;
261 metrics->residual_echo_return_loss.maximum = my_metrics.rerl.max;
262 metrics->residual_echo_return_loss.minimum = my_metrics.rerl.min
    [all...]
  /frameworks/base/core/java/android/text/
BoringLayout.java 43 BoringLayout.Metrics metrics, boolean includepad) {
45 spacingmult, spacingadd, metrics,
53 BoringLayout.Metrics metrics, boolean includepad,
56 spacingmult, spacingadd, metrics,
68 BoringLayout.Metrics metrics,
78 metrics, includepad, true);
90 BoringLayout.Metrics metrics
115 metrics, includepad, trust); local
166 metrics, includepad, trust); local
    [all...]
  /external/freetype/src/autofit/
afindic.c 36 af_indic_metrics_init( AF_CJKMetrics metrics,
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,
68 af_cjk_metrics_scale( metrics, scaler );
74 AF_CJKMetrics metrics )
77 return af_cjk_hints_init( hints, metrics );
84 AF_CJKMetrics metrics )
    [all...]
afcjk.h 33 /* CJK (global) metrics management */
86 /* used for horizontal metrics too for CJK */
107 af_cjk_metrics_init( AF_CJKMetrics metrics,
111 af_cjk_metrics_scale( AF_CJKMetrics metrics,
116 AF_CJKMetrics metrics );
121 AF_CJKMetrics metrics );
125 af_cjk_metrics_check_digits( AF_CJKMetrics metrics,
129 af_cjk_metrics_init_widths( AF_CJKMetrics metrics,
afloader.c 103 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 according to the change in *
507 AF_ScriptMetrics metrics; local
    [all...]
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 object when needed *
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
DisplayMetricsTest.java 72 DisplayMetrics metrics = new DisplayMetrics(); local
73 metrics.setTo(outMetrics);
74 assertEquals(display.getHeight(), metrics.heightPixels);
75 assertEquals(display.getWidth(), metrics.widthPixels);
77 assertTrue((0.1 < metrics.density) && (metrics.density < 3));
78 assertTrue((0.1 < metrics.scaledDensity) && (metrics.scaledDensity < 3));
79 assertTrue(0 < metrics.xdpi);
80 assertTrue(0 < metrics.ydpi)
    [all...]
  /external/harfbuzz/contrib/
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->height = ftmetrics->height
    [all...]
  /cts/tests/tests/holo/src/android/holo/cts/
DisplayInfoActivity.java 37 DisplayMetrics metrics = new DisplayMetrics(); local
38 display.getMetrics(metrics);
41 text.setText(getString(R.string.display_info_text, metrics.densityDpi,
42 getScreenDensityBucket(metrics)));
45 private String getScreenDensityBucket(DisplayMetrics metrics) {
46 switch (metrics.densityDpi) {
63 return "" + metrics.densityDpi;
  /external/chromium/base/win/
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);
  /cts/tests/tests/text/src/android/text/cts/
BoringLayout_MetricsTest.java 26 @TestTargetClass(BoringLayout.Metrics.class)
37 method = "BoringLayout.Metrics",
42 BoringLayout.Metrics bm = new BoringLayout.Metrics();
  /external/chromium/net/socket_stream/
socket_stream_metrics_unittest.cc 6 #include "base/metrics/histogram.h"
69 SocketStreamMetrics metrics(GURL("ws://www.example.com/"));
71 metrics.OnStartConnection();
73 metrics.OnTunnelProxy();
75 metrics.OnSOCKSProxy();
77 metrics.OnSSLConnection();
124 SocketStreamMetrics metrics(GURL("ws://www.example.com/"));
125 metrics.OnWaitConnection();
126 metrics.OnStartConnection();
127 metrics.OnConnected()
    [all...]
socket_stream_metrics.h 5 // Collect metrics of SocketStream usage.
6 // TODO(ukai): collect WebSocket specific metrics (e.g. handshake time, etc).
  /external/chromium/chrome/browser/metrics/
metrics_log.h 5 // This file defines a set of user experience metrics data recorded by
29 // Creates a new metrics log
40 // profile_metrics, if non-null, gives a dictionary of all profile metrics
42 // dictionary giving the metrics for the profile.
51 // Record recent delta for critical stability metrics. We can't wait for a
69 // Returns the date at which the current metrics client ID was created as
74 // Writes application stability metrics (as part of the profile log).
86 // Delaying these stats would bias metrics away from happy long lived
97 // Writes all profile metrics. This invokes WriteProfileMetrics for each key
101 // Writes metrics for the profile identified by key. This writes al
    [all...]
metrics_response.h 5 // This class exists to interpret the response from the metrics server.
17 // Parses metrics response XML into the information we care about
18 // (how often to send metrics info, which info to send).
24 // Each flag (except NONE) defined here represents one type of metrics
42 // metrics log sent. (If 0, no value was provided.)
  /external/freetype/src/sfnt/
ttsbit.c 230 /* 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->descender = strike->hori.descender << 6
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
StringTexture.java 37 FontMetricsInt metrics, int width, int height) {
41 mMetrics = metrics;
71 FontMetricsInt metrics = paint.getFontMetricsInt(); local
73 int height = metrics.bottom - metrics.top;
77 return new StringTexture(text, paint, metrics, width, height);
  /external/chromium/chrome/browser/ui/cocoa/bookmarks/
bookmark_bar_folder_controller.mm 43 // Metrics applied during the final layout adjustments to the window,
68 // Intermediate metrics used in determining window vertical layout changes.
76 // Convenience metrics used in multiple functions (carried along here in
549 LayoutMetrics& metrics(*layoutMetrics);
551 metrics.windowFrame = [window frame];
552 metrics.visibleFrame = [visibleView_ frame];
553 metrics.scrollerFrame = [scrollView_ frame];
554 metrics.scrollPoint = [scrollView_ documentVisibleRect].origin;
555 metrics.scrollPoint.y -= metrics.scrollDelta
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TestPackageResult.java 202 * Populate values in this package result from run metrics
205 public void populateMetrics(Map<String, String> metrics) {
206 String name = metrics.get(CtsTest.PACKAGE_NAME_METRIC);
210 String digest = metrics.get(CtsTest.PACKAGE_DIGEST_METRIC);
215 storeDeviceMetrics(metrics);
217 mMetrics.putAll(metrics);
222 * Check that the provided device info metrics are consistent with the currently stored metrics.
224 * If any inconsistencies occur, logs errors and stores error messages in the metrics map
226 * @param metrics
    [all...]
  /external/webkit/Source/WebCore/rendering/svg/
SVGTextLayoutEngineBaseline.cpp 185 float SVGTextLayoutEngineBaseline::calculateGlyphAdvanceAndOrientation(bool isVerticalText, SVGTextMetrics& metrics, float angle, float& xOrientationShift, float& yOrientationShift) const
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.width()
    [all...]
  /external/chromium/base/metrics/
nacl_histogram.cc 14 #include "base/metrics/histogram.h"
15 #include "base/metrics/nacl_histogram.h"

Completed in 1183 milliseconds

1 2 3 4 5 6 7 8 91011>>