Lines Matching defs:event
922 // event. in that case, treat the first occurence of a move event as a ACTION_DOWN
1013 * of the down event.
1158 // Remember where the motion event started
1170 // Scroll to follow the motion event
1289 public boolean onGenericMotionEvent(MotionEvent event) {
1290 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) {
1291 switch (event.getAction()) {
1296 if ((event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0) {
1298 hscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1300 vscroll = -event.getAxisValue(MotionEvent.AXIS_VSCROLL);
1301 hscroll = event.getAxisValue(MotionEvent.AXIS_HSCROLL);
1314 return super.onGenericMotionEvent(event);
1894 public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
1895 super.onInitializeAccessibilityEvent(event);
1896 event.setScrollable(true);
1897 if (event.getEventType() == AccessibilityEvent.TYPE_VIEW_SCROLLED) {
1898 event.setFromIndex(mCurrentPage);
1899 event.setToIndex(mCurrentPage);
1900 event.setItemCount(getChildCount());
1911 public boolean onHoverEvent(android.view.MotionEvent event) {