Searched refs:mArray (Results 1 – 5 of 5) sorted by relevance
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/ |
D | MockA11yImeEventStream.java | 104 if (condition.test(latest.mArray[index])) { in findFirst() 105 return Optional.of(latest.mArray[index]); in findFirst() 131 if (condition.test(latest.mArray[mCurrentPosition])) { in seekToFirst() 132 return Optional.of(latest.mArray[mCurrentPosition]); in seekToFirst() 165 sb.append(" latest: array[").append(latest.mArray.length).append("] + {\n"); in dump() 173 dumpEvent(sb, latest.mArray[fused ? ++i : i], fused); in dump() 190 return array.mArray[i] != null in areEnterExitPairedMessages() 191 && array.mArray[i].isEnterEvent() in areEnterExitPairedMessages() 193 && array.mArray[i + 1] != null in areEnterExitPairedMessages() 194 && array.mArray[i].getEventName().equals(array.mArray[i + 1].getEventName()) in areEnterExitPairedMessages() [all …]
|
D | MockA11yImeSession.java | 81 public final MockA11yImeEvent[] mArray; field in MockA11yImeSession.EventStore 85 mArray = new MockA11yImeEvent[INITIAL_ARRAY_SIZE]; in EventStore() 90 mArray = new MockA11yImeEvent[newLength]; in EventStore() 92 System.arraycopy(src.mArray, 0, mArray, 0, src.mLength); in EventStore() 96 if (mLength + 1 <= mArray.length) { in add() 97 mArray[mLength] = event; in add() 106 return new MockA11yImeEventStream.EventArray(mArray, mLength); in takeSnapshot()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEventStream.java | 110 if (condition.test(latest.mArray[index])) { in findFirst() 111 return Optional.of(latest.mArray[index]); in findFirst() 137 if (condition.test(latest.mArray[mCurrentPosition])) { in seekToFirst() 138 return Optional.of(latest.mArray[mCurrentPosition]); in seekToFirst() 171 sb.append(" latest: array[").append(latest.mArray.length).append("] + {\n"); in dump() 179 dumpEvent(sb, latest.mArray[fused ? ++i : i], fused); in dump() 196 return array.mArray[i] != null in areEnterExitPairedMessages() 197 && array.mArray[i].isEnterEvent() in areEnterExitPairedMessages() 199 && array.mArray[i + 1] != null in areEnterExitPairedMessages() 200 && array.mArray[i].getEventName().equals(array.mArray[i + 1].getEventName()) in areEnterExitPairedMessages() [all …]
|
D | MockImeSession.java | 137 public final ImeEvent[] mArray; field in MockImeSession.EventStore 141 mArray = new ImeEvent[INITIAL_ARRAY_SIZE]; in EventStore() 146 mArray = new ImeEvent[newLength]; in EventStore() 148 System.arraycopy(src.mArray, 0, mArray, 0, src.mLength); in EventStore() 152 if (mLength + 1 <= mArray.length) { in add() 153 mArray[mLength] = event; in add() 162 return new ImeEventStream.ImeEventArray(mArray, mLength); in takeSnapshot()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 4509 private final boolean[] mArray; field in TextViewTest.TestHandleDrawable 4513 mArray = array; in TestHandleDrawable() 4520 mArray[mIndex] = true; in draw()
|