Searched refs:inputChannels (Results 1 – 4 of 4) sorted by relevance
69 int inputChannels = getInputFormat("image").getBytesPerSample(); in getShaderProgram() local70 if (inputChannels != 4) { in getShaderProgram()72 inputChannels + "! Channels must be 4!"); in getShaderProgram()
511 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName); in monitorInput() local513 inputChannels[0].setToken(new Binder()); in monitorInput()514 nativeRegisterInputMonitor(mPtr, inputChannels[0], displayId, false /*isGestureMonitor*/); in monitorInput()515 inputChannels[0].dispose(); // don't need to retain the Java object reference in monitorInput()516 return inputChannels[1]; in monitorInput()543 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName); in monitorGestureInput() local544 InputMonitorHost host = new InputMonitorHost(inputChannels[0]); in monitorGestureInput()545 inputChannels[0].setToken(host.asBinder()); in monitorGestureInput()546 nativeRegisterInputMonitor(mPtr, inputChannels[0], displayId, in monitorGestureInput()548 return new InputMonitor(inputChannelName, inputChannels[1], host); in monitorGestureInput()
1117 private boolean supports(Integer sampleRate, Integer inputChannels) { in supports() argument1119 if (inputChannels != null && in supports()1120 (inputChannels < 1 || inputChannels > mMaxInputChannelCount)) { in supports()
2183 InputChannel[] inputChannels = InputChannel.openInputChannelPair(name); in openInputChannel() local2184 mInputChannel = inputChannels[0]; in openInputChannel()2185 mClientChannel = inputChannels[1]; in openInputChannel()