ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge
Collaboration diagram for org::residualvm::residualvm::ResidualVMEvents:

List of all members.

Public Member Functions

 ResidualVMEvents (Context context, ResidualVM residualvm, MouseHelper mouseHelper)
final void sendQuitEvent ()
boolean onTrackballEvent (MotionEvent e)
final boolean onKey (View v, int keyCode, KeyEvent e)
final boolean onTouchEvent (MotionEvent e)
final boolean onDown (MotionEvent e)
final boolean onFling (MotionEvent e1, MotionEvent e2, float velocityX, float velocityY)
final void onLongPress (MotionEvent e)
final boolean onScroll (MotionEvent e1, MotionEvent e2, float distanceX, float distanceY)
final void onShowPress (MotionEvent e)
final boolean onSingleTapUp (MotionEvent e)
final boolean onDoubleTap (MotionEvent e)
final boolean onDoubleTapEvent (MotionEvent e)
final boolean onSingleTapConfirmed (MotionEvent e)
boolean onGenericMotion (View v, final MotionEvent event)

Static Public Attributes

static final int JE_SYS_KEY = 0
static final int JE_KEY = 1
static final int JE_DPAD = 2
static final int JE_DOWN = 3
static final int JE_SCROLL = 4
static final int JE_TAP = 5
static final int JE_DOUBLE_TAP = 6
static final int JE_MULTI = 7
static final int JE_BALL = 8
static final int JE_LMB_DOWN = 9
static final int JE_LMB_UP = 10
static final int JE_RMB_DOWN = 11
static final int JE_RMB_UP = 12
static final int JE_MOUSE_MOVE = 13
static final int JE_MMB_DOWN = 16
static final int JE_MMB_UP = 17
static final int JE_TOUCH = 18
static final int JE_LONG = 19
static final int JE_FLING = 20
static final int JE_QUIT = 0x1000

Protected Attributes

final Context _context
final ResidualVM _residualvm
final GestureDetector _gd
final int _longPress
final MouseHelper _mouseHelper
final int _width

Static Package Attributes

static final int MSG_MENU_LONG_PRESS = 1

Private Attributes

final int REL_SWIPE_MIN_DISTANCE
final int REL_SWIPE_THRESHOLD_VELOCITY
final Handler keyHandler

Static Private Attributes

static boolean rightJoystickHeld = false
static int rightJoystickKeyCode = -1

Detailed Description

Definition at line 18 of file ResidualVMEvents.java.


Constructor & Destructor Documentation

org::residualvm::residualvm::ResidualVMEvents::ResidualVMEvents ( Context  context,
ResidualVM  residualvm,
MouseHelper  mouseHelper 
) [inline]

Definition at line 55 of file ResidualVMEvents.java.


Member Function Documentation

final boolean org::residualvm::residualvm::ResidualVMEvents::onDoubleTap ( MotionEvent  e  )  [inline]

Definition at line 294 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onDoubleTapEvent ( MotionEvent  e  )  [inline]

Definition at line 299 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onDown ( MotionEvent  e  )  [inline]

Definition at line 249 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onFling ( MotionEvent  e1,
MotionEvent  e2,
float  velocityX,
float  velocityY 
) [inline]

Definition at line 255 of file ResidualVMEvents.java.

boolean org::residualvm::residualvm::ResidualVMEvents::onGenericMotion ( View  v,
final MotionEvent  event 
) [inline]

Definition at line 316 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onKey ( View  v,
int  keyCode,
KeyEvent  e 
) [inline]

Definition at line 101 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::onLongPress ( MotionEvent  e  )  [inline]

Definition at line 270 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onScroll ( MotionEvent  e1,
MotionEvent  e2,
float  distanceX,
float  distanceY 
) [inline]

Definition at line 276 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::onShowPress ( MotionEvent  e  )  [inline]

Definition at line 284 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onSingleTapConfirmed ( MotionEvent  e  )  [inline]

Definition at line 307 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onSingleTapUp ( MotionEvent  e  )  [inline]

Definition at line 288 of file ResidualVMEvents.java.

final boolean org::residualvm::residualvm::ResidualVMEvents::onTouchEvent ( MotionEvent  e  )  [inline]

Definition at line 209 of file ResidualVMEvents.java.

boolean org::residualvm::residualvm::ResidualVMEvents::onTrackballEvent ( MotionEvent  e  )  [inline]

Definition at line 76 of file ResidualVMEvents.java.

final void org::residualvm::residualvm::ResidualVMEvents::sendQuitEvent (  )  [inline]

Definition at line 72 of file ResidualVMEvents.java.


Member Data Documentation

Definition at line 48 of file ResidualVMEvents.java.

final GestureDetector org::residualvm::residualvm::ResidualVMEvents::_gd [protected]

Definition at line 50 of file ResidualVMEvents.java.

Definition at line 51 of file ResidualVMEvents.java.

Definition at line 53 of file ResidualVMEvents.java.

Definition at line 32 of file ResidualVMEvents.java.

Definition at line 27 of file ResidualVMEvents.java.

Definition at line 26 of file ResidualVMEvents.java.

Definition at line 42 of file ResidualVMEvents.java.

Definition at line 25 of file ResidualVMEvents.java.

Definition at line 33 of file ResidualVMEvents.java.

Definition at line 34 of file ResidualVMEvents.java.

Definition at line 41 of file ResidualVMEvents.java.

Definition at line 38 of file ResidualVMEvents.java.

Definition at line 39 of file ResidualVMEvents.java.

Definition at line 37 of file ResidualVMEvents.java.

Definition at line 31 of file ResidualVMEvents.java.

Definition at line 43 of file ResidualVMEvents.java.

Definition at line 35 of file ResidualVMEvents.java.

Definition at line 36 of file ResidualVMEvents.java.

Definition at line 28 of file ResidualVMEvents.java.

Definition at line 24 of file ResidualVMEvents.java.

Definition at line 29 of file ResidualVMEvents.java.

Definition at line 40 of file ResidualVMEvents.java.

Initial value:
 new Handler() {
        @Override
        public void handleMessage(Message msg) {
            if (msg.what == MSG_MENU_LONG_PRESS) {
                InputMethodManager imm = (InputMethodManager)
                    _context.getSystemService(Context.INPUT_METHOD_SERVICE);

                if (imm != null)
                    imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, 0);
            }
        }
    }

Definition at line 86 of file ResidualVMEvents.java.

Definition at line 84 of file ResidualVMEvents.java.

Definition at line 313 of file ResidualVMEvents.java.


The documentation for this class was generated from the following file:


Generated on Sat Sep 14 2019 05:04:52 for ResidualVM by doxygen 1.7.1
curved edge   curved edge