Searched refs:mSrecGrammar (Results 1 – 3 of 3) sorted by relevance
95 if (mSrecGrammar != null) { in setContactsFile()96 mSrecGrammar.destroy(); in setContactsFile()97 mSrecGrammar = null; in setContactsFile()110 if (mSrecGrammar != null) { in setAllowOpenEntries()111 mSrecGrammar.destroy(); in setAllowOpenEntries()112 mSrecGrammar = null; in setAllowOpenEntries()138 if (mSrecGrammar != null) { in setupGrammar()139 mSrecGrammar.destroy(); in setupGrammar()140 mSrecGrammar = null; in setupGrammar()145 mSrecGrammar = mSrec.new Grammar(SREC_DIR + "/grammars/VoiceDialer.g2g"); in setupGrammar()[all …]
76 protected Recognizer.Grammar mSrecGrammar; field in RecognizerEngine127 if (mSrecGrammar != null) { in recognize()128 mSrecGrammar.destroy(); in recognize()130 mSrecGrammar = null; in recognize()
34 if (mSrecGrammar == null) { in setupGrammar()36 mSrecGrammar = mSrec.new Grammar(SREC_DIR + "/grammars/phone_type_choice.g2g"); in setupGrammar()37 mSrecGrammar.setupRecognizer(); in setupGrammar()