Searched refs:PrimitiveType (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | OptimizingLineBreaker.java | 20 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 …]
|
D | GreedyLineBreaker.java | 20 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()
|
D | StaticLayout_Delegate.java | 13 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()
|
D | Primitive.java | 24 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/ |
D | AnnotationClass.java | 39 import javax.lang.model.type.PrimitiveType; 278 return new AnnotationClass(getTypeUtils().boxedClass((PrimitiveType) mTypeMirror).asType()); in box()
|
/frameworks/base/docs/html/training/articles/ |
D | perf-jni.jd | 249 the VM implementation, the <code>Get<PrimitiveType>ArrayElements</code> 367 <li><code>Release<PrimitiveType>ArrayElements</code>
|