Home
last modified time | relevance | path

Searched refs:leading (Results 1 – 23 of 23) sorted by relevance

/frameworks/support/core-ui/java/android/support/v4/widget/
DAutoScrollHelper.java622 private float constrainEdgeValue(float current, float leading) { in constrainEdgeValue() argument
623 if (leading == 0) { in constrainEdgeValue()
630 if (current < leading) { in constrainEdgeValue()
633 return 1f - current / leading; in constrainEdgeValue()
643 return current / -leading; in constrainEdgeValue()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java622 private float constrainEdgeValue(float current, float leading) { in constrainEdgeValue() argument
623 if (leading == 0) { in constrainEdgeValue()
630 if (current < leading) { in constrainEdgeValue()
633 return 1f - current / leading; in constrainEdgeValue()
643 return current / -leading; in constrainEdgeValue()
DPointerLocationView.java200 + " leading=" + mTextMetrics.leading in onMeasure()
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java643 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
650 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
651 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
654 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
661 boolean leading1 = (horizontal && isLayoutRtlCompat()) ? !leading : leading; in getDefaultMargin()
664 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
667 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
670 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
671 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
672 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; in getMargin1()
[all …]
/frameworks/base/core/java/android/widget/
DGridLayout.java659 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
666 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
667 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
670 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
677 boolean leading1 = (horizontal && isLayoutRtl()) ? !leading : leading; in getDefaultMargin()
680 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
683 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
686 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
687 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
688 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; in getMargin1()
[all …]
/frameworks/base/core/jni/android/graphics/
DPaint.cpp59 jfieldID leading; member
612 … env->SetFloatField(metricsObj, gFontMetrics_fieldID.leading, SkScalarToFloat(metrics.fLeading)); in getFontMetrics()
624 int leading = SkScalarRoundToInt(metrics.fLeading); in getFontMetricsInt() local
632 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.leading, leading); in getFontMetricsInt()
634 return descent - ascent + leading; in getFontMetricsInt()
1087 gFontMetrics_fieldID.leading = GetFieldIDOrDie(env, gFontMetrics_class, "leading", "F"); in register_android_graphics_Paint()
1096 gFontMetricsInt_fieldID.leading = GetFieldIDOrDie(env, gFontMetricsInt_class, "leading", "I"); in register_android_graphics_Paint()
/frameworks/base/core/java/android/text/
DTextLine.java681 final int previousLeading = fmi.leading; in expandMetricsFromPaint()
695 fmi.leading = Math.max(fmi.leading, previousLeading); in updateMetrics()
833 previousLeading = fmi.leading; in handleReplacement()
DBoringLayout.java421 leading = 0; in reset()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java226 + mTextMetrics.leading); in drawFrame()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1693 public float leading; field in Paint.FontMetrics
1745 public int leading; field in Paint.FontMetricsInt
1750 " leading=" + leading; in toString()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java129 if (fmi.leading == 0) { // nothing to test in testGetters5()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java603 fmi.leading = javaMetrics.getLeading(); in nGetFontMetricsInt()
1303 metrics.leading = javaMetrics.getLeading(); in getFontMetrics()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt41 performance tuning, often leading to occasional pauses in otherwise smooth
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake554 /* Define if dlsym() requires a leading underscore in symbol names. */
/frameworks/rs/script_api/
Drs_math.spec575 summary: Number of leading 0 bits
577 Returns the number of leading 0-bits in a value.
/frameworks/rs/script_api/include/
Drs_math.rsh1077 * clz: Number of leading 0 bits
1079 * Returns the number of leading 0-bits in a value.
/frameworks/wilhelm/doc/
DDoxyfile81 # in this list, if found as the leading text of the brief description, will be
/frameworks/native/docs/
DDoxyfile95 # in this list, if found as the leading text of the brief description, will be
/frameworks/av/media/libaaudio/
DDoxyfile.orig106 # as the leading text of the brief description, will be stripped from the text
DDoxyfile106 # as the leading text of the brief description, will be stripped from the text
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11091 field public float leading;
11100 field public int leading;
/frameworks/base/api/
Dcurrent.txt13319 field public float leading;
13328 field public int leading;
Dsystem-current.txt14099 field public float leading;
14108 field public int leading;