public boolean tryAddQueryText(CharSequence newText){
  int initLength=mQueryText.length();
  mQueryText.append(newText);
  if (evaluateSearch()) {
    mSearchOverlay.refreshOverlay();
    return true;
  }
  mQueryText.delete(initLength,mQueryText.length());
  return false;
}

public boolean tryAddQueryText ( CharSequence newText ) { int initLength = mQueryText . length ( ) ; mQueryText . append ( newText ) ; if ( evaluateSearch ( ) ) { mSearchOverlay . refreshOverlay ( ) ; return true ; } mQueryText . delete ( initLength , mQueryText . length ( ) ) ; return false ; }
try to add some text to the search query . the text is only added if there are search results for the new query , in which case the matched node may change .
