Home | History | Annotate | Download | only in cts

Lines Matching defs:source

2  * Copyright (C) 2008 The Android Open Source Project
44 CharSequence source = "Caps";
51 dest.insert(3, source);
55 dest.replace(7, 11, source);
72 // The source string, lowerBee, is two code units that contains a single lowercase letter.
91 final String source = "i";
96 assertEquals("I", usAllCaps.filter(source, 0, source.length(), dest, 0, 0));
97 assertEquals("?", turkishAllCaps.filter(source, 0, source.length(), dest, 0, 0));
102 final String source = "?"; // U+01C8 LATIN CAPITAL LETTER L WITH SMALL LETTER J
107 allCaps.filter(source, 0, source.length(), dest, 0, 0));
116 final SpannableString source = new SpannableString(lowerString);
118 source.setSpan(span, 0, 2, Spanned.SPAN_INCLUSIVE_INCLUSIVE); // around "?"
122 final CharSequence result = greekAllCaps.filter(source, 0, source.length(), dest, 0, 0);
132 // The two characters in source have been transformed to one character in the result.