Searched defs:seq (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/core/java/android/view/
H A DInputEventSender.java46 private static native boolean nativeSendKeyEvent(int senderPtr, int seq, KeyEvent event); argument
47 private static native boolean nativeSendMotionEvent(int senderPtr, int seq, MotionEvent event); argument
106 * @param seq The input event sequence number.
109 public void onInputEventFinished(int seq, boolean handled) { argument
116 * @param seq The input event sequence number.
121 public final boolean sendInputEvent(int seq, InputEvent event) { argument
132 return nativeSendKeyEvent(mSenderPtr, seq, (KeyEvent)event);
134 return nativeSendMotionEvent(mSenderPtr, seq, (MotionEvent)event);
140 private void dispatchInputEventFinished(int seq, boolean handled) { argument
141 onInputEventFinished(seq, handle
[all...]
H A DInputEventReceiver.java50 private static native void nativeFinishInputEvent(int receiverPtr, int seq, boolean handled); argument
151 int seq = mSeqMap.valueAt(index);
153 nativeFinishInputEvent(mReceiverPtr, seq, handled);
183 private void dispatchInputEvent(int seq, InputEvent event) { argument
184 mSeqMap.put(event.getSequenceNumber(), seq);
H A DViewRootImpl.java332 int seq; field in class:ViewRootImpl.SystemUiVisibilityInfo
1426 if (mPendingConfiguration.seq != 0) {
1430 mPendingConfiguration.seq = 0;
5064 if (mSeq != args.seq) {
5068 mSeq = args.seq;
5139 mPendingConfiguration.seq = 0;
5904 public void dispatchSystemUiVisibilityChanged(int seq, int globalVisibility, argument
5907 args.seq = seq;
6314 public void dispatchSystemUiVisibilityChanged(int seq, in argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java135 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback) { argument
139 callback.finishedEvent(seq, handled);
148 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback) { argument
151 callback.finishedEvent(seq, handled);
160 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback) { argument
163 callback.finishedEvent(seq, handled);
H A DIInputMethodSessionWrapper.java209 final int seq = event.getSequenceNumber();
210 mPendingEvents.put(seq, event);
213 mInputMethodSession.dispatchKeyEvent(seq, keyEvent, this);
217 mInputMethodSession.dispatchTrackballEvent(seq, motionEvent, this);
219 mInputMethodSession.dispatchGenericMotionEvent(seq, motionEvent, this);
225 public void finishedEvent(int seq, boolean handled) { argument
226 int index = mPendingEvents.indexOfKey(seq);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java35 void finishedEvent(int seq, boolean handled); argument
123 public void dispatchKeyEvent(int seq, KeyEvent event, EventCallback callback); argument
138 public void dispatchTrackballEvent(int seq, MotionEvent event, EventCallback callback); argument
153 public void dispatchGenericMotionEvent(int seq, MotionEvent event, EventCallback callback); argument
H A DInputMethodManager.java379 Log.w(TAG, "Ignoring onBind: cur seq=" + mBindSequence
380 + ", given seq=" + res.sequence);
1657 final int seq = event.getSequenceNumber();
1658 if (mCurSender.sendInputEvent(seq, event)) {
1659 mPendingEvents.put(seq, p);
1675 void finishedInputEvent(int seq, boolean handled, boolean timeout) { argument
1678 int index = mPendingEvents.indexOfKey(seq);
1719 int seq = mPendingEvents.keyAt(i);
1720 Message msg = mH.obtainMessage(MSG_FLUSH_INPUT_EVENT, seq, 0);
1986 public void onInputEventFinished(int seq, boolea argument
[all...]
/frameworks/native/libs/input/tests/
H A DInputPublisherAndConsumer_test.cpp73 const uint32_t seq = 15; local
85 status = mPublisher->publishKeyEvent(seq, deviceId, source, action, flags,
102 EXPECT_EQ(seq, consumeSeq);
114 status = mConsumer->sendFinishedSignal(seq, true);
123 ASSERT_EQ(seq, finishedSeq)
132 const uint32_t seq = 15; local
166 status = mPublisher->publishMotionEvent(seq, deviceId, source, action, flags, edgeFlags,
185 EXPECT_EQ(seq, consumeSeq);
229 status = mConsumer->sendFinishedSignal(seq, false);
238 ASSERT_EQ(seq, finishedSe
[all...]
/frameworks/base/core/java/android/net/
H A DDnsPinger.java111 int seq; field in class:DnsPinger.DnsArg
115 seq = s;
140 if (dnsArg.seq != mCurrentToken.get()) {
/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java90 public void dispatchSystemUiVisibilityChanged(int seq, int globalUi, argument
92 mSeq = seq;
H A DInputConnectionWrapper.java91 public void setTextBeforeCursor(CharSequence textBeforeCursor, int seq) { argument
93 if (seq == mSeq) {
98 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq
104 public void setTextAfterCursor(CharSequence textAfterCursor, int seq) { argument
106 if (seq == mSeq) {
111 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq
117 public void setSelectedText(CharSequence selectedText, int seq) { argument
119 if (seq == mSeq) {
124 Log.i(TAG, "Got out-of-sequence callback " + seq + " (expected " + mSeq
130 public void setCursorCapsMode(int capsMode, int seq) { argument
143 setExtractedText(ExtractedText extractedText, int seq) argument
[all...]
H A DIInputConnectionWrapper.java67 int seq; field in class:IInputConnectionWrapper.SomeArgs
91 public void getTextAfterCursor(int length, int flags, int seq, IInputContextCallback callback) { argument
92 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_AFTER_CURSOR, length, flags, seq, callback));
95 public void getTextBeforeCursor(int length, int flags, int seq, IInputContextCallback callback) { argument
96 dispatchMessage(obtainMessageIISC(DO_GET_TEXT_BEFORE_CURSOR, length, flags, seq, callback));
99 public void getSelectedText(int flags, int seq, IInputContextCallback callback) { argument
100 dispatchMessage(obtainMessageISC(DO_GET_SELECTED_TEXT, flags, seq, callback));
103 public void getCursorCapsMode(int reqModes, int seq, IInputContextCallback callback) { argument
104 dispatchMessage(obtainMessageISC(DO_GET_CURSOR_CAPS_MODE, reqModes, seq, callback));
108 int flags, int seq, IInputContextCallbac
107 getExtractedText(ExtractedTextRequest request, int flags, int seq, IInputContextCallback callback) argument
439 obtainMessageISC(int what, int arg1, int seq, IInputContextCallback callback) argument
446 obtainMessageIISC(int what, int arg1, int arg2, int seq, IInputContextCallback callback) argument
453 obtainMessageIOSC(int what, int arg1, Object arg2, int seq, IInputContextCallback callback) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_InputEventReceiver.cpp58 status_t finishInputEvent(uint32_t seq, bool handled);
67 uint32_t seq; member in struct:android::NativeInputEventReceiver::Finish
118 status_t NativeInputEventReceiver::finishInputEvent(uint32_t seq, bool handled) { argument
123 status_t status = mInputConsumer.sendFinishedSignal(seq, handled);
131 finish.seq = seq;
179 status_t status = mInputConsumer.sendFinishedSignal(finish.seq, finish.handled);
234 uint32_t seq; local
237 consumeBatches, frameTime, &seq, &inputEvent);
314 gInputEventReceiverClassInfo.dispatchInputEvent, seq, inputEventOb
369 nativeFinishInputEvent(JNIEnv* env, jclass clazz, jint receiverPtr, jint seq, jboolean handled) argument
[all...]
H A Dandroid_view_InputEventSender.cpp57 status_t sendKeyEvent(uint32_t seq, const KeyEvent* event);
58 status_t sendMotionEvent(uint32_t seq, const MotionEvent* event);
109 status_t NativeInputEventSender::sendKeyEvent(uint32_t seq, const KeyEvent* event) { argument
111 ALOGD("channel '%s' ~ Sending key event, seq=%u.", getInputChannelName(), seq);
124 mPublishedSeqMap.add(publishedSeq, seq);
128 status_t NativeInputEventSender::sendMotionEvent(uint32_t seq, const MotionEvent* event) { argument
130 ALOGD("channel '%s' ~ Sending motion event, seq=%u.", getInputChannelName(), seq);
150 mPublishedSeqMap.add(publishedSeq, seq);
200 uint32_t seq = mPublishedSeqMap.valueAt(index); local
269 nativeSendKeyEvent(JNIEnv* env, jclass clazz, jint senderPtr, jint seq, jobject eventObj) argument
279 nativeSendMotionEvent(JNIEnv* env, jclass clazz, jint senderPtr, jint seq, jobject eventObj) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindow.java93 public void dispatchSystemUiVisibilityChanged(int seq, int globalUi, argument
H A DBridgeWindowSession.java41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, argument
49 public int addToDisplay(IWindow arg0, int seq, LayoutParams arg1, int arg2, int displayId, argument
57 public int addWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, argument
65 public int addToDisplayWithoutInputChannel(IWindow arg0, int seq, LayoutParams arg1, int arg2, argument
89 public int relayout(IWindow arg0, int seq, LayoutParams arg1, int arg2, int arg3, int arg4, argument
/frameworks/native/libs/binder/
H A DBufferedTextOutput.cpp38 : seq(_seq)
73 const int32_t seq; member in struct:android::BufferedTextOutput::BufferState
268 if (bs != NULL && bs->seq == mSeq) return bs;
/frameworks/native/include/input/
H A DInputTransport.h57 uint32_t seq; member in struct:android::InputMessage::Body::Key
75 uint32_t seq; member in struct:android::InputMessage::Body::Motion
108 uint32_t seq; member in struct:android::InputMessage::Body::Finished
198 * Returns BAD_VALUE if seq is 0.
202 uint32_t seq,
219 * Returns BAD_VALUE if seq is 0 or if pointerCount is less than 1 or greater than MAX_POINTERS.
223 uint32_t seq,
303 * Returns BAD_VALUE if seq is 0.
306 status_t sendFinishedSignal(uint32_t seq, bool handled);
411 uint32_t seq; // sequenc member in struct:android::InputConsumer::SeqChain
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DSession.java152 public int add(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
154 return addToDisplay(window, seq, attrs, viewVisibility, Display.DEFAULT_DISPLAY,
159 public int addToDisplay(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
162 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
167 public int addWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
169 return addToDisplayWithoutInputChannel(window, seq, attrs, viewVisibility,
174 public int addToDisplayWithoutInputChannel(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
176 return mService.addWindow(this, window, seq, attrs, viewVisibility, displayId,
184 public int relayout(IWindow window, int seq, WindowManager.LayoutParams attrs, argument
190 int res = mService.relayoutWindow(this, window, seq, attr
[all...]
H A DWindowState.java307 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a,
335 mSeq = seq;
306 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, int viewVisibility, final DisplayContent displayContent) argument
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java546 public int seq; field in class:Configuration
620 seq = o.seq;
752 if (seq != 0) {
754 sb.append(seq);
781 seq = 0;
921 if (delta.seq != 0) {
922 seq = delta.seq;
1063 if (other.seq
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp239 uint32_t seq,
251 ALOGD("channel '%s' publisher ~ publishKeyEvent: seq=%u, deviceId=%d, source=0x%x, "
254 mChannel->getName().string(), seq,
259 if (!seq) {
266 msg.body.key.seq = seq;
281 uint32_t seq,
299 ALOGD("channel '%s' publisher ~ publishMotionEvent: seq=%u, deviceId=%d, source=0x%x, "
304 mChannel->getName().string(), seq,
309 if (!seq) {
238 publishKeyEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime, nsecs_t eventTime) argument
280 publishMotionEvent( uint32_t seq, int32_t deviceId, int32_t source, int32_t action, int32_t flags, int32_t edgeFlags, int32_t metaState, int32_t buttonState, float xOffset, float yOffset, float xPrecision, float yPrecision, nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, const PointerProperties* pointerProperties, const PointerCoords* pointerCoords) argument
800 sendFinishedSignal(uint32_t seq, bool handled) argument
845 sendUnchainedFinishedSignal(uint32_t seq, bool handled) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1428 CHECK(GetAttribute((*it).c_str(), "seq", &val));
1431 unsigned long seq = strtoul(val.c_str(), &end, 10); local
1434 info->mFirstSeqNumInSegment = seq;
/frameworks/base/services/input/
H A DInputDispatcher.h537 const uint32_t seq; // unique sequence number, never 0 member in struct:android::InputDispatcher::DispatchEntry
602 uint32_t seq; member in struct:android::InputDispatcher::CommandEntry
828 DispatchEntry* findWaitQueueEntry(uint32_t seq);
1046 uint32_t seq, bool handled);
1080 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled);
H A DInputDispatcher.cpp1948 status = connection->inputPublisher.publishKeyEvent(dispatchEntry->seq,
1992 status = connection->inputPublisher.publishMotionEvent(dispatchEntry->seq,
2045 const sp<Connection>& connection, uint32_t seq, bool handled) {
2047 ALOGD("channel '%s' ~ finishDispatchCycle - seq=%u, handled=%s",
2048 connection->getInputChannelName(), seq, toString(handled));
2059 onDispatchCycleFinishedLocked(currentTime, connection, seq, handled);
2127 uint32_t seq; local
2129 status = connection->inputPublisher.receiveFinishedSignal(&seq, &handled);
2133 d->finishDispatchCycleLocked(currentTime, connection, seq, handled);
3360 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, boo
2044 finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument
3359 onDispatchCycleFinishedLocked( nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) argument
3479 uint32_t seq = commandEntry->seq; local
3953 uint32_t seq; local
4331 findWaitQueueEntry(uint32_t seq) argument
[all...]

Completed in 700 milliseconds

12