diff options
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index fd05e48..c76627f 100644 --- a/api/current.txt +++ b/api/current.txt @@ -2102,6 +2102,7 @@ package android.app { method public abstract void setCustomView(android.view.View); method public abstract void setCustomView(android.view.View, android.app.ActionBar.LayoutParams); method public abstract void setCustomView(int); + method public abstract void setDisplayDisableHomeEnabled(boolean); method public abstract void setDisplayHomeAsUpEnabled(boolean); method public abstract void setDisplayOptions(int); method public abstract void setDisplayOptions(int, int); @@ -2121,6 +2122,7 @@ package android.app { method public abstract void setTitle(java.lang.CharSequence); method public abstract void setTitle(int); method public abstract void show(); + field public static final int DISPLAY_DISABLE_HOME = 32; // 0x20 field public static final int DISPLAY_HOME_AS_UP = 4; // 0x4 field public static final int DISPLAY_SHOW_CUSTOM = 16; // 0x10 field public static final int DISPLAY_SHOW_HOME = 2; // 0x2 @@ -10778,6 +10780,9 @@ package android.net { field public static final java.lang.String EXTRA_NO_CONNECTIVITY = "noConnectivity"; field public static final java.lang.String EXTRA_OTHER_NETWORK_INFO = "otherNetwork"; field public static final java.lang.String EXTRA_REASON = "reason"; + field public static final int TYPE_BLUETOOTH = 7; // 0x7 + field public static final int TYPE_DUMMY = 8; // 0x8 + field public static final int TYPE_ETHERNET = 9; // 0x9 field public static final int TYPE_MOBILE = 0; // 0x0 field public static final int TYPE_MOBILE_DUN = 4; // 0x4 field public static final int TYPE_MOBILE_HIPRI = 5; // 0x5 @@ -16240,12 +16245,14 @@ package android.renderscript { public class Byte2 { ctor public Byte2(); + ctor public Byte2(byte, byte); field public byte x; field public byte y; } public class Byte3 { ctor public Byte3(); + ctor public Byte3(byte, byte, byte); field public byte x; field public byte y; field public byte z; @@ -16253,12 +16260,37 @@ package android.renderscript { public class Byte4 { ctor public Byte4(); + ctor public Byte4(byte, byte, byte, byte); field public byte w; field public byte x; field public byte y; field public byte z; } + public class Double2 { + ctor public Double2(); + ctor public Double2(double, double); + field public double x; + field public double y; + } + + public class Double3 { + ctor public Double3(); + ctor public Double3(double, double, double); + field public double x; + field public double y; + field public double z; + } + + public class Double4 { + ctor public Double4(); + ctor public Double4(double, double, double, double); + field public double w; + field public double x; + field public double y; + field public double z; + } + public class Element extends android.renderscript.BaseObj { method public static android.renderscript.Element ALLOCATION(android.renderscript.RenderScript); method public static android.renderscript.Element A_8(android.renderscript.RenderScript); @@ -16422,12 +16454,14 @@ package android.renderscript { public class Int2 { ctor public Int2(); + ctor public Int2(int, int); field public int x; field public int y; } public class Int3 { ctor public Int3(); + ctor public Int3(int, int, int); field public int x; field public int y; field public int z; @@ -16435,6 +16469,7 @@ package android.renderscript { public class Int4 { ctor public Int4(); + ctor public Int4(int, int, int, int); field public int w; field public int x; field public int y; @@ -16443,12 +16478,14 @@ package android.renderscript { public class Long2 { ctor public Long2(); + ctor public Long2(long, long); field public long x; field public long y; } public class Long3 { ctor public Long3(); + ctor public Long3(long, long, long); field public long x; field public long y; field public long z; @@ -16456,6 +16493,7 @@ package android.renderscript { public class Long4 { ctor public Long4(); + ctor public Long4(long, long, long, long); field public long w; field public long x; field public long y; @@ -16852,12 +16890,14 @@ package android.renderscript { public class Short2 { ctor public Short2(); + ctor public Short2(short, short); field public short x; field public short y; } public class Short3 { ctor public Short3(); + ctor public Short3(short, short, short); field public short x; field public short y; field public short z; @@ -16865,6 +16905,7 @@ package android.renderscript { public class Short4 { ctor public Short4(); + ctor public Short4(short, short, short, short); field public short w; field public short x; field public short y; @@ -17074,14 +17115,32 @@ package android.speech { package android.speech.tts { + public abstract class SynthesisRequest { + ctor public SynthesisRequest(java.lang.String); + method public abstract int audioAvailable(byte[], int, int); + method public abstract int completeAudioAvailable(int, int, int, byte[], int, int); + method public abstract int done(); + method public abstract void error(); + method public java.lang.String getCountry(); + method public java.lang.String getLanguage(); + method public abstract int getMaxBufferSize(); + method public int getPitch(); + method public int getSpeechRate(); + method public java.lang.String getText(); + method public java.lang.String getVariant(); + method public abstract int start(int, int, int); + } + public class TextToSpeech { ctor public TextToSpeech(android.content.Context, android.speech.tts.TextToSpeech.OnInitListener); + ctor public TextToSpeech(android.content.Context, android.speech.tts.TextToSpeech.OnInitListener, java.lang.String); method public int addEarcon(java.lang.String, java.lang.String, int); method public int addEarcon(java.lang.String, java.lang.String); method public int addSpeech(java.lang.String, java.lang.String, int); method public int addSpeech(java.lang.String, java.lang.String); method public boolean areDefaultsEnforced(); method public java.lang.String getDefaultEngine(); + method public java.util.List<android.speech.tts.TextToSpeech.EngineInfo> getEngines(); method public java.util.Locale getLanguage(); method public int isLanguageAvailable(java.util.Locale); method public boolean isSpeaking(); @@ -17126,12 +17185,20 @@ package android.speech.tts { field public static final java.lang.String EXTRA_VOICE_DATA_FILES = "dataFiles"; field public static final java.lang.String EXTRA_VOICE_DATA_FILES_INFO = "dataFilesInfo"; field public static final java.lang.String EXTRA_VOICE_DATA_ROOT_DIRECTORY = "dataRoot"; + field public static final java.lang.String INTENT_ACTION_TTS_SERVICE = "android.intent.action.TTS_SERVICE"; field public static final java.lang.String KEY_PARAM_PAN = "pan"; field public static final java.lang.String KEY_PARAM_STREAM = "streamType"; field public static final java.lang.String KEY_PARAM_UTTERANCE_ID = "utteranceId"; field public static final java.lang.String KEY_PARAM_VOLUME = "volume"; } + public static class TextToSpeech.EngineInfo { + ctor public TextToSpeech.EngineInfo(); + field public int icon; + field public java.lang.String label; + field public java.lang.String name; + } + public static abstract interface TextToSpeech.OnInitListener { method public abstract void onInit(int); } @@ -17140,6 +17207,16 @@ package android.speech.tts { method public abstract void onUtteranceCompleted(java.lang.String); } + public abstract class TextToSpeechService extends android.app.Service { + ctor public TextToSpeechService(); + method public android.os.IBinder onBind(android.content.Intent); + method protected abstract java.lang.String[] onGetLanguage(); + method protected abstract int onIsLanguageAvailable(java.lang.String, java.lang.String, java.lang.String); + method protected abstract int onLoadLanguage(java.lang.String, java.lang.String, java.lang.String); + method protected abstract void onStop(); + method protected abstract void onSynthesizeText(android.speech.tts.SynthesisRequest); + } + } package android.telephony { |