Home
last modified time | relevance | path

Searched refs:speechItem (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/java/android/speech/tts/
DTextToSpeechService.java494 private boolean isFlushed(SpeechItem speechItem) { in isFlushed() argument
496 return mFlushAll > 0 || mFlushedObjects.contains(speechItem.getCallerIdentity()); in isFlushed()
504 private synchronized SpeechItem setCurrentSpeechItem(SpeechItem speechItem) { in setCurrentSpeechItem() argument
506 mCurrentSpeechItem = speechItem; in setCurrentSpeechItem()
541 public int enqueueSpeechItem(int queueMode, final SpeechItem speechItem) { in enqueueSpeechItem() argument
543 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 …]