Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DResizableIntArrayTests.java22 private static final int DEFAULT_CAPACITY = 48; field in ResizableIntArrayTests
25 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 …]
DInputPointersTests.java24 private static final int DEFAULT_CAPACITY = 48; field in InputPointersTests
27 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 …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStroke.java30 public static final int DEFAULT_CAPACITY = 128; field in GestureStroke
33 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);
DGesturePreviewTrail.java30 private static final int DEFAULT_CAPACITY = GestureStrokeWithPreviewPoints.PREVIEW_CAPACITY; field in GesturePreviewTrail
32 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);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.java33 private static final int DEFAULT_CAPACITY = 16; field in ListSuggestionCursor
44 this(userQuery, DEFAULT_CAPACITY); in ListSuggestionCursor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java177 GestureStroke.DEFAULT_CAPACITY);