Home
last modified time | relevance | path

Searched refs:inputChannels (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DToGrayFilter.java69 int inputChannels = getInputFormat("image").getBytesPerSample(); in getShaderProgram() local
70 if (inputChannels != 4) { in getShaderProgram()
72 inputChannels + "! Channels must be 4!"); in getShaderProgram()
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java496 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName); in monitorInput() local
498 inputChannels[0].setToken(new Binder()); in monitorInput()
499 nativeRegisterInputMonitor(mPtr, inputChannels[0], displayId, false /*isGestureMonitor*/); in monitorInput()
500 inputChannels[0].dispose(); // don't need to retain the Java object reference in monitorInput()
501 return inputChannels[1]; in monitorInput()
528 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName); in monitorGestureInput() local
529 InputMonitorHost host = new InputMonitorHost(inputChannels[0]); in monitorGestureInput()
530 inputChannels[0].setToken(host.asBinder()); in monitorGestureInput()
531 nativeRegisterInputMonitor(mPtr, inputChannels[0], displayId, in monitorGestureInput()
533 return new InputMonitor(inputChannelName, inputChannels[1], host); in monitorGestureInput()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java1117 private boolean supports(Integer sampleRate, Integer inputChannels) { in supports() argument
1119 if (inputChannels != null && in supports()
1120 (inputChannels < 1 || inputChannels > mMaxInputChannelCount)) { in supports()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java2143 InputChannel[] inputChannels = InputChannel.openInputChannelPair(name); in openInputChannel() local
2144 mInputChannel = inputChannels[0]; in openInputChannel()
2145 mClientChannel = inputChannels[1]; in openInputChannel()