Lines Matching refs:key

517          * Parameter key to specify the audio stream type to be used when speaking text
527 * Parameter key to specify the audio attributes to be used when
538 * Parameter key to identify an utterance in the
549 * Parameter key to specify the speech volume relative to the current stream type
559 * Parameter key to specify how the speech is panned from left to right when speaking text.
569 * Feature key for network synthesis. See {@link TextToSpeech#getFeatures(Locale)}
587 * Feature key for embedded synthesis. See {@link TextToSpeech#getFeatures(Locale)}
605 * Parameter key to specify an audio session identifier (obtained from
616 * Feature key that indicates that the voice may need to download additional data to be fully
621 * the request. This feature should NOT be used as a key of a request parameter.
629 * Feature key that indicate that a network timeout can be set for the request. If set and
632 * request attempt, in milliseconds, before synthesis fails. When used as a key of
641 * Feature key that indicates that network request retries count can be set for the request.
645 * a key of a request parameter, its value should be a string with an integer value.
1864 final String key = entry.getKey();
1865 if (key != null && key.startsWith(mCurrentEngine)) {
1866 bundle.putString(key, entry.getValue());
1899 private static boolean verifyIntegerBundleParam(Bundle bundle, String key) {
1900 if (bundle.containsKey(key)) {
1901 if (!(bundle.get(key) instanceof Integer ||
1902 bundle.get(key) instanceof Long)) {
1903 bundle.remove(key);
1904 Log.w(TAG, "Synthesis request paramter " + key + " containst value "
1912 private static boolean verifyStringBundleParam(Bundle bundle, String key) {
1913 if (bundle.containsKey(key)) {
1914 if (!(bundle.get(key) instanceof String)) {
1915 bundle.remove(key);
1916 Log.w(TAG, "Synthesis request paramter " + key + " containst value "
1924 private static boolean verifyBooleanBundleParam(Bundle bundle, String key) {
1925 if (bundle.containsKey(key)) {
1926 if (!(bundle.get(key) instanceof Boolean ||
1927 bundle.get(key) instanceof String)) {
1928 bundle.remove(key);
1929 Log.w(TAG, "Synthesis request paramter " + key + " containst value "
1938 private static boolean verifyFloatBundleParam(Bundle bundle, String key) {
1939 if (bundle.containsKey(key)) {
1940 if (!(bundle.get(key) instanceof Float ||
1941 bundle.get(key) instanceof Double)) {
1942 bundle.remove(key);
1943 Log.w(TAG, "Synthesis request paramter " + key + " containst value "
1951 private void copyStringParam(Bundle bundle, HashMap<String, String> params, String key) {
1952 String value = params.get(key);
1954 bundle.putString(key, value);
1958 private void copyIntParam(Bundle bundle, HashMap<String, String> params, String key) {
1959 String valueString = params.get(key);
1963 bundle.putInt(key, value);
1970 private void copyFloatParam(Bundle bundle, HashMap<String, String> params, String key) {
1971 String valueString = params.get(key);
1975 bundle.putFloat(key, value);