private void resetPattern(){
  mPattern.clear();
  clearPatternDrawLookup();
  mPatternDisplayMode=DisplayMode.Correct;
  invalidate();
}

private void resetPattern ( ) { mPattern . clear ( ) ; clearPatternDrawLookup ( ) ; mPatternDisplayMode = DisplayMode . Correct ; invalidate ( ) ; }
reset all pattern state .
