Searched refs:DEFAULT_CAPACITY (Results 1 – 6 of 6) sorted by relevance
22 private static final int DEFAULT_CAPACITY = 48; field in ResizableIntArrayTests25 final ResizableIntArray src = new ResizableIntArray(DEFAULT_CAPACITY); in testNewInstance()29 assertEquals("new instance array length", DEFAULT_CAPACITY, array.length); in testNewInstance()33 final ResizableIntArray src = new ResizableIntArray(DEFAULT_CAPACITY); in testAdd()36 final int limit = DEFAULT_CAPACITY * 2 + 10; in testAdd()40 if (i == DEFAULT_CAPACITY) { in testAdd()43 if (i == DEFAULT_CAPACITY * 2) { in testAdd()46 if (i < DEFAULT_CAPACITY) { in testAdd()48 } else if (i < DEFAULT_CAPACITY * 2) { in testAdd()50 } else if (i < DEFAULT_CAPACITY * 3) { in testAdd()[all …]
24 private static final int DEFAULT_CAPACITY = 48; field in InputPointersTests27 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testNewInstance()36 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testReset()51 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testAdd()66 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testAddAt()81 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testSet()86 final InputPointers dst = new InputPointers(DEFAULT_CAPACITY); in testSet()96 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testCopy()101 final InputPointers dst = new InputPointers(DEFAULT_CAPACITY); in testCopy()120 final InputPointers src = new InputPointers(DEFAULT_CAPACITY); in testAppend()[all …]
30 public static final int DEFAULT_CAPACITY = 128; field in GestureStroke33 private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);34 private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);35 private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);
30 private static final int DEFAULT_CAPACITY = GestureStrokeWithPreviewPoints.PREVIEW_CAPACITY; field in GesturePreviewTrail32 private final ResizableIntArray mXCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);33 private final ResizableIntArray mYCoordinates = new ResizableIntArray(DEFAULT_CAPACITY);34 private final ResizableIntArray mEventTimes = new ResizableIntArray(DEFAULT_CAPACITY);
33 private static final int DEFAULT_CAPACITY = 16; field in ListSuggestionCursor44 this(userQuery, DEFAULT_CAPACITY); in ListSuggestionCursor()
177 GestureStroke.DEFAULT_CAPACITY);