/frameworks/base/core/java/android/content/res/ |
StringBlock.java | 396 * the ascent if possible, or the descent if shrinking the ascent further 444 if (size - fm.descent >= need) { 450 fm.ascent = fm.descent - size; 453 * We can't show all the descent, but we can at least 458 fm.bottom = fm.descent = fm.top + size; 461 * Show as much of the ascent as we can, and no descent. 465 fm.bottom = fm.descent = 0;
|
/frameworks/base/core/java/android/text/ |
StaticLayout.java | 287 int fmDescent = fm.descent; 404 below = fm.descent; 450 fitDescent = fm.descent; 480 bufEnd, bufEnd, fm.ascent, fm.descent, 614 fm.descent = below; 629 below = fm.descent; 668 lines[off + DESCENT] = below + extra; 858 int descent = mLines[mColumns * line + DESCENT]; local [all...] |
BoringLayout.java | 188 spacing = metrics.descent - metrics.ascent; 220 mBottomPadding = metrics.bottom - metrics.descent; 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
|
/sdk/testapps/customViewTest/libWithCustomView/src/com/android/tests/libwithcustom/ |
LabelView.java | 173 result = (int) (-mAscent + mTextPaint.descent()) + getPaddingTop()
|
/external/icu4c/layoutex/ |
ParagraphLayout.cpp | 829 le_int32 descent = font->getDescent(); local 831 le_int32 dl = descent + leading; 837 if (descent > fDescent) { 838 fDescent = descent; 1240 le_int32 descent = fRuns[i]->getDescent(); local [all...] |
/frameworks/base/core/jni/android/graphics/ |
Paint.cpp | 47 jfieldID descent; member in struct:android::JMetricsID 343 static jfloat descent(JNIEnv* env, jobject paint) { function in class:android::SkPaintGlue 359 env->SetFloatField(metricsObj, gFontMetrics_fieldID.descent, SkScalarToFloat(metrics.fDescent)); 372 int descent = SkScalarRound(metrics.fDescent); local 379 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.descent, descent); 383 return descent - ascent + leading; [all...] |
/packages/apps/VideoEditor/src/com/android/videoeditor/util/ |
ImageUtils.java | 322 startYOffset - p.descent(), p); 364 startYOffset - p.descent(), p); 443 startYOffset - p.descent(), p);
|
/cts/tests/tests/text/src/android/text/cts/ |
DynamicLayoutTest.java | 120 assertEquals(fontMetricsInt.bottom - fontMetricsInt.descent,
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorFilters.java | 91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f;
|
/external/icu4c/samples/layout/ |
sfnt.h | 189 le_int16 descent; member in struct:HHEATable
|
/external/icu4c/test/letest/ |
FontObject.h | 152 le_int16 descent; member in struct:HHEATable
|
sfnt.h | 326 le_int16 descent; member in struct:HHEATable
|
/external/skia/legacy/src/ports/ |
SkFontHost_mac_atsui.cpp | 290 dst->fDescent = SkFloatToScalar(src.descent); 291 dst->fBottom = SkFloatToScalar(src.descent); 376 pts[2].set(0, -SkFloatToScalar(metrics.descent)); 377 pts[3].set(0, -SkFloatToScalar(metrics.descent));
|
/external/skia/src/ports/ |
SkFontHost_mac_atsui.cpp | 290 dst->fDescent = SkFloatToScalar(src.descent); 291 dst->fBottom = SkFloatToScalar(src.descent); 376 pts[2].set(0, -SkFloatToScalar(metrics.descent)); 377 pts[3].set(0, -SkFloatToScalar(metrics.descent));
|
/external/webkit/Source/WebCore/platform/graphics/mac/ |
FontComplexTextMac.cpp | 115 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
FontWin.cpp | 131 glyphOverflow->bottom = max<int>(glyphOverflow->bottom, ceilf(controller.maxGlyphBoundingBoxY()) - (glyphOverflow->computeBounds ? 0 : fontMetrics().descent()));
|
/external/webkit/Source/WebCore/rendering/ |
RootInlineBox.h | 136 void ascentAndDescentForBox(InlineBox*, GlyphOverflowAndFallbackFontsMap&, int& ascent, int& descent, bool& affectsAscent, bool& affectsDescent) const;
|
InlineFlowBox.cpp | 483 // The primary purpose of this function is to compute the maximal ascent and descent values for 497 // part of the box (EXCLUDING leading) is above (for ascent) or below (for descent) the root box's baseline. 505 int descent = 0; local 506 rootBox->ascentAndDescentForBox(rootBox, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent); 512 if (maxDescent < descent || !setMaxDescent) { 513 maxDescent = descent; 537 int descent = 0; local 538 rootBox->ascentAndDescentForBox(curr, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent); 540 int boxHeight = ascent + descent; 550 // if our box (excluding line-height) was above (for ascent) or below (for descent) the root baseline, once you factor in line-heigh [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
AmPmCirclesView.java | 190 int textYCenter = mAmPmYCenter - (int) (mPaint.descent() + mPaint.ascent()) / 2;
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
MonthWeekEventsView.java | 408 mMonthNumHeight = (int) (mMonthNumPaint.descent() - mMonthNumPaint.ascent() + 0.5f); 427 mEventHeight = (int) (mEventPaint.descent() - mEventPaint.ascent() + 0.5f); 437 mExtrasHeight = (int)(mEventExtrasPaint.descent() - mEventExtrasPaint.ascent() + 0.5f); 439 mExtrasDescent = (int)(mEventExtrasPaint.descent() + 0.5f); 478 + " descent=" + mMonthNumPaint.descent() + " int height=" + mMonthNumHeight); 480 + " descent=" + mEventPaint.descent() + " int height=" + mEventHeight 483 + " descent=" + mEventExtrasPaint.descent() + " int height=" + mExtrasHeight) [all...] |
/frameworks/base/core/java/android/widget/ |
LinearLayout.java | 1134 final int descent = Math.max(maxDescent[INDEX_FILL], local 1290 final int descent = Math.max(maxDescent[INDEX_FILL], local 1646 int descent = child.getMeasuredHeight() - childBaseline; local [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
ShortcutIntentBuilder.java | 396 final int textBandHeight = (fmi.descent - fmi.ascent) + textPadding * 2; 406 - fmi.descent - textPadding, textPaint);
|
/external/harfbuzz_ng/src/hb-icu-le/ |
PortableFontInstance.cpp | 49 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent));
|
sfnt.h | 329 le_int16 descent; member in struct:HHEATable
|
/external/webkit/Source/WebCore/platform/wx/wxcode/gtk/ |
non-kerned-drawing.cpp | 238 float height = font->ascent() - font->descent();
|