Searched defs:event (Results 1 - 25 of 395) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/
H A DSensorEventListener.java32 * {@link android.hardware.SensorEvent event}
37 * @param event the {@link android.hardware.SensorEvent SensorEvent}.
39 public void onSensorChanged(SensorEvent event); argument
/frameworks/base/core/java/android/view/
H A DFallbackEventHandler.java24 public void preDispatchKeyEvent(KeyEvent event); argument
25 public boolean dispatchKeyEvent(KeyEvent event); argument
H A DTouchDelegate.java55 * True if the delegate had been targeted on a down event (intersected mBounds).
100 * Will forward touch events to the delegate view if the event is within the bounds
103 * @param event The touch event to forward
104 * @return True if the event was forwarded to the delegate, false otherwise.
106 public boolean onTouchEvent(MotionEvent event) { argument
107 int x = (int)event.getX();
108 int y = (int)event.getY();
113 switch (event.getAction()) {
141 // Offset event coordinate
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEventSource.java33 * the event type. The method must first check if accessibility is on
35 * obtain an {@link AccessibilityEvent} from the event pool through calling
37 * event, and send it for dispatch via calling
44 * @param eventType The event type.
51 * sending the event for dispatch. It is responsibility of the caller
58 * @param event The event.
60 public void sendAccessibilityEventUnchecked(AccessibilityEvent event); argument
/frameworks/base/core/java/android/widget/
H A DButton.java111 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
112 super.onInitializeAccessibilityEvent(event);
113 event.setClassName(Button.class.getName());
H A DCheckBox.java72 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
73 super.onInitializeAccessibilityEvent(event);
74 event.setClassName(CheckBox.class.getName());
H A DImageButton.java97 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
98 super.onInitializeAccessibilityEvent(event);
99 event.setClassName(ImageButton.class.getName());
H A DImageSwitcher.java60 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
61 super.onInitializeAccessibilityEvent(event);
62 event.setClassName(ImageSwitcher.class.getName());
H A DRadioButton.java81 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
82 super.onInitializeAccessibilityEvent(event);
83 event.setClassName(RadioButton.class.getName());
H A DTextSwitcher.java95 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
96 super.onInitializeAccessibilityEvent(event);
97 event.setClassName(TextSwitcher.class.getName());
H A DTwoLineListItem.java93 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
94 super.onInitializeAccessibilityEvent(event);
95 event.setClassName(TwoLineListItem.class.getName());
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewGroupCompatIcs.java28 AccessibilityEvent event) {
29 return group.onRequestSendAccessibilityEvent(child, event);
27 onRequestSendAccessibilityEvent(ViewGroup group, View child, AccessibilityEvent event) argument
/frameworks/av/drm/common/
H A DIDrmServiceListener.cpp27 status_t BpDrmServiceListener::notify(const DrmInfoEvent& event) { argument
31 data.writeInt32(event.getUniqueId());
32 data.writeInt32(event.getType());
33 data.writeString8(event.getMessage());
/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp42 void ioConfigChanged(int event, audio_io_handle_t ioHandle, const void *param2) argument
46 data.writeInt32(event);
48 if (event == AudioSystem::STREAM_CONFIG_CHANGED) {
52 } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED) {
74 int event = data.readInt32(); local
79 if (event == AudioSystem::STREAM_CONFIG_CHANGED) {
83 } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED) {
91 ioConfigChanged(event, ioHandl
[all...]
/frameworks/av/media/mtp/
H A DMtpEventPacket.cpp44 struct mtp_event event; local
49 event.data = mBuffer;
50 event.length = mPacketSize;
51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event);
/frameworks/base/core/java/android/text/method/
H A DDialerKeyListener.java55 protected int lookup(KeyEvent event, Spannable content) { argument
56 int meta = event.getMetaState() | getMetaState(content);
57 int number = event.getNumber();
69 int match = super.lookup(event, content);
85 if (event.getKeyData(kd)) {
H A DKeyListener.java64 int keyCode, KeyEvent event);
72 int keyCode, KeyEvent event);
79 public boolean onKeyOther(View view, Editable text, KeyEvent event); argument
63 onKeyDown(View view, Editable text, int keyCode, KeyEvent event) argument
71 onKeyUp(View view, Editable text, int keyCode, KeyEvent event) argument
/frameworks/base/core/java/com/android/internal/app/
H A DAlertActivity.java78 public boolean onKeyDown(int keyCode, KeyEvent event) { argument
79 if (mAlert.onKeyDown(keyCode, event)) return true;
80 return super.onKeyDown(keyCode, event);
84 public boolean onKeyUp(int keyCode, KeyEvent event) { argument
85 if (mAlert.onKeyUp(keyCode, event)) return true;
86 return super.onKeyUp(keyCode, event);
/frameworks/base/core/tests/coretests/src/android/os/
H A DFileObserverTest.java44 public void onEvent(int event, String path) { argument
49 map.put("event", event);
114 Log.i("FileObserverTest", "event: " + getEventString((Integer)map.get("event")) + " path: " + map.get("path"));
121 private String getEventString(int event) { argument
122 switch (event) {
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListSetSelection.java64 public boolean dispatchKeyEvent(KeyEvent event) { argument
65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) {
70 return super.dispatchKeyEvent(event);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DLiftToActivateListener.java40 public boolean onHover(View v, MotionEvent event) { argument
45 switch (event.getActionMasked()) {
53 final int x = (int) event.getX();
54 final int y = (int) event.getY();
65 // Pass the event to View.onHoverEvent() to handle accessibility.
66 v.onHoverEvent(event);
68 // Consume the event so it doesn't fall through to other views.
/frameworks/base/services/java/com/android/server/
H A DNativeDaemonConnectorException.java37 public NativeDaemonConnectorException(String cmd, NativeDaemonEvent event) { argument
38 super("command '" + cmd + "' failed with '" + event + "'");
40 mEvent = event;
/frameworks/base/services/java/com/android/server/accessibility/
H A DEventStreamTransformation.java32 * of the event stream, an instance should work against the event stream
36 * It is a responsibility of each handler that decides to react to an event
38 * the appropriate cancel event given it has delegated a part of the events
41 * see a consistent event stream.
43 * For example, to cancel a {@link KeyEvent} the handler has to emit an event
46 * has to send an event with action {@link MotionEvent#ACTION_CANCEL}.
48 * It is a responsibility of each handler that received a cancel event to clear its
49 * internal state and to propagate the event to the next one to enable subsequent
53 * after an event tha
68 onMotionEvent(MotionEvent event, MotionEvent rawEvent, int policyFlags) argument
75 onAccessibilityEvent(AccessibilityEvent event) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBaseErrorDialog.java48 public boolean dispatchKeyEvent(KeyEvent event) { argument
50 //Slog.i(TAG, "Consuming: " + event);
53 //Slog.i(TAG, "Dispatching: " + event);
54 return super.dispatchKeyEvent(event);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathOffsetActivity.java62 public boolean onTouchEvent(MotionEvent event) { argument
64 return super.onTouchEvent(event);

Completed in 318 milliseconds

1234567891011>>