Lines Matching defs:inputChannel
166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel,
168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel);
437 * @param inputChannel The input channel to register.
441 public void registerInputChannel(InputChannel inputChannel,
443 if (inputChannel == null) {
444 throw new IllegalArgumentException("inputChannel must not be null.");
447 nativeRegisterInputChannel(mPtr, inputChannel, inputWindowHandle, false);
452 * @param inputChannel The input channel to unregister.
454 public void unregisterInputChannel(InputChannel inputChannel) {
455 if (inputChannel == null) {
456 throw new IllegalArgumentException("inputChannel must not be null.");
459 nativeUnregisterInputChannel(mPtr, inputChannel);