/frameworks/base/core/jni/ |
android_view_InputChannel.h | 27 const sp<InputChannel>& inputChannel, void* data); 29 extern sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, 32 /* Sets a callback that is invoked when the InputChannel DVM object is disposed (or finalized).
|
android_view_InputChannel.cpp | 17 #define LOG_TAG "InputChannel-JNI" 38 jfieldID mPtr; // native object attached to the DVM InputChannel 46 NativeInputChannel(const sp<InputChannel>& inputChannel); 49 inline sp<InputChannel> getInputChannel() { return mInputChannel; } 55 sp<InputChannel> mInputChannel; 62 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) : 63 mInputChannel(inputChannel), mDisposeCallback(NULL) { 96 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) [all...] |
android_view_InputEventReceiver.cpp | 53 jobject receiverWeak, const sp<InputChannel>& inputChannel, 90 jobject receiverWeak, const sp<InputChannel>& inputChannel, 93 mInputConsumer(inputChannel), mMessageQueue(messageQueue), 335 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, 337 if (inputChannel == NULL) { 338 jniThrowRuntimeException(env, "InputChannel is not initialized."); 349 receiverWeak, inputChannel, messageQueue) [all...] |
android_view_InputEventSender.cpp | 53 jobject senderWeak, const sp<InputChannel>& inputChannel, 81 jobject senderWeak, const sp<InputChannel>& inputChannel, 84 mInputPublisher(inputChannel), mMessageQueue(messageQueue), 238 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, 240 if (inputChannel == NULL) { 241 jniThrowRuntimeException(env, "InputChannel is not initialized."); 252 senderWeak, inputChannel, messageQueue) [all...] |
/frameworks/base/core/java/android/view/ |
InputEventSender.java | 40 private InputChannel mInputChannel; 44 InputChannel inputChannel, MessageQueue messageQueue); 52 * @param inputChannel The input channel. 55 public InputEventSender(InputChannel inputChannel, Looper looper) { 56 if (inputChannel == null) { 57 throw new IllegalArgumentException("inputChannel must not be null"); 63 mInputChannel = inputChannel; 66 inputChannel, mMessageQueue) [all...] |
InputEventReceiver.java | 41 private InputChannel mInputChannel; 48 InputChannel inputChannel, MessageQueue messageQueue); 57 * @param inputChannel The input channel. 60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { 61 if (inputChannel == null) { 62 throw new IllegalArgumentException("inputChannel must not be null"); 68 mInputChannel = inputChannel; 71 inputChannel, mMessageQueue) [all...] |
BatchedInputEventReceiver.java | 30 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 31 super(inputChannel, looper);
|
IWindowManager.aidl | 43 import android.view.InputChannel; 418 void createWallpaperInputConsumer(out InputChannel inputChannel);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
InputConsumerImpl.java | 21 import android.view.InputChannel; 28 final InputChannel mServerChannel, mClientChannel; 32 InputConsumerImpl(WindowManagerService service, String name, InputChannel inputChannel) { 35 InputChannel[] channels = InputChannel.openInputChannelPair(name); 37 if (inputChannel != null) { 38 channels[1].transferTo(inputChannel); 40 mClientChannel = inputChannel; 53 mWindowHandle.inputChannel = mServerChannel [all...] |
PointerEventDispatcher.java | 19 import android.view.InputChannel; 34 public PointerEventDispatcher(InputChannel inputChannel) { 35 super(inputChannel, UiThread.getHandler().getLooper());
|
TaskPositioner.java | 49 import android.view.InputChannel; 114 InputChannel mServerChannel; 115 InputChannel mClientChannel; 121 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 122 super(inputChannel, looper, choreographer); 243 final InputChannel[] channels = InputChannel.openInputChannelPair(TAG); 259 mDragWindowHandle.inputChannel = mServerChannel;
|
InputMonitor.java | 32 import android.view.InputChannel; 295 final InputChannel inputChannel = child.mInputChannel; 297 if (inputChannel == null || inputWindowHandle == null || child.mRemoved
|
/cts/apps/CtsVerifier/include/colorchecker/ |
testingimage.h | 35 int inputChannel, int inputRowSpan,
|
/frameworks/native/libs/input/tests/ |
InputChannel_test.cpp | 44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); 46 EXPECT_STREQ("channel name", inputChannel->getName().string()) 48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) 51 inputChannel.clear(); // destroys input channel 61 sp<InputChannel> serverChannel, clientChannel; 63 status_t result = InputChannel::openInputChannelPair(String8("channel name"), 112 sp<InputChannel> serverChannel, clientChannel; 114 status_t result = InputChannel::openInputChannelPair(String8("channel name") [all...] |
/frameworks/base/services/core/java/com/android/server/input/ |
InputWindowHandle.java | 20 import android.view.InputChannel; 40 public InputChannel inputChannel;
|
InputManagerService.java | 84 import android.view.InputChannel; 196 private static native void nativeRegisterInputChannel(long ptr, InputChannel inputChannel, 198 private static native void nativeUnregisterInputChannel(long ptr, InputChannel inputChannel); 210 InputChannel fromChannel, InputChannel toChannel); 483 public InputChannel monitorInput(String inputChannelName) { 488 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName) [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_input_InputWindowHandle.cpp | 36 jfieldID inputChannel; 94 gInputWindowHandleClassInfo.inputChannel); 96 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 99 mInfo->inputChannel.clear(); 243 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 244 "inputChannel", "Landroid/view/InputChannel;");
|
com_android_server_input_InputManagerService.cpp | 195 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 197 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 391 const sp<InputChannel>& inputChannel, 394 inputChannel, inputWindowHandle, monitor); 398 const sp<InputChannel>& inputChannel) { 399 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); [all...] |
/frameworks/native/services/inputflinger/ |
InputDispatcher.h | 151 sp<InputChannel> inputChannel; 339 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel, 340 const sp<InputChannel>& toChannel) = 0; 347 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 349 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0; 396 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel, 397 const sp<InputChannel>& toChannel) [all...] |
InputWindow.h | 115 sp<InputChannel> inputChannel; 169 inline sp<InputChannel> getInputChannel() const { 170 return mInfo ? mInfo->inputChannel : NULL;
|
InputDispatcher.cpp | 226 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 30 import android.view.InputChannel; 58 InputChannel mChannel; 62 InputMethodSession inputMethodSession, InputChannel channel) { 216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { 217 super(inputChannel, looper);
|
/frameworks/base/media/java/android/media/tv/ |
ITvInputSessionWrapper.java | 29 import android.view.InputChannel; 78 private InputChannel mChannel; 82 InputChannel channel) { 365 public TvInputEventReceiver(InputChannel inputChannel, Looper looper) { 366 super(inputChannel, looper);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
ImportVCardActivity.java | 447 ReadableByteChannel inputChannel = null; 451 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri)); 455 while (inputChannel.read(buffer) != -1) { 465 if (inputChannel != null) { 467 inputChannel.close(); 469 Log.w(LOG_TAG, "Failed to close inputChannel.");
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
IWindowManagerImpl.java | 588 public void createWallpaperInputConsumer(InputChannel inputChannel) throws RemoteException {}
|