HomeSort by relevance Sort by last modified time
    Searched refs:TextKeyListener (Results 1 - 25 of 28) sorted by null

1 2

  /cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java 27 import android.text.method.TextKeyListener;
28 import android.text.method.TextKeyListener.Capitalize;
42 new TextKeyListener(Capitalize.NONE, true);
44 new TextKeyListener(null, true);
52 assertFalse(TextKeyListener.shouldCap(Capitalize.NONE, str, 0));
53 assertTrue(TextKeyListener.shouldCap(Capitalize.SENTENCES, str, 0));
54 assertTrue(TextKeyListener.shouldCap(Capitalize.WORDS, str, 0));
55 assertTrue(TextKeyListener.shouldCap(Capitalize.CHARACTERS, str, 0));
57 assertFalse(TextKeyListener.shouldCap(Capitalize.NONE, str, 6));
58 assertFalse(TextKeyListener.shouldCap(Capitalize.SENTENCES, str, 6))
    [all...]
QwertyKeyListenerTest.java 25 import android.text.method.TextKeyListener;
26 import android.text.method.TextKeyListener.Capitalize;
MultiTapKeyListenerTest.java 25 import android.text.method.TextKeyListener.Capitalize;
  /frameworks/base/core/java/android/text/method/
QwertyKeyListener.java 20 import android.text.method.TextKeyListener.Capitalize;
29 * TextKeyListener will do it for you.
90 pref = TextKeyListener.getInstance().getPrefs(view.getContext());
106 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE);
107 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
189 content.removeSpan(TextKeyListener.ACTIVE);
194 if ((pref & TextKeyListener.AUTO_CAP) != 0 &&
196 TextKeyListener.shouldCap(mAutoCap, content, selStart)) {
197 int where = content.getSpanEnd(TextKeyListener.CAPPED);
198 int flags = content.getSpanFlags(TextKeyListener.CAPPED)
    [all...]
MultiTapKeyListener.java 24 import android.text.method.TextKeyListener.Capitalize;
30 * TextKeyListener will do it for you.
91 pref = TextKeyListener.getInstance().getPrefs(view.getContext());
102 int activeStart = content.getSpanStart(TextKeyListener.ACTIVE);
103 int activeEnd = content.getSpanEnd(TextKeyListener.ACTIVE);
110 int rec = (content.getSpanFlags(TextKeyListener.ACTIVE)
176 if ((pref & TextKeyListener.AUTO_CAP) != 0 &&
177 TextKeyListener.shouldCap(mCapitalize, content, selStart)) {
201 content.setSpan(TextKeyListener.LAST_TYPED,
205 content.setSpan(TextKeyListener.ACTIVE
    [all...]
TextKeyListener.java 41 public class TextKeyListener extends BaseKeyListener implements SpanWatcher {
42 private static TextKeyListener[] sInstance =
43 new TextKeyListener[Capitalize.values().length * 2];
61 private TextKeyListener.SettingsObserver mObserver;
64 * Creates a new TextKeyListener with the specified capitalization
70 public TextKeyListener(Capitalize cap, boolean autotext) {
82 public static TextKeyListener getInstance(boolean autotext,
87 sInstance[off] = new TextKeyListener(cap, autotext);
97 public static TextKeyListener getInstance() {
PasswordTransformationMethod.java 102 int pref = TextKeyListener.getInstance().getPrefs(v.getContext());
103 if ((pref & TextKeyListener.SHOW_PASSWORD) != 0) {
154 int st = sp.getSpanStart(TextKeyListener.ACTIVE);
155 int en = sp.getSpanEnd(TextKeyListener.ACTIVE);
199 st = sp.getSpanStart(TextKeyListener.ACTIVE);
200 en = sp.getSpanEnd(TextKeyListener.ACTIVE);
BaseKeyListener.java 22 import android.text.method.TextKeyListener.Capitalize;
  /cts/tests/src/android/text/method/cts/
KeyListenerStubActivity.java 31 import android.text.method.TextKeyListener;
42 * {@link TextKeyListener}
52 * @see TextKeyListener
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardPasswordView.java 26 import android.text.method.TextKeyListener;
99 mPasswordEntry.setKeyListener(TextKeyListener.getInstance());
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupNames.java 30 import android.text.method.TextKeyListener;
31 import android.text.method.TextKeyListener.Capitalize;
99 mName.setKeyListener(TextKeyListener.getInstance(false, Capitalize.WORDS));
  /frameworks/base/core/java/android/widget/
DialerFilter.java 29 import android.text.method.TextKeyListener;
62 mLetters.setKeyListener(TextKeyListener.getInstance());
167 // in the TextKeyListener. This prevents us from hiding the digits
TextView.java 81 import android.text.method.TextKeyListener;
    [all...]
  /frameworks/base/core/java/android/text/
Layout.java 24 import android.text.method.TextKeyListener;
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 67 import android.text.method.TextKeyListener;
68 import android.text.method.TextKeyListener.Capitalize;
    [all...]
  /frameworks/base/core/java/android/app/
Activity.java 57 import android.text.method.TextKeyListener;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
Launcher.java 72 import android.text.method.TextKeyListener;
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Launcher.java 71 import android.text.method.TextKeyListener;
    [all...]
  /packages/apps/Mms/src/com/android/mms/ui/
ComposeMessageActivity.java 96 import android.text.method.TextKeyListener;
    [all...]
  /prebuilts/sdk/12/
android.jar 
  /prebuilts/sdk/14/
android.jar 
  /prebuilts/sdk/15/
android.jar 
  /prebuilts/sdk/17/
android.jar 
  /prebuilts/sdk/18/
android.jar 
  /prebuilts/sdk/19/
android.jar 

Completed in 605 milliseconds

1 2