/frameworks/base/core/java/android/text/style/ |
H A D | CharacterStyle.java | 36 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 D | MetricAffectingSpan.java | 56 public Passthrough(MetricAffectingSpan cs) { argument 57 mStyle = cs;
|
/frameworks/ex/common/java/com/android/common/ |
H A D | Rfc822Validator.java | 120 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 D | AccessibilityNodeInfoDumper.java | 203 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 D | UiObject.java | 741 private String safeStringReturn(CharSequence cs) { argument 742 if(cs == null) 744 return cs.toString();
|
/frameworks/base/core/java/android/net/ |
H A D | CaptivePortalTracker.java | 84 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/method/ |
H A D | TextKeyListener.java | 106 * @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/av/camera/ |
H A D | Camera.cpp | 107 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/av/services/camera/tests/CameraServiceTest/ |
H A D | CameraServiceTest.cpp | 416 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/text/ |
H A D | SpannableStringBuilder.java | 261 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;
|
H A D | TextUtils.java | 601 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...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 634 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/base/core/java/android/app/ |
H A D | ApplicationPackageManager.java | 937 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));
|
H A D | Notification.java | 1669 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...] |
/frameworks/base/services/java/com/android/server/ |
H A D | InputMethodManagerService.java | 1097 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...] |