Lines Matching defs:event

86      * Position of the last motion event.
97 * The child to give focus to in the event that a child has requested focus while the
225 * an arrow event.
367 public boolean dispatchKeyEvent(KeyEvent event) {
369 return super.dispatchKeyEvent(event) || executeKeyEvent(event);
374 * scrolling from a key event, just as if the event had been dispatched to
377 * @param event The key event to execute.
378 * @return Return true if the event was handled, else false.
380 public boolean executeKeyEvent(KeyEvent event) {
384 if (isFocused() && event.getKeyCode() != KeyEvent.KEYCODE_BACK) {
397 if (event.getAction() == KeyEvent.ACTION_DOWN) {
398 switch (event.getKeyCode()) {
400 if (!event.isAltPressed()) {
407 if (!event.isAltPressed()) {
414 pageScroll(event.isShiftPressed() ? View.FOCUS_UP : View.FOCUS_DOWN);
498 * of the down event.
622 // Remember where the motion event started
655 // Scroll to follow the motion event
763 public boolean onGenericMotionEvent(MotionEvent event) {
764 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) {
765 switch (event.getAction()) {
768 final float vscroll = event.getAxisValue(MotionEvent.AXIS_VSCROLL);
788 return super.onGenericMotionEvent(event);
860 public void onInitializeAccessibilityEvent(AccessibilityEvent event) {
861 super.onInitializeAccessibilityEvent(event);
862 event.setClassName(ScrollView.class.getName());
864 event.setScrollable(scrollable);
865 event.setScrollX(mScrollX);
866 event.setScrollY(mScrollY);
867 event.setMaxScrollX(mScrollX);
868 event.setMaxScrollY(getScrollRange());
974 * @return true if the key event is consumed by this method, false otherwise
1010 * @return true if the key event is consumed by this method, false otherwise
1041 * @return true if the key event is consumed by this method, false otherwise
1073 * @return True if we consumed the event, false otherwise