/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 57 * configured, grid index {@code 0} is fixed to the leading edge of the 600 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument 607 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { argument 608 return isAtEdge ? DEFAULT_CONTAINER_MARGIN : getDefaultMargin(c, horizontal, leading); 611 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { argument 618 boolean leading1 = (horizontal && isLayoutRtl()) ? !leading : leading; 621 return getDefaultMargin(c, isAtEdge, horizontal, leading); 624 int getMargin1(View view, boolean horizontal, boolean leading) { argument 627 (leading 632 getMargin(View view, boolean horizontal, boolean leading) argument 1602 computeMargins(boolean leading) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 57 * configured, grid index {@code 0} is fixed to the leading edge of the 580 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument 587 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { argument 588 return isAtEdge ? DEFAULT_CONTAINER_MARGIN : getDefaultMargin(c, horizontal, leading); 591 private int getDefaultMarginValue(View c, LayoutParams p, boolean horizontal, boolean leading) { argument 598 boolean leading1 = (horizontal && isLayoutRtl(this)) ? !leading : leading; 601 return getDefaultMargin(c, isAtEdge, horizontal, leading); 604 int getMargin1(View view, boolean horizontal, boolean leading) { argument 607 (leading 612 getMargin(View view, boolean horizontal, boolean leading) argument 1537 computeMargins(boolean leading) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 49 jfieldID leading; member in struct:android::JMetricsID 361 env->SetFloatField(metricsObj, gFontMetrics_fieldID.leading, SkScalarToFloat(metrics.fLeading)); 373 int leading = SkScalarRound(metrics.fLeading); local 381 env->SetIntField(metricsObj, gFontMetricsInt_fieldID.leading, leading); 383 return descent - ascent + leading; 921 gFontMetrics_fieldID.leading = req_fieldID(env->GetFieldID(gFontMetrics_class, "leading", "F")); 931 gFontMetricsInt_fieldID.leading = req_fieldID(env->GetFieldID(gFontMetricsInt_class, "leading", " [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 185 * @param x the leading margin position 276 * before offset, false to measure the leading edge of the character 280 * @return the signed offset from the leading margin to the requested 376 * @param x the position of the run that is closest to the leading margin 409 * @return the signed width from the start of the run to the leading edge 434 // 1) The caret marks the leading edge of a character. The character 686 final int previousLeading = fmi.leading; 700 fmi.leading = Math.max(fmi.leading, previousLeading); 712 * @param x the edge of the run closest to the leading margi [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | StaticLayoutTest.java | 116 * large text. See effect of leading. Currently, we don't expect there to 117 * even be non-zero leading. 128 if (fmi.leading == 0) { // nothing to test 129 Log.i("TG5", "leading is 0, skipping test"); 133 // So far, leading is not used, so this is the same as TG4. If we start 134 // using leading, this will fail.
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 1209 public float leading; field in class:Paint.FontMetrics 1242 public int leading; field in class:Paint.FontMetricsInt 1247 " leading=" + leading;
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Paint_Delegate.java | 561 fmi.leading = javaMetrics.getLeading(); 1253 metrics.leading = javaMetrics.getLeading();
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 179 + " leading=" + mTextMetrics.leading
|