/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/ |
H A D | TestLatencyView.java | 63 public boolean onTouchEvent(MotionEvent event) { argument 64 switch (event.getAction()) { 66 float x = event.getX(); 67 float y = event.getY(); 68 long t = event.getEventTime();
|
/frameworks/native/services/inputflinger/tests/ |
H A D | InputDispatcher_test.cpp | 122 KeyEvent event; local 125 event.initialize(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, 129 &event, DISPLAY_ID, 134 event.initialize(DEVICE_ID, AINPUT_SOURCE_KEYBOARD, 138 &event, DISPLAY_ID, 144 MotionEvent event; local 154 event.initialize(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, 159 &event, DISPLAY_ID, 164 event.initialize(DEVICE_ID, AINPUT_SOURCE_TOUCHSCREEN, 170 &event, DISPLAY_I [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 159 "received hotplug event for an invalid display (id=%d)", type); 163 DisplayEventReceiver::Event event; local 164 event.header.type = DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG; 165 event.header.id = type; 166 event.header.timestamp = systemTime(); 167 event.hotplug.connected = connected; 168 mPendingEvents.add(event); 174 DisplayEventReceiver::Event event; local 176 signalConnections = waitForEvent(&event); 182 // now see if we still need to report this event 204 waitForEvent( DisplayEventReceiver::Event* event) argument 405 postEvent( const DisplayEventReceiver::Event& event) argument [all...] |
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
H A D | ImsVideoCallProvider.java | 205 public void handleCallSessionEvent(int event) { argument 208 mCallback.handleCallSessionEvent(event);
|
H A D | ImsVideoCallProviderWrapper.java | 81 public void handleCallSessionEvent(int event) { argument 82 mHandler.obtainMessage(MSG_HANDLE_CALL_SESSION_EVENT, event).sendToTarget();
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
H A D | SipWakeupTimer.java | 63 * Stops the timer. No event can be scheduled after this method is called. 113 // Determines the period and the trigger time of the new event and insert it 115 private void insertEvent(MyEvent event) { argument 118 event.mTriggerTime = now + event.mPeriod; 119 mEventQueue.add(event); 124 if (minPeriod <= event.mMaxPeriod) { 125 event.mPeriod = event.mMaxPeriod / minPeriod * minPeriod; 126 int interval = event [all...] |
/frameworks/support/v4/java/android/support/v4/media/ |
H A D | TransportMediator.java | 132 public boolean onKeyDown(int keyCode, KeyEvent event) { 133 return isMediaKey(keyCode) ? mCallbacks.onMediaButtonDown(keyCode, event) : false; 136 public boolean onKeyLongPress(int keyCode, KeyEvent event) { 141 public boolean onKeyUp(int keyCode, KeyEvent event) { 142 return isMediaKey(keyCode) ? mCallbacks.onMediaButtonUp(keyCode, event) : false; 146 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { 197 * @param event 199 public boolean dispatchKeyEvent(KeyEvent event) { argument 200 return KeyEventCompat.dispatch(event, mKeyEventCallback, mDispatcherState, this);
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | GestureDetectorCompat.java | 34 * motion event has occurred. This class should only be used with {@link MotionEvent}s 197 * presses and holds down you get a longpress event and nothing further. 216 * Analyzes the given motion event and if applicable triggers the 219 * @param ev The current motion event. 220 * @return true if the {@link OnGestureListener} consumed the event, 293 // Give a callback with down event of the double-tap 358 // Finally, give the up event of the double-tap 386 // Hold the event we obtained above - listeners may have changed the original. 530 * Analyzes the given motion event and if applicable triggers the 533 * @param event Th 537 onTouchEvent(MotionEvent event) argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelper.java | 121 * public boolean dispatchHoverEvent(MotionEvent event) { 122 * if (mHelper.dispatchHoverEvent(this, event) { 125 * return super.dispatchHoverEvent(event); 129 * @param event The hover event to dispatch to the virtual view hierarchy. 130 * @return Whether the hover event was handled. 132 public boolean dispatchHoverEvent(MotionEvent event) { argument 138 switch (event.getAction()) { 141 final int virtualViewId = getVirtualViewAt(event.getX(), event 624 onPopulateEventForVirtualView( int virtualViewId, AccessibilityEvent event) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | MenuWrapperICS.java | 159 public boolean performShortcut(int keyCode, KeyEvent event, int flags) { argument 160 return mWrappedObject.performShortcut(keyCode, event, flags); 164 public boolean isShortcutKey(int keyCode, KeyEvent event) { argument 165 return mWrappedObject.isShortcutKey(keyCode, event);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
H A D | MediaRouteControllerDialog.java | 230 public boolean onKeyDown(int keyCode, KeyEvent event) { argument 236 return super.onKeyDown(keyCode, event); 240 public boolean onKeyUp(int keyCode, KeyEvent event) { argument 245 return super.onKeyUp(keyCode, event);
|
/frameworks/wilhelm/src/android/ |
H A D | AudioRecorder_to_android.cpp | 109 //SL_LOGV("received event EVENT_NEW_POS from AudioRecord"); 119 // getting this event implies SL_RECORDEVENT_HEADATNEWPOS was set in the event mask 126 //SL_LOGV("received event EVENT_MARKER from AudioRecord"); 136 // getting this event implies SL_RECORDEVENT_HEADATMARKER was set in the event mask 143 //SL_LOGV("received event EVENT_OVERRUN from AudioRecord"); 211 static void audioRecorder_callback(int event, void* user, void *info) { argument 212 //SL_LOGV("audioRecorder_callback(%d, %p, %p) entering", event, user, info); 223 switch(event) { [all...] |
H A D | MediaPlayer_to_android.cpp | 29 static void player_handleMediaPlayerEventNotifications(int event, int data1, int data2, void* user) argument 51 u.i = event; 52 SL_LOGV("player_handleMediaPlayerEventNotifications(event='%c%c%c%c' (%d), data1=%d, data2=%d, " 53 "user=%p) from AVPlayer", u.c[3], u.c[2], u.c[1], u.c[0], event, data1, data2, user); 54 switch(event) { 74 // AVPlayer prepare() failed prefetching, there is no event in XAPrefetchStatus to 295 SL_LOGE("Received unknown event %d, data %d from AVPlayer", event, data1);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestRecBuffQueue.cpp | 97 SLuint32 event) 99 if (SL_RECORDEVENT_HEADATNEWPOS & event) { 105 if (SL_RECORDEVENT_HEADATMARKER & event) { 94 RecCallback( SLRecordItf caller, void *pContext, SLuint32 event) argument
|
H A D | slesTestSendToPresetReverb.cpp | 54 void prefetch_callback(SLPrefetchStatusItf caller, void *context, SLuint32 event) argument 64 if ((PREFETCHEVENT_ERROR_CANDIDATE == (event & PREFETCHEVENT_ERROR_CANDIDATE))
|
/frameworks/wilhelm/tests/listening/ |
H A D | slesTest_playMuteSolo.cpp | 70 void prefetch_callback(SLPrefetchStatusItf caller, void *context, SLuint32 event) argument 81 if ((event & PREFETCHEVENT_ERROR_CANDIDATE) == PREFETCHEVENT_ERROR_CANDIDATE 84 } else if (event == SL_PREFETCHEVENT_STATUSCHANGE && 101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */ 102 void PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument 289 /* Initialize a context for use by the play event callback */
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestGetPositionUri.cpp | 66 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 71 //fprintf(stdout, "PrefetchEventCallback: received event %u\n", event); 73 if ((PREFETCHEVENT_ERROR_CANDIDATE == (event & PREFETCHEVENT_ERROR_CANDIDATE)) 79 if (event & SL_PREFETCHEVENT_FILLLEVELCHANGE) { 82 if (event & SL_PREFETCHEVENT_STATUSCHANGE) { 93 SLuint32 event) 97 if (SL_PLAYEVENT_HEADATEND & event) { 112 if (SL_PLAYEVENT_HEADATNEWPOS & event) { 117 if (SL_PLAYEVENT_HEADATMARKER & event) { 90 PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument [all...] |
H A D | slesTestLoopUri.cpp | 63 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 74 if (event & SL_PREFETCHEVENT_FILLLEVELCHANGE) { 77 if (event & SL_PREFETCHEVENT_STATUSCHANGE) { 81 if ((event & PREFETCHEVENT_ERROR_CANDIDATE) == PREFETCHEVENT_ERROR_CANDIDATE 85 } else if (event == SL_PREFETCHEVENT_STATUSCHANGE && 107 SLuint32 event) 111 if (SL_PLAYEVENT_HEADATEND == event) { 114 fprintf(stderr, "Unexpected play event 0x%x", event); 104 PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument
|
H A D | slesTestManyPlayers.cpp | 74 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 81 //fprintf(stdout, "PrefetchEventCallback: received event %u\n", event); 83 if ((PREFETCHEVENT_ERROR_CANDIDATE == (event & PREFETCHEVENT_ERROR_CANDIDATE)) 89 if (event & SL_PREFETCHEVENT_FILLLEVELCHANGE) { 93 if (event & SL_PREFETCHEVENT_STATUSCHANGE) { 105 SLuint32 event) 109 if (SL_PLAYEVENT_HEADATEND & event) { 114 if (SL_PLAYEVENT_HEADATNEWPOS & event) { 121 if (SL_PLAYEVENT_HEADATMARKER & event) { 102 PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument [all...] |
H A D | slesTestPlayUri.cpp | 72 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 79 //fprintf(stdout, "PrefetchEventCallback: received event %u\n", event); 82 if ((PREFETCHEVENT_ERROR_CANDIDATE == (event & PREFETCHEVENT_ERROR_CANDIDATE)) 87 if (event & SL_PREFETCHEVENT_FILLLEVELCHANGE) { 90 if (event & SL_PREFETCHEVENT_STATUSCHANGE) { 101 SLuint32 event) 103 if (SL_PLAYEVENT_HEADATEND & event) { 108 if (SL_PLAYEVENT_HEADATNEWPOS & event) { 114 if (SL_PLAYEVENT_HEADATMARKER & event) { 98 PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument [all...] |
H A D | slesTestSlowDownUri.cpp | 65 void PlayEventCallback( SLPlayItf caller, void *pContext, SLuint32 event) argument 67 fprintf(stdout, "PlayEventCallback event = "); 68 if (event & SL_PLAYEVENT_HEADATEND) { 91 if (event & SL_PLAYEVENT_HEADATMARKER) { 94 if (event & SL_PLAYEVENT_HEADATNEWPOS) { 97 if (event & SL_PLAYEVENT_HEADMOVING) { 100 if (event & SL_PLAYEVENT_HEADSTALLED) { 108 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 110 //fprintf(stdout, "\t\tPrefetchEventCallback: received event %u\n", event); [all...] |
/frameworks/wilhelm/tests/ |
H A D | mimeUri_test.cpp | 74 void PrefetchEventCallback( SLPrefetchStatusItf caller, void *pContext, SLuint32 event) argument 79 fprintf(stdout, "\t\tPrefetchEventCallback: received event %u\n", event); 81 if ((event & (SL_PREFETCHEVENT_STATUSCHANGE|SL_PREFETCHEVENT_FILLLEVELCHANGE)) 86 if (event & SL_PREFETCHEVENT_FILLLEVELCHANGE) { 89 if (event & SL_PREFETCHEVENT_STATUSCHANGE) {
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | multiplay.c | 91 void prefetch_callback(SLPrefetchStatusItf caller, void *context, SLuint32 event) argument 103 //fprintf(stderr, "PrefetchEventCallback: received event %u, level %u, status %u\n", 104 // event, level, status); 105 if ((PREFETCHEVENT_ERROR_CANDIDATE == (event & PREFETCHEVENT_ERROR_CANDIDATE))
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 385 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument 386 static_cast<AudioPlayer *>(user)->AudioCallback(event, info); 425 MediaPlayerBase::AudioSink::cb_event_t event) { 428 switch(event) { 439 ALOGV("AudioSinkCallback: Tear down event"); 447 void AudioPlayer::AudioCallback(int event, void *info) { argument 448 switch (event) { 422 AudioSinkCallback( MediaPlayerBase::AudioSink * , void *buffer, size_t size, void *cookie, MediaPlayerBase::AudioSink::cb_event_t event) argument
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 64 // Inserted after each motion event injection. 81 // check current event in the list 107 // check current event in the list 120 * Predicate for waiting for every event specified in the mask to be matched at least once 130 // check current event in the list 173 * Send keys and blocks until the first specified accessibility event. 227 * Click at coordinates and blocks until either accessibility event TYPE_WINDOW_CONTENT_CHANGED 232 * @param timeout waiting for event 246 * Clicks at coordinates and waits for for a TYPE_WINDOW_STATE_CHANGED event followed 251 * @param timeout waiting for event 654 injectEventSync(InputEvent event) argument [all...] |