Searched refs:InputChannel (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DInputChannel.aidl1 /* //device/java/android/android/view/InputChannel.aidl
20 parcelable InputChannel;
H A DInputChannel.java27 * from an InputChannel at a time.
30 public final class InputChannel implements Parcelable { class in inherits:Parcelable
31 private static final String TAG = "InputChannel";
35 public static final Parcelable.Creator<InputChannel> CREATOR
36 = new Parcelable.Creator<InputChannel>() {
37 public InputChannel createFromParcel(Parcel source) {
38 InputChannel result = new InputChannel();
43 public InputChannel[] newArray(int size) {
44 return new InputChannel[siz
66 public InputChannel() { method in class:InputChannel
[all...]
H A DInputEventSender.java40 private InputChannel mInputChannel;
44 InputChannel inputChannel, MessageQueue messageQueue);
55 public InputEventSender(InputChannel inputChannel, Looper looper) {
H A DInputEventReceiver.java41 private InputChannel mInputChannel;
48 InputChannel inputChannel, MessageQueue messageQueue);
60 public InputEventReceiver(InputChannel inputChannel, Looper looper) {
196 InputChannel inputChannel, Looper looper);
H A DIWindowSession.aidl25 import android.view.InputChannel;
40 out InputChannel outInputChannel);
43 out InputChannel outInputChannel);
H A DIWindowManager.aidl38 import android.view.InputChannel;
/frameworks/base/core/jni/
H A Dandroid_view_InputChannel.h27 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).
H A Dandroid_view_InputChannel.cpp17 #define LOG_TAG "InputChannel-JNI"
36 jfieldID mPtr; // native object attached to the DVM InputChannel
44 NativeInputChannel(const sp<InputChannel>& inputChannel);
47 inline sp<InputChannel> getInputChannel() { return mInputChannel; }
53 sp<InputChannel> mInputChannel;
60 NativeInputChannel::NativeInputChannel(const sp<InputChannel>& inputChannel) :
94 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) {
127 sp<InputChannel> serverChannel;
128 sp<InputChannel> clientChannel;
129 status_t result = InputChannel
[all...]
H A Dandroid_view_InputEventReceiver.cpp53 jobject receiverWeak, const sp<InputChannel>& inputChannel,
90 jobject receiverWeak, const sp<InputChannel>& inputChannel,
335 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
338 jniThrowRuntimeException(env, "InputChannel is not initialized.");
401 "(Ljava/lang/ref/WeakReference;Landroid/view/InputChannel;Landroid/os/MessageQueue;)I",
H A Dandroid_view_InputEventSender.cpp52 jobject senderWeak, const sp<InputChannel>& inputChannel,
80 jobject senderWeak, const sp<InputChannel>& inputChannel,
235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env,
238 jniThrowRuntimeException(env, "InputChannel is not initialized.");
292 "(Ljava/lang/ref/WeakReference;Landroid/view/InputChannel;Landroid/os/MessageQueue;)I",
/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java21 import android.view.InputChannel;
38 public final InputChannel channel;
51 public InputBindResult(IInputMethodSession _method, InputChannel _channel,
62 channel = InputChannel.CREATOR.createFromParcel(source);
H A DIInputMethod.aidl21 import android.view.InputChannel;
45 void createSession(in InputChannel channel, IInputSessionCallback callback);
/frameworks/native/libs/input/tests/
H A DInputChannel_test.cpp44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd);
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"),
126 sp<InputChannel> serverChannel, clientChannel;
128 status_t result = InputChannel::openInputChannelPair(String8("channel name"),
142 sp<InputChannel> serverChannel, clientChannel;
144 status_t result = InputChannel
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputWindowHandle.java20 import android.view.InputChannel;
40 public InputChannel inputChannel;
H A DInputManagerService.java70 import android.view.InputChannel;
166 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel,
168 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel);
179 InputChannel fromChannel, InputChannel toChannel);
425 public InputChannel monitorInput(String inputChannelName) {
430 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName);
442 public void registerInputChannel(InputChannel inputChannel,
455 public void unregisterInputChannel(InputChannel inputChanne
[all...]
/frameworks/native/include/input/
H A DInputTransport.h23 * The InputChannel provides a mechanism for exchanging InputMessage structures across processes.
125 * Each endpoint has its own InputChannel object that specifies its file descriptor.
129 class InputChannel : public RefBase { class in namespace:android
131 virtual ~InputChannel();
134 InputChannel(const String8& name, int fd);
141 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel);
172 sp<InputChannel> dup() const;
185 explicit InputPublisher(const sp<InputChannel>& channel);
191 inline sp<InputChannel> getChanne
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DFakeWindowImpl.java26 import android.view.InputChannel;
33 final InputChannel mServerChannel, mClientChannel;
47 InputChannel[] channels = InputChannel.openInputChannelPair(name);
H A DPointerEventDispatcher.java19 import android.view.InputChannel;
34 public PointerEventDispatcher(InputChannel inputChannel) {
H A DDragState.java35 import android.view.InputChannel;
57 InputChannel mServerChannel, mClientChannel;
100 InputChannel[] channels = InputChannel.openInputChannelPair("drag");
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java29 import android.view.InputChannel;
42 InputChannel outInputchannel)
50 Rect arg3, InputChannel outInputchannel)
/frameworks/base/services/input/
H A DInputDispatcher.h145 sp<InputChannel> inputChannel;
336 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
337 const sp<InputChannel>& toChannel) = 0;
344 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
346 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0;
393 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel,
394 const sp<InputChannel>& toChannel);
396 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel,
398 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel);
803 sp<InputChannel> inputChanne
[all...]
H A DInputWindow.h117 sp<InputChannel> inputChannel;
168 inline sp<InputChannel> getInputChannel() const {
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java31 import android.view.InputChannel;
57 InputChannel mChannel;
61 InputMethodSession inputMethodSession, InputChannel channel) {
197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) {
H A DIInputMethodWrapper.java35 import android.view.InputChannel;
83 final InputChannel mChannel;
86 InputMethodSessionCallbackWrapper(Context context, InputChannel channel,
189 mCaller.mContext, (InputChannel)args.arg1,
272 public void createSession(InputChannel channel, IInputSessionCallback callback) {
/frameworks/native/libs/input/
H A DInputTransport.cpp13 // Log debug messages whenever InputChannel objects are created/destroyed
96 // --- InputChannel ---
98 InputChannel::InputChannel(const String8& name, int fd) : function in class:android::InputChannel
110 InputChannel::~InputChannel() {
119 status_t InputChannel::openInputChannelPair(const String8& name,
120 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) {
139 outServerChannel = new InputChannel(serverChannelNam
[all...]

Completed in 1353 milliseconds

12