HomeSort by relevance Sort by last modified time
    Searched refs:ascent (Results 51 - 75 of 178) sorted by null

1 23 4 5 6 7 8

  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
FolderSpan.java 77 fm.ascent -= paddingV;
78 fm.top = fm.ascent;
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
PolyToPoly.java 57 // centering in Y, we need to measure ascent/descent first
58 float y = 64/2 - (mFontMetrics.ascent + mFontMetrics.descent)/2;
AlphaBitmap.java 57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p);
  /external/chromium_org/ppapi/c/dev/
ppb_font_dev.h 129 int32_t ascent; member in struct:PP_FontMetrics_Dev
  /external/chromium_org/ppapi/c/trusted/
ppb_browser_font_trusted.h 131 int32_t ascent; member in struct:PP_BrowserFont_Trusted_Metrics
  /frameworks/base/core/java/android/text/style/
DrawableMarginSpan.java 64 int need = ht - (v + fm.descent - fm.ascent - istartv);
  /frameworks/base/core/tests/coretests/src/android/widget/
LabelView.java 161 mAscent = (int) mTextPaint.ascent();
166 // Measure the text (beware: ascent is a negative number)
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
StringTexture.java 85 canvas.translate(0, -mMetrics.ascent);
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderDeprecatedFlexibleBox.cpp 392 LayoutUnit ascent = child->firstLineBoxBaseline(); local
393 if (ascent == -1)
394 ascent = child->height() + child->marginBottom();
395 ascent += child->marginTop();
396 LayoutUnit descent = (child->height() + child->marginHeight()) - ascent;
398 // Update our maximum ascent.
399 maxAscent = max(maxAscent, ascent);
468 LayoutUnit ascent = child->firstLineBoxBaseline(); local
469 if (ascent == -1)
470 ascent = child->height() + child->marginBottom()
    [all...]
RenderFlexibleBox.cpp 811 LayoutUnit ascent = child->firstLineBoxBaseline(); local
812 if (ascent == -1)
813 ascent = crossAxisExtentForChild(child);
814 return ascent + flowAwareMarginBeforeForChild(child);
1101 LayoutUnit ascent = marginBoxAscentForChild(child); local
1284 LayoutUnit ascent = marginBoxAscentForChild(child); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/mac/
SimpleFontDataMac.mm 211 float ascent = scaleEmToUnits(iAscent, unitsPerEm) * pointSize;
219 // and add it to the ascent.
222 ascent += floorf(((ascent + descent) * 0.15f) + 0.5f);
225 m_fontMetrics.setLineSpacing(lroundf(ascent) + lroundf(descent) + lroundf(lineGap));
252 m_fontMetrics.setAscent(ascent);
  /frameworks/base/core/java/android/text/
TextLine.java 240 float bmAscent = ascent(j);
354 float bmAscent = ascent(j);
683 final int previousAscent = fmi.ascent;
697 fmi.ascent = Math.min(fmi.ascent, previousAscent);
1000 float ascent(int pos) { method
    [all...]
BoringLayout.java 188 spacing = metrics.descent - metrics.ascent;
200 mDesc = spacing + metrics.ascent;
219 mTopPadding = metrics.top - metrics.ascent;
225 * Returns null if not boring; the width, ascent, and descent if boring.
233 * Returns null if not boring; the width, ascent, and descent if boring.
243 * Returns null if not boring; the width, ascent, and descent in the
252 * Returns null if not boring; the width, ascent, and descent in the
StaticLayout.java 286 int fmAscent = fm.ascent;
328 float wid = bm.getWidth() * -whichPaint.ascent() / bm.getHeight();
403 above = fm.ascent;
449 fitAscent = fm.ascent;
482 bufEnd, bufEnd, fm.ascent, fm.descent,
615 fm.ascent = above;
630 above = fm.ascent;
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
BoringLayoutTest.java 312 final int ascent,
321 metrics.ascent = ascent;
DynamicLayoutTest.java 119 assertEquals(fontMetricsInt.top - fontMetricsInt.ascent, dynamicLayout.getTopPadding());
  /external/chromium_org/third_party/skia/src/animator/
SkDrawPaint.cpp 23 SK_PROPERTY(ascent),
39 SK_MEMBER_PROPERTY(ascent, Float),
184 case SK_PROPERTY(ascent):
190 // should consider returning fLeading as well (or roll it into ascent/descent somehow
  /external/skia/src/animator/
SkDrawPaint.cpp 23 SK_PROPERTY(ascent),
39 SK_MEMBER_PROPERTY(ascent, Float),
184 case SK_PROPERTY(ascent):
190 // should consider returning fLeading as well (or roll it into ascent/descent somehow
  /development/samples/ApiDemos/src/com/example/android/apis/view/
LabelView.java 168 mAscent = (int) mTextPaint.ascent();
173 // Measure the text (beware: ascent is a negative number)
  /sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/
LabelView.java 167 mAscent = (int) mTextPaint.ascent();
172 // Measure the text (beware: ascent is a negative number)
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthWeekEventsView.java 407 mMonthNumAscentHeight = (int) (-mMonthNumPaint.ascent() + 0.5f);
408 mMonthNumHeight = (int) (mMonthNumPaint.descent() - mMonthNumPaint.ascent() + 0.5f);
426 mEventAscentHeight = (int) (-mEventPaint.ascent() + 0.5f);
427 mEventHeight = (int) (mEventPaint.descent() - mEventPaint.ascent() + 0.5f);
437 mExtrasHeight = (int)(mEventExtrasPaint.descent() - mEventExtrasPaint.ascent() + 0.5f);
438 mExtrasAscentHeight = (int)(-mEventExtrasPaint.ascent() + 0.5f);
458 mWeekNumAscentHeight = (int) (-mWeekNumPaint.ascent() + 0.5f);
477 Log.d("EXTRA", "mMonthNumPaint ascent=" + mMonthNumPaint.ascent()
479 Log.d("EXTRA", "mEventPaint ascent=" + mEventPaint.ascent(
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
DragImage.cpp 141 IntSize labelSize(labelFont.width(labelRun), labelFont.fontMetrics().ascent() + labelFont.fontMetrics().descent());
153 urlStringSize.setHeight(urlFont.fontMetrics().ascent() + urlFont.fontMetrics().descent());
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontFaceElement.cpp 192 // were set to the position specified by the font's ascent attribute.
195 return ascent();
214 int SVGFontFaceElement::ascent() const function in class:WebCore::SVGFontFaceElement
216 // Spec: Same syntax and semantics as the 'ascent' descriptor within an @font-face rule. The maximum
  /frameworks/base/core/jni/android/graphics/
Paint.cpp 46 jfieldID ascent; member in struct:android::JMetricsID
344 static jfloat ascent(JNIEnv* env, jobject paint) { function in class:android::SkPaintGlue
366 env->SetFloatField(metricsObj, gFontMetrics_fieldID.ascent, SkScalarToFloat(metrics.fAscent));
379 int ascent = SkScalarRound(metrics.fAscent); local
386 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.ascent, ascent);
391 return descent - ascent + leading;
    [all...]
  /packages/apps/VideoEditor/src/com/android/videoeditor/util/
ImageUtils.java 329 startYOffset - p.ascent(), p);
371 startYOffset - p.ascent(), p);
450 startYOffset - p.ascent(), p);

Completed in 9747 milliseconds

1 23 4 5 6 7 8