Home
last modified time | relevance | path

Searched refs:TextKeyListener (Results 1 – 21 of 21) 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.java101 int pref = TextKeyListener.getInstance().getPrefs(v.getContext()); in onTextChanged()
102 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) { in onTextChanged()
153 int st = sp.getSpanStart(TextKeyListener.ACTIVE); in charAt()
154 int en = sp.getSpanEnd(TextKeyListener.ACTIVE); in charAt()
198 st = sp.getSpanStart(TextKeyListener.ACTIVE); in getChars()
199 en = sp.getSpanEnd(TextKeyListener.ACTIVE); in getChars()
DBaseKeyListener.java29 import android.text.method.TextKeyListener.Capitalize;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DTextViewBindingAdapterTest.java33 import android.text.method.TextKeyListener;
165 mBindingObject.setCapitalize(TextKeyListener.Capitalize.CHARACTERS); in testSimpleProperties()
175 mBindingObject.setCapitalize(TextKeyListener.Capitalize.WORDS); in testSimpleProperties()
188 if (!(keyListener instanceof TextKeyListener)) { in isAutoTextEnabled()
191 TextKeyListener textKeyListener = (TextKeyListener) keyListener; in isAutoTextEnabled()
195 private static TextKeyListener.Capitalize getCapitalization(TextView view) { in getCapitalization()
198 return TextKeyListener.Capitalize.NONE; in getCapitalization()
202 return TextKeyListener.Capitalize.CHARACTERS; in getCapitalization()
204 return TextKeyListener.Capitalize.WORDS; in getCapitalization()
206 return TextKeyListener.Capitalize.SENTENCES; in getCapitalization()
[all …]
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DTextViewBindingObject.java24 import android.text.method.TextKeyListener;
60 private TextKeyListener.Capitalize mCapitalize = TextKeyListener.Capitalize.NONE;
237 public TextKeyListener.Capitalize getCapitalize() { in getCapitalize()
241 public void setCapitalize(TextKeyListener.Capitalize capitalize) { in setCapitalize()
277 mCapitalize = TextKeyListener.Capitalize.SENTENCES; in changeValues()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTextViewBindingAdapter.java38 import android.text.method.TextKeyListener;
87 TextKeyListener.Capitalize capitalize = TextKeyListener.Capitalize.NONE; in setAutoText()
91 capitalize = TextKeyListener.Capitalize.CHARACTERS; in setAutoText()
93 capitalize = TextKeyListener.Capitalize.WORDS; in setAutoText()
95 capitalize = TextKeyListener.Capitalize.SENTENCES; in setAutoText()
97 view.setKeyListener(TextKeyListener.getInstance(autoText, capitalize)); in setAutoText()
101 public static void setCapitalize(TextView view, TextKeyListener.Capitalize capitalize) { in setCapitalize()
106 view.setKeyListener(TextKeyListener.getInstance(autoText, capitalize)); in setCapitalize()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java22 import android.text.method.TextKeyListener;
138 QwertyKeyListener.getInstance(false, TextKeyListener.Capitalize.NONE)); in initTextViewForSimulatedIme()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordView.java25 import android.text.method.TextKeyListener;
181 mPasswordEntry.setKeyListener(TextKeyListener.getInstance()); in onFinishInflate()
/frameworks/base/core/java/android/widget/
DDialerFilter.java29 import android.text.method.TextKeyListener;
65 mLetters.setKeyListener(TextKeyListener.getInstance()); in onFinishInflate()
DTextView.java108 import android.text.method.TextKeyListener;
1479 TextKeyListener.Capitalize cap;
1485 cap = TextKeyListener.Capitalize.SENTENCES;
1490 cap = TextKeyListener.Capitalize.WORDS;
1495 cap = TextKeyListener.Capitalize.CHARACTERS;
1500 cap = TextKeyListener.Capitalize.NONE;
1505 mEditor.mKeyListener = TextKeyListener.getInstance(autotext, cap);
1509 mEditor.mKeyListener = TextKeyListener.getInstance();
5755 TextKeyListener.Capitalize cap;
5757 cap = TextKeyListener.Capitalize.CHARACTERS;
[all …]
/frameworks/base/core/java/android/text/
DLayout.java24 import android.text.method.TextKeyListener;
1757 int caps = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SHIFT_ON) | in getCursorPath()
1758 TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_SELECTING); in getCursorPath()
1759 int fn = TextKeyListener.getMetaState(editingBuffer, TextKeyListener.META_ALT_ON); in getCursorPath()
/frameworks/base/core/java/android/app/
DActivity.java76 import android.text.method.TextKeyListener;
2919 handled = TextKeyListener.getInstance().onKeyDown( in onKeyDown()
/frameworks/base/config/
Dpreloaded-classes2123 android.text.method.TextKeyListener
2124 android.text.method.TextKeyListener$Capitalize
Dcompiled-classes-phone4114 android.text.method.TextKeyListener
4115 android.text.method.TextKeyListener$Capitalize
4116 android.text.method.TextKeyListener$SettingsObserver
Dboot-image-profile.txt6863 HPLandroid/text/method/QwertyKeyListener;-><init>(Landroid/text/method/TextKeyListener$Capitalize;Z…
6866 HPLandroid/text/method/TextKeyListener$SettingsObserver;-><init>(Landroid/text/method/TextKeyListen…
6867 HPLandroid/text/method/TextKeyListener$SettingsObserver;->onChange(Z)V
6868 HPLandroid/text/method/TextKeyListener;->-get0(Landroid/text/method/TextKeyListener;)Ljava/lang/ref…
6869 HPLandroid/text/method/TextKeyListener;->-wrap0(Landroid/text/method/TextKeyListener;Landroid/conte…
6870 HPLandroid/text/method/TextKeyListener;->getKeyListener(Landroid/view/KeyEvent;)Landroid/text/metho…
6871 HPLandroid/text/method/TextKeyListener;->getPrefs(Landroid/content/Context;)I
6872 HPLandroid/text/method/TextKeyListener;->initPrefs(Landroid/content/Context;)V
6873 HPLandroid/text/method/TextKeyListener;->onKeyDown(Landroid/view/View;Landroid/text/Editable;ILandr…
6874 HPLandroid/text/method/TextKeyListener;->onKeyUp(Landroid/view/View;Landroid/text/Editable;ILandroi…
[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.txt42054 ctor public MultiTapKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42056 …xt.method.MultiTapKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
42081 ctor public QwertyKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42083 …text.method.QwertyKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
42108 …public class TextKeyListener extends android.text.method.BaseKeyListener implements android.text.S…
42109 ctor public TextKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42112 …ethod public static android.text.method.TextKeyListener getInstance(boolean, android.text.method.T…
42113 method public static android.text.method.TextKeyListener getInstance();
42118 …method public static boolean shouldCap(android.text.method.TextKeyListener.Capitalize, java.lang.C…
42121 public static final class TextKeyListener.Capitalize extends java.lang.Enum {
[all …]
Dtest-current.txt42330 ctor public MultiTapKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42332 …xt.method.MultiTapKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
42357 ctor public QwertyKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42359 …text.method.QwertyKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
42384 …public class TextKeyListener extends android.text.method.BaseKeyListener implements android.text.S…
42385 ctor public TextKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
42388 …ethod public static android.text.method.TextKeyListener getInstance(boolean, android.text.method.T…
42389 method public static android.text.method.TextKeyListener getInstance();
42394 …method public static boolean shouldCap(android.text.method.TextKeyListener.Capitalize, java.lang.C…
42397 public static final class TextKeyListener.Capitalize extends java.lang.Enum {
[all …]
Dsystem-current.txt45639 ctor public MultiTapKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
45641 …xt.method.MultiTapKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
45666 ctor public QwertyKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
45668 …text.method.QwertyKeyListener getInstance(boolean, android.text.method.TextKeyListener.Capitalize);
45693 …public class TextKeyListener extends android.text.method.BaseKeyListener implements android.text.S…
45694 ctor public TextKeyListener(android.text.method.TextKeyListener.Capitalize, boolean);
45697 …ethod public static android.text.method.TextKeyListener getInstance(boolean, android.text.method.T…
45698 method public static android.text.method.TextKeyListener getInstance();
45703 …method public static boolean shouldCap(android.text.method.TextKeyListener.Capitalize, java.lang.C…
45706 public static final class TextKeyListener.Capitalize extends java.lang.Enum {
[all …]