Searched refs:textPaint (Results 1 - 8 of 8) sorted by relevance
/packages/apps/TV/src/com/android/exoplayer/text/ |
H A D | SubtitleView.java | 272 final Paint textPaint = this.mTextPaint; 299 textPaint.setStrokeJoin(Join.ROUND); 300 textPaint.setStrokeWidth(mOutlineWidth); 301 textPaint.setColor(mEdgeColor); 302 textPaint.setStyle(Style.FILL_AND_STROKE); 305 textPaint.setShadowLayer(mShadowRadius, mShadowOffset, mShadowOffset, mEdgeColor); 312 textPaint.setColor(mForegroundColor); 313 textPaint.setStyle(Style.FILL); 314 textPaint.setShadowLayer(mShadowRadius, -offset, -offset, colorUp); 316 textPaint [all...] |
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
H A D | AutoResizeTextView.java | 50 private final TextPaint textPaint = new TextPaint(); field in class:AutoResizeTextView 85 textPaint.set(getPaint()); 219 textPaint.setTextSize(suggestedSizeInPx); 224 return textPaint.getFontSpacing() <= availableSpace.bottom 225 && textPaint.measureText(text) <= availableSpace.right; 230 textPaint,
|
/packages/apps/Terminal/src/com/android/terminal/ |
H A D | TerminalView.java | 70 final Paint textPaint = new Paint(); field in class:TerminalView.TerminalMetrics 93 textPaint.setTypeface(Typeface.MONOSPACE); 94 textPaint.setAntiAlias(true); 95 textPaint.setTextSize(textSize); 98 final FontMetrics fm = textPaint.getFontMetrics(); 102 textPaint.getTextWidths("X", widths);
|
H A D | TerminalLineView.java | 68 m.textPaint.setColor(m.run.fg); 78 canvas.drawPosText(m.run.data, 0, m.run.dataSize, m.pos, m.textPaint);
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ShortcutIntentBuilder.java | 398 TextPaint textPaint = new TextPaint( 400 textPaint.setTextSize(r.getDimension(R.dimen.shortcut_overlay_text_size)); 401 textPaint.setColor(r.getColor(R.color.textColorIconOverlay)); 402 textPaint.setShadowLayer(4f, 0, 2f, r.getColor(R.color.textColorIconOverlayShadow)); 404 final FontMetricsInt fmi = textPaint.getFontMetricsInt(); 416 overlay = TextUtils.ellipsize(overlay, textPaint, mIconSize, TruncateAt.END); 417 final float textWidth = textPaint.measureText(overlay, 0, overlay.length()); 419 - fmi.descent - textPadding, textPaint);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | GestureFloatingTextDrawingPreview.java | 79 final Paint textPaint = getTextPaint(); 81 textPaint.getTextBounds(TEXT_HEIGHT_REFERENCE_CHAR, 0, 1, textRect);
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
H A D | MonthWeekEventsView.java | 913 Paint textPaint; 916 textPaint = mSolidBackgroundEventPaint; 919 textPaint = mDeclinedEventPaint; 923 textPaint = mFramedEventPaint; 926 textPaint = mEventPaint; 928 canvas.drawText(text.toString(), textX, textY, textPaint);
|
/packages/apps/TV/libs/ |
H A D | exoplayer.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ... |
Completed in 138 milliseconds