Home
last modified time | relevance | path

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

12

/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java623 private float constrainEdgeValue(float current, float leading) { in constrainEdgeValue() argument
624 if (leading == 0) { in constrainEdgeValue()
631 if (current < leading) { in constrainEdgeValue()
634 return 1f - current / leading; in constrainEdgeValue()
644 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/base/core/java/android/widget/
DGridLayout.java650 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
657 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
658 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
661 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
668 boolean leading1 = (horizontal && isLayoutRtl()) ? !leading : leading; in getDefaultMargin()
671 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
674 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
677 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
678 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
679 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; in getMargin1()
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java637 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
644 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
645 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
648 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
655 boolean leading1 = (horizontal && isLayoutRtlCompat()) ? !leading : leading; in getDefaultMargin()
658 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
661 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
664 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
665 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
666 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; in getMargin1()
[all …]
/frameworks/base/core/java/android/text/
DTextLine.java689 final int previousLeading = fmi.leading; in expandMetricsFromPaint()
703 fmi.leading = Math.max(fmi.leading, previousLeading); in updateMetrics()
839 previousLeading = fmi.leading; in handleReplacement()
/frameworks/base/core/jni/android/graphics/
DPaint.cpp59 jfieldID leading; member
547 … env->SetFloatField(metricsObj, gFontMetrics_fieldID.leading, SkScalarToFloat(metrics.fLeading)); in getFontMetrics()
559 int leading = SkScalarRoundToInt(metrics.fLeading); in getFontMetricsInt() local
567 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.leading, leading); in getFontMetricsInt()
569 return descent - ascent + leading; in getFontMetricsInt()
1202 gFontMetrics_fieldID.leading = GetFieldIDOrDie(env, gFontMetrics_class, "leading", "F"); in register_android_graphics_Paint()
1211 gFontMetricsInt_fieldID.leading = GetFieldIDOrDie(env, gFontMetricsInt_class, "leading", "I"); in register_android_graphics_Paint()
/frameworks/base/docs/html/training/design-navigation/
Dscreen-planning.jd70 …reen map. A simplistic user interface could consist of lists and buttons leading to child screens:…
73 <li>Buttons leading to different sections (e.g., stories, photos, saved items)</li>
Ddescendant-lateral.jd98 … a piece of content with this kind of navigation is generally very high, leading to a poor user ex…
/frameworks/base/docs/html/distribute/monetize/
Dads.jd36 <li>Industry-leading mediation platform
59 Earn more with our industry-leading ad service, which includes <a href=
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java218 + mTextMetrics.leading); in drawFrame()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java128 if (fmi.leading == 0) { // nothing to test in testGetters5()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1402 public float leading; field in Paint.FontMetrics
1435 public int leading; field in Paint.FontMetricsInt
1440 " leading=" + leading; in toString()
/frameworks/base/docs/html/training/displaying-bitmaps/
Dindex.jd45 consume your available memory budget leading to an application crash due to the dreaded
/frameworks/base/docs/html/distribute/googleplay/work/
Dabout.jd70 …strictions</a> so that IT admins can remotely configure your app through leading EMM solutions.</l…
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java594 fmi.leading = javaMetrics.getLeading(); in getFontMetricsInt()
1315 metrics.leading = javaMetrics.getLeading(); in getFontMetrics()
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dpausing.jd111 leading up to the Resumed state.</p>
Dstopping.jd114 created during any of the callback methods leading up to the Resumed state. The system also
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt41 performance tuning, often leading to occasional pauses in otherwise smooth
/frameworks/base/docs/html/training/app-indexing/
Ddeep-linking.jd68 &lt;!-- note that the leading "/" is required for pathPrefix--&gt;
/frameworks/compile/mclinker/include/mcld/Config/
DConfig.h.cmake554 /* Define if dlsym() requires a leading underscore in symbol names. */
/frameworks/rs/api/
Drs_math.spec419 summary: Number of leading 0 bits
421 Returns the number of leading 0-bits in a value.
/frameworks/rs/scriptc/
Drs_math.rsh782 * clz: Number of leading 0 bits
784 * Returns the number of leading 0-bits in a value.
/frameworks/base/docs/html/tools/testing/
Dactivity_test.jd86 …ndroid testing tools by presenting a simple Android application and then leading you step-by-step …
/frameworks/wilhelm/doc/
DDoxyfile81 # in this list, if found as the leading text of the brief description, will be

12