Searched refs:speechItem (Results 1 – 1 of 1) sorted by relevance
494 private boolean isFlushed(SpeechItem speechItem) { in isFlushed() argument496 return mFlushAll > 0 || mFlushedObjects.contains(speechItem.getCallerIdentity()); in isFlushed()504 private synchronized SpeechItem setCurrentSpeechItem(SpeechItem speechItem) { in setCurrentSpeechItem() argument506 mCurrentSpeechItem = speechItem; in setCurrentSpeechItem()541 public int enqueueSpeechItem(int queueMode, final SpeechItem speechItem) { in enqueueSpeechItem() argument543 if (speechItem instanceof UtteranceProgressDispatcher) { in enqueueSpeechItem()544 utterenceProgress = (UtteranceProgressDispatcher) speechItem; in enqueueSpeechItem()547 if (!speechItem.isValid()) { in enqueueSpeechItem()556 stopForApp(speechItem.getCallerIdentity()); in enqueueSpeechItem()563 if (isFlushed(speechItem)) { in enqueueSpeechItem()[all …]