Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/speech/tts/
H A DTextToSpeechService.java495 private boolean isFlushed(SpeechItem speechItem) { in isFlushed() argument
516 if (speechItem != null && isFlushed(speechItem)) { in setCurrentSpeechItem()
519 mCurrentSpeechItem = speechItem; in setCurrentSpeechItem()
562 if (speechItem instanceof UtteranceProgressDispatcher) { in enqueueSpeechItem()
563 utterenceProgress = (UtteranceProgressDispatcher) speechItem; in enqueueSpeechItem()
566 if (!speechItem.isValid()) { in enqueueSpeechItem()
575 stopForApp(speechItem.getCallerIdentity()); in enqueueSpeechItem()
582 if (setCurrentSpeechItem(speechItem)) { in enqueueSpeechItem()
583 speechItem.play(); in enqueueSpeechItem()
587 speechItem.stop(); in enqueueSpeechItem()
[all …]