Home
last modified time | relevance | path

Searched refs:lang (Results 1 – 25 of 42) 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/vndk/tools/definition-tool/tests/testdata/test_dex_file/
DHello.smali3 .super Ljava/lang/object;
9 invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
12 invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
DExample.smali3 .super Ljava/lang/object;
9 invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
12 invoke-static {v0}, Ljava/lang/System;->loadLibrary(Ljava/lang/String;)V
/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/cmds/monkey/src/com/android/commands/monkey/
DMonkeyViewException.java18 public class MonkeyViewException extends java.lang.Exception {
DMonkeyCommandEvent.java41 java.lang.Process p = Runtime.getRuntime().exec(mCmd); in injectEvent()
DMonkeySourceNetworkVars.java28 import java.lang.Integer;
29 import java.lang.Float;
30 import java.lang.Long;
DMonkeyGetFrameRateEvent.java111 java.lang.Process p = null; in injectEvent()
/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;
DPhotoView.java30 import java.lang.ref.WeakReference;
/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/tools/logblame/
Dsample.txt796 at java.lang.reflect.Method.invoke(Native Method)
831 at java.lang.reflect.Method.invoke(Native Method)
875 Key com.android.settings.dismiss expected String but value was a java.lang.Integer. The default va…
879 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
893 at java.lang.Thread.run(Thread.java:764)
959 Key com.android.settings.dismiss expected String but value was a java.lang.Integer. The default va…
963 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
977 at java.lang.Thread.run(Thread.java:764)
1147 Key com.android.settings.dismiss expected String but value was a java.lang.Integer. The default va…
1151 java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
[all …]
/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/samples/browseable/CardReader/src/com.example.android.cardreader/
DLoyaltyCardReader.java25 import java.lang.ref.WeakReference;
/development/samples/ApiDemos/src/com/example/android/apis/app/
DForegroundService.java37 import java.lang.reflect.InvocationTargetException;
38 import java.lang.reflect.Method;
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java40 import java.lang.ref.SoftReference;
41 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/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/SpellChecker/HelloSpellChecker/src/com/example/android/hellospellchecker/
DHelloSpellCheckerActivity.java31 import java.lang.StringBuilder;

12