Searched refs:cs (Results 1 - 22 of 22) sorted by relevance

/packages/apps/Email/src/com/beetstra/jutf7/
H A DUTF7StyleCharsetEncoder.java52 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)) {
H A DUTF7StyleCharset.java74 public boolean contains(final Charset cs) { argument
75 return CONTAINED.contains(cs.name());
H A DUTF7StyleCharsetDecoder.java51 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();
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/
H A DBluetoothNameUtils.java75 final String cs = matcher.group(3);
76 if (TextUtils.isEmpty(cs)) {
79 final Matcher cm = COLOR_PATTERN.matcher(cs);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DCapsModeUtilsTests.java31 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 DSpannableStringUtilsTests.java60 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCapsModeUtils.java91 * @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/DeskClock/src/com/android/deskclock/provider/
H A DClockDatabaseHelper.java116 String cs = ", "; //comma and space
118 ClockContract.AlarmsColumns.HOUR + cs +
119 ClockContract.AlarmsColumns.MINUTES + cs +
120 ClockContract.AlarmsColumns.DAYS_OF_WEEK + cs +
121 ClockContract.AlarmsColumns.ENABLED + cs +
122 ClockContract.AlarmsColumns.VIBRATE + cs +
123 ClockContract.AlarmsColumns.LABEL + cs +
124 ClockContract.AlarmsColumns.RINGTONE + cs +
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/
H A DCharEscaperBuilder.java91 public CharEscaperBuilder addEscapes(char[] cs, String r) { argument
92 for (char c : cs) {
/packages/apps/Gallery2/jni/filters/
H A Dhsv.c95 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/Launcher3/src/com/android/launcher3/
H A DCellLayout.java1444 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/Music/src/com/android/music/
H A DMediaPickerActivity.java156 Cursor[] cs;
215 cs = new Cursor[size];
216 cs = cList.toArray(cs);
217 mCursor = new SortCursor(cs, MediaStore.Audio.Media.TITLE);
/packages/apps/Launcher3/src/com/android/launcher3/compat/
H A DAlphabeticIndexCompat.java56 public String computeSectionName(CharSequence cs) { argument
57 String s = Utilities.trim(cs);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DCellLayout.java1636 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/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java166 ConnectState cs = (ConnectState)msg.obj;
167 BluetoothDevice device = getDevice(cs.addr);
170 log("MESSAGE_CONNECT_STATE_CHANGED: " + device + " state: " + cs.state);
173 convertHalState(cs.state), cs.local_role, cs.remote_role);
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DSources.java190 final IContentService cs = ContentResolver.getContentService();
193 final SyncAdapterType[] syncs = cs.getSyncAdapterTypes();
/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationStation.java219 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 DTvProviderSearch.java458 private String canonicalizeLabel(CharSequence cs) { argument
460 return cs != null ? cs.toString().replaceAll("[ -]", "").toLowerCase(locale) : null;
/packages/apps/Calendar/src/com/android/calendar/
H A DEventInfoFragment.java1726 CharSequence cs;
1728 cs = tv.getText();
1730 cs = etv.getText();
1735 if (!TextUtils.isEmpty(cs)) {
1736 cs = cs.toString().trim();
1737 if (cs.length() > 0) {
1738 text.add(cs);
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapContent.java3029 String cs = smsMmsCursor.getString(MMS_SMS_THREAD_COL_SNIPPET_CS);
3030 if(summary != null && cs != null && !cs.equals("UTF-8")) {
3033 summary = new String(summary.getBytes(cs),"UTF-8");
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java5434 final IContentService cs = ContentResolver.getContentService();
5436 return cs.getIsSyncable(account, ContactsContract.AUTHORITY) > 0;

Completed in 3029 milliseconds