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

1234567891011>>

/frameworks/base/core/java/android/hardware/
H A DTriggerEventListener.java21 * Trigger Sensors are sensors that trigger an event and are automatically
33 * public void onTrigger(TriggerEvent event) {
74 * @param event The details of the event.
76 public abstract void onTrigger(TriggerEvent event); argument
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/hardware/location/
H A DGeofenceHardwareMonitorCallback.java58 * @param event An object representing the monitoring system change event.
60 public void onMonitoringSystemChange(GeofenceHardwareMonitorEvent 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/packages/Keyguard/src/com/android/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/packages/SystemUI/src/com/android/systemui/settings/
H A DToggleSeekBar.java38 public boolean onTouchEvent(MotionEvent event) { argument
43 return super.onTouchEvent(event);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
H A DAccessibleLinearLayout.java36 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
37 super.onInitializeAccessibilityEvent(event);
38 event.setClassName(Button.class.getName());
H A DAccessibleTextView.java36 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
37 super.onInitializeAccessibilityEvent(event);
38 event.setClassName(Button.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
H A DViewParentCompatICS.java28 ViewParent parent, View child, AccessibilityEvent event) {
29 return parent.requestSendAccessibilityEvent(child, event);
27 requestSendAccessibilityEvent( ViewParent parent, 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) {
75 int event = data.readInt32(); local
80 if (event == AudioSystem::STREAM_CONFIG_CHANGED) {
84 } else if (event != AudioSystem::OUTPUT_CLOSED && event != AudioSystem::INPUT_CLOSED) {
92 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/hardware/input/
H A DInputManagerInternal.java28 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
/frameworks/base/core/java/android/text/method/
H A DDialerKeyListener.java55 protected int lookup(KeyEvent event, Spannable content) { argument
56 int meta = getMetaState(content, event);
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/android/widget/
H A DButton.java115 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
116 super.onInitializeAccessibilityEvent(event);
117 event.setClassName(Button.class.getName());
H A DCheckBox.java76 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
77 super.onInitializeAccessibilityEvent(event);
78 event.setClassName(CheckBox.class.getName());
H A DImageButton.java96 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
97 super.onInitializeAccessibilityEvent(event);
98 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.java83 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
84 super.onInitializeAccessibilityEvent(event);
85 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.java97 public void onInitializeAccessibilityEvent(AccessibilityEvent event) { argument
98 super.onInitializeAccessibilityEvent(event);
99 event.setClassName(TwoLineListItem.class.getName());

Completed in 444 milliseconds

1234567891011>>