Searched refs:cs (Results 1 - 20 of 20) 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/docs/html/guide/
H A Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
13 <div class="nav-section-header"><a href="<?cs var:toroot ?>guide/components/index.html">
17 <li><a href="<?cs var:toroot ?>guide/components/fundamentals.html">
21 <div class="nav-section-header"><a href="<?cs var:toroot ?>guide/components/activities.html">
25 <li><a href="<?cs var:toroot ?>guide/components/fragments.html">
28 <li><a href="<?cs var:toroot ?>guide/components/loaders.html">
31 <li><a href="<?cs var:toroot ?>guide/components/tasks-and-back-stack.html">
37 <div class="nav-section-header"><a href="<?cs var:toroot ?>guide/components/services.html">
41 <li><a href="<?cs var:toroot ?>guide/components/bound-services.html">
44 <li><a href="<?cs va
[all...]
/frameworks/av/camera/
H A DCamera.cpp107 const sp<ICameraService>& cs = getCameraService(); local
108 if (cs == 0) return 0;
109 return cs->getNumberOfCameras();
114 const sp<ICameraService>& cs = getCameraService(); local
115 if (cs == 0) return UNKNOWN_ERROR;
116 return cs->getCameraInfo(cameraId, cameraInfo);
123 const sp<ICameraService>& cs = getCameraService(); local
124 if (cs != 0) {
125 c->mCamera = cs->connect(c, cameraId);
/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/testing/uiautomator/library/src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoDumper.java203 private static String safeCharSeqToString(CharSequence cs) { argument
204 if (cs == null)
207 return stripInvalidXMLChars(cs);
211 private static String stripInvalidXMLChars(CharSequence cs) { argument
223 for (int i = 0; i < cs.length(); i++) {
224 ch = cs.charAt(i);
H A DUiObject.java741 private String safeStringReturn(CharSequence cs) { argument
742 if(cs == null)
744 return cs.toString();
/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java634 public BigPictureStyle setSummaryText(CharSequence cs) { argument
635 mSummaryText = cs;
688 public BigTextStyle setSummaryText(CharSequence cs) { argument
689 mSummaryText = cs;
698 public BigTextStyle bigText(CharSequence cs) { argument
699 mBigText = cs;
746 public InboxStyle setSummaryText(CharSequence cs) { argument
747 mSummaryText = cs;
755 public InboxStyle addLine(CharSequence cs) { argument
756 mTexts.add(cs);
[all...]
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp416 sp<ICameraService> cs = interface_cast<ICameraService>(binder); local
417 ASSERT(cs != 0);
418 return cs;
422 sp<ICameraService> cs = getCameraService(); local
423 return cs->getNumberOfCameras();
431 sp<ICameraService> cs = getCameraService(); local
433 sp<ICamera> c = cs->connect(cc, cameraId);
440 sp<ICameraService> cs = getCameraService(); local
443 sp<ICamera> c = cs->connect(cc, cameraId);
446 ASSERT(cs
534 sp<ICameraService> cs = getCameraService(); local
548 sp<ICameraService> cs = getCameraService(); local
569 sp<ICameraService> cs = getCameraService(); local
612 sp<ICameraService> cs; member in class:AfterConnect
[all...]
/frameworks/base/core/java/android/content/res/
H A DResources.java1525 Drawable.ConstantState cs = ref.get();
1526 if (cs != null) {
1528 configChanges, cs.getChangingConfigurations())) {
1532 + " / " + cs + " with changes: 0x"
1533 + Integer.toHexString(cs.getChangingConfigurations()));
1539 + " / " + cs + " with changes: 0x"
1540 + Integer.toHexString(cs.getChangingConfigurations())
1791 CharSequence cs = v.coerceToString();
1792 outBundle.putCharSequence(name, cs);
1914 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/core/java/android/net/
H A DCaptivePortalTracker.java84 private CaptivePortalTracker(Context context, IConnectivityManager cs) { argument
88 mConnService = cs;
122 IConnectivityManager cs) {
123 CaptivePortalTracker captivePortal = new CaptivePortalTracker(context, cs);
121 makeCaptivePortalTracker(Context context, IConnectivityManager cs) argument
/frameworks/base/core/java/android/text/
H A DTextUtils.java601 public static void writeToParcel(CharSequence cs, Parcel p, argument
603 if (cs instanceof Spanned) {
605 p.writeString(cs.toString());
607 Spanned sp = (Spanned) cs;
608 Object[] os = sp.getSpans(0, cs.length(), Object.class);
634 if (cs != null) {
635 p.writeString(cs.toString());
786 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { argument
787 if (cs instanceof Spanned) {
788 Spanned sp = (Spanned) cs;
1514 getCapsMode(CharSequence cs, int off, int reqModes) argument
[all...]
H A DSpannableStringBuilder.java261 private void change(int start, int end, CharSequence cs, int csStart, int csEnd) { argument
341 TextUtils.getChars(cs, csStart, csEnd, mText, start);
359 if (cs instanceof Spanned) {
360 Spanned sp = (Spanned) cs;
/frameworks/base/core/java/android/app/
H A DNotification.java1669 protected void internalSetSummaryText(CharSequence cs) { argument
1670 mSummaryText = cs;
1764 public BigPictureStyle setSummaryText(CharSequence cs) { argument
1765 internalSetSummaryText(cs);
1845 public BigTextStyle setSummaryText(CharSequence cs) { argument
1846 internalSetSummaryText(cs);
1854 public BigTextStyle bigText(CharSequence cs) { argument
1855 mBigText = cs;
1929 public InboxStyle setSummaryText(CharSequence cs) { argument
1930 internalSetSummaryText(cs);
1937 addLine(CharSequence cs) argument
[all...]
H A DApplicationPackageManager.java937 CharSequence cs = wr.get();
938 if (cs != null) {
939 return cs;
948 private void putCachedString(ResourceName name, CharSequence cs) { argument
950 sStringCache.put(name, new WeakReference<CharSequence>(cs));
/frameworks/base/core/java/android/text/method/
H A DTextKeyListener.java106 * @param cs the text in which an insertion is being made.
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { argument
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java1097 ClientState cs = mClients.get(client.asBinder());
1098 if (cs == null) {
1104 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) {
1110 Slog.w(TAG, "Starting input on non-focused client " + cs.client
1111 + " (uid=" + cs.uid + " pid=" + cs.pid + ")");
1117 return startInputUncheckedLocked(cs, inputContext, attribute, controlFlags);
1120 InputBindResult startInputUncheckedLocked(ClientState cs, argument
1127 if (mCurClient != cs) {
1132 + cs
[all...]
/frameworks/native/include/utils/
H A DUniquePtr.h205 UniquePtr<C[]> cs(new C[4]);
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java2938 CharSequence cs = v.coerceToString();
2939 data.putString(name, cs != null ? cs.toString().intern() : null);

Completed in 280 milliseconds