• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package android.support.text.emoji {
2
3  public class EmojiCompat {
4    method public static android.support.text.emoji.EmojiCompat get();
5    method public java.lang.String getAssetSignature();
6    method public int getLoadState();
7    method public static boolean handleDeleteSurroundingText(android.view.inputmethod.InputConnection, android.text.Editable, int, int, boolean);
8    method public static boolean handleOnKeyDown(android.text.Editable, int, android.view.KeyEvent);
9    method public boolean hasEmojiGlyph(java.lang.CharSequence);
10    method public boolean hasEmojiGlyph(java.lang.CharSequence, int);
11    method public static android.support.text.emoji.EmojiCompat init(android.support.text.emoji.EmojiCompat.Config);
12    method public java.lang.CharSequence process(java.lang.CharSequence);
13    method public java.lang.CharSequence process(java.lang.CharSequence, int, int);
14    method public java.lang.CharSequence process(java.lang.CharSequence, int, int, int);
15    method public java.lang.CharSequence process(java.lang.CharSequence, int, int, int, int);
16    method public void registerInitCallback(android.support.text.emoji.EmojiCompat.InitCallback);
17    method public void unregisterInitCallback(android.support.text.emoji.EmojiCompat.InitCallback);
18    field public static final java.lang.String EDITOR_INFO_METAVERSION_KEY = "android.support.text.emoji.emojiCompat_metadataVersion";
19    field public static final java.lang.String EDITOR_INFO_REPLACE_ALL_KEY = "android.support.text.emoji.emojiCompat_replaceAll";
20    field public static final int LOAD_STATE_FAILED = 2; // 0x2
21    field public static final int LOAD_STATE_LOADING = 0; // 0x0
22    field public static final int LOAD_STATE_SUCCEEDED = 1; // 0x1
23    field public static final int REPLACE_STRATEGY_ALL = 1; // 0x1
24    field public static final int REPLACE_STRATEGY_DEFAULT = 0; // 0x0
25    field public static final int REPLACE_STRATEGY_NON_EXISTENT = 2; // 0x2
26  }
27
28  public static abstract class EmojiCompat.Config {
29    ctor protected EmojiCompat.Config(android.support.text.emoji.EmojiCompat.MetadataRepoLoader);
30    method protected final android.support.text.emoji.EmojiCompat.MetadataRepoLoader getMetadataRepoLoader();
31    method public android.support.text.emoji.EmojiCompat.Config registerInitCallback(android.support.text.emoji.EmojiCompat.InitCallback);
32    method public android.support.text.emoji.EmojiCompat.Config setEmojiSpanIndicatorColor(int);
33    method public android.support.text.emoji.EmojiCompat.Config setEmojiSpanIndicatorEnabled(boolean);
34    method public android.support.text.emoji.EmojiCompat.Config setReplaceAll(boolean);
35    method public android.support.text.emoji.EmojiCompat.Config unregisterInitCallback(android.support.text.emoji.EmojiCompat.InitCallback);
36  }
37
38  public static abstract class EmojiCompat.InitCallback {
39    ctor public EmojiCompat.InitCallback();
40    method public void onFailed(java.lang.Throwable);
41    method public void onInitialized();
42  }
43
44  public static abstract interface EmojiCompat.MetadataRepoLoader {
45    method public abstract void load(android.support.text.emoji.EmojiCompat.MetadataRepoLoaderCallback);
46  }
47
48  public static abstract class EmojiCompat.MetadataRepoLoaderCallback {
49    ctor public EmojiCompat.MetadataRepoLoaderCallback();
50    method public abstract void onFailed(java.lang.Throwable);
51    method public abstract void onLoaded(android.support.text.emoji.MetadataRepo);
52  }
53
54  public abstract class EmojiSpan extends android.text.style.ReplacementSpan {
55    method public int getSize(android.graphics.Paint, java.lang.CharSequence, int, int, android.graphics.Paint.FontMetricsInt);
56  }
57
58  public class FontRequestEmojiCompatConfig extends android.support.text.emoji.EmojiCompat.Config {
59    ctor public FontRequestEmojiCompatConfig(android.content.Context, android.support.v4.provider.FontRequest);
60    method public android.support.text.emoji.FontRequestEmojiCompatConfig setHandler(android.os.Handler);
61    method public android.support.text.emoji.FontRequestEmojiCompatConfig setRetryPolicy(android.support.text.emoji.FontRequestEmojiCompatConfig.RetryPolicy);
62  }
63
64  public static class FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy extends android.support.text.emoji.FontRequestEmojiCompatConfig.RetryPolicy {
65    ctor public FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy(long);
66    method public long getRetryDelay();
67  }
68
69  public static abstract class FontRequestEmojiCompatConfig.RetryPolicy {
70    ctor public FontRequestEmojiCompatConfig.RetryPolicy();
71    method public abstract long getRetryDelay();
72  }
73
74  public final class MetadataRepo {
75    method public static android.support.text.emoji.MetadataRepo create(android.graphics.Typeface, java.io.InputStream) throws java.io.IOException;
76    method public static android.support.text.emoji.MetadataRepo create(android.graphics.Typeface, java.nio.ByteBuffer) throws java.io.IOException;
77    method public static android.support.text.emoji.MetadataRepo create(android.content.res.AssetManager, java.lang.String) throws java.io.IOException;
78  }
79
80}
81
82package android.support.text.emoji.widget {
83
84  public class EmojiButton extends android.widget.Button {
85    ctor public EmojiButton(android.content.Context);
86    ctor public EmojiButton(android.content.Context, android.util.AttributeSet);
87    ctor public EmojiButton(android.content.Context, android.util.AttributeSet, int);
88    ctor public EmojiButton(android.content.Context, android.util.AttributeSet, int, int);
89  }
90
91  public class EmojiEditText extends android.widget.EditText {
92    ctor public EmojiEditText(android.content.Context);
93    ctor public EmojiEditText(android.content.Context, android.util.AttributeSet);
94    ctor public EmojiEditText(android.content.Context, android.util.AttributeSet, int);
95    ctor public EmojiEditText(android.content.Context, android.util.AttributeSet, int, int);
96    method public int getMaxEmojiCount();
97    method public void setMaxEmojiCount(int);
98  }
99
100  public final class EmojiEditTextHelper {
101    ctor public EmojiEditTextHelper(android.widget.EditText);
102    method public android.text.method.KeyListener getKeyListener(android.text.method.KeyListener);
103    method public int getMaxEmojiCount();
104    method public android.view.inputmethod.InputConnection onCreateInputConnection(android.view.inputmethod.InputConnection, android.view.inputmethod.EditorInfo);
105    method public void setMaxEmojiCount(int);
106  }
107
108  public class EmojiExtractTextLayout extends android.widget.LinearLayout {
109    ctor public EmojiExtractTextLayout(android.content.Context);
110    ctor public EmojiExtractTextLayout(android.content.Context, android.util.AttributeSet);
111    ctor public EmojiExtractTextLayout(android.content.Context, android.util.AttributeSet, int);
112    ctor public EmojiExtractTextLayout(android.content.Context, android.util.AttributeSet, int, int);
113    method public int getEmojiReplaceStrategy();
114    method public void onUpdateExtractingViews(android.inputmethodservice.InputMethodService, android.view.inputmethod.EditorInfo);
115    method public void setEmojiReplaceStrategy(int);
116  }
117
118  public class EmojiTextView extends android.widget.TextView {
119    ctor public EmojiTextView(android.content.Context);
120    ctor public EmojiTextView(android.content.Context, android.util.AttributeSet);
121    ctor public EmojiTextView(android.content.Context, android.util.AttributeSet, int);
122    ctor public EmojiTextView(android.content.Context, android.util.AttributeSet, int, int);
123  }
124
125  public final class EmojiTextViewHelper {
126    ctor public EmojiTextViewHelper(android.widget.TextView);
127    method public android.text.InputFilter[] getFilters(android.text.InputFilter[]);
128    method public void setAllCaps(boolean);
129    method public void updateTransformationMethod();
130    method public android.text.method.TransformationMethod wrapTransformationMethod(android.text.method.TransformationMethod);
131  }
132
133}
134
135