Home
last modified time | relevance | path

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

12

/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.java230 + " leading=" + mTextMetrics.leading in onMeasure()
/frameworks/base/core/java/android/widget/
DGridLayout.java682 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
689 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
690 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
693 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
700 boolean leading1 = (horizontal && isLayoutRtl()) ? !leading : leading; in getDefaultMargin()
703 return getDefaultMargin(c, isAtEdge, horizontal, leading); in getDefaultMargin()
706 int getMargin1(View view, boolean horizontal, boolean leading) { in getMargin1() argument
709 (leading ? lp.leftMargin : lp.rightMargin) : in getMargin1()
710 (leading ? lp.topMargin : lp.bottomMargin); in getMargin1()
711 return margin == UNDEFINED ? getDefaultMargin(view, lp, horizontal, leading) : margin; in getMargin1()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dparser.cc284 string leading, trailing; in TryConsumeEndOfDeclaration() local
286 input_->NextWithComments(&trailing, &detached, &leading); in TryConsumeEndOfDeclaration()
290 leading.swap(upcoming_doc_comments_); in TryConsumeEndOfDeclaration()
294 location->AttachComments(&leading, &trailing, &detached); in TryConsumeEndOfDeclaration()
406 string* leading, string* trailing, in AttachComments() argument
411 if (!leading->empty()) { in AttachComments()
412 location_->mutable_leading_comments()->swap(*leading); in AttachComments()
Dparser.h259 void AttachComments(string* leading, string* trailing,
/frameworks/base/core/java/android/text/
DTextLine.java781 final int previousLeading = fmi.leading; in expandMetricsFromPaint()
795 fmi.leading = Math.max(fmi.leading, previousLeading); in updateMetrics()
993 previousLeading = fmi.leading; in handleReplacement()
DBoringLayout.java493 leading = 0; in reset()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java226 + mTextMetrics.leading); in drawFrame()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.proto123 // The name should be in a canonical form (e.g., leading "." is
Ddescriptor.proto749 // stripped out. For block comments, leading whitespace and an asterisk
768 // // Detached comment for corge. This is not leading or trailing comments
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/
DGPBUtilitiesTests.m65 // An inlined string (first to make sure the leading null is handled
/frameworks/base/graphics/java/android/graphics/
DPaint.java2058 public float leading; field in Paint.FontMetrics
2113 public int leading; field in Paint.FontMetricsInt
2118 " leading=" + leading; in toString()
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java629 fmi.leading = javaMetrics.getLeading(); in nGetFontMetricsInt()
1347 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/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java195 if (fmi.leading == 0) { // nothing to test in testLineMetrics_withLargeText()
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Ddescriptor.proto591 // stripped out. For block comments, leading whitespace and an asterisk
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Ddescriptor.proto591 // stripped out. For block comments, leading whitespace and an asterisk
/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/
DDoxyfile106 # as the leading text of the brief description, will be stripped from the text
DDoxyfile.orig106 # as the leading text of the brief description, will be stripped from the text
/frameworks/base/media/native/midi/include/
DDoxyfile.orig114 # as the leading text of the brief description, will be stripped from the text

12