Home
last modified time | relevance | path

Searched refs:mArray (Results 1 – 2 of 2) sorted by relevance

/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStream.java109 if (condition.test(latest.mArray[index])) { in findFirst()
110 return Optional.of(latest.mArray[index]); in findFirst()
136 if (condition.test(latest.mArray[mCurrentPosition])) { in seekToFirst()
137 return Optional.of(latest.mArray[mCurrentPosition]); in seekToFirst()
170 sb.append(" latest: array[").append(latest.mArray.length).append("] + {\n"); in dump()
178 dumpEvent(sb, latest.mArray[fused ? ++i : i], fused); in dump()
195 return array.mArray[i] != null in areEnterExitPairedMessages()
196 && array.mArray[i].isEnterEvent() in areEnterExitPairedMessages()
198 && array.mArray[i + 1] != null in areEnterExitPairedMessages()
199 && array.mArray[i].getEventName().equals(array.mArray[i + 1].getEventName()) in areEnterExitPairedMessages()
[all …]
DMockImeSession.java73 public final ImeEvent[] mArray; field in MockImeSession.EventStore
77 mArray = new ImeEvent[INITIAL_ARRAY_SIZE]; in EventStore()
82 mArray = new ImeEvent[newLength]; in EventStore()
84 System.arraycopy(src.mArray, 0, mArray, 0, src.mLength); in EventStore()
88 if (mLength + 1 <= mArray.length) { in add()
89 mArray[mLength] = event; in add()
98 return new ImeEventStream.ImeEventArray(mArray, mLength); in takeSnapshot()