Searched refs:speechItem (Results 1 – 1 of 1) sorted by relevance
495 private boolean isFlushed(SpeechItem speechItem) { in isFlushed() argument497 return mFlushAll > 0 || mFlushedObjects.contains(speechItem.getCallerIdentity()); in isFlushed()505 private synchronized boolean setCurrentSpeechItem(SpeechItem speechItem) { in setCurrentSpeechItem() argument516 if (speechItem != null && isFlushed(speechItem)) { in setCurrentSpeechItem()519 mCurrentSpeechItem = speechItem; in setCurrentSpeechItem()560 public int enqueueSpeechItem(int queueMode, final SpeechItem speechItem) { in enqueueSpeechItem() argument562 if (speechItem instanceof UtteranceProgressDispatcher) { in enqueueSpeechItem()563 utterenceProgress = (UtteranceProgressDispatcher) speechItem; in enqueueSpeechItem()566 if (!speechItem.isValid()) { in enqueueSpeechItem()575 stopForApp(speechItem.getCallerIdentity()); in enqueueSpeechItem()[all …]