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

1 2 3 4 5 6

  /frameworks/base/core/tests/coretests/src/android/text/
StaticLayoutTest.java 51 fmi.ascent, fmi.descent);
65 * Top and bottom padding are affected, as is the line descent and height.
74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
80 * Ascent of top line and descent of bottom line are affected.
90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
91 fmi.top, fmi.descent,
97 * First line ascent is top, bottom line descent is bottom.
108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent,
109 fmi.top, fmi.descent,
110 fmi.ascent, fmi.descent,
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_FontMetricsIntTest.java 48 int descent = 3; local
55 fontMetricsInt.descent = descent;
PaintTest.java 907 assertEquals(2.8300781f, fm.descent);
918 assertEquals(5.6601562f, fm.descent);
928 assertEquals(5.6601562f, fm.descent);
948 assertEquals(2.8300781f, fm.descent);
957 assertEquals(5.6601562f, fm.descent);
966 assertEquals(5.6601562f, fm.descent);
1052 method = "descent",
1058 assertEquals(2.8300781f, p.descent());
1061 assertEquals(2.3583984f, p.descent());
1064 assertEquals(2.3583984f, p.descent());
    [all...]
  /external/webkit/WebCore/platform/wx/wxcode/mac/carbon/
fontprops.mm 39 void (*wkGetFontMetrics)(CGFontRef, int* ascent, int* descent, int* lineGap, unsigned* unitsPerEm);
109 wxCoord *descent, wxCoord *externalLeading )
115 wxDouble width, height, descent, externalLeading;
117 gc->GetTextExtent(str, &e.width, &e.height, &e.descent, &e.externalLeading);
122 if ( descent )
123 *descent = wxCoord(e.descent + .5);
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
TypefaceTest.java 76 float descent = 0; local
82 descent = fm.descent;
85 assertTrue("fontMetrics", fm.descent == descent);
  /external/webkit/WebCore/platform/wx/wxcode/gtk/
fontprops.cpp 55 m_descent = static_cast<int>(font_extents.descent);
103 wxCoord *descent, wxCoord *externalLeading )
109 if ( descent )
110 *descent = 0;
117 // FIXME: Doesn't support height, descent or external leading, though we don't need this for WebKit
160 if (descent)
165 *descent = h - PANGO_PIXELS(baseline);
  /frameworks/base/core/java/android/text/style/
IconMarginSpan.java 61 int need = ht - (v + fm.descent - fm.ascent - istartv);
63 fm.descent += need;
DrawableMarginSpan.java 67 int need = ht - (v + fm.descent - fm.ascent - istartv);
69 fm.descent += need;
DynamicDrawableSpan.java 85 fm.descent = 0;
103 transY -= paint.getFontMetricsInt().descent;
  /external/webkit/WebKit/win/
WebKitGraphics.cpp 132 void FontMetrics(const WebFontDescription& description, int* ascent, int* descent, int* lineSpacing)
134 if (!ascent && !descent && !lineSpacing)
142 if (descent)
143 *descent = font.descent();
  /external/icu4c/samples/layout/
FontMap.cpp 260 le_int32 ascent, descent, leading; local
271 descent = fFontInstances[i]->getDescent();
278 if (descent > fDescent) {
279 fDescent = descent;
paragraph.cpp 88 le_int32 descent = 0; local
133 if (pDescent > descent) {
134 descent = pDescent;
156 fLineHeight = ascent + descent + leading;
pflow.c 112 le_int32 descent = 0; local
190 if (pDescent > descent) {
191 descent = pDescent;
213 flow->fLineHeight = ascent + descent + leading;
  /external/webkit/WebCore/svg/
SVGFontFaceElement.cpp 237 int SVGFontFaceElement::descent() const function in class:WebCore::SVGFontFaceElement
239 // Spec: Same syntax and semantics as the 'descent' descriptor within an @font-face rule. The maximum
244 // 14 different W3C SVG 1.1 testcases use a negative descent value,
247 int descent = static_cast<int>(ceilf(descentValue.toFloat())); local
248 return descent < 0 ? -descent : descent;
SVGFontFaceElement.h 54 int descent() const;
  /packages/apps/Gallery3D/src/com/cooliris/media/
StringTexture.java 174 int descent = metrics.descent + padding; local
185 int height = descent - ascent;
196 : ((config.yalignment == Config.ALIGN_BOTTOM) ? (backHeight - descent)
197 : ((int) backHeight - (descent + ascent)) / 2);
  /frameworks/base/core/jni/android/graphics/
Paint.cpp 40 jfieldID descent; member in struct:android::JMetricsID
276 static jfloat descent(JNIEnv* env, jobject paint) { function in class:android::SkPaintGlue
292 env->SetFloatField(metricsObj, gFontMetrics_fieldID.descent, SkScalarToFloat(metrics.fDescent));
305 int descent = SkScalarRound(metrics.fDescent); local
312 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.descent, descent);
316 return descent - ascent + leading;
569 {"descent","()F", (void*) SkPaintGlue::descent},
600 gFontMetrics_fieldID.descent = req_fieldID(env->GetFieldID(gFontMetrics_class, "descent", "F"))
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PolyToPoly.java 58 // centering in Y, we need to measure ascent/descent first
59 float y = 64/2 - (mFontMetrics.ascent + mFontMetrics.descent)/2;
  /external/webkit/WebCore/platform/graphics/gtk/
SimpleFontDataGtk.cpp 52 m_descent = static_cast<int>(lroundf(font_extents.descent));
56 // cairo report a height smaller than ascent + descent, which is
  /external/skia/src/animator/
SkDrawPaint.cpp 32 SK_PROPERTY(descent)
49 SK_MEMBER_PROPERTY(descent, Float),
195 case SK_PROPERTY(descent):
198 // should consider returning fLeading as well (or roll it into ascent/descent somehow
  /external/webkit/WebCore/platform/graphics/qt/
SimpleFontDataQt.cpp 46 m_descent = fm.descent();
  /external/webkit/WebCore/platform/wx/wxcode/
fontprops.h 30 wxCoord *descent = NULL, wxCoord *externalLeading = NULL );
  /external/webkit/WebCore/platform/wx/wxcode/win/
fontprops.cpp 110 wxCoord *descent, wxCoord *externalLeading )
170 if (descent)
171 *descent = tm.tmDescent;
  /frameworks/base/core/java/android/content/res/
StringBlock.java 311 * the ascent if possible, or the descent if shrinking the ascent further
359 if (size - fm.descent >= need) {
365 fm.ascent = fm.descent - size;
368 * We can't show all the descent, but we can at least
373 fm.bottom = fm.descent = fm.top + size;
376 * Show as much of the ascent as we can, and no descent.
380 fm.bottom = fm.descent = 0;
  /external/icu4c/layoutex/layout/
playout.h 182 * Return the max descent value for all the fonts
276 * Get the descent of the line. This is the maximum descent
281 * @return the descent of the line.
438 * A convenience method which returns the descent value for the font
443 * @return the descent value of this run's font.

Completed in 623 milliseconds

1 2 3 4 5 6