Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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()
H A DPointerLocationView.java263 + " leading=" + mTextMetrics.leading in onMeasure()
/aosp14/frameworks/base/core/java/android/widget/
H A DGridLayout.java706 boolean leading1 = (horizontal && isLayoutRtl()) ? !leading : leading; in getDefaultMargin()
709 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
712 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
715 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
716 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
720 private int getMargin(View view, boolean horizontal, boolean leading) { in getMargin() argument
722 return getMargin1(view, horizontal, leading); in getMargin()
728 int index = leading ? spec.span.min : spec.span.max; in getMargin()
1693 private void computeMargins(boolean leading) { in computeMargins() argument
1694 int[] margins = leading ? leadingMargins : trailingMargins; in computeMargins()
[all …]
/aosp14/frameworks/base/data/keyboards/
H A DVendor_03f6_Product_a001.idc20 # batching, leading to bad timestamps that mess up finger velocity calculations.
/aosp14/frameworks/base/mime/java-res/
H A Dvendor.mime.types16 # A line of the form (without the leading '#''):
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DPaint.java2112 public float leading; field in Paint.FontMetrics
2281 public int leading; field in Paint.FontMetricsInt
2286 " leading=" + leading; in toString()
2298 && leading == that.leading; in equals()
2303 return Objects.hash(top, ascent, descent, bottom, leading); in hashCode()
/aosp14/frameworks/base/core/java/android/text/
H A DTextLine.java975 final int previousLeading = fmi.leading; in expandMetricsFromPaint()
990 final int previousLeading = fmi.leading; in expandMetricsFromPaint()
1017 fmi.leading = Math.max(fmi.leading, previousLeading); in updateMetrics()
1231 previousLeading = fmi.leading; in handleReplacement()
H A DBoringLayout.java634 leading = 0; in reset()
/aosp14/frameworks/base/libs/hwui/jni/
H A DGraphics.cpp504 int leading = SkScalarRoundToInt(skmetrics.fLeading); in set_metrics_int() local
512 env->SetIntField(metrics, gFontMetricsInt_leading, leading); in set_metrics_int()
514 return descent - ascent + leading; in set_metrics_int()
/aosp14/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java226 + mTextMetrics.leading); in drawFrame()
/aosp14/system/core/fs_mgr/
H A DREADME.overlayfs.md124 - Backing storage will be discarded or ignored on errors, leading
/aosp14/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutTest.java195 if (fmi.leading == 0) { // nothing to test in testLineMetrics_withLargeText()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A DREADME.md319 backtrace of the underlying fastboot commands leading up the failure in this test.
/aosp14/system/core/init/
H A DREADME.md13 Lines which start with a `#` (leading whitespace allowed) are comments.
231 all cases the leading "/dev/" should be omitted, so "/dev/tty0" would be
/aosp14/frameworks/base/media/native/midi/include/
H A DDoxyfile114 # as the leading text of the brief description, will be stripped from the text
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt16094 field public float leading;
16103 field public int leading;