/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/ |
D | RadialTextsView.java | 82 public void initialize(Resources res, String[] texts, String[] innerTexts, in initialize() argument 99 mTexts = texts; in initialize() 268 private void drawTexts(Canvas canvas, float textSize, Typeface typeface, String[] texts, in drawTexts() argument 272 canvas.drawText(texts[0], textGridWidths[3], textGridHeights[0], mPaint); in drawTexts() 273 canvas.drawText(texts[1], textGridWidths[4], textGridHeights[1], mPaint); in drawTexts() 274 canvas.drawText(texts[2], textGridWidths[5], textGridHeights[2], mPaint); in drawTexts() 275 canvas.drawText(texts[3], textGridWidths[6], textGridHeights[3], mPaint); in drawTexts() 276 canvas.drawText(texts[4], textGridWidths[5], textGridHeights[4], mPaint); in drawTexts() 277 canvas.drawText(texts[5], textGridWidths[4], textGridHeights[5], mPaint); in drawTexts() 278 canvas.drawText(texts[6], textGridWidths[3], textGridHeights[6], mPaint); in drawTexts() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardClockAccessibilityDelegateTest.java | 106 private boolean isAscii(List<CharSequence> texts) { in isAscii() argument 107 return texts.stream().allMatch(this::isAscii); in isAscii() 110 private boolean isEmpty(List<CharSequence> texts) { in isEmpty() argument 111 return texts.stream().allMatch(TextUtils::isEmpty); in isEmpty()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | StaticLayoutDirectionsTest.java | 59 private static String[] texts = { field in StaticLayoutDirectionsTest 125 for (int i = 0; i < texts.length; ++i) { in testDirections() 126 b.setText(pseudoBidiToReal(texts[i])); in testDirections()
|
/frameworks/ex/common/java/com/android/common/contacts/ |
D | DataUsageStatUpdater.java | 50 public boolean updateWithRfc822Address(Collection<CharSequence> texts){ in updateWithRfc822Address() argument
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | RemoteViewsTest.java | 264 private RemoteViews createViewChained(int depth, String... texts) { 277 for (String text : texts) { 285 private void verifyViewTree(View v1, View v2, String... texts) { in verifyViewTree() argument 286 ArrayList<String> expectedTexts = new ArrayList<>(Arrays.asList(texts)); in verifyViewTree()
|
/frameworks/base/core/java/android/content/ |
D | Intent.java | 10962 final ArrayList<CharSequence> texts = getCharSequenceArrayListExtra(EXTRA_TEXT); in migrateExtraStreamToClipData() local 10968 if (texts != null) { in migrateExtraStreamToClipData() 10969 if (num >= 0 && num != texts.size()) { in migrateExtraStreamToClipData() 10973 num = texts.size(); in migrateExtraStreamToClipData() 10985 makeClipItem(streams, texts, htmlTexts, 0)); in migrateExtraStreamToClipData() 10988 clipData.addItem(makeClipItem(streams, texts, htmlTexts, i)); in migrateExtraStreamToClipData() 11037 private static ClipData.Item makeClipItem(ArrayList<Uri> streams, ArrayList<CharSequence> texts, in makeClipItem() argument 11040 CharSequence text = texts != null ? texts.get(which) : null; in makeClipItem()
|
/frameworks/base/core/java/android/widget/ |
D | RadialTimePickerView.java | 895 ColorStateList textColor, String[] texts, float[] textX, float[] textY, Paint paint, in drawTextElements() argument 917 canvas.drawText(texts[i], textX[i], textY[i], paint); in drawTextElements()
|