HomeSort by relevance Sort by last modified time
    Searched refs:inputChannel (Results 1 - 25 of 46) sorted by null

1 2

  /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 explicit 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_InputEventSender.cpp 55 jobject senderWeak, const sp<InputChannel>& inputChannel,
83 jobject senderWeak, const sp<InputChannel>& inputChannel,
86 mInputPublisher(inputChannel), mMessageQueue(messageQueue),
241 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
243 if (inputChannel == NULL) {
244 jniThrowRuntimeException(env, "InputChannel is not initialized.");
255 senderWeak, inputChannel, messageQueue)
    [all...]
android_view_InputEventReceiver.cpp 55 jobject receiverWeak, const sp<InputChannel>& inputChannel,
92 jobject receiverWeak, const sp<InputChannel>& inputChannel,
95 mInputConsumer(inputChannel), mMessageQueue(messageQueue),
341 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
343 if (inputChannel == NULL) {
344 jniThrowRuntimeException(env, "InputChannel is not initialized.");
355 receiverWeak, 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);
  /frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
InputConsumerController.java 29 import android.view.InputChannel;
65 public InputEventReceiver(InputChannel inputChannel, Looper looper) {
66 super(inputChannel, looper, Choreographer.getSfInstance());
147 final InputChannel inputChannel = new InputChannel();
150 mWindowManager.createInputConsumer(mToken, mName, inputChannel);
154 mInputEventReceiver = new InputEventReceiver(inputChannel, Looper.myLooper());
  /frameworks/base/services/core/java/com/android/server/wm/
PointerEventDispatcher.java 19 import android.view.InputChannel;
34 public PointerEventDispatcher(InputChannel inputChannel) {
35 super(inputChannel, UiThread.getHandler().getLooper());
InputConsumerImpl.java 24 import android.view.InputChannel;
33 final InputChannel mServerChannel, mClientChannel;
43 InputChannel inputChannel, int clientPid, UserHandle clientUser) {
50 InputChannel[] channels = InputChannel.openInputChannelPair(name);
52 if (inputChannel != null) {
53 channels[1].transferTo(inputChannel);
55 mClientChannel = inputChannel;
69 mWindowHandle.inputChannel = mServerChannel
    [all...]
DragInputEventReceiver.java 30 import android.view.InputChannel;
50 DragInputEventReceiver(InputChannel inputChannel, Looper looper,
52 super(inputChannel, looper);
InputMonitor.java 47 import android.view.InputChannel;
116 super(service, null /* token */, name, null /* inputChannel */, clientPid, clientUser);
182 void createInputConsumer(IBinder token, String name, InputChannel inputChannel, int clientPid,
189 inputChannel, clientPid, clientUser);
652 final InputChannel inputChannel = w.mInputChannel;
654 if (inputChannel == null || inputWindowHandle == null || w.mRemoved
TaskPositioner.java 43 import android.view.InputChannel;
117 InputChannel mServerChannel;
118 InputChannel mClientChannel;
124 InputChannel inputChannel, Looper looper, Choreographer choreographer) {
125 super(inputChannel, looper, choreographer);
246 final InputChannel[] channels = InputChannel.openInputChannelPair(TAG);
263 mDragWindowHandle.inputChannel = mServerChannel;
  /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("channel name", pipe.sendFd);
46 EXPECT_STREQ("channel name", inputChannel->getName().c_str())
48 EXPECT_EQ(pipe.sendFd, inputChannel->getFd())
51 inputChannel.clear(); // destroys input channel
61 sp<InputChannel> serverChannel, clientChannel;
63 status_t result = InputChannel::openInputChannelPair("channel name",
112 sp<InputChannel> serverChannel, clientChannel;
114 status_t result = InputChannel::openInputChannelPair("channel name"
    [all...]
  /frameworks/base/services/core/java/com/android/server/input/
InputWindowHandle.java 20 import android.view.InputChannel;
44 public InputChannel inputChannel;
  /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 209 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel,
211 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel);
452 const sp<InputChannel>& inputChannel,
456 inputChannel, inputWindowHandle, monitor);
460 const sp<InputChannel>& inputChannel) {
462 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel);
    [all...]
  /frameworks/native/services/inputflinger/
InputDispatcher.h 150 sp<InputChannel> inputChannel;
338 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
339 const sp<InputChannel>& toChannel) = 0;
346 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
348 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
395 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
396 const sp<InputChannel>& toChannel)
    [all...]
InputWindow.h 117 sp<InputChannel> inputChannel;
171 inline sp<InputChannel> getInputChannel() const {
172 return mInfo ? mInfo->inputChannel : NULL;
InputDispatcher.cpp 265 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel);
    [all...]
  /frameworks/base/core/java/android/inputmethodservice/
IInputMethodSessionWrapper.java 26 import android.view.InputChannel;
58 InputChannel mChannel;
62 InputMethodSession inputMethodSession, InputChannel channel) {
216 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) {
217 super(inputChannel, looper);
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
FakeEpgReader.java 86 public boolean apply(@Nullable Channel inputChannel) {
88 inputChannel.getDisplayNumber(),
  /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/Contacts/src/com/android/contacts/vcard/
ImportVCardActivity.java 458 ReadableByteChannel inputChannel = null;
462 inputChannel = Channels.newChannel(resolver.openInputStream(sourceUri));
466 while (inputChannel.read(buffer) != -1) {
476 if (inputChannel != null) {
478 inputChannel.close();
480 Log.w(LOG_TAG, "Failed to close inputChannel.");
    [all...]

Completed in 929 milliseconds

1 2