Code example for ArrayList

Methods: isEmpty

0
        announceForAccessibility(mContext.getString(resId));
    } 
 
    private void handleActionUp(MotionEvent event) {
        // report pattern detected 
        if (!mPattern.isEmpty()) {
            mPatternInProgress = false;
            notifyPatternDetected(); 
            invalidate();
        } 
        if (PROFILE_DRAWING) {
            if (mDrawingProfilingStarted) {
                Debug.stopMethodTracing();
                mDrawingProfilingStarted = false;
            } 
        } 
    } 
 
    private void handleActionDown(MotionEvent event) {
        resetPattern(); 
        final float x = event.getX();