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

/frameworks/base/core/java/android/text/style/
H A DCharacterStyle.java36 public static CharacterStyle wrap(CharacterStyle cs) { argument
37 if (cs instanceof MetricAffectingSpan) {
38 return new MetricAffectingSpan.Passthrough((MetricAffectingSpan) cs);
40 return new Passthrough(cs);
66 public Passthrough(CharacterStyle cs) { argument
67 mStyle = cs;
H A DMetricAffectingSpan.java56 public Passthrough(MetricAffectingSpan cs) { argument
57 mStyle = cs;
/frameworks/base/core/java/android/content/res/
H A DPluralRules.java74 if ("cs".equals(lang)) {
75 if (cs == null) cs = new cs();
76 return cs;
84 private static PluralRules cs; field in class:PluralRules
85 private static class cs extends PluralRules { class in class:PluralRules
H A DResources.java1310 Drawable.ConstantState cs = ref.get();
1311 if (cs != null) {
1313 configChanges, cs.getChangingConfigurations())) {
1317 + " / " + cs + " with changes: 0x"
1318 + Integer.toHexString(cs.getChangingConfigurations()));
1324 + " / " + cs + " with changes: 0x"
1325 + Integer.toHexString(cs.getChangingConfigurations())
1574 CharSequence cs = v.coerceToString();
1575 outBundle.putCharSequence(name, cs);
1670 Drawable.ConstantState cs
[all...]
H A DTypedArray.java130 CharSequence cs = v.coerceToString();
131 return cs != null ? cs.toString() : null;
194 CharSequence cs = v.coerceToString();
195 return cs != null ? cs.toString() : null;
/frameworks/base/tests/CoreTests/android/core/
H A DLocaleTest.java218 Charset cs = Charset.forName(encodings[i]);
219 android.util.Log.d("LocaleTest", cs.name());
221 Set<String> aliases = cs.aliases();
239 Charset cs = Charset.forName("EUC-JP");
240 assertTrue("EUC-JP must use 'ibm-954_P101-2007'", cs.aliases().contains("ibm-954_P101-2007"));
/frameworks/ex/common/java/com/android/common/
H A DRfc822Validator.java106 public CharSequence fixText(CharSequence cs) { argument
108 if (TextUtils.getTrimmedLength(cs) == 0) return "";
110 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs);
/frameworks/base/libs/camera/
H A DCamera.cpp104 const sp<ICameraService>& cs = getCameraService(); local
105 if (cs == 0) return 0;
106 return cs->getNumberOfCameras();
111 const sp<ICameraService>& cs = getCameraService(); local
112 if (cs == 0) return UNKNOWN_ERROR;
113 return cs->getCameraInfo(cameraId, cameraInfo);
120 const sp<ICameraService>& cs = getCameraService(); local
121 if (cs != 0) {
122 c->mCamera = cs->connect(c, cameraId);
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp411 sp<ICameraService> cs = interface_cast<ICameraService>(binder); local
412 ASSERT(cs != 0);
413 return cs;
417 sp<ICameraService> cs = getCameraService(); local
418 return cs->getNumberOfCameras();
426 sp<ICameraService> cs = getCameraService(); local
428 sp<ICamera> c = cs->connect(cc, cameraId);
435 sp<ICameraService> cs = getCameraService(); local
438 sp<ICamera> c = cs->connect(cc, cameraId);
441 ASSERT(cs
529 sp<ICameraService> cs = getCameraService(); local
543 sp<ICameraService> cs = getCameraService(); local
564 sp<ICameraService> cs = getCameraService(); local
607 sp<ICameraService> cs; member in class:AfterConnect
[all...]
/frameworks/base/docs/html/sdk/
H A Dsdk_toc.cs1 <?cs if:!sdk.redirect ?>
2 <ul><?cs
16 <li><a href="<?cs var:toroot ?>sdk/index.html">
26 <li><a href="<?cs var:toroot ?>sdk/installing.html">
38 </li><?cs
40 <?cs
44 <li><a href="<?cs var:toroot ?>sdk/android-3.0-highlights.html">Platform Highlights</a> <span
46 <li><a href="<?cs var:toroot ?>sdk/preview/index.html">SDK</a> <span class="new">new!</span></li>
48 </li><?cs
62 <li><a href="<?cs va
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java574 public static void writeToParcel(CharSequence cs, Parcel p, argument
576 if (cs instanceof Spanned) {
578 p.writeString(cs.toString());
580 Spanned sp = (Spanned) cs;
581 Object[] os = sp.getSpans(0, cs.length(), Object.class);
607 if (cs != null) {
608 p.writeString(cs.toString());
733 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
734 if (cs instanceof Spanned) {
735 Spanned sp = (Spanned) cs;
1566 getCapsMode(CharSequence cs, int off, int reqModes) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java683 ClientState cs = mClients.get(client.asBinder());
684 if (cs == null) {
690 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
696 Slog.w(TAG, "Starting input on non-focused client " + cs.client
697 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
703 if (mCurClient != cs) {
708 + cs.client.asBinder());
713 cs.client.setActive(mScreenOn);
716 + cs
[all...]
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java102 * @param cs the text in which an insertion is being made.
107 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
118 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS
/frameworks/base/docs/html/resources/
H A Dresources_toc.cs13 <li><a href="<?cs var:toroot ?>resources/community-groups.html">
16 <li><a href="<?cs var:toroot ?>resources/community-more.html">
21 <?cs
27 <li><a href="<?cs var:toroot ?>resources/dashboard/platform-versions.html">
30 <li><a href="<?cs var:toroot ?>resources/dashboard/screens.html">
34 </li><?cs
43 <div><a href="<?cs var:toroot ?>resources/articles/index.html">
47 <li><a href="<?cs var:toroot ?>resources/articles/avoiding-memory-leaks.html">
50 <li><a href="<?cs var:toroot ?>resources/articles/backward-compatibility.html">
53 <li><a href="<?cs va
[all...]
/frameworks/base/docs/html/guide/
H A Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
21 <li><a href="<?cs var:toroot ?>guide/basics/what-is-android.html">
50 <li><a href="<?cs var:toroot ?>guide/topics/fundamentals.html">
64 <div><a href="<?cs var:toroot ?>guide/topics/ui/index.html">
68 <li><a href="<?cs var:toroot ?>guide/topics/ui/declaring-layout.html">
71 <li><a href="<?cs var:toroot ?>guide/topics/ui/menus.html">
74 <li><a href="<?cs var:toroot ?>guide/topics/ui/dialogs.html">
77 <li><a href="<?cs var:toroot ?>guide/topics/ui/ui-events.html">
81 <div><a href="<?cs var:toroot ?>guide/topics/ui/notifiers/index.html">
85 <li><a href="<?cs va
[all...]
/frameworks/base/core/java/android/app/
H A DContextImpl.java2471 CharSequence cs = wr.get();
2472 if (cs != null) {
2473 return cs;
2482 private void putCachedString(ResourceName name, CharSequence cs) { argument
2484 sStringCache.put(name, new WeakReference<CharSequence>(cs));
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java2559 CharSequence cs = v.coerceToString();
2560 data.putString(name, cs != null ? cs.toString().intern() : null);

Completed in 1421 milliseconds