FileDocCategorySizeDatePackage
RSTest_v11.javaAPI DocAndroid 5.1 API2451Thu Mar 12 22:22:54 GMT 2015com.android.rs.test_v11

RSTest_v11

public class RSTest_v11 extends android.app.Activity

Fields Summary
private static final String
LOG_TAG
private static final boolean
DEBUG
private static final boolean
LOG_ENABLED
private RSTestView
mView
Constructors Summary
Methods Summary
static voidlog(java.lang.String message)

        if (LOG_ENABLED) {
            Log.v(LOG_TAG, message);
        }
    
public voidonCreate(android.os.Bundle icicle)


    // get the current looper (from your Activity UI thread for instance

    
        
        super.onCreate(icicle);

        // Create our Preview view and set it as the content of our
        // Activity
        mView = new RSTestView(this);
        setContentView(mView);
    
protected voidonPause()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity loses focus
        super.onPause();
        mView.pause();
    
protected voidonResume()

        // Ideally a game should implement onResume() and onPause()
        // to take appropriate action when the activity loses focus
        super.onResume();
        mView.resume();