Lines Matching defs:cs
610 public static void writeToParcel(CharSequence cs, Parcel p,
612 if (cs instanceof Spanned) {
614 p.writeString(cs.toString());
616 Spanned sp = (Spanned) cs;
617 Object[] os = sp.getSpans(0, cs.length(), Object.class);
650 if (cs != null) {
651 p.writeString(cs.toString());
802 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) {
803 if (cs instanceof Spanned) {
804 Spanned sp = (Spanned) cs;
805 Object[] os = sp.getSpans(0, cs.length(), Object.class);
809 printer.println(prefix + cs.subSequence(sp.getSpanStart(o),
817 printer.println(prefix + cs + ": (no spans)");
1519 * @param cs The text that should be checked for caps modes.
1530 public static int getCapsMode(CharSequence cs, int off, int reqModes) {
1549 c = cs.charAt(i - 1);
1560 while (j > 0 && ((c = cs.charAt(j - 1)) == ' ' || c == '\t')) {
1563 if (j == 0 || cs.charAt(j - 1) == '\n') {
1583 c = cs.charAt(j - 1);
1592 c = cs.charAt(j - 1);
1600 c = cs.charAt(k);