/frameworks/base/awt/java/awt/ |
H A D | EventQueueCore.java | 33 * The events storage for EventQueue 38 private final LinkedList<AWTEvent> events = new LinkedList<AWTEvent>(); field in class:EventQueueCore 85 events.addLast(event); 109 while (events.isEmpty()) { 112 AWTEvent event = events.removeFirst(); 118 return events.isEmpty() ? null : events.getFirst(); 122 for (AWTEvent event : events) { 230 return events.isEmpty() ? null : activeQueue.getNextEvent(); 237 return (currentEvent == null) && events [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | TelephonyRegistry.java | 60 int events; field in class:TelephonyRegistry.Record 125 public void listen(String pkgForDebug, IPhoneStateListener callback, int events, argument 127 // Slog.d(TAG, "listen pkg=" + pkgForDebug + " events=0x" + 128 // Integer.toHexString(events)); 129 if (events != 0) { 131 checkListenerPermission(events); 151 int send = events & (events ^ r.events); 152 r.events 582 checkListenerPermission(int events) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | FileObserverTest.java | 38 public List<Map> events = Lists.newArrayList(); field in class:FileObserverTest.Observer 53 events.add(map); 93 // Ensure that we have seen at least 3 events. 111 Iterator<Map> it = mObserver.events.iterator(); 118 mObserver.events.clear();
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 28 * Command that sends key events to the device, either by their keycode, or by 96 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); 98 for(int i = 0; i < events.length; i++) { 99 KeyEvent event = events[i];
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 26 void listen(String pkg, IPhoneStateListener callback, int events, boolean notifyNow);
|
/frameworks/base/tools/preload/ |
H A D | sorttable.js | 381 if (!element.events) element.events = {}; 383 var handlers = element.events[type]; 385 handlers = element.events[type] = {}; 405 if (element.events && element.events[type]) { 406 delete element.events[type][handler.$$guid]; 416 var handlers = this.events[event.type];
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PasswordEntryKeyboardHelper.java | 111 KeyEvent[] events = KeyCharacterMap.load(KeyCharacterMap.ALPHA).getEvents( 113 if (events != null) { 114 final int N = events.length; 116 KeyEvent event = events[i];
|
/frameworks/base/core/jni/ |
H A D | android_server_BluetoothEventLoop.cpp | 179 static unsigned int unix_events_to_dbus_flags(short events) { argument 180 return (events & DBUS_WATCH_READABLE ? POLLIN : 0) | 181 (events & DBUS_WATCH_WRITABLE ? POLLOUT : 0) | 182 (events & DBUS_WATCH_ERROR ? POLLERR : 0) | 183 (events & DBUS_WATCH_HANGUP ? POLLHUP : 0); 475 short events = dbus_flags_to_unix_events(flags); local 479 (nat->pollData[y].events == events)) { 508 nat->pollData[nat->pollMemberCount].events = events; 519 short events = dbus_flags_to_unix_events(flags); local 588 short events = nat->pollData[i].revents; local [all...] |
H A D | android_bluetooth_BluetoothAudioGateway.cpp | 378 fds[cnt].events = POLLIN | POLLPRI | POLLOUT | POLLERR; 386 fds[cnt].events = POLLIN | POLLPRI | POLLOUT | POLLERR;
|
H A D | android_bluetooth_HeadsetBase.cpp | 115 pfd.events = POLLIN;
|
H A D | android_bluetooth_ScoSocket.cpp | 659 p[1].events = POLLIN | POLLPRI;
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 456 // able to generate normal key events... 463 KeyEvent[] events = mKeyCharacterMap.getEvents(chars); 464 if (events != null) { 465 for (int i=0; i<events.length; i++) { 466 if (DEBUG) Log.v(TAG, "Sending: " + events[i]); 467 sendKeyEvent(events[i]);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebTextView.java | 75 // need to send down the DOM events. 156 // Normally the delete key's dom events are sent via onTextChanged. 249 * In theory, we would like to send the events for the arrow keys. 256 // the DOM events. 412 // events, we will pass them to native (after replacing the beginning 413 // of the changed text), so we can see javascript events. 419 KeyEvent[] events = kmap.getEvents(mCharacter); 420 boolean cannotUseKeyEvents = null == events; 440 int length = events.length; 444 if (!KeyEvent.isModifierKey(events[ [all...] |
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 831 * the events argument. 839 * events argument to 844 * @param events The telephony state(s) of interest to the listener, 848 public void listen(PhoneStateListener listener, int events) { argument 852 mRegistry.listen(pkgForDebug, listener.callback, events, notifyNow);
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 305 * (has no more events to process). 826 * Sends the key events corresponding to the text to the app being 838 KeyEvent[] events = keyCharacterMap.getEvents(text.toCharArray()); 840 if (events != null) { 841 for (int i = 0; i < events.length; i++) { 842 sendKeySync(events[i]); 876 * Higher-level method for sending both the down and up key events for a
|
/frameworks/base/libs/ui/ |
H A D | EventHub.cpp | 4 // Handle events, like key input and vsync. 8 // events to arrive on file descriptors, so that we can use a select() 369 // mFDs[0] is used for inotify, so process regular events starting at mFDs[1] 411 // processing all other events. 431 mFDs[0].events = POLLIN; 603 mFDs[mFDCount].events = POLLIN; 605 // figure out the kinds of events the device reports
|