Home
last modified time | relevance | path

Searched refs:lang (Results 1 – 25 of 43) sorted by relevance

12

/development/samples/TtsEngine/src/com/example/android/ttsengine/
DCheckVoiceData.java55 for (String lang : checkLanguages) { in onCreate()
59 if (isLanguageSupported(lang)) { in onCreate()
60 if (isDataInstalled(lang)) { in onCreate()
61 available.add(lang); in onCreate()
63 unavailable.add(lang); in onCreate()
104 for (String lang : list) { in getCheckVoiceDataFor()
105 if (!TextUtils.isEmpty(lang)) { in getCheckVoiceDataFor()
106 ret.add(lang); in getCheckVoiceDataFor()
117 for (String lang : SUPPORTED_LANGUAGES) { in isLanguageSupported()
118 if (lang.equals(input)) { in isLanguageSupported()
[all …]
DRobotSpeakTtsService.java88 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable() argument
90 if ("eng".equals(lang)) { in onIsLanguageAvailable()
116 protected synchronized int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage() argument
117 final int isLanguageAvailable = onIsLanguageAvailable(lang, country, variant); in onLoadLanguage()
130 if (mCurrentLanguage[0].equals(lang) && mCurrentLanguage[1].equals(country)) { in onLoadLanguage()
137 InputStream file = getAssets().open(lang + "-" + loadCountry + ".freq"); in onLoadLanguage()
141 Log.e(TAG, "Error loading data for : " + lang + "-" + country); in onLoadLanguage()
145 mCurrentLanguage = new String[] { lang, loadCountry, ""}; in onLoadLanguage()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/inject/
DInjectView.java19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DInjector.java21 import java.lang.annotation.Annotation;
22 import java.lang.reflect.Field;
/development/ndk/platforms/android-13/include/android/
Dtts.h172 const char *lang,
188 const char *lang,
204 const char *lang,
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
DMediaButtonHelper.java7 import java.lang.reflect.InvocationTargetException;
8 import java.lang.reflect.Method;
DRemoteControlHelper.java22 import java.lang.reflect.Method;
DRemoteControlClientCompat.java24 import java.lang.reflect.Field;
25 import java.lang.reflect.Method;
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/sms/
DSmsTest.java50 public void testReceivedSms() throws java.lang.InterruptedException { in testReceivedSms()
63 private Cursor getSmsCursor() throws java.lang.InterruptedException { in getSmsCursor()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyViewException.java18 public class MonkeyViewException extends java.lang.Exception {
DMonkeySourceNetworkVars.java28 import java.lang.Integer;
29 import java.lang.Float;
30 import java.lang.Long;
DMonkeyCommandEvent.java41 java.lang.Process p = Runtime.getRuntime().exec(mCmd); in injectEvent()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DColorPickerDialog.java100 int n = java.lang.Math.round(x); in floatToByte()
113 return s + java.lang.Math.round(p * (d - s)); in ave()
170 boolean inCenter = java.lang.Math.hypot(x, y) <= CENTER_RADIUS; in onTouchEvent()
187 float angle = (float)java.lang.Math.atan2(y, x); in onTouchEvent()
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsDalvikActivity.java207 r = (float)java.lang.Math.pow(r, mGamma); in filter()
208 g = (float)java.lang.Math.pow(g, mGamma); in filter()
209 b = (float)java.lang.Math.pow(b, mGamma); in filter()
233 long t = java.lang.System.currentTimeMillis(); in benchmark()
235 t = java.lang.System.currentTimeMillis() - t; in benchmark()
DLevelsRSActivity.java205 long t = java.lang.System.currentTimeMillis(); in benchmark()
207 t = java.lang.System.currentTimeMillis() - t; in benchmark()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DPhotoDecodeRunnable.java239 java.lang.System.gc(); in run()
252 } catch (java.lang.InterruptedException interruptException) { in run()
DPhotoTask.java24 import java.lang.ref.WeakReference;
/development/samples/training/multiscreen/newsreader/
Dproguard.cfg35 public static ** valueOf(java.lang.String);
/development/samples/training/basic/ActivityLifecycle/
Dproguard.cfg35 public static ** valueOf(java.lang.String);
/development/ndk/sources/android/native_app_glue/
Dandroid_native_app_glue.c65 char lang[2], country[2]; in print_cur_config() local
66 AConfiguration_getLanguage(android_app->config, lang); in print_cur_config()
74 lang[0], lang[1], country[0], country[1], in print_cur_config()
/development/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java25 import java.lang.ref.WeakReference;
/development/tools/mkstubs/
DREADME.txt39 com.android.blah.MyClass#getInternalStuff(Ljava/lang/String;I)V
45 -com.android.blah.MyClass#getInternalStuff(Ljava/lang/String;I)V
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java40 import java.lang.ref.SoftReference;
41 import java.lang.ref.WeakReference;
/development/tools/apkcheck/
DREADME.txt96 class appears to be an Enum (the superclass is java.lang.Enum), we emit
103 and "implements java.lang.annotation.Annotation". It is not possible
141 class names to java.lang.Object.
153 which gets converted to java.lang.Object. Unfortunately the APK wants
/development/samples/ApiDemos/src/com/example/android/apis/app/
DForegroundService.java34 import java.lang.reflect.InvocationTargetException;
35 import java.lang.reflect.Method;

12