Searched refs:metrics (Results 26 - 50 of 707) sorted by last modified time

1234567891011>>

/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
H A Dhttpcore-4.0.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/http/ org/apache/http/protocol/ ...
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTypedValue.java47 public static float complexToDimension(int data, DisplayMetrics metrics) argument
52 metrics);
57 DisplayMetrics metrics)
62 metrics);
67 DisplayMetrics metrics)
73 metrics);
82 public static float complexToDimensionNoisy(int data, DisplayMetrics metrics) argument
84 float res = complexToDimension(data, metrics);
97 public static float applyDimension(int unit, float value, DisplayMetrics metrics) { argument
102 return value * metrics
56 complexToDimensionPixelOffset(int data, DisplayMetrics metrics) argument
66 complexToDimensionPixelSize(int data, DisplayMetrics metrics) argument
116 getDimension(DisplayMetrics metrics) argument
[all...]
H A DShadowViewConfiguration.java74 DisplayMetrics metrics = context.getResources().getDisplayMetrics();
75 float density = metrics.density;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DDisplayTest.java28 DisplayMetrics metrics = new DisplayMetrics();
30 display.getMetrics(metrics);
32 assertEquals(1.5f, metrics.density, 0.05);
33 assertEquals(DisplayMetrics.DENSITY_MEDIUM, metrics.densityDpi);
34 assertEquals(1.6f, metrics.scaledDensity, 0.05);
35 assertEquals(1024, metrics.widthPixels);
36 assertEquals(600, metrics.heightPixels);
37 assertEquals(183.0f, metrics.xdpi, 0.05);
38 assertEquals(184.0f, metrics.ydpi, 0.05);
H A DTypedValueTest.java17 DisplayMetrics metrics = new DisplayMetrics();
18 metrics.density = 0.5f;
19 float convertedValue = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 100, metrics);
/external/owasp/sanitizer/tools/emma/lib/
H A Demma.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/vladium/ com/vladium/app/ com/vladium/app/IAppVersion ...
/external/owasp/sanitizer/tools/findbugs/lib/
H A Dfindbugs.jarMETA-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd/ edu/umd/cs/ edu/ ...
/external/pdfium/core/include/fxge/
H A Dfx_freetype.h89 #define FXFT_Get_Glyph_HoriBearingX(face) ((FT_Face)face)->glyph->metrics.horiBearingX
90 #define FXFT_Get_Glyph_HoriBearingY(face) ((FT_Face)face)->glyph->metrics.horiBearingY
91 #define FXFT_Get_Glyph_Width(face) ((FT_Face)face)->glyph->metrics.width
92 #define FXFT_Get_Glyph_Height(face) ((FT_Face)face)->glyph->metrics.height
109 #define FXFT_Get_Glyph_HoriAdvance(face) ((FT_Face)face)->glyph->metrics.horiAdvance
/external/pdfium/core/include/thirdparties/freetype/freetype/
H A Dfreetype.h204 /* A structure used to model the metrics of a single glyph. The */
266 /* This structure models the metrics of a bitmap strike (i.e., a set */
420 /* transformation which is used to load and hint glyphs and metrics. */
450 /* i.e., the glyph's metrics, its image (bitmap or outline), and */
899 /* vertical metrics. Only relevant for */
1013 /* Indicates that the face contains horizontal glyph metrics. This */
1017 /* Indicates that the face contains vertical glyph metrics. This */
1105 * horizontal metrics (this is true for all font formats though).
1108 * @FT_HAS_VERTICAL can be used to check for vertical metrics.
1122 * vertical metrics (an
1412 FT_Size_Metrics metrics; /* size metrics */ member in struct:FT_SizeRec_
1626 FT_Glyph_Metrics metrics; member in struct:FT_GlyphSlotRec_
[all...]
/external/pdfium/core/include/thirdparties/freetype/freetype/internal/
H A Dftobjs.h336 /* If non-null, the interface through which glyph data and metrics */
623 /* Set the metrics according to a bitmap strike. */
629 /* Set the metrics according to a size request. */
643 /* Use the horizontal metrics to synthesize the vertical metrics. */
646 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics,
H A Dsfnt.h81 /* the common SFNT tables (head, OS/2, maxp, metrics, etc.) in the */
219 /* Get the big metrics for a given embedded bitmap. */
227 /* big_metrics :: A big SBit metrics structure for the glyph. */
236 /* If the image format uses variable metrics, the stream cursor is */
237 /* positioned just after the metrics header in the `EBDT' table on */
243 TT_SBit_Metrics metrics );
253 /* returns its metrics. */
276 /* A big sbit metrics structure for the glyph image. */
327 /* Load the metrics of a given strike. */
335 /* metrics
[all...]
H A Dtttypes.h146 /* A structure modeling the long metrics of the `hmtx' and `vmtx' */
168 /* A simple type to model the short metrics of the `hmtx' and `vmtx' */
333 /* A structure used to hold the big metrics of a given glyph bitmap */
376 /* A structure used to hold the small metrics of a given glyph bitmap */
409 /* A structure used to describe the text line metrics of a given */
496 /* metrics for each glyph bitmap. */
518 TT_SBit_MetricsRec metrics; member in struct:TT_SBit_RangeRec_
551 /* hori :: The line metrics for horizontal layouts. */
553 /* vert :: The line metrics for vertical layouts. */
629 /* hori :: The horizontal line metrics
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_font/
H A Dfpdf_font_cid.cpp1138 int pixel_size_x = ((FXFT_Face)face)->size->metrics.x_ppem;
1139 int pixel_size_y = ((FXFT_Face)face)->size->metrics.y_ppem;
/external/pdfium/core/src/fxge/Microsoft SDK/include/
H A DDWrite.h425 /// The DWRITE_FONT_METRICS structure specifies the metrics of a font face that
500 /// The DWRITE_GLYPH_METRICS structure specifies the metrics of an individual glyph.
501 /// The units depend on how the metrics are obtained.
866 /// Specifies ClearType rendering with the same metrics as aliased text. Glyphs can only
872 /// Specifies ClearType rendering with the same metrics as text rendering using GDI using a font
873 /// created with CLEARTYPE_NATURAL_QUALITY. Glyph metrics are closer to their ideal values than
977 /// Various font data such as metrics, names and glyph outlines is obtained from IDWriteFontFace.
1019 /// Obtains design units and common metrics for the font face.
1020 /// These metrics are applicable to all the glyphs within a fontface and are used by applications for layout calculations.
1023 /// The metrics returne
[all...]
/external/pdfium/core/src/fxge/android/
H A Dfpf_skiafont.cpp110 FX_INT32 x_ppem = m_Face->size->metrics.x_ppem;
111 FX_INT32 y_ppem = m_Face->size->metrics.y_ppem;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/
H A Dfreetype.h204 /* A structure used to model the metrics of a single glyph. The */
266 /* This structure models the metrics of a bitmap strike (i.e., a set */
420 /* transformation which is used to load and hint glyphs and metrics. */
450 /* i.e., the glyph's metrics, its image (bitmap or outline), and */
899 /* vertical metrics. Only relevant for */
1013 /* Indicates that the face contains horizontal glyph metrics. This */
1017 /* Indicates that the face contains vertical glyph metrics. This */
1105 * horizontal metrics (this is true for all font formats though).
1108 * @FT_HAS_VERTICAL can be used to check for vertical metrics.
1122 * vertical metrics (an
1412 FT_Size_Metrics metrics; /* size metrics */ member in struct:FT_SizeRec_
1626 FT_Glyph_Metrics metrics; member in struct:FT_GlyphSlotRec_
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/include/freetype/internal/
H A Dftobjs.h336 /* If non-null, the interface through which glyph data and metrics */
623 /* Set the metrics according to a bitmap strike. */
629 /* Set the metrics according to a size request. */
643 /* Use the horizontal metrics to synthesize the vertical metrics. */
646 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics,
H A Dsfnt.h81 /* the common SFNT tables (head, OS/2, maxp, metrics, etc.) in the */
219 /* Get the big metrics for a given embedded bitmap. */
227 /* big_metrics :: A big SBit metrics structure for the glyph. */
236 /* If the image format uses variable metrics, the stream cursor is */
237 /* positioned just after the metrics header in the `EBDT' table on */
243 TT_SBit_Metrics metrics );
253 /* returns its metrics. */
276 /* A big sbit metrics structure for the glyph image. */
327 /* Load the metrics of a given strike. */
335 /* metrics
[all...]
H A Dtttypes.h146 /* A structure modeling the long metrics of the `hmtx' and `vmtx' */
168 /* A simple type to model the short metrics of the `hmtx' and `vmtx' */
333 /* A structure used to hold the big metrics of a given glyph bitmap */
376 /* A structure used to hold the small metrics of a given glyph bitmap */
409 /* A structure used to describe the text line metrics of a given */
496 /* metrics for each glyph bitmap. */
518 TT_SBit_MetricsRec metrics; member in struct:TT_SBit_RangeRec_
551 /* hori :: The line metrics for horizontal layouts. */
553 /* vert :: The line metrics for vertical layouts. */
629 /* hori :: The horizontal line metrics
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/base/
H A Dftadvanc.c43 scale = face->size->metrics.y_scale;
45 scale = face->size->metrics.x_scale;
H A Dftobjs.c346 FT_ZERO( &slot->metrics );
548 FT_Glyph_Metrics* metrics = &slot->metrics; local
554 metrics->horiBearingX = FT_PIX_FLOOR( metrics->horiBearingX );
555 metrics->horiBearingY = FT_PIX_CEIL ( metrics->horiBearingY );
557 right = FT_PIX_CEIL( metrics->vertBearingX + metrics->width );
558 bottom = FT_PIX_CEIL( metrics
760 FT_Size_Metrics* metrics = &face->size->metrics; local
2563 ft_synthesize_vertical_metrics( FT_Glyph_Metrics* metrics, FT_Pos advance ) argument
2626 FT_Size_Metrics* metrics; local
2673 FT_Size_Metrics* metrics; local
2815 FT_Size_Metrics* metrics = &face->size->metrics; local
2869 FT_Size_Metrics* metrics = &face->size->metrics; local
[all...]
H A Dftpfr.c79 x_scale = face->size->metrics.x_scale;
80 y_scale = face->size->metrics.y_scale;
H A Dftsynth.c99 face->size->metrics.y_scale ) / 24;
142 slot->metrics.width += xstr;
143 slot->metrics.height += ystr;
144 slot->metrics.horiAdvance += xstr;
145 slot->metrics.vertAdvance += ystr;
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcf2ft.c383 FT_ASSERT( decoder->builder.face->root.size->metrics.y_ppem );
386 decoder->builder.face->root.size->metrics.y_ppem );

Completed in 1522 milliseconds

1234567891011>>