Lines Matching refs:mSrecGrammar
95 if (mSrecGrammar != null) {
96 mSrecGrammar.destroy();
97 mSrecGrammar = null;
110 if (mSrecGrammar != null) {
111 mSrecGrammar.destroy();
112 mSrecGrammar = null;
138 if (mSrecGrammar != null) {
139 mSrecGrammar.destroy();
140 mSrecGrammar = null;
145 mSrecGrammar = mSrec.new Grammar(SREC_DIR + "/grammars/VoiceDialer.g2g");
146 mSrecGrammar.setupRecognizer();
150 mSrecGrammar.resetAllSlots();
162 mSrecGrammar.compile();
167 mSrecGrammar.save(g2g.getPath());
171 else if (mSrecGrammar == null) {
173 mSrecGrammar = mSrec.new Grammar(g2g.getPath());
174 mSrecGrammar.setupRecognizer();
215 mSrecGrammar.addWordToSlot("@Names", name, null, 1, sb.toString());
342 mSrecGrammar.addWordToSlot("@Opens", label, null, 1, "V='" + label + "'");