HomeSort by relevance Sort by last modified time
    Searched refs:Capitalize (Results 1 - 21 of 21) sorted by null

  /cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java 28 import android.text.method.TextKeyListener.Capitalize;
42 new TextKeyListener(Capitalize.NONE, 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));
59 assertTrue(TextKeyListener.shouldCap(Capitalize.WORDS, str, 6));
60 assertTrue(TextKeyListener.shouldCap(Capitalize.CHARACTERS, str, 6))
    [all...]
MultiTapKeyListenerTest.java 25 import android.text.method.TextKeyListener.Capitalize;
39 new MultiTapKeyListener(Capitalize.NONE, true);
41 new MultiTapKeyListener(Capitalize.WORDS, false);
48 = new MockMultiTapKeyListener(Capitalize.CHARACTERS, true);
65 = MultiTapKeyListener.getInstance(true, Capitalize.CHARACTERS);
78 MultiTapKeyListener keyListener = MultiTapKeyListener.getInstance(false, Capitalize.NONE);
100 Capitalize.CHARACTERS);
122 Capitalize.SENTENCES);
149 Capitalize.WORDS);
212 MultiTapKeyListener listener1 = MultiTapKeyListener.getInstance(false, Capitalize.NONE)
    [all...]
QwertyKeyListenerTest.java 26 import android.text.method.TextKeyListener.Capitalize;
33 new QwertyKeyListener(Capitalize.NONE, false);
35 new QwertyKeyListener(Capitalize.WORDS, true);
41 QwertyKeyListener keyListener = QwertyKeyListener.getInstance(false, Capitalize.NONE);
63 Capitalize.CHARACTERS);
85 Capitalize.SENTENCES);
113 Capitalize.WORDS);
158 QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS);
159 QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS);
160 QwertyKeyListener listener3 = QwertyKeyListener.getInstance(false, Capitalize.WORDS)
    [all...]
  /frameworks/base/core/java/android/text/method/
TextKeyListener.java 43 new TextKeyListener[Capitalize.values().length * 2];
50 private Capitalize mAutoCap;
67 * @param cap when, if ever, to automatically capitalize.
70 public TextKeyListener(Capitalize cap, boolean autotext) {
79 * @param cap when, if ever, to automatically capitalize.
83 Capitalize cap) {
98 return getInstance(false, Capitalize.NONE);
102 * Returns whether it makes sense to automatically capitalize at the
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) {
115 if (cap == Capitalize.NONE)
    [all...]
QwertyKeyListener.java 20 import android.text.method.TextKeyListener.Capitalize;
37 new QwertyKeyListener[Capitalize.values().length * 2];
40 private Capitalize mAutoCap;
44 private QwertyKeyListener(Capitalize cap, boolean autoText, boolean fullKeyboard) {
50 public QwertyKeyListener(Capitalize cap, boolean autoText) {
58 public static QwertyKeyListener getInstance(boolean autoText, Capitalize cap) {
75 sFullKeyboardInstance = new QwertyKeyListener(Capitalize.NONE, false, true);
MultiTapKeyListener.java 24 import android.text.method.TextKeyListener.Capitalize;
39 new MultiTapKeyListener[Capitalize.values().length * 2];
43 private Capitalize mCapitalize;
60 public MultiTapKeyListener(Capitalize cap,
71 Capitalize cap) {
BaseKeyListener.java 22 import android.text.method.TextKeyListener.Capitalize;
131 static int makeTextContentType(Capitalize caps, boolean autoText) {
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSetupNames.java 31 import android.text.method.TextKeyListener.Capitalize;
99 mName.setKeyListener(TextKeyListener.getInstance(false, Capitalize.WORDS));
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 68 import android.text.method.TextKeyListener.Capitalize;
203 = QwertyKeyListener.getInstance(false, Capitalize.NONE);
    [all...]
  /frameworks/base/core/java/android/widget/
TextView.java     [all...]
  /external/chromium_org/tools/win/split_link/viz.js/
viz.js     [all...]
  /external/chromium_org/v8/tools/profviz/
gnuplot-4.6.3-emscripten.js     [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 
  /prebuilts/sdk/4/
android.jar 
  /prebuilts/sdk/6/
android.jar 
  /prebuilts/sdk/current/
android.jar 

Completed in 426 milliseconds