HomeSort by relevance Sort by last modified time
    Searched refs:getNewPrimitive (Results 1 - 2 of 2) sorted by null

  /frameworks/base/tools/layoutlib/bridge/src/android/text/
Primitive.java 34 * Use {@code PrimitiveType#getNewPrimitive()}
69 public Primitive getNewPrimitive(int location) {
74 public Primitive getNewPrimitive(int location, float value) {
83 public Primitive getNewPrimitive(int location, float width, float penalty) {
StaticLayout_Delegate.java 186 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i]));
188 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i));
196 p = PrimitiveType.PENALTY.getNewPrimitive(i, 0, 0);
198 p = PrimitiveType.WORD_BREAK.getNewPrimitive(i, 0);
203 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i]));
208 PrimitiveType.PENALTY.getNewPrimitive(length, 0, -PrimitiveType.PENALTY_INFINITY));

Completed in 216 milliseconds