Searched defs:texts (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardClockAccessibilityDelegateTest.java105 private boolean isAscii(List<CharSequence> texts) { argument
106 return texts.stream().allMatch(this::isAscii);
109 private boolean isEmpty(List<CharSequence> texts) { argument
110 return texts.stream().allMatch(TextUtils::isEmpty);
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java80 public boolean updateWithRfc822Address(Collection<CharSequence> texts){ argument
81 if (texts == null) {
85 for (CharSequence text : texts) {
/frameworks/base/core/tests/coretests/src/android/text/
H A DStaticLayoutDirectionsTest.java55 private static String[] texts = { field in class:StaticLayoutDirectionsTest
121 for (int i = 0; i < texts.length; ++i) {
122 b.setText(pseudoBidiToReal(texts[i]));
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRemoteViewsTest.java257 private RemoteViews createViewChained(int depth, String... texts) { argument
269 // Add texts
270 for (String text : texts) {
278 private void verifyViewTree(View v1, View v2, String... texts) { argument
279 ArrayList<String> expectedTexts = new ArrayList<>(Arrays.asList(texts));
281 // Verify that all expected texts were found
291 // Verify that the text was one of the expected texts and remove it from the list
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialTextsView.java82 public void initialize(Resources res, String[] texts, String[] innerTexts, argument
99 mTexts = texts;
222 // Draw the texts in the pre-calculated positions.
268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, argument
272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint);
273 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], mPaint);
274 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], mPaint);
275 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], mPaint);
276 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], mPaint);
277 canvas.drawText(texts[
[all...]
/frameworks/base/core/java/android/widget/
H A DRadialTimePickerView.java893 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint,
915 canvas.drawText(texts[i], textX[i], textY[i], paint);
892 drawTextElements(Canvas canvas, float textSize, Typeface typeface, ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, int alpha, boolean showActivated, int activatedDegrees, boolean activatedOnly) argument
/frameworks/base/core/java/android/content/
H A DIntent.java10020 final ArrayList<CharSequence> texts = getCharSequenceArrayListExtra(EXTRA_TEXT);
10026 if (texts != null) {
10027 if (num >= 0 && num != texts.size()) {
10031 num = texts.size();
10043 makeClipItem(streams, texts, htmlTexts, 0));
10046 clipData.addItem(makeClipItem(streams, texts, htmlTexts, i));
10074 private static ClipData.Item makeClipItem(ArrayList<Uri> streams, ArrayList<CharSequence> texts, argument
10077 CharSequence text = texts != null ? texts.get(which) : null;

Completed in 285 milliseconds