/frameworks/wilhelm/tests/mimeUri/ |
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/base/media/jni/soundpool/ |
H A D | android_media_SoundPool.cpp | 171 static void android_media_callback(SoundPoolEvent event, SoundPool* soundPool, void* user) argument 173 ALOGV("callback: (%d, %d, %d, %p, %p)", event.mMsg, event.mArg1, event.mArg2, soundPool, user); 175 env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1, event.mArg2, NULL);
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | RgbPlayerActivity.java | 171 public boolean onTouchEvent(MotionEvent event) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SearchPanelView.java | 272 public boolean dispatchHoverEvent(MotionEvent event) { argument 276 final int x = (int) event.getX(); 277 final int y = (int) event.getY(); 279 return super.dispatchHoverEvent(event); 300 // public boolean onTouch(View v, MotionEvent event) { 301 // return statusBarView.onTouchEvent(event);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | GestureRecorder.java | 46 public MotionEvent event; field in class:GestureRecorder.Gesture.MotionEventRecord 47 public MotionEventRecord(long when, MotionEvent event) { argument 49 this.event = event.copy(); 70 actionName(this.event.getAction()), 71 this.event.getRawX(), 72 this.event.getRawY(), 73 this.event.getSize(), 74 this.event.getPressure() 104 Slog.w(TAG, "Assertion failure in GestureRecorder: event downTim [all...] |
H A D | SignalClusterView.java | 136 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { argument 140 event.getText().add(mWifiGroup.getContentDescription()); 142 event.getText().add(mMobileGroup.getContentDescription()); 143 return super.dispatchPopulateAccessibilityEvent(event);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PanelBar.java | 97 public boolean onTouchEvent(MotionEvent event) { argument 102 if (event.getAction() == MotionEvent.ACTION_DOWN) { 103 final PanelView panel = selectPanelForTouch(event); 106 if (DEBUG) LOG("PanelBar.onTouch: no panel for x=%d, bailing", event.getX()); 121 ? mTouchingPanel.onTouchEvent(event)
|
H A D | PhoneStatusBarView.java | 92 public boolean onRequestSendAccessibilityEvent(View child, AccessibilityEvent event) { argument 93 if (super.onRequestSendAccessibilityEvent(child, event)) { 100 event.appendRecord(record); 175 public boolean onTouchEvent(MotionEvent event) { argument 176 return mBar.interceptTouchEvent(event) || super.onTouchEvent(event); 180 public boolean onInterceptTouchEvent(MotionEvent event) { argument 181 return mBar.interceptTouchEvent(event) || super.onInterceptTouchEvent(event);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioPlayer.cpp | 280 void AudioPlayer::AudioCallback(int event, void *user, void *info) { argument 281 static_cast<AudioPlayer *>(user)->AudioCallback(event, info); 316 void AudioPlayer::AudioCallback(int event, void *info) { argument 317 if (event != AudioTrack::EVENT_MORE_DATA) {
|
/frameworks/base/core/java/android/app/ |
H A D | SearchDialog.java | 485 public boolean onTouchEvent(MotionEvent event) { argument 486 // cancel if the drop-down is not showing and the touch event was outside the search plate 487 if (!mSearchAutoComplete.isPopupShowing() && isOutOfBounds(mSearchPlate, event)) { 493 return super.onTouchEvent(event); 496 private boolean isOutOfBounds(View v, MotionEvent event) { argument 497 final int x = (int) event.getX(); 498 final int y = (int) event.getY();
|
/frameworks/base/core/java/android/content/res/ |
H A D | CompatibilityInfo.java | 348 * Translate the motion event captured on screen to the application's window. 350 public void translateEventInScreenToAppWindow(MotionEvent event) { argument 351 event.scale(applicationInvertedScale);
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 159 * determine whether input event injection will be permitted based on the current 160 * input focus. Does not wait for the input event to finish being handled 168 * Waits for the event to be delivered to the application and handled. 588 * Injects an input event into the event system on behalf of an application. 595 * Make sure you correctly set the event time and input source of the event 599 * @param event The event to inject. 604 * @return True if input event injectio 608 injectInputEvent(InputEvent event, int mode) argument [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | NfcAdapter.java | 262 * @param event {@link NfcEvent} with the {@link NfcEvent#nfcAdapter} field set 265 public void onNdefPushComplete(NfcEvent event); argument 297 * @param event {@link NfcEvent} with the {@link NfcEvent#nfcAdapter} field set 300 public NdefMessage createNdefMessage(NfcEvent event); argument 306 public Uri[] createBeamUris(NfcEvent event); argument
|
/frameworks/base/core/java/android/preference/ |
H A D | VolumePreference.java | 80 public boolean onKey(View v, int keyCode, KeyEvent event) { argument 83 boolean isdown = (event.getAction() == KeyEvent.ACTION_DOWN);
|
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 66 * private char getUnicodeChar(TextKeyListener listener, KeyEvent event, Editable textBuffer) { 67 * // Use the combined meta states from the event and the key listener. 68 * int metaState = event.getMetaState() | listener.getMetaState(textBuffer); 69 * return event.getUnicodeChar(metaState); 266 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { argument 321 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) { argument 323 release(content, CAP, event); 329 release(content, ALT, event); 334 release(content, SYM, event); 341 private void release(Editable content, Object what, KeyEvent event) { argument 482 handleKeyDown(long state, int keyCode, KeyEvent event) argument 520 handleKeyUp(long state, int keyCode, KeyEvent event) argument 539 release(long state, int what, long mask, long pressed, long released, long used, KeyEvent event) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 26 * When a problem is detected, the event is tainted. This mechanism prevents the same 56 // The most recently checked event and the nesting level at which it was checked. 58 // so that the verifier can detect when it has been asked to verify the same event twice. 59 // It does not make sense to examine the contents of the last event since it may have 70 // Current event and its type. 90 // Set to true when we discover that the touch event stream is inconsistent. 94 // Set to true if the touch event stream is partially unhandled. 104 * Indicates that the verifier is intended to act on raw device input event streams. 140 * Resets the state of the input event consistency verifier. 160 * Checks an arbitrary input event 168 onInputEvent(InputEvent event, int nestingLevel) argument 193 onKeyEvent(KeyEvent event, int nestingLevel) argument 255 onTrackballEvent(MotionEvent event, int nestingLevel) argument 318 onTouchEvent(MotionEvent event, int nestingLevel) argument 459 onGenericMotionEvent(MotionEvent event, int nestingLevel) argument 520 onUnhandledEvent(InputEvent event, int nestingLevel) argument 558 ensurePointerCountIsOneForThisAction(MotionEvent event) argument 566 ensureHistorySizeIsZeroForThisAction(MotionEvent event) argument 574 startEvent(InputEvent event, int nestingLevel, String eventType) argument 646 appendEvent(StringBuilder message, int index, InputEvent event, boolean unhandled) argument [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityEvent.java | 33 * An accessibility event is fired by an individual view which populates the event with 34 * data for its state and requests from its parent to send the event to interested 37 * request for sending an event. The accessibility event is sent by the topmost view in the 39 * explore all records in an accessibility event to obtain more information about the 40 * context in which the event was fired. 43 * The main purpose of an accessibility event is to expose enough information for an 46 * information then the one in the event pay-load. In such cases the service can obtain 47 * the event sourc 714 init(AccessibilityEvent event) argument 898 obtain(AccessibilityEvent event) argument [all...] |
H A D | AccessibilityInteractionClient.java | 451 public void onAccessibilityEvent(AccessibilityEvent event) { argument 452 sAccessibilityNodeInfoCache.onAccessibilityEvent(event);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 191 * the given text. In addition, only if dummy mode, a key event is 262 * current editable text. In addition, only if dummy mode, a key event is 503 * Provides standard implementation for sending a key event to the window 506 public boolean sendKeyEvent(KeyEvent event) { argument 515 viewRootImpl.dispatchKeyFromIme(event); 559 // Otherwise, revert to the special key event containing 561 KeyEvent event = new KeyEvent(SystemClock.uptimeMillis(), 563 sendKeyEvent(event);
|
/frameworks/base/core/java/android/webkit/ |
H A D | AccessibilityInjectorFallback.java | 111 // getting two empty selection strings in a row we let the WebView handle the event 129 * Processes a key down <code>event</code>. 131 * @return True if the event was processed. 133 public boolean onKeyEvent(KeyEvent event) { argument 135 if (isEnterActionKey(event.getKeyCode())) { 139 if (event.getAction() == KeyEvent.ACTION_UP) { 147 if (event.getKeyCode() == candidate.getKeyCode() 148 && event.hasModifiers(candidate.getModifiers())) { 170 // on second null selection string in same direction - WebView handles the event 182 // on second null selection string in same direction => WebView handle the event 398 sendAccessibilityEvent(AccessibilityEvent event) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsSeekBar.java | 357 public boolean onTouchEvent(MotionEvent event) { argument 362 switch (event.getAction()) { 365 mTouchDownX = event.getX(); 372 trackTouchEvent(event); 379 trackTouchEvent(event); 381 final float x = event.getX(); 388 trackTouchEvent(event); 396 trackTouchEvent(event); 403 trackTouchEvent(event); 423 private void trackTouchEvent(MotionEvent event) { argument 486 onKeyDown(int keyCode, KeyEvent event) argument 508 onInitializeAccessibilityEvent(AccessibilityEvent event) argument [all...] |
H A D | FrameLayout.java | 577 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument 578 super.onInitializeAccessibilityEvent(event); 579 event.setClassName(FrameLayout.class.getName());
|
H A D | TabWidget.java | 402 public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent event) { argument 403 onPopulateAccessibilityEvent(event); 408 return tabView.dispatchPopulateAccessibilityEvent(event); 415 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument 416 super.onInitializeAccessibilityEvent(event); 417 event.setClassName(TabWidget.class.getName()); 418 event.setItemCount(getTabCount()); 419 event.setCurrentItemIndex(mSelectedTab); 424 public void sendAccessibilityEventUnchecked(AccessibilityEvent event) { argument 426 if (event [all...] |