/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;
|
InputEventReceiver.java | 39 private InputChannel mInputChannel; 46 InputChannel inputChannel, MessageQueue messageQueue); 55 * @param inputChannel The input channel. 58 public InputEventReceiver(InputChannel inputChannel, Looper looper) { 59 if (inputChannel == null) { 60 throw new IllegalArgumentException("inputChannel must not be null"); 66 mInputChannel = inputChannel; 68 mReceiverPtr = nativeInit(this, inputChannel, mMessageQueue) [all...] |
InputQueue.java | 42 final InputChannel mChannel; 45 public InputQueue(InputChannel channel) { 50 public InputChannel getInputChannel() {
|
/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_InputEventReceiver.cpp | 50 jobject receiverObj, const sp<InputChannel>& inputChannel, 77 jobject receiverObj, const sp<InputChannel>& inputChannel, 80 mInputConsumer(inputChannel), mMessageQueue(messageQueue), 229 sp<InputChannel> inputChannel = android_view_InputChannel_getInputChannel(env, 231 if (inputChannel == NULL) { 232 jniThrowRuntimeException(env, "InputChannel is not initialized."); 243 receiverObj, inputChannel, messageQueue) [all...] |
android_app_NativeActivity.cpp | 110 AInputQueue::AInputQueue(const sp<InputChannel>& channel, int workWrite) : 407 inputChannel = NULL; 446 if (inputChannel != NULL) { 448 env->DeleteGlobalRef(inputChannel); 450 inputChannel = NULL; 453 inputChannel = env->NewGlobalRef(_channel); 454 sp<InputChannel> ic = 478 jobject inputChannel; [all...] |
/frameworks/base/libs/androidfw/tests/ |
InputChannel_test.cpp | 43 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); 45 EXPECT_STREQ("channel name", inputChannel->getName().string()) 47 EXPECT_EQ(pipe.sendFd, inputChannel->getFd()) 50 inputChannel.clear(); // destroys input channel 60 sp<InputChannel> serverChannel, clientChannel; 62 status_t result = InputChannel::openInputChannelPair(String8("channel name"), 111 sp<InputChannel> serverChannel, clientChannel; 113 status_t result = InputChannel::openInputChannelPair(String8("channel name") [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
FakeWindowImpl.java | 25 import android.view.InputChannel; 32 final InputChannel mServerChannel, mClientChannel; 46 InputChannel[] channels = InputChannel.openInputChannelPair(name); 61 mWindowHandle.inputChannel = mServerChannel;
|
DragState.java | 33 import android.view.InputChannel; 54 InputChannel mServerChannel, mClientChannel; 92 InputChannel[] channels = InputChannel.openInputChannelPair("drag"); 106 mDragWindowHandle.inputChannel = mServerChannel;
|
/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/services/jni/ |
com_android_server_input_InputWindowHandle.cpp | 35 jfieldID inputChannel; 90 gInputWindowHandleClassInfo.inputChannel); 92 mInfo->inputChannel = android_view_InputChannel_getInputChannel(env, inputChannelObj); 95 mInfo->inputChannel.clear(); 235 GET_FIELD_ID(gInputWindowHandleClassInfo.inputChannel, clazz, 236 "inputChannel", "Landroid/view/InputChannel;");
|
com_android_server_input_InputManagerService.cpp | 171 status_t registerInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel, 173 status_t unregisterInputChannel(JNIEnv* env, const sp<InputChannel>& inputChannel); 379 const sp<InputChannel>& inputChannel, 382 inputChannel, inputWindowHandle, monitor); 386 const sp<InputChannel>& inputChannel) { 387 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 | 65 import android.view.InputChannel; 159 private static native void nativeRegisterInputChannel(int ptr, InputChannel inputChannel, 161 private static native void nativeUnregisterInputChannel(int ptr, InputChannel inputChannel); 172 InputChannel fromChannel, InputChannel toChannel); 379 public InputChannel monitorInput(String inputChannelName) { 384 InputChannel[] inputChannels = InputChannel.openInputChannelPair(inputChannelName) [all...] |
/frameworks/base/services/input/ |
InputDispatcher.h | 145 sp<InputChannel> inputChannel; 333 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel, 334 const sp<InputChannel>& toChannel) = 0; 341 virtual status_t registerInputChannel(const sp<InputChannel>& inputChannel, 343 virtual status_t unregisterInputChannel(const sp<InputChannel>& inputChannel) = 0; 390 virtual bool transferTouchFocus(const sp<InputChannel>& fromChannel, 391 const sp<InputChannel>& toChannel) [all...] |
InputWindow.h | 115 sp<InputChannel> inputChannel; 164 inline sp<InputChannel> getInputChannel() const { 165 return mInfo ? mInfo->inputChannel : NULL;
|
InputDispatcher.cpp | 213 unregisterInputChannel(mConnectionsByFd.valueAt(0)->inputChannel); [all...] |
/frameworks/base/include/androidfw/ |
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); 182 explicit InputPublisher(const sp<InputChannel>& channel); 188 inline sp<InputChannel> getChannel() { return mChannel; } 252 sp<InputChannel> mChannel [all...] |
/external/webkit/Source/WebCore/webaudio/ |
AudioChannelMerger.cpp | 84 AudioChannel* inputChannel = input->bus()->channel(j); 86 outputChannel->copyFrom(inputChannel);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindowSession.java | 28 import android.view.InputChannel; 41 InputChannel outInputchannel)
|
/frameworks/base/libs/androidfw/ |
InputTransport.cpp | 13 // Log debug messages whenever InputChannel objects are created/destroyed 95 // --- InputChannel --- 97 InputChannel::InputChannel(const String8& name, int fd) : 109 InputChannel::~InputChannel() { 118 status_t InputChannel::openInputChannelPair(const String8& name, 119 sp<InputChannel>& outServerChannel, sp<InputChannel>& outClientChannel) { 138 outServerChannel = new InputChannel(serverChannelName, sockets[0]) [all...] |
/cts/apps/CtsVerifier/include/colorchecker/ |
testingimage.h | 35 int inputChannel, int inputRowSpan,
|
/frameworks/base/core/java/android/app/ |
NativeActivity.java | 18 import android.view.InputChannel; 104 private native void onInputChannelCreatedNative(int handle, InputChannel channel); 105 private native void onInputChannelDestroyedNative(int handle, InputChannel channel);
|