OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:shouldCap
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/java/android/text/method/
TextKeyListener.java
107
public static boolean
shouldCap
(Capitalize cap, CharSequence cs, int off) {
/cts/tests/tests/text/src/android/text/method/cts/
TextKeyListenerTest.java
80
method = "
shouldCap
",
90
assertFalse(TextKeyListener.
shouldCap
(Capitalize.NONE, str, 0));
91
assertTrue(TextKeyListener.
shouldCap
(Capitalize.SENTENCES, str, 0));
92
assertTrue(TextKeyListener.
shouldCap
(Capitalize.WORDS, str, 0));
93
assertTrue(TextKeyListener.
shouldCap
(Capitalize.CHARACTERS, str, 0));
95
assertFalse(TextKeyListener.
shouldCap
(Capitalize.NONE, str, 6));
96
assertFalse(TextKeyListener.
shouldCap
(Capitalize.SENTENCES, str, 6));
97
assertTrue(TextKeyListener.
shouldCap
(Capitalize.WORDS, str, 6));
98
assertTrue(TextKeyListener.
shouldCap
(Capitalize.CHARACTERS, str, 6));
100
assertFalse(TextKeyListener.
shouldCap
(Capitalize.NONE, str, 13))
[
all
...]
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/8/
android.jar
Completed in 41 milliseconds