/external/chromium/chrome/browser/net/websocket_experiment/ |
websocket_experiment_runner.h | 5 // Run WebSocket live experiment to collect metrics about WebSocket 10 // It must be started only if the user permits metrics reporting with the
|
/frameworks/base/core/jni/android/graphics/ |
HarfbuzzSkia.cpp | 160 static void getGlyphMetrics(HB_Font hbFont, HB_Glyph glyph, HB_GlyphMetrics* metrics) 172 metrics->x = SkScalarToHBFixed(bounds.fLeft); 173 metrics->y = SkScalarToHBFixed(bounds.fTop); 174 metrics->width = SkScalarToHBFixed(bounds.width()); 175 metrics->height = SkScalarToHBFixed(bounds.height()); 177 metrics->xOffset = SkScalarToHBFixed(width); 181 metrics->yOffset = 0; 196 // We don't support getting the rest of the metrics and Harfbuzz doesn't seem to need them.
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/ |
ExceptionTextView.java | 54 BoringLayout.Metrics boring, 55 BoringLayout.Metrics hintMetrics,
|
/external/chromium/chrome/browser/chromeos/ |
external_metrics.h | 19 // metrics to the UMA server on its behalf. Chrome periodically reads the 21 // representing a Chrome OS metrics event. The events are logged using the 32 // by the chrome metrics service. Calls to RecordAction originate in the 68 // Collects external events from metrics log file. This is run at periodic 75 // Schedules a metrics event collection in the future.
|
/external/freetype/src/truetype/ |
ttgload.c | 68 /* Return the horizontal metrics in font units for a given glyph. */ 85 /* Return the vertical metrics in font units for a given glyph. */ 173 /* overriding metrics for this glyph. */ 177 FT_Incremental_MetricsRec metrics; local 181 metrics.bearing_x = loader->left_bearing; 182 metrics.bearing_y = 0; 183 metrics.advance = loader->advance; 184 metrics.advance_v = 0; 188 glyph_index, FALSE, &metrics ); 192 left_bearing = (FT_Short)metrics.bearing_x 1716 FT_Incremental_MetricsRec metrics; local 1780 TT_SBit_MetricsRec metrics; local [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextQuery.cpp | 179 const SVGTextMetrics& metrics = textMetricsValues.at(textMetricsOffset); 183 positionOffset += metrics.length(); 191 // If the start position maps to a character in the metrics list, we don't need to modify it. 195 // If the start position maps to a character in the metrics list, we don't need to modify it. 216 positionOffset += metrics.length(); 303 SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.characterOffset + startPosition, endPosition - startPosition); 304 data->subStringLength += queryData->isVerticalText ? metrics.height() : metrics.width(); 341 SVGTextMetrics metrics = SVGTextMetrics::measureCharacterRange(queryData->textRenderer, fragment.characterOffset, startPosition); 343 data->startPosition.move(0, metrics.height()) [all...] |
/external/freetype/src/base/ |
ftobjs.c | 319 FT_ZERO( &slot->metrics ); 517 FT_Glyph_Metrics* metrics = &slot->metrics; local 523 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX ); 524 metrics->horiBearingY = FT_PIX_CEIL ( metrics->horiBearingY ); 526 right = FT_PIX_CEIL( metrics->vertBearingX + metrics->width ); 527 bottom = FT_PIX_CEIL( metrics->vertBearingY + metrics->height ) 728 FT_Size_Metrics* metrics = &face->size->metrics; local 2588 FT_Size_Metrics* metrics; local 2623 FT_Size_Metrics* metrics; local [all...] |
/external/opencv/cv/src/ |
cvdistransform.cpp | 68 int step, float* dist, int dststep, CvSize size, const float* metrics ) 72 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); 73 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); 140 int step, float* dist, int dststep, CvSize size, const float* metrics ) 144 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); 145 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ); 146 const int LONG_DIST = CV_FLT_TO_FIX( metrics[2], ICV_DIST_SHIFT ); 230 CvSize size, const float* metrics ) 235 const int HV_DIST = CV_FLT_TO_FIX( metrics[0], ICV_DIST_SHIFT ); 236 const int DIAG_DIST = CV_FLT_TO_FIX( metrics[1], ICV_DIST_SHIFT ) [all...] |
/external/freetype/include/freetype/ |
ftincrem.h | 93 * A small structure used to contain the basic glyph metrics returned 110 * These correspond to horizontal or vertical metrics depending on the 214 * A function used to retrieve the basic metrics of a given glyph index 216 * formats like TrueType, the metrics are stored in a different place from 228 * If true, return vertical metrics. 232 * The original glyph metrics, if any, in font units. If metrics are 237 * The replacement glyph metrics in font units. 265 * The function to get glyph metrics. May be null if the font does 266 * not provide overriding glyph metrics [all...] |
/frameworks/base/core/java/android/util/ |
TypedValue.java | 221 * @param metrics Current display metrics to use in the conversion -- 225 * metrics depending on its unit. 227 public static float complexToDimension(int data, DisplayMetrics metrics) 232 metrics); 245 * @param metrics Current display metrics to use in the conversion -- 252 DisplayMetrics metrics) 257 metrics); 272 * @param metrics Current display metrics to use in the conversion -- [all...] |
/external/freetype/src/autofit/ |
aftypes.h | 215 * - A specific global analyzer that will compute global metrics 258 /* This function parses an FT_Face to compute global metrics for 262 (*AF_Script_InitMetricsFunc)( AF_ScriptMetrics metrics, 266 (*AF_Script_ScaleMetricsFunc)( AF_ScriptMetrics metrics, 270 (*AF_Script_DoneMetricsFunc)( AF_ScriptMetrics metrics ); 275 AF_ScriptMetrics metrics ); 280 AF_ScriptMetrics metrics );
|
afdummy.h | 28 /* A dummy script metrics class used when no hinting should
|
/external/skia/src/ports/ |
SkHarfBuzzFont.cpp | 118 HB_GlyphMetrics* metrics) { 130 metrics->x = SkScalarToHarfbuzzFixed(bounds.fLeft); 131 metrics->y = SkScalarToHarfbuzzFixed(bounds.fTop); 132 metrics->width = SkScalarToHarfbuzzFixed(bounds.width()); 133 metrics->height = SkScalarToHarfbuzzFixed(bounds.height()); 135 metrics->xOffset = SkScalarToHarfbuzzFixed(width); 139 metrics->yOffset = 0;
|
/external/webkit/Source/WebKit/android/plugins/ |
ANPPaintInterface.cpp | 161 static float anp_getFontMetrics(ANPPaint* paint, ANPFontMetrics* metrics) { 164 if (metrics) { 165 metrics->fTop = SkScalarToFloat(fm.fTop); 166 metrics->fAscent = SkScalarToFloat(fm.fAscent); 167 metrics->fDescent = SkScalarToFloat(fm.fDescent); 168 metrics->fBottom = SkScalarToFloat(fm.fBottom); 169 metrics->fLeading = SkScalarToFloat(fm.fLeading);
|
/external/webrtc/src/modules/audio_processing/aec/main/source/ |
echo_cancellation.c | 617 WebRtc_Word32 WebRtcAec_GetMetrics(void *aecInst, AecMetrics *metrics) 628 if (metrics == NULL) { 639 metrics->erl.instant = (short) aecpc->aec->erl.instant; 644 metrics->erl.average = (short) dtmp; 647 metrics->erl.average = offsetLevel; 650 metrics->erl.max = (short) aecpc->aec->erl.max; 653 metrics->erl.min = (short) aecpc->aec->erl.min; 656 metrics->erl.min = offsetLevel; 660 metrics->erle.instant = (short) aecpc->aec->erle.instant; 665 metrics->erle.average = (short) dtmp [all...] |
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/ |
PlaybackGraphs.java | 57 protected static MetricGen[] Metrics = new MetricGen[] { 162 protected double[][] mStats = new double[Metrics.length][Stats.length]; 173 for (int metricIndex = 0; metricIndex < Metrics.length; metricIndex++) { 180 MetricGen s = Metrics[metricIndex]; 226 canvas.translate(BAR_WIDTH * Metrics.length, 0); 232 for (int metricIndex = 0; metricIndex < Metrics.length; metricIndex++) { 234 Metrics[metricIndex].getLabelId());
|
/packages/wallpapers/Basic/src/com/android/wallpaper/walkaround/ |
WalkAroundWallpaper.java | 168 final DisplayMetrics metrics = resources.getDisplayMetrics(); local 175 size.width == metrics.heightPixels && size.height == metrics.widthPixels) || 177 size.width == metrics.widthPixels && size.height == metrics.heightPixels)) { 186 if (size.width >= metrics.widthPixels && size.height >= metrics.heightPixels) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
WeightedLinearLayout.java | 58 final DisplayMetrics metrics = getContext().getResources().getDisplayMetrics(); local 59 final int screenWidth = metrics.widthPixels; 60 final boolean isPortrait = screenWidth < metrics.heightPixels;
|
/frameworks/ex/common/java/com/android/common/userhappiness/ |
UserHappinessSignals.java | 24 * Metrics for User Happiness are recorded here. Each app can define when to 25 * call these User Happiness metrics. 47 * VoiceSearch LoggingEvents and use it to aggregate VoiceIME Happiness Metrics
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldWallpaper.java | 35 DisplayMetrics metrics = new DisplayMetrics(); local 37 .getDefaultDisplay().getMetrics(metrics); 38 mDensityDPI = metrics.densityDpi;
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamWallpaper.java | 32 DisplayMetrics metrics = new DisplayMetrics(); local 34 .getDefaultDisplay().getMetrics(metrics); 35 mDensityDPI = metrics.densityDpi;
|
/external/freetype/src/cff/ |
cffgload.c | 2648 TT_SBit_MetricsRec metrics; local 2813 FT_Incremental_MetricsRec metrics; local 2854 FT_Glyph_Metrics* metrics = &glyph->root.metrics; local [all...] |
/external/chromium/chrome/browser/ui/options/ |
options_page_base.cc | 7 #include "chrome/browser/metrics/user_metrics.h"
|
/external/chromium/net/base/ |
run_all_unittests.cc | 6 #include "base/metrics/histogram.h"
|
/external/freetype/include/freetype/internal/services/ |
svpfr.h | 29 #define FT_SERVICE_ID_PFR_METRICS "pfr-metrics"
|