/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
H A D | CapsModeUtilsTests.java | 31 private static void onePathForCaps(final CharSequence cs, final int expectedResult, argument 34 assertEquals("After >" + cs + "<", oneTimeResult, 35 CapsModeUtils.getCapsMode(cs, mask, sp, hasSpaceBefore)); 38 private static void allPathsForCaps(final CharSequence cs, final int expectedResult, argument 43 onePathForCaps(cs, expectedResult, c | w | s, sp, hasSpaceBefore); 44 onePathForCaps(cs, expectedResult, w | s, sp, hasSpaceBefore); 45 onePathForCaps(cs, expectedResult, c | s, sp, hasSpaceBefore); 46 onePathForCaps(cs, expectedResult, c | w, sp, hasSpaceBefore); 47 onePathForCaps(cs, expectedResult, c, sp, hasSpaceBefore); 48 onePathForCaps(cs, expectedResul [all...] |
H A D | SpannableStringUtilsTests.java | 60 private static void assertSpanCount(final int expectedCount, final CharSequence cs) { argument 62 if (cs instanceof Spanned) { 63 final Spanned spanned = (Spanned) cs; 71 private static void assertSpan(final CharSequence cs, final Object expectedSpan, argument 73 assertTrue(cs instanceof Spanned); 74 final Spanned spanned = (Spanned) cs;
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
H A D | UTF7StyleCharset.java | 74 public boolean contains(final Charset cs) {
argument 75 return CONTAINED.contains(cs.name());
|
H A D | UTF7StyleCharsetDecoder.java | 51 UTF7StyleCharsetDecoder(UTF7StyleCharset cs, Base64Util base64, boolean strict) {
argument 52 super(cs, 0.6f, 1.0f);
55 this.shift = cs.shift();
56 this.unshift = cs.unshift();
|
H A D | UTF7StyleCharsetEncoder.java | 52 private final UTF7StyleCharset cs;
field in class:UTF7StyleCharsetEncoder 68 UTF7StyleCharsetEncoder(UTF7StyleCharset cs, Base64Util base64, boolean strict) {
argument 69 super(cs, AVG_BYTES_PER_CHAR, MAX_BYTES_PER_CHAR);
70 this.cs = cs;
73 this.shift = cs.shift();
74 this.unshift = cs.unshift();
149 if (cs.canEncodeDirectly(ch)) {
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
H A D | AlphabeticIndexCompat.java | 56 public String computeSectionName(CharSequence cs) { argument 57 String s = Utilities.trim(cs);
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
H A D | CharEscaperBuilder.java | 91 public CharEscaperBuilder addEscapes(char[] cs, String r) { argument 92 for (char c : cs) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | CapsModeUtils.java | 91 * @param cs The text that should be checked for caps modes. 96 * @param hasSpaceBefore Whether we should consider there is a space inserted at the end of cs 103 public static int getCapsMode(final CharSequence cs, final int reqModes, argument 132 i = cs.length() + 1; 134 for (i = cs.length(); i > 0; i--) { 135 final char c = cs.charAt(i - 1); 154 prevChar = cs.charAt(j - 1); 167 prevChar = cs.charAt(j); 206 final char c = cs.charAt(j - 1); 215 char c = cs [all...] |
/packages/apps/Gallery2/jni/filters/ |
H A D | hsv.c | 95 short cs = hsv[hsvOff+1]; local 99 //chroma = ( cv * cs )/k1; 101 m = ((int)cv*(k1 - (int)cs ))/k1; 103 // chroma == 0 <-> cs == 0 --> m=cv 104 if (cs == 0) { 108 is=(int)cs;
|
/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | NotificationStation.java | 219 private static CharSequence bold(CharSequence cs) { argument 220 if (cs.length() == 0) return cs; 221 SpannableString ss = new SpannableString(cs); 222 ss.setSpan(new StyleSpan(Typeface.BOLD), 0, cs.length(), 0);
|
/packages/apps/TV/src/com/android/tv/search/ |
H A D | TvProviderSearch.java | 458 private String canonicalizeLabel(CharSequence cs) { argument 460 return cs != null ? cs.toString().replaceAll("[ -]", "").toLowerCase(locale) : null;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | CellLayout.java | 1636 CellAndSpan cs = config.map.get(views.get(i)); 1639 int left = cs.x; 1640 for (int j = cs.y; j < cs.y + cs.spanY; j++) { 1647 int right = cs.x + cs.spanX; 1648 for (int j = cs.y; j < cs.y + cs 2697 add(View v, CellAndSpan cs) argument [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CellLayout.java | 1444 CellAndSpan cs = config.map.get(views.get(i)); 1447 int left = cs.cellX; 1448 for (int j = cs.cellY; j < cs.cellY + cs.spanY; j++) { 1455 int right = cs.cellX + cs.spanX; 1456 for (int j = cs.cellY; j < cs.cellY + cs 2480 add(View v, CellAndSpan cs) argument [all...] |
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |