Home
last modified time | relevance | path

Searched refs:breaks (Results 1 – 9 of 9) sorted by relevance

/frameworks/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java97 List<Integer> breaks = new ArrayList<Integer>((int) Math.ceil(length / 5d)); in nComputeLineBreaks() local
101 breaks.add(loc); in nComputeLineBreaks()
105 computePrimitives(builder.mText, builder.mWidths, length, breaks); in nComputeLineBreaks()
125 return recycle.breaks.length; in nComputeLineBreaks()
134 int length, @NonNull List<Integer> breaks) { in computePrimitives() argument
138 int breaksSize = breaks.size(); in computePrimitives()
147 while (breakIndex < breaksSize && breaks.get(breakIndex) < i) { in computePrimitives()
152 if (breakIndex < breaksSize && breaks.get(breakIndex) == i) { in computePrimitives()
DOptimizingLineBreaker.java51 breakInfo.breaks = new int[]{0}; in computeBreaks()
129 breakInfo.breaks[count] = mPrimitives.get(idx).location; in computeBreaks()
137 if (lineBreaks.breaks.length == size) { in resize()
140 int[] breaks = new int[size]; in resize() local
144 int toCopy = Math.min(size, lineBreaks.breaks.length); in resize()
145 System.arraycopy(lineBreaks.breaks, 0, breaks, 0, toCopy); in resize()
149 lineBreaks.breaks = breaks; in resize()
DGreedyLineBreaker.java165 if (lineBreaks.breaks.length != mBreaksList.size()) {
166 lineBreaks.breaks = new int[mBreaksList.size()];
173 lineBreaks.breaks[i] = b;
/frameworks/base/core/jni/
Dandroid_text_StaticLayout.cpp46 jfieldID breaks; member
101 env->SetObjectField(recycle, gLineBreaks_fieldID.breaks, recycleBreaks); in recycleCopy()
203 gLineBreaks_fieldID.breaks = GetFieldIDOrDie(env, gLineBreaks_class, "breaks", "[I"); in register_android_text_StaticLayout()
/frameworks/base/core/java/android/text/
DStaticLayout.java769 lineBreaks.breaks.length, in generate()
770 lineBreaks.breaks, in generate()
777 final int[] breaks = lineBreaks.breaks; in generate()
797 for (int j = (i == 0 ? 0 : breaks[i - 1]); j < breaks[i]; j++) { in generate()
804 breaks[remainingLineCount - 1] = breaks[breakCount - 1]; in generate()
844 while (breakIndex < breakCount && paraStart + breaks[breakIndex] < spanStart) { in generate()
848 while (breakIndex < breakCount && paraStart + breaks[breakIndex] <= spanEnd) { in generate()
849 int endPos = paraStart + breaks[breakIndex]; in generate()
1435 public int[] breaks = new int[INITIAL_SIZE];
/frameworks/support/buildSrc/
Dinit.gradle233 // since enabling coverage reports breaks the method parameter resolution in the IDE
/frameworks/base/config/
Dhiddenapi-light-greylist.txt5750 Landroid/text/StaticLayout$LineBreaks;->breaks:[I
/frameworks/support/work/integration-tests/testapp/src/main/assets/
Dadvs.txt1210 reason breaks down under them and acknowledges me to be right. Now,
Dretn.txt7173 "Such a fact must tell against the theory that the man who breaks