Home
last modified time | relevance | path

Searched refs:PrimitiveType (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java20 import android.text.Primitive.PrimitiveType;
27 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY;
50 assert p.type == PrimitiveType.PENALTY; in computeBreaks()
65 if (p.type == PrimitiveType.PENALTY) { in computeBreaks()
160 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) { in computeMetrics()
162 if (p.type == PrimitiveType.BOX) { in computeMetrics()
165 } else if (p.type == PrimitiveType.VARIABLE) { in computeMetrics()
191 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) { in desperateBreak()
193 if (p.type == PrimitiveType.BOX) { in desperateBreak()
196 } else if (p.type == PrimitiveType.VARIABLE) { in desperateBreak()
[all …]
DGreedyLineBreaker.java20 import android.text.Primitive.PrimitiveType;
26 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY;
58 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) { in computeBreaks()
60 if (p.type == PrimitiveType.BOX) { in computeBreaks()
63 } else if (p.type == PrimitiveType.VARIABLE) { in computeBreaks()
106 if (p.type == PrimitiveType.PENALTY && in computeBreaks()
133 } else if (p.type == PrimitiveType.WORD_BREAK) { in computeBreaks()
DStaticLayout_Delegate.java13 import android.text.Primitive.PrimitiveType;
185 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i])); in computePrimitives()
187 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i)); in computePrimitives()
195 p = PrimitiveType.PENALTY.getNewPrimitive(i, 0, 0); in computePrimitives()
197 p = PrimitiveType.WORD_BREAK.getNewPrimitive(i, 0); in computePrimitives()
202 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i])); in computePrimitives()
207 PrimitiveType.PENALTY.getNewPrimitive(length, 0, -PrimitiveType.PENALTY_INFINITY)); in computePrimitives()
DPrimitive.java24 public final @NonNull PrimitiveType type;
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { in Primitive()
43 public static enum PrimitiveType { enum in Primitive
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/
DAnnotationClass.java39 import javax.lang.model.type.PrimitiveType;
278 return new AnnotationClass(getTypeUtils().boxedClass((PrimitiveType) mTypeMirror).asType()); in box()
/frameworks/base/docs/html/training/articles/
Dperf-jni.jd249 the VM implementation, the <code>Get&lt;PrimitiveType&gt;ArrayElements</code>
367 <li><code>Release&lt;PrimitiveType&gt;ArrayElements</code>