/frameworks/base/core/jni/android/graphics/ |
D | TextLayout.cpp | 123 size_t widths; in computeAdvancesWithICU() local 140 widths = paint->getTextWidths(text, count << 1, scalarArray); in computeAdvancesWithICU() 143 widths = paint->getTextWidths(text, count << 1, scalarArray); in computeAdvancesWithICU() 147 if (widths < count) { in computeAdvancesWithICU() 149 ALOGD("ICU -- count=%d", widths); in computeAdvancesWithICU() 156 for (size_t i = 0, p = 0; i < widths; ++i) { in computeAdvancesWithICU()
|
D | Paint.cpp | 455 … int dotextwidths(JNIEnv* env, SkPaint* paint, const jchar text[], int count, jfloatArray widths) { in dotextwidths() argument 459 if (count < 0 || !widths) { in dotextwidths() 466 size_t widthsLength = env->GetArrayLength(widths); in dotextwidths() 472 AutoJavaFloatArray autoWidths(env, widths, count); in dotextwidths() 481 …v* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jfloatArray widths) { in getTextWidths___CII_F() argument 483 count = dotextwidths(env, paint, textArray + index, count, widths); in getTextWidths___CII_F() 490 int start, int end, jfloatArray widths) { in getTextWidths__StringII_F() argument 492 int count = dotextwidths(env, paint, textArray + start, end - start, widths); in getTextWidths__StringII_F()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Paint.java | 1550 float[] widths) { in getTextWidths() argument 1555 || count > widths.length) { in getTextWidths() 1563 return native_getTextWidths(mNativePaint, text, index, count, widths); in getTextWidths() 1568 int res = native_getTextWidths(mNativePaint, text, index, count, widths); in getTextWidths() 1571 widths[i] *= mInvCompatScaling; in getTextWidths() 1587 float[] widths) { in getTextWidths() argument 1594 if (end - start > widths.length) { in getTextWidths() 1602 return getTextWidths((String) text, start, end, widths); in getTextWidths() 1606 return getTextWidths(text.toString(), start, end, widths); in getTextWidths() 1610 widths, this); in getTextWidths() [all …]
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 241 float[] widths = measured.mWidths; in generate() local 334 w += widths[j - paraStart]; in generate() 337 w += widths[j - paraStart]; in generate() 340 w += widths[j - paraStart]; in generate() 407 currentTextWidth = widths[here - paraStart]; in generate() 414 chs, widths, paraStart, ellipsize, ellipsizedWidth, in generate() 463 widths, paraStart, ellipsize, in generate() 591 float[] widths, int widthStart, TextUtils.TruncateAt ellipsize, in out() argument 702 calculateEllipsis(start, end, widths, widthStart, in out() 713 float[] widths, int widthStart, in calculateEllipsis() argument [all …]
|
D | GraphicsOperations.java | 51 public int getTextWidths(int start, int end, float[] widths, Paint p); in getTextWidths() argument
|
D | SpannableStringBuilder.java | 1179 public int getTextWidths(int start, int end, float[] widths, Paint p) { in getTextWidths() argument 1185 ret = p.getTextWidths(mText, start, end - start, widths); in getTextWidths() 1187 ret = p.getTextWidths(mText, start + mGapLength, end - start, widths); in getTextWidths() 1192 ret = p.getTextWidths(buf, 0, end - start, widths); in getTextWidths()
|
D | TextUtils.java | 1213 float[] widths = mt.mWidths; in commaEllipsize() local 1217 w += widths[i]; in commaEllipsize()
|
/frameworks/base/core/java/android/widget/ |
D | TableLayout.java | 508 final int[] widths = row.getColumnsWidths(widthMeasureSpec); in findLargestCells() local 509 final int newLength = widths.length; in findLargestCells() 515 System.arraycopy(widths, 0, mMaxWidths, 0, newLength); in findLargestCells() 527 System.arraycopy(widths, oldMaxWidths.length, in findLargestCells() 538 maxWidths[j] = Math.max(maxWidths[j], widths[j]); in findLargestCells()
|
D | TextView.java | 8683 public int getTextWidths(int start, int end, float[] widths, Paint p) { in getTextWidths() argument 8684 return p.getTextWidths(mChars, start + mStart, end - start, widths); in getTextWidths()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Paint_Delegate.java | 924 int count, float[] widths) { in native_getTextWidths() argument 941 if (widths != null) { in native_getTextWidths() 942 widths[i] = adv; in native_getTextWidths() 952 if (widths != null) { in native_getTextWidths() 953 widths[i] = 0.f; in native_getTextWidths() 966 int end, float[] widths) { in native_getTextWidths() argument 967 return native_getTextWidths(native_object, text.toCharArray(), start, end - start, widths); in native_getTextWidths()
|
/frameworks/base/docs/html/design/style/ |
D | devices-displays.jd | 16 <p>Stretch and compress your layouts to accommodate various heights and widths.</p>
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
D | RecipientEditTextView.java | 533 float[] widths = new float[1]; in createSelectedChip() local 534 paint.getTextWidths(" ", widths); in createSelectedChip() 536 calculateAvailableWidth(true) - deleteWidth - widths[0]); in createSelectedChip() 576 float[] widths = new float[1]; in createUnselectedChip() local 577 paint.getTextWidths(" ", widths); in createUnselectedChip() 579 calculateAvailableWidth(false) - iconWidth - widths[0]); in createUnselectedChip()
|
/frameworks/base/docs/html/training/design-navigation/ |
D | multiple-sizes.jd | 66 …uch as <code>large</code>/<code>xlarge</code>) or varying minimum screen widths (such as <code>sw6… 81 …content in each pane in the portrait orientation. Panes could have fixed widths or take a certain …
|
/frameworks/base/docs/html/distribute/googleplay/quality/ |
D | tablet.jd | 130 <li>Use padding to manage the widths of onscreen elements or switch to a 196 <code>large</code>/<code>xlarge</code>) or minimum screen widths (such as
|
/frameworks/base/docs/html/guide/practices/ui_guidelines/ |
D | widget_design.jd | 175 some text margins. Your minimum width should be the minimum usable widths of the
|
/frameworks/base/docs/html/training/basics/firstapp/ |
D | building-ui.jd | 283 android.widget.Button} widgets have their widths set to
|
/frameworks/base/docs/html/tools/sdk/ |
D | eclipse-adt.jd | 942 In LinearLayout, sizes are mapped to weights instead of pixel widths.
|
/frameworks/base/tests/DumpRenderTree/assets/results/ |
D | layout_tests_nontext.txt | 2236 /sdcard/android/layout_tests/fast/forms/text-control-intrinsic-widths.html 2293 /sdcard/android/layout_tests/fast/forms/select-dirty-parent-pref-widths.html 2500 /sdcard/android/layout_tests/fast/table/percent-widths-stretch.html
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 793 numbers for typical screen widths:</p>
|