/frameworks/rs/driver/ |
D | rsdBcc.cpp | 46 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createScript(script, resName, cacheDir, in rsdScriptInit() local 48 if (cs == NULL) { in rsdScriptInit() 51 script->mHal.drv = cs; in rsdScriptInit() 52 cs->populateScript(script); in rsdScriptInit() 58 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createIntrinsic(s, iid, e); in rsdInitIntrinsic() local 59 if (cs == NULL) { in rsdInitIntrinsic() 62 s->mHal.drv = cs; in rsdInitIntrinsic() 63 cs->populateScript(s); in rsdInitIntrinsic() 76 RsdCpuReference::CpuScript *cs = (RsdCpuReference::CpuScript *)s->mHal.drv; in rsdScriptInvokeForEach() local 77 cs->invokeForEach(slot, ain, aout, usr, usrLen, sc); in rsdScriptInvokeForEach() [all …]
|
/frameworks/av/camera/ |
D | CameraBase.cpp | 102 const sp<ICameraService>& cs = getCameraService(); in connect() local 104 if (cs != 0) { in connect() 106 status = (cs.get()->*fnConnectService)(cl, cameraId, clientPackageName, clientUid, in connect() 186 const sp<ICameraService> cs = getCameraService(); in getNumberOfCameras() local 188 if (!cs.get()) { in getNumberOfCameras() 192 return cs->getNumberOfCameras(); in getNumberOfCameras() 199 const sp<ICameraService>& cs = getCameraService(); in getCameraInfo() local 200 if (cs == 0) return UNKNOWN_ERROR; in getCameraInfo() 201 return cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo() 207 const sp<ICameraService>& cs = getCameraService(); in addServiceListener() local [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | CharacterStyle.java | 36 public static CharacterStyle wrap(CharacterStyle cs) { in wrap() argument 37 if (cs instanceof MetricAffectingSpan) { in wrap() 38 return new MetricAffectingSpan.Passthrough((MetricAffectingSpan) cs); in wrap() 40 return new Passthrough(cs); in wrap() 66 public Passthrough(CharacterStyle cs) { in Passthrough() argument 67 mStyle = cs; in Passthrough()
|
D | MetricAffectingSpan.java | 56 public Passthrough(MetricAffectingSpan cs) { in Passthrough() argument 57 mStyle = cs; in Passthrough()
|
/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 135 public boolean isRtl(CharSequence cs, int start, int count) { in isRtl() argument 136 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { in isRtl() 142 return doCheck(cs, start, count); in isRtl() 145 private boolean doCheck(CharSequence cs, int start, int count) { in doCheck() argument 146 switch(mAlgorithm.checkRtl(cs, start, count)) { in doCheck() 179 int checkRtl(CharSequence cs, int start, int count); in checkRtl() argument 188 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument 191 result = isRtlTextOrFormat(Character.getDirectionality(cs.charAt(i))); in checkRtl() 211 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument 214 switch (isRtlText(Character.getDirectionality(cs.charAt(i)))) { in checkRtl()
|
D | TextUtils.java | 610 public static void writeToParcel(CharSequence cs, Parcel p, in writeToParcel() argument 612 if (cs instanceof Spanned) { in writeToParcel() 614 p.writeString(cs.toString()); in writeToParcel() 616 Spanned sp = (Spanned) cs; in writeToParcel() 617 Object[] os = sp.getSpans(0, cs.length(), Object.class); in writeToParcel() 650 if (cs != null) { in writeToParcel() 651 p.writeString(cs.toString()); in writeToParcel() 802 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { in dumpSpans() argument 803 if (cs instanceof Spanned) { in dumpSpans() 804 Spanned sp = (Spanned) cs; in dumpSpans() [all …]
|
D | TextDirectionHeuristic.java | 45 boolean isRtl(CharSequence cs, int start, int count); in isRtl() argument
|
/frameworks/support/v4/java/android/support/v4/text/ |
D | TextDirectionHeuristicsCompat.java | 129 public boolean isRtl(CharSequence cs, int start, int count) { in isRtl() argument 130 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { in isRtl() 136 return doCheck(cs, start, count); in isRtl() 139 private boolean doCheck(CharSequence cs, int start, int count) { in doCheck() argument 140 switch(mAlgorithm.checkRtl(cs, start, count)) { in doCheck() 173 int checkRtl(CharSequence cs, int start, int count); in checkRtl() argument 182 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument 185 result = isRtlTextOrFormat(Character.getDirectionality(cs.charAt(i))); in checkRtl() 205 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument 208 switch (isRtlText(Character.getDirectionality(cs.charAt(i)))) { in checkRtl()
|
D | TextDirectionHeuristicCompat.java | 45 boolean isRtl(CharSequence cs, int start, int count); in isRtl() argument
|
/frameworks/base/docs/html/training/ |
D | training_toc.cs | 324 <li><a href="<?cs var:toroot ?>training/camera/photobasics.html"> 328 <li><a href="<?cs var:toroot ?>training/camera/videobasics.html"> 332 <li><a href="<?cs var:toroot ?>training/camera/cameradirect.html"> 341 <a href="<?cs var:toroot ?>training/printing/index.html" 347 <li><a href="<?cs var:toroot ?>training/printing/photos.html"> 351 <li><a href="<?cs var:toroot ?>training/printing/html-docs.html"> 355 <li><a href="<?cs var:toroot ?>training/printing/custom-docs.html"> 370 <a href="<?cs var:toroot ?>training/building-graphics.html"> 378 <a href="<?cs var:toroot ?>training/displaying-bitmaps/index.html" 385 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/load-bitmap.html"> [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | NotificationCompat.java | 675 public BigPictureStyle setSummaryText(CharSequence cs) { in setSummaryText() argument 676 mSummaryText = cs; in setSummaryText() 742 public BigTextStyle setSummaryText(CharSequence cs) { in setSummaryText() argument 743 mSummaryText = cs; in setSummaryText() 752 public BigTextStyle bigText(CharSequence cs) { in bigText() argument 753 mBigText = cs; in bigText() 804 public InboxStyle setSummaryText(CharSequence cs) { in setSummaryText() argument 805 mSummaryText = cs; in setSummaryText() 813 public InboxStyle addLine(CharSequence cs) { in addLine() argument 814 mTexts.add(cs); in addLine()
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | AccessibilityNodeInfoDumper.java | 210 private static String safeCharSeqToString(CharSequence cs) { in safeCharSeqToString() argument 211 if (cs == null) in safeCharSeqToString() 214 return stripInvalidXMLChars(cs); in safeCharSeqToString() 218 private static String stripInvalidXMLChars(CharSequence cs) { in stripInvalidXMLChars() argument 230 for (int i = 0; i < cs.length(); i++) { in stripInvalidXMLChars() 231 ch = cs.charAt(i); in stripInvalidXMLChars()
|
/frameworks/ex/common/java/com/android/common/ |
D | Rfc822Validator.java | 120 public CharSequence fixText(CharSequence cs) { in fixText() argument 122 if (TextUtils.getTrimmedLength(cs) == 0) return ""; in fixText() 124 Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(cs); in fixText()
|
/frameworks/base/core/java/android/content/res/ |
D | Resources.java | 1633 Drawable.ConstantState cs = ref.get(); in clearDrawableCacheLocked() local 1634 if (cs != null) { in clearDrawableCacheLocked() 1636 configChanges, cs.getChangingConfigurations())) { in clearDrawableCacheLocked() 1640 + " / " + cs + " with changes: 0x" in clearDrawableCacheLocked() 1641 + Integer.toHexString(cs.getChangingConfigurations())); in clearDrawableCacheLocked() 1647 + " / " + cs + " with changes: 0x" in clearDrawableCacheLocked() 1648 + Integer.toHexString(cs.getChangingConfigurations()) in clearDrawableCacheLocked() 1905 CharSequence cs = v.coerceToString(); in parseBundleExtra() local 1906 outBundle.putCharSequence(name, cs); in parseBundleExtra() 2053 Drawable.ConstantState cs; in loadDrawable() local [all …]
|
D | TypedArray.java | 131 CharSequence cs = v.coerceToString(); in getString() local 132 return cs != null ? cs.toString() : null; in getString() 195 CharSequence cs = v.coerceToString(); in getNonConfigurationString() local 196 return cs != null ? cs.toString() : null; in getNonConfigurationString()
|
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/ |
D | shadows.rs | 111 short cs = hsv.y; 117 m = ((int)cv*(k1 - (int)cs ))/k1; 120 if (cs == 0) { 124 is=(int)cs;
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
D | shadows.rs | 111 short cs = hsv.y; 117 m = ((int)cv*(k1 - (int)cs ))/k1; 120 if (cs == 0) { 124 is=(int)cs;
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
D | shadows.rs | 111 short cs = hsv.y; 117 m = ((int)cv*(k1 - (int)cs ))/k1; 120 if (cs == 0) { 124 is=(int)cs;
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
D | UnsafeByteSequence.java | 78 public String toString(Charset cs) { in toString() argument 79 return new String(bytes, 0, count, cs); in toString()
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 874 public static CharSequence safeCharSequence(CharSequence cs) { in safeCharSequence() argument 875 if (cs instanceof Parcelable) { in safeCharSequence() 876 Log.e(TAG, "warning: " + cs.getClass().getCanonicalName() in safeCharSequence() 878 return cs.toString(); in safeCharSequence() 881 return cs; in safeCharSequence() 1922 protected void internalSetSummaryText(CharSequence cs) { in internalSetSummaryText() argument 1923 mSummaryText = cs; in internalSetSummaryText() 2043 public BigPictureStyle setSummaryText(CharSequence cs) { in setSummaryText() argument 2044 internalSetSummaryText(safeCharSequence(cs)); in setSummaryText() 2137 public BigTextStyle setSummaryText(CharSequence cs) { in setSummaryText() argument [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | InputMethodManagerService.java | 1018 ClientState cs = mClients.remove(client.asBinder()); in removeClient() local 1019 if (cs != null) { in removeClient() 1020 clearClientSessionLocked(cs); in removeClient() 1107 ClientState cs = mClients.get(client.asBinder()); in startInputLocked() local 1108 if (cs == null) { in startInputLocked() 1114 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) { in startInputLocked() 1120 Slog.w(TAG, "Starting input on non-focused client " + cs.client in startInputLocked() 1121 + " (uid=" + cs.uid + " pid=" + cs.pid + ")"); in startInputLocked() 1127 return startInputUncheckedLocked(cs, inputContext, attribute, controlFlags); in startInputLocked() 1130 InputBindResult startInputUncheckedLocked(ClientState cs, in startInputUncheckedLocked() argument [all …]
|
D | AppOpsService.java | 533 ClientState cs = mClients.get(clientToken); in getToken() local 534 if (cs == null) { in getToken() 535 cs = new ClientState(clientToken); in getToken() 536 mClients.put(clientToken, cs); in getToken() 538 return cs; in getToken() 1038 ClientState cs = mClients.valueAt(i); in dump() local 1039 pw.print(" "); pw.println(cs); in dump() 1040 if (cs.mStartedOps != null && cs.mStartedOps.size() > 0) { in dump() 1042 for (int j=0; j<cs.mStartedOps.size(); j++) { in dump() 1043 Op op = cs.mStartedOps.get(j); in dump()
|
/frameworks/base/docs/html/guide/ |
D | guide_toc.cs | 1 <?cs # Table of contents for Dev Guide.
|
/frameworks/base/core/java/android/net/ |
D | CaptivePortalTracker.java | 110 private CaptivePortalTracker(Context context, IConnectivityManager cs) { in CaptivePortalTracker() argument 114 mConnService = cs; in CaptivePortalTracker() 171 IConnectivityManager cs) { in makeCaptivePortalTracker() argument 172 CaptivePortalTracker captivePortal = new CaptivePortalTracker(context, cs); in makeCaptivePortalTracker()
|
/frameworks/base/core/java/android/text/method/ |
D | TextKeyListener.java | 111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument 122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
|