Searched refs:isFrom (Results 1 – 3 of 3) sorted by relevance
19 import static android.inputmethodservice.cts.DeviceEvent.isFrom;95 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testCreateIme1()99 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_START_INPUT))), in testCreateIme1()114 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_START_INPUT))), in testSwitchToNextInputMethod()144 .anyMatch(isFrom(Ime2Constants.CLASS).and(isType(ON_START_INPUT))), in switchToPreviousInputMethod()168 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_START_INPUT))), in testSwitchToHandwritingInputMethod()203 .filter(isFrom(Ime2Constants.CLASS)) in testSwitchToHandwritingInputMethod()213 .filter(isFrom(Ime2Constants.CLASS)) in testSwitchToHandwritingInputMethod()245 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_START_INPUT))), in testInputUnbindsOnImeStopped()249 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_BIND_INPUT))), in testInputUnbindsOnImeStopped()[all …]
19 import static android.inputmethodservice.cts.DeviceEvent.isFrom;157 return isFrom(mTestInfo.getTestName()).and(isType(TEST_START)); in isStartOfTest()
124 public static Predicate<DeviceEvent> isFrom(String sender) { in isFrom() method in DeviceEvent