Lines Matching defs:engine

55  * to release the native resources used by the TextToSpeech engine.
122 * Note that this notifies callers when the <b>engine</b> has finished has
133 * TextToSpeech engine initialization.
137 * Called to signal the completion of the TextToSpeech engine initialization.
166 * Intents to ask engine to install data or check its data and
167 * extras for a TTS engine's check data activity.
177 * engine behaviour. The engine can be queried for the set of features it supports
215 * Package name of the default TTS engine.
218 * @deprecated No longer in use, the default engine is determined by
221 * the engine specified below is installed on a given build, let
234 * TextToSpeech engine with the {@link #ACTION_CHECK_TTS_DATA} intent.
240 * TextToSpeech engine with the {@link #ACTION_CHECK_TTS_DATA} intent.
246 * the TextToSpeech engine with the {@link #ACTION_CHECK_TTS_DATA} intent.
255 * by the TextToSpeech engine with the {@link #ACTION_CHECK_TTS_DATA} intent.
264 * used by the TextToSpeech engine with the {@link #ACTION_CHECK_TTS_DATA} intent.
282 * Name under which a text to speech engine publishes information about itself.
284 * <code>&lt;{@link android.R.styleable#TextToSpeechEngine tts-engine}&gt;</code>
289 // intents to ask engine to install data or check its data
291 * Activity Action: Triggers the platform TextToSpeech engine to
301 "android.speech.tts.engine.INSTALL_TTS_DATA";
309 "android.speech.tts.engine.TTS_DATA_INSTALLED";
313 * engine to verify the proper installation and availability of the
332 "android.speech.tts.engine.CHECK_TTS_DATA";
350 "android.speech.tts.engine.GET_SAMPLE_TEXT";
354 * the TextToSpeech engine returns an String with sample text for requested voice
359 // extras for a TTS engine's check data activity
362 * the TextToSpeech engine returns an ArrayList<String> of all the available voices.
370 * the TextToSpeech engine returns an ArrayList<String> of all the unavailable voices.
378 * the TextToSpeech engine specifies the path to its resources.
382 * @deprecated TTS engine implementation detail, this information has no use for
390 * the TextToSpeech engine specifies the file names of its resources under the
393 * @deprecated TTS engine implementation detail, this information has no use for
401 * the TextToSpeech engine specifies the locale associated with each resource file.
403 * @deprecated TTS engine implementation detail, this information has no use for
411 * caller indicates to the TextToSpeech engine which specific sets of voice data to
422 // extras for a TTS engine's data installation
425 * It indicates whether the data files for the synthesis engine were successfully
437 // to maintain engine state for each TextToSpeech instance.
461 public static final String KEY_PARAM_ENGINE = "engine";
511 * for a description of how feature keys work. If set (and supported by the engine
512 * as per {@link TextToSpeech#getFeatures(Locale)}, the engine must
523 * for a description of how feature keys work. If set and supported by the engine
524 * as per {@link TextToSpeech#getFeatures(Locale)}, the engine must synthesize
544 // Whether to initialize this TTS object with the default engine,
545 // if the requested engine is not available. Valid only if mRequestedEngine
557 * The constructor for the TextToSpeech class, using the default TTS engine.
558 * This will also initialize the associated TextToSpeech engine if it isn't already running.
564 * TextToSpeech engine has initialized. In a case of a failure the listener
572 * The constructor for the TextToSpeech class, using the given TTS engine.
573 * This will also initialize the associated TextToSpeech engine if it isn't already running.
579 * TextToSpeech engine has initialized. In a case of a failure the listener
581 * @param engine Package name of the TTS engine to use.
583 public TextToSpeech(Context context, OnInitListener listener, String engine) {
584 this(context, listener, engine, null, true);
593 public TextToSpeech(Context context, OnInitListener listener, String engine,
597 mRequestedEngine = engine;
626 Log.w(TAG, method + " failed: not bound to TTS engine");
635 // Step 1: Try connecting to the engine that was requested.
647 Log.i(TAG, "Requested engine not installed: " + mRequestedEngine);
654 // Step 2: Try connecting to the user's default engine.
663 // Step 3: Try connecting to the highest ranked engine in the
675 // they are actually connected to any engine. This might fail for various
683 private boolean connectToEngine(String engine) {
686 intent.setPackage(engine);
689 Log.e(TAG, "Failed to bind to " + engine);
692 Log.i(TAG, "Sucessfully bound to " + engine);
712 * Releases the resources used by the TextToSpeech engine.
714 * so the TextToSpeech engine can be cleanly stopped.
885 * must be prefixed by the name of the engine they are intended for. For example
887 * engine named "com.svox.pico" if it is being used.
924 * must be prefixed by the name of the engine they are intended for. For example
926 * engine named "com.svox.pico" if it is being used.
961 * must be prefixed by the name of the engine they are intended for. For example
963 * engine named "com.svox.pico" if it is being used.
979 * Queries the engine for the set of features it supports for a given locale.
981 * {@link TextToSpeech.Engine#KEY_FEATURE_NETWORK_SYNTHESIS} or engine specific.
982 * Engine specific keys must be prefixed by the name of the engine they
1017 * Checks whether the TTS engine is busy speaking. Note that a speech item is
1022 * @return {@code true} if the TTS engine is speaking.
1073 * Sets the speech pitch for the TextToSpeech engine.
1097 * @return the engine currently in use by this TextToSpeech instance.
1124 * The TTS engine will try to use the closest match to the specified
1183 * requests sent to the TextToSpeech engine.
1186 * being used by the TTS engine. That is the last language set by this or any other
1187 * client by a {@link TextToSpeech#setLanguage} call to the same engine.
1259 * must be prefixed by the name of the engine they are intended for. For example
1261 * engine named "com.svox.pico" if it is being used.
1312 // engine that we are currently connected to. The engine is
1392 * Sets the TTS engine to use.
1394 * @deprecated This doesn't inform callers when the TTS engine has been
1396 * can be used with the appropriate engine name. Also, there is no
1397 * guarantee that the engine specified will be loaded. If it isn't
1400 * @param enginePackageName The package name for the synthesis engine (e.g. "com.svox.pico")
1411 * Gets the package name of the default speech synthesis engine.
1413 * @return Package name of the TTS engine that the user has chosen
1432 * @return A list of engine info objects. The list can be empty, but never {@code null}.
1564 /* We need to protect against a rare case where engine
1588 Log.w(TAG, method + " failed: not connected to TTS engine");
1592 Log.w(TAG, method + " failed: TTS engine connection not fully set up");
1613 * Information about an installed text-to-speech engine.
1623 * Localized label for the engine.
1627 * Icon for the engine.
1631 * Whether this engine is a part of the system
1638 * The priority the engine declares for the the intent filter