Code example for MotionEvent

Methods: getActiongetXgetY

0
    public void setLoops(int iterations) {
        if (iterations > 0) {
            mLoops = iterations;
        } 
    } 
 
    /** 
     * Wait for message from the script 
     */ 
    public boolean testIsFinished() { 
        return mRender.testIsFinished();
    } 
 
    void setBenchmarkMode(int benchNum) {
        mRender.setBenchmarkMode(benchNum);
    } 
 
    void suspendRendering(boolean pause) {
        mRender.pause(pause);
    }