Home
last modified time | relevance | path

Searched refs:cs (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/rs/driver/
DrsdBcc.cpp46 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/base/docs/html/training/
Dtraining_toc.cs241 <li><a href="<?cs var:toroot ?>training/camera/photobasics.html">
245 <li><a href="<?cs var:toroot ?>training/camera/videobasics.html">
249 <li><a href="<?cs var:toroot ?>training/camera/cameradirect.html">
263 <a href="<?cs var:toroot ?>training/building-graphics.html">
271 <a href="<?cs var:toroot ?>training/displaying-bitmaps/index.html"
278 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/load-bitmap.html">
282 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/process-bitmap.html">
286 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/cache-bitmap.html">
290 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/manage-memory.html">
294 <li><a href="<?cs var:toroot ?>training/displaying-bitmaps/display-bitmap.html">
[all …]
/frameworks/av/camera/
DCameraBase.cpp101 const sp<ICameraService>& cs = getCameraService(); in connect() local
102 if (cs != 0) { in connect()
103 c->mCamera = cs->connect(cl, cameraId, clientPackageName, clientUid); in connect()
181 const sp<ICameraService> cs = getCameraService(); in getNumberOfCameras() local
183 if (!cs.get()) { in getNumberOfCameras()
187 return cs->getNumberOfCameras(); in getNumberOfCameras()
194 const sp<ICameraService>& cs = getCameraService(); in getCameraInfo() local
195 if (cs == 0) return UNKNOWN_ERROR; in getCameraInfo()
196 return cs->getCameraInfo(cameraId, cameraInfo); in getCameraInfo()
202 const sp<ICameraService>& cs = getCameraService(); in addServiceListener() local
[all …]
/frameworks/base/core/java/android/text/style/
DCharacterStyle.java36 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()
DMetricAffectingSpan.java56 public Passthrough(MetricAffectingSpan cs) { in Passthrough() argument
57 mStyle = cs; in Passthrough()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java128 public boolean isRtl(CharSequence cs, int start, int count) { in isRtl() argument
129 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { in isRtl()
135 return doCheck(cs, start, count); in isRtl()
138 private boolean doCheck(CharSequence cs, int start, int count) { in doCheck() argument
139 switch(mAlgorithm.checkRtl(cs, start, count)) { in doCheck()
172 int checkRtl(CharSequence cs, int start, int count); in checkRtl() argument
181 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument
184 result = isRtlTextOrFormat(Character.getDirectionality(cs.charAt(i))); in checkRtl()
204 public int checkRtl(CharSequence cs, int start, int count) { in checkRtl() argument
207 switch (isRtlText(Character.getDirectionality(cs.charAt(i)))) { in checkRtl()
DTextUtils.java608 public static void writeToParcel(CharSequence cs, Parcel p, in writeToParcel() argument
610 if (cs instanceof Spanned) { in writeToParcel()
612 p.writeString(cs.toString()); in writeToParcel()
614 Spanned sp = (Spanned) cs; in writeToParcel()
615 Object[] os = sp.getSpans(0, cs.length(), Object.class); in writeToParcel()
648 if (cs != null) { in writeToParcel()
649 p.writeString(cs.toString()); in writeToParcel()
800 public static void dumpSpans(CharSequence cs, Printer printer, String prefix) { in dumpSpans() argument
801 if (cs instanceof Spanned) { in dumpSpans()
802 Spanned sp = (Spanned) cs; in dumpSpans()
[all …]
DTextDirectionHeuristic.java45 boolean isRtl(CharSequence cs, int start, int count); in isRtl() argument
/frameworks/support/v4/java/android/support/v4/text/
DTextDirectionHeuristicsCompat.java129 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()
DTextDirectionHeuristicCompat.java45 boolean isRtl(CharSequence cs, int start, int count); in isRtl() argument
/frameworks/support/v4/java/android/support/v4/app/
DNotificationCompat.java675 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/
DAccessibilityNodeInfoDumper.java210 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()
DUiObject.java887 private String safeStringReturn(CharSequence cs) { in safeStringReturn() argument
888 if(cs == null) in safeStringReturn()
890 return cs.toString(); in safeStringReturn()
/frameworks/ex/common/java/com/android/common/
DRfc822Validator.java120 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/
DResources.java1629 Drawable.ConstantState cs = ref.get(); in clearDrawableCacheLocked() local
1630 if (cs != null) { in clearDrawableCacheLocked()
1632 configChanges, cs.getChangingConfigurations())) { in clearDrawableCacheLocked()
1636 + " / " + cs + " with changes: 0x" in clearDrawableCacheLocked()
1637 + Integer.toHexString(cs.getChangingConfigurations())); in clearDrawableCacheLocked()
1643 + " / " + cs + " with changes: 0x" in clearDrawableCacheLocked()
1644 + Integer.toHexString(cs.getChangingConfigurations()) in clearDrawableCacheLocked()
1907 CharSequence cs = v.coerceToString(); in parseBundleExtra() local
1908 outBundle.putCharSequence(name, cs); in parseBundleExtra()
2048 Drawable.ConstantState cs; in loadDrawable() local
[all …]
DTypedArray.java130 CharSequence cs = v.coerceToString(); in getString() local
131 return cs != null ? cs.toString() : null; in getString()
194 CharSequence cs = v.coerceToString(); in getNonConfigurationString() local
195 return cs != null ? cs.toString() : null; in getNonConfigurationString()
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dshadows.rs111 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/
Dshadows.rs111 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/
Dshadows.rs111 short cs = hsv.y;
117 m = ((int)cv*(k1 - (int)cs ))/k1;
120 if (cs == 0) {
124 is=(int)cs;
/frameworks/base/core/java/android/app/
DNotification.java749 public static CharSequence safeCharSequence(CharSequence cs) { in safeCharSequence() argument
750 if (cs instanceof Parcelable) { in safeCharSequence()
751 Log.e(TAG, "warning: " + cs.getClass().getCanonicalName() in safeCharSequence()
753 return cs.toString(); in safeCharSequence()
756 return cs; in safeCharSequence()
1792 protected void internalSetSummaryText(CharSequence cs) { in internalSetSummaryText() argument
1793 mSummaryText = cs; in internalSetSummaryText()
1899 public BigPictureStyle setSummaryText(CharSequence cs) { in setSummaryText() argument
1900 internalSetSummaryText(safeCharSequence(cs)); in setSummaryText()
1992 public BigTextStyle setSummaryText(CharSequence cs) { in setSummaryText() argument
[all …]
/frameworks/base/services/java/com/android/server/
DInputMethodManagerService.java1002 ClientState cs = mClients.remove(client.asBinder()); in removeClient() local
1003 if (cs != null) { in removeClient()
1004 clearClientSessionLocked(cs); in removeClient()
1091 ClientState cs = mClients.get(client.asBinder()); in startInputLocked() local
1092 if (cs == null) { in startInputLocked()
1098 if (!mIWindowManager.inputMethodClientHasFocus(cs.client)) { in startInputLocked()
1104 Slog.w(TAG, "Starting input on non-focused client " + cs.client in startInputLocked()
1105 + " (uid=" + cs.uid + " pid=" + cs.pid + ")"); in startInputLocked()
1111 return startInputUncheckedLocked(cs, inputContext, attribute, controlFlags); in startInputLocked()
1114 InputBindResult startInputUncheckedLocked(ClientState cs, in startInputUncheckedLocked() argument
[all …]
/frameworks/base/core/java/android/net/
DCaptivePortalTracker.java89 private CaptivePortalTracker(Context context, IConnectivityManager cs) { in CaptivePortalTracker() argument
93 mConnService = cs; in CaptivePortalTracker()
149 IConnectivityManager cs) { in makeCaptivePortalTracker() argument
150 CaptivePortalTracker captivePortal = new CaptivePortalTracker(context, cs); in makeCaptivePortalTracker()
/frameworks/base/docs/html/guide/
Dguide_toc.cs1 <?cs # Table of contents for Dev Guide.
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
/frameworks/base/docs/html/
Dsupport.jd43 …gle.com/googleplay/android-developer/bin/static.py?hl=en&page=known_issues.cs">Known Issues</a><br…
67 …<a href="http://support.google.com/checkout/sell/bin/static.py?hl=en&page=ts.cs&ts=2472700">Issue …

12