Home
last modified time | relevance | path

Searched refs:WORDS (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java77 assertTrue(TextKeyListener.shouldCap(Capitalize.WORDS, str, 0)); in testShouldCap()
82 assertTrue(TextKeyListener.shouldCap(Capitalize.WORDS, str, 6)); in testShouldCap()
87 assertTrue(TextKeyListener.shouldCap(Capitalize.WORDS, str, 13)); in testShouldCap()
92 assertFalse(TextKeyListener.shouldCap(Capitalize.WORDS, str, 14)); in testShouldCap()
98 TextKeyListener.shouldCap(Capitalize.WORDS, null, 16); in testShouldCapNull()
120 TextKeyListener listener1 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1()
121 TextKeyListener listener2 = TextKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance1()
122 TextKeyListener listener3 = TextKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance1()
DQwertyKeyListenerTest.java62 new QwertyKeyListener(Capitalize.WORDS, true); in testConstructor()
144 Capitalize.WORDS); in testOnKeyDown_capitalizeWords()
185 final QwertyKeyListener listener1 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance()
186 final QwertyKeyListener listener2 = QwertyKeyListener.getInstance(true, Capitalize.WORDS); in testGetInstance()
187 final QwertyKeyListener listener3 = QwertyKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance()
DMultiTapKeyListenerTest.java73 new MultiTapKeyListener(Capitalize.WORDS, false); in testConstructor()
186 Capitalize.WORDS); in testOnKeyDown_capitalizeWords()
244 MultiTapKeyListener listener3 = MultiTapKeyListener.getInstance(false, Capitalize.WORDS); in testGetInstance()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewTest.java95 private final static String[] WORDS = field in AutoCompleteTextViewTest
156 android.R.layout.simple_dropdown_item_1line, WORDS); in setup()
836 android.R.layout.simple_dropdown_item_1line, WORDS); in testPerformFiltering()
884 assertEquals(WORDS[0], mAutoCompleteTextView.getText().toString()); in testPerformCompletionWithDPad()
894 assertEquals(WORDS[0], mAutoCompleteTextView.getText().toString()); in testPerformCompletionWithDPad()
902 assertEquals(WORDS[0], mAutoCompleteTextView.getText().toString()); in testPerformCompletionWithDPad()
932 final TextWatcher myTextWatcher = new MyTextWatcher(WORDS[1]); in testPerformCompletionExplicit()
951 assertEquals(WORDS[1], mAutoCompleteTextView.getText().toString()); in testPerformCompletionExplicit()
955 verify(spyTextWatcher, atLeastOnce()).onTextChanged(sameCharSequence(WORDS[1]), in testPerformCompletionExplicit()
956 eq(0), eq(0), eq(WORDS[1].length())); in testPerformCompletionExplicit()
DTextViewTest.java5473 TextKeyListener.getInstance(false, Capitalize.WORDS)); in testAccessContentType()