/frameworks/base/core/java/android/text/ |
H A D | GraphicsOperations.java | 24 * Please implement this interface if your CharSequence can do quick draw/measure/widths 50 public int getTextWidths(int start, int end, float[] widths, Paint p); argument
|
H A D | SpannableStringBuilder.java | 1485 public int getTextWidths(int start, int end, float[] widths, Paint p) { argument 1491 ret = p.getTextWidths(mText, start, end - start, widths); 1493 ret = p.getTextWidths(mText, start + mGapLength, end - start, widths); 1498 ret = p.getTextWidths(buf, 0, end - start, widths);
|
H A D | StaticLayout.java | 620 FloatArray widths = new FloatArray(); 747 widths.resize(chs.length); 771 lineBreaks.widths, 775 widths.getRawArray()); 778 final float[] lineWidths = lineBreaks.widths; 798 width += widths.get(j); 863 includepad, trackpad, addLastLineSpacing, chs, widths.getRawArray(), 917 final boolean addLastLineLineSpacing, final char[] chs, final float[] widths, 975 calculateEllipsis(start, end, widths, widthStart, 1059 float[] widths, in 912 out(final CharSequence text, final int start, final int end, int above, int below, int top, int bottom, int v, final float spacingmult, final float spacingadd, final LineHeightSpan[] chooseHt, final int[] chooseHtv, final Paint.FontMetricsInt fm, final int flags, final boolean needMultiply, @NonNull final MeasuredParagraph measured, final int bufEnd, final boolean includePad, final boolean trackPad, final boolean addLastLineLineSpacing, final char[] chs, final float[] widths, final int widthStart, final TextUtils.TruncateAt ellipsize, final float ellipsisWidth, final float textWidth, final TextPaint paint, final boolean moreChars) argument 1058 calculateEllipsis(int lineStart, int lineEnd, float[] widths, int widthStart, float avail, TextUtils.TruncateAt where, int line, float textWidth, TextPaint paint, boolean forceEllipsis) argument 1436 public float[] widths = new float[INITIAL_SIZE]; field in class:StaticLayout.LineBreaks [all...] |
/frameworks/minikin/include/minikin/ |
H A D | LineBreaker.h | 101 std::vector<float> widths; member in struct:minikin::LineBreakResult 111 std::reverse(widths.begin(), widths.end());
|
H A D | MeasuredText.h | 160 // Character widths. 161 std::vector<float> widths; member in class:minikin::MeasuredText 178 return sizeof(float) * widths.size() + sizeof(MinikinExtent) * extents.size() + 200 : widths(textBuf.size()), extents(textBuf.size()), runs(std::move(runs)) {
|
/frameworks/base/core/jni/ |
H A D | android_text_StaticLayout.cpp | 47 jfieldID widths; member in struct:android::JLineBreaksID 102 env->SetObjectField(recycle, gLineBreaks_fieldID.widths, recycleWidths); 109 env->SetFloatArrayRegion(recycleWidths, 0, nBreaks, result.widths.data()); 151 env->SetFloatArrayRegion(charWidths, 0, measuredText->widths.size(), 152 measuredText->widths.data()); 204 gLineBreaks_fieldID.widths = GetFieldIDOrDie(env, gLineBreaks_class, "widths", "[F");
|
/frameworks/layoutlib/bridge/src/android/text/ |
H A D | MeasuredParagraph_Delegate.java | 133 float[] widths, int bidiFlags) { 137 widths, 0, false); 132 measureText(long nativePaint, char[] text, int index, int count, float[] widths, int bidiFlags) argument
|
H A D | StaticLayout_Delegate.java | 133 private static List<Primitive> computePrimitives(@NonNull char[] text, @NonNull float[] widths, argument 143 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i])); 151 if (widths[i] != 0) { 160 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i]));
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 2125 * Return the advance widths for the characters in the string. 2130 * @param widths array to receive the advance widths of the characters. 2132 * @return the actual number of widths returned. 2135 float[] widths) { 2140 || count > widths.length) { 2148 nGetTextAdvances(mNativePaint, text, index, count, index, count, mBidiFlags, widths, 0); 2154 nGetTextAdvances(mNativePaint, text, index, count, index, count, mBidiFlags, widths, 0); 2157 widths[i] *= mInvCompatScaling; 2163 * Return the advance widths fo 2134 getTextWidths(char[] text, int index, int count, float[] widths) argument 2172 getTextWidths(CharSequence text, int start, int end, float[] widths) argument 2216 getTextWidths(String text, int start, int end, float[] widths) argument 2253 getTextWidths(String text, float[] widths) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 10931 final float[] widths = new float[offsetEnd - offsetStart]; 10932 mLayout.getPaint().getTextWidths(mTransformed, offsetStart, offsetEnd, widths); 10936 final float charWidth = widths[offset - offsetStart]; 12312 public int getTextWidths(int start, int end, float[] widths, Paint p) { argument 12313 return p.getTextWidths(mChars, start + mStart, end - start, widths);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |