/frameworks/base/core/java/android/view/ |
InputChannel.java | 27 * from an InputChannel at a time. 30 public final class InputChannel implements 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[size] [all...] |
InputChannel.aidl | 1 /* //device/java/android/android/view/InputChannel.aidl 20 parcelable InputChannel;
|
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...] |
/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" 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) : 61 mInputChannel(inputChannel), mDisposeCallback(NULL) { 94 sp<InputChannel> android_view_InputChannel_getInputChannel(JNIEnv* env, jobject inputChannelObj) [all...] |
android_view_InputEventSender.cpp | 52 jobject senderWeak, const sp<InputChannel>& inputChannel, 80 jobject senderWeak, const sp<InputChannel>& inputChannel, 83 mInputPublisher(inputChannel), mMessageQueue(messageQueue), 235 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, 237 if (inputChannel == NULL) { 238 jniThrowRuntimeException(env, "InputChannel is not initialized."); 249 senderWeak, inputChannel, messageQueue) [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...] |
/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...] |
/cts/apps/CtsVerifier/lib/colorchecker/ |
testingimage.cpp | 34 int inputChannel, int inputRowSpan) { 38 inputRowSpan, inputHeight, inputChannel); 41 mChannels = inputChannel; 48 inputImage[i * inputRowSpan + j * inputChannel + k]; 58 int inputChannel, int inputRowSpan, 60 mImage = new unsigned char[newHeight * newWidth * inputChannel]; 63 newHeight, newWidth, inputChannel); 66 mChannels = inputChannel; 85 + (j * widthScale + m) * inputChannel + k];
|
/frameworks/base/core/java/com/android/internal/view/ |
InputBindResult.java | 21 import android.view.InputChannel; 38 public final InputChannel channel; 51 public InputBindResult(IInputMethodSession _method, InputChannel _channel, 62 channel = InputChannel.CREATOR.createFromParcel(source);
|
IInputMethod.aidl | 21 import android.view.InputChannel; 45 void createSession(in InputChannel channel, IInputSessionCallback callback);
|
/frameworks/base/services/java/com/android/server/wm/ |
PointerEventDispatcher.java | 19 import android.view.InputChannel; 34 public PointerEventDispatcher(InputChannel inputChannel) { 35 super(inputChannel, UiThread.getHandler().getLooper());
|
FakeWindowImpl.java | 26 import android.view.InputChannel; 33 final InputChannel mServerChannel, mClientChannel; 47 InputChannel[] channels = InputChannel.openInputChannelPair(name); 62 mWindowHandle.inputChannel = mServerChannel;
|
/frameworks/base/services/jni/ |
com_android_server_input_InputWindowHandle.cpp | 35 jfieldID inputChannel; 92 gInputWindowHandleClassInfo.inputChannel); 94 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 97 mInfo->inputChannel.clear(); 241 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 242 "inputChannel", "Landroid/view/InputChannel;");
|
com_android_server_input_InputManagerService.cpp | 170 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 172 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 339 const sp<InputChannel>& inputChannel, 342 inputChannel, inputWindowHandle, monitor); 346 const sp<InputChannel>& inputChannel) { 347 return mInputManager->getDispatcher()->unregisterInputChannel(inputChannel); [all...] |
/frameworks/base/services/java/com/android/server/input/ |
InputWindowHandle.java | 20 import android.view.InputChannel; 40 public InputChannel inputChannel;
|
InputManagerService.java | 70 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) [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
IInputMethodSessionWrapper.java | 31 import android.view.InputChannel; 57 InputChannel mChannel; 61 InputMethodSession inputMethodSession, InputChannel channel) { 197 public ImeInputEventReceiver(InputChannel inputChannel, Looper looper) { 198 super(inputChannel, looper);
|
IInputMethodWrapper.java | 35 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/base/services/input/ |
InputDispatcher.h | 145 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) [all...] |
InputWindow.h | 117 sp<InputChannel> inputChannel; 168 inline sp<InputChannel> getInputChannel() const { 169 return mInfo ? mInfo->inputChannel : NULL;
|
/frameworks/native/include/input/ |
InputTransport.h | 23 * 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 { 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> getChannel() { return mChannel; [all...] |
/frameworks/native/libs/input/ |
InputTransport.cpp | 13 // Log debug messages whenever InputChannel objects are created/destroyed 96 // --- InputChannel --- 98 InputChannel::InputChannel(const String8& name, int fd) : 110 InputChannel::~InputChannel() { 119 status_t InputChannel::openInputChannelPair(const String8& name, 120 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { 139 outServerChannel = new InputChannel(serverChannelName, sockets[0]) [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindowSession.java | 29 import android.view.InputChannel; 42 InputChannel outInputchannel) 50 Rect arg3, InputChannel outInputchannel)
|