Home
last modified time | relevance | path

Searched refs:TextKeyListener (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java25 import android.text.method.TextKeyListener.Capitalize;
95 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
111 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
112 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
194 content.removeSpan(TextKeyListener.ACTIVE); in onKeyDown()
199 if ((pref & TextKeyListener.AUTO_CAP) != 0 in onKeyDown()
201 && TextKeyListener.shouldCap(mAutoCap, content, selStart)) { in onKeyDown()
202 int where = content.getSpanEnd(TextKeyListener.CAPPED); in onKeyDown()
203 int flags = content.getSpanFlags(TextKeyListener.CAPPED); in onKeyDown()
206 content.removeSpan(TextKeyListener.CAPPED); in onKeyDown()
[all …]
DMultiTapKeyListener.java25 import android.text.method.TextKeyListener.Capitalize;
94 pref = TextKeyListener.getInstance().getPrefs(view.getContext()); in onKeyDown()
105 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE); in onKeyDown()
106 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE); in onKeyDown()
113 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE) in onKeyDown()
179 if ((pref & TextKeyListener.AUTO_CAP) != 0 && in onKeyDown()
180 TextKeyListener.shouldCap(mCapitalize, content, selStart)) { in onKeyDown()
204 content.setSpan(TextKeyListener.LAST_TYPED, in onKeyDown()
208 content.setSpan(TextKeyListener.ACTIVE, in onKeyDown()
240 buf.removeSpan(TextKeyListener.ACTIVE); in onSpanChanged()
[all …]
DTextKeyListener.java46 public class TextKeyListener extends BaseKeyListener implements SpanWatcher { class
47 private static TextKeyListener[] sInstance =
48 new TextKeyListener[Capitalize.values().length * 2];
66 private TextKeyListener.SettingsObserver mObserver;
75 public TextKeyListener(Capitalize cap, boolean autotext) { in TextKeyListener() method in TextKeyListener
87 public static TextKeyListener getInstance(boolean autotext, in getInstance()
92 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
102 public static TextKeyListener getInstance() { in getInstance()
DPasswordTransformationMethod.java103 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged()
104 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) { in onTextChanged()
155 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt()
156 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt()
200 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars()
201 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars()
DBaseKeyListener.java29 import android.text.method.TextKeyListener.Capitalize;
/frameworks/base/core/java/android/widget/
DDialerFilter.java29 import android.text.method.TextKeyListener;
65 mLetters.setKeyListener(TextKeyListener.getInstance()); in onFinishInflate()
DTextView.java119 import android.text.method.TextKeyListener;
1470 TextKeyListener.Capitalize cap;
1476 cap = TextKeyListener.Capitalize.SENTENCES;
1481 cap = TextKeyListener.Capitalize.WORDS;
1486 cap = TextKeyListener.Capitalize.CHARACTERS;
1491 cap = TextKeyListener.Capitalize.NONE;
1496 mEditor.mKeyListener = TextKeyListener.getInstance(autotext, cap);
1500 mEditor.mKeyListener = TextKeyListener.getInstance();
6650 TextKeyListener.Capitalize cap; in setInputType()
6652 cap = TextKeyListener.Capitalize.CHARACTERS; in setInputType()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java26 import android.text.method.TextKeyListener;
183 mPasswordEntry.setKeyListener(TextKeyListener.getInstance()); in onFinishInflate()
/frameworks/base/core/java/android/text/
DLayout.java27 import android.text.method.TextKeyListener;
1882 int caps = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SHIFT_ON) | in getCursorPath()
1883 TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SELECTING); in getCursorPath()
1884 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
/frameworks/base/core/java/android/app/
DActivity.java85 import android.text.method.TextKeyListener;
3574 handled = TextKeyListener.getInstance().onKeyDown( in onKeyDown()
/frameworks/base/config/
Dpreloaded-classes3528 android.text.method.TextKeyListener$Capitalize
3529 android.text.method.TextKeyListener$SettingsObserver
3530 android.text.method.TextKeyListener
Dboot-image-profile.txt15230 HSPLandroid/text/method/TextKeyListener$Capitalize;-><init>(Ljava/lang/String;I)V
15231 HSPLandroid/text/method/TextKeyListener$Capitalize;->values()[Landroid/text/method/TextKeyListener$…
15232 HSPLandroid/text/method/TextKeyListener;->getInstance()Landroid/text/method/TextKeyListener;
15233 …droid/text/method/TextKeyListener;->getInstance(ZLandroid/text/method/TextKeyListener$Capitalize;)…
15234 HSPLandroid/text/method/TextKeyListener;->onSpanAdded(Landroid/text/Spannable;Ljava/lang/Object;II)V
15235 HSPLandroid/text/method/TextKeyListener;->onSpanChanged(Landroid/text/Spannable;Ljava/lang/Object;I…
15236 HSPLandroid/text/method/TextKeyListener;->onSpanRemoved(Landroid/text/Spannable;Ljava/lang/Object;I…
36181 Landroid/text/method/TextKeyListener$Capitalize;
36182 Landroid/text/method/TextKeyListener$SettingsObserver;
36183 Landroid/text/method/TextKeyListener;
Dhiddenapi-greylist-max-o.txt75353 Landroid/text/method/BaseKeyListener;->makeTextContentType(Landroid/text/method/TextKeyListener$Cap…
75468 Landroid/text/method/MultiTapKeyListener;->mCapitalize:Landroid/text/method/TextKeyListener$Capital…
75492 Landroid/text/method/QwertyKeyListener;-><init>(Landroid/text/method/TextKeyListener$Capitalize;ZZ)V
75494 Landroid/text/method/QwertyKeyListener;->mAutoCap:Landroid/text/method/TextKeyListener$Capitalize;
75514 Landroid/text/method/TextKeyListener$Capitalize;-><init>()V
75515 Landroid/text/method/TextKeyListener$NullKeyListener;
75516 Landroid/text/method/TextKeyListener$NullKeyListener;-><init>()V
75517 Landroid/text/method/TextKeyListener$NullKeyListener;->getInstance()Landroid/text/method/TextKeyLis…
75518 Landroid/text/method/TextKeyListener$NullKeyListener;->sInstance:Landroid/text/method/TextKeyListen…
75519 Landroid/text/method/TextKeyListener$SettingsObserver;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30321 ctor public MultiTapKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
30323 …xt.method.MultiTapKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
30348 ctor public QwertyKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
30350 …text.method.QwertyKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
30375 …public class TextKeyListener extends android.text.method.BaseKeyListener implements android.text.S…
30376 ctor public TextKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
30379 …ethod public static android.text.method.TextKeyListener getInstance(boolean, android.text.method.T…
30380 method public static android.text.method.TextKeyListener getInstance();
30385 …method public static boolean shouldCap(android.text.method.TextKeyListener.Capitalize, java.lang.C…
30388 public static final class TextKeyListener.Capitalize extends java.lang.Enum {
[all …]
/frameworks/base/api/
Dcurrent.txt46610 ctor public MultiTapKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
46612 …xt.method.MultiTapKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
46637 ctor public QwertyKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
46639 …text.method.QwertyKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
46664 …public class TextKeyListener extends android.text.method.BaseKeyListener implements android.text.S…
46665 ctor public TextKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
46668 …ethod public static android.text.method.TextKeyListener getInstance(boolean, android.text.method.T…
46669 method public static android.text.method.TextKeyListener getInstance();
46674 …method public static boolean shouldCap(android.text.method.TextKeyListener.Capitalize, CharSequenc…
46677 public enum TextKeyListener.Capitalize {
[all …]