ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

org::residualvm::residualvm::ResidualVMActivity Class Reference

Inheritance diagram for org::residualvm::residualvm::ResidualVMActivity:
Collaboration diagram for org::residualvm::residualvm::ResidualVMActivity:

List of all members.

Classes

class  MyResidualVM

Public Member Functions

void onCreate (Bundle savedInstanceState)
boolean onCreateOptionsMenu (Menu menu)
boolean onOptionsItemSelected (MenuItem item)
void onStart ()
void onResume ()
void onPause ()
void onStop ()
void onDestroy ()
boolean onTrackballEvent (MotionEvent e)
boolean onTouchEvent (MotionEvent e)

Public Attributes

View.OnClickListener optionsBtnOnClickListener
View.OnClickListener menuBtnOnClickListener
View.OnClickListener inventoryBtnOnClickListener
View.OnClickListener lookAtBtnOnClickListener
View.OnClickListener useBtnOnClickListener
View.OnClickListener pickUpBtnOnClickListener

Private Member Functions

void emulateKeyPress (int keyCode)
void showKeyboard (boolean show)

Private Attributes

boolean isBtnsShowing = false
MyResidualVM _residualvm
ResidualVMEvents _events
Thread _residualvm_thread

Detailed Description

Definition at line 34 of file ResidualVMActivity.java.


Member Function Documentation

void org::residualvm::residualvm::ResidualVMActivity::emulateKeyPress ( int  keyCode  )  [inline, private]

Definition at line 52 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onCreate ( Bundle  savedInstanceState  )  [inline]

Definition at line 180 of file ResidualVMActivity.java.

boolean org::residualvm::residualvm::ResidualVMActivity::onCreateOptionsMenu ( Menu  menu  )  [inline]

Definition at line 253 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onDestroy (  )  [inline]

Definition at line 302 of file ResidualVMActivity.java.

boolean org::residualvm::residualvm::ResidualVMActivity::onOptionsItemSelected ( MenuItem  item  )  [inline]

Definition at line 259 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onPause (  )  [inline]

Definition at line 285 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onResume (  )  [inline]

Definition at line 275 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onStart (  )  [inline]

Definition at line 268 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::onStop (  )  [inline]

Definition at line 295 of file ResidualVMActivity.java.

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

Definition at line 330 of file ResidualVMActivity.java.

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

Definition at line 322 of file ResidualVMActivity.java.

void org::residualvm::residualvm::ResidualVMActivity::showKeyboard ( boolean  show  )  [inline, private]

Definition at line 337 of file ResidualVMActivity.java.


Member Data Documentation

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_I);
        }
    }

Definition at line 64 of file ResidualVMActivity.java.

Definition at line 36 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_E);
        }
    }

Definition at line 71 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_F1);
        }
    }

Definition at line 57 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {

    if(!isBtnsShowing)
            ((HorizontalScrollView)findViewById(R.id.btns_scrollview)).setVisibility(View.VISIBLE);
    else
        ((HorizontalScrollView)findViewById(R.id.btns_scrollview)).setVisibility(View.GONE);

        isBtnsShowing = !isBtnsShowing;

        }
    }

Definition at line 38 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_P);
        }
    }

Definition at line 85 of file ResidualVMActivity.java.

Initial value:
 new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            emulateKeyPress(KeyEvent.KEYCODE_ENTER);
        }
    }

Definition at line 78 of file ResidualVMActivity.java.


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


Generated on Sat Jan 12 2019 05:05:00 for ResidualVM by doxygen 1.7.1
curved edge   curved edge