Searched defs:cs (Results 1 - 8 of 8) 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/ex/common/java/com/android/common/
H A DRfc822Validator.java120 public CharSequence fixText(CharSequence cs) { argument
122 if (TextUtils.getTrimmedLength(cs) == 0) return "";
124 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs);
/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/libs/camera/
H A DCamera.cpp106 const sp<ICameraService>& cs = getCameraService(); local
107 if (cs == 0) return 0;
108 return cs->getNumberOfCameras();
113 const sp<ICameraService>& cs = getCameraService(); local
114 if (cs == 0) return UNKNOWN_ERROR;
115 return cs->getCameraInfo(cameraId, cameraInfo);
122 const sp<ICameraService>& cs = getCameraService(); local
123 if (cs != 0) {
124 c->mCamera = cs->connect(c, cameraId);
/frameworks/base/core/java/android/app/
H A DApplicationPackageManager.java858 CharSequence cs = wr.get();
859 if (cs != null) {
860 return cs;
869 private void putCachedString(ResourceName name, CharSequence cs) { argument
871 sStringCache.put(name, new WeakReference<CharSequence>(cs));
/frameworks/base/core/java/android/text/
H A DTextUtils.java595 public static void writeToParcel(CharSequence cs, Parcel p, argument
597 if (cs instanceof Spanned) {
599 p.writeString(cs.toString());
601 Spanned sp = (Spanned) cs;
602 Object[] os = sp.getSpans(0, cs.length(), Object.class);
628 if (cs != null) {
629 p.writeString(cs.toString());
776 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
777 if (cs instanceof Spanned) {
778 Spanned sp = (Spanned) cs;
1495 getCapsMode(CharSequence cs, int off, int reqModes) argument
[all...]
/frameworks/base/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp417 sp<ICameraService> cs = interface_cast<ICameraService>(binder); local
418 ASSERT(cs != 0);
419 return cs;
423 sp<ICameraService> cs = getCameraService(); local
424 return cs->getNumberOfCameras();
432 sp<ICameraService> cs = getCameraService(); local
434 sp<ICamera> c = cs->connect(cc, cameraId);
441 sp<ICameraService> cs = getCameraService(); local
444 sp<ICamera> c = cs->connect(cc, cameraId);
447 ASSERT(cs
535 sp<ICameraService> cs = getCameraService(); local
549 sp<ICameraService> cs = getCameraService(); local
570 sp<ICameraService> cs = getCameraService(); local
613 sp<ICameraService> cs; member in class:AfterConnect
[all...]

Completed in 7090 milliseconds