Searched refs:textBounds (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | DialpadTextView.java | 36 private Rect textBounds = new Rect(); field in DialpadTextView 54 canvas.drawText(textStr, -textBounds.left, -textBounds.top, paint); in draw() 65 getPaint().getTextBounds(textStr, 0, textStr.length(), textBounds); in onMeasure() 67 int width = resolveSize(textBounds.width(), widthMeasureSpec); in onMeasure() 68 int height = resolveSize(textBounds.height(), heightMeasureSpec); in onMeasure()
|
/packages/apps/EmergencyInfo/EmergencyGestureAction/src/com/android/emergency/widgets/countdown/ |
D | CountDownRenderer.java | 145 Rect textBounds = new Rect(); in measureText() local 146 textPaint.getTextBounds(text, 0, text.length(), textBounds); in measureText() 147 RectF textBoundsF = new RectF(textBounds); in measureText() 149 textBoundsF.offset(-textBounds.left, -textBounds.top); in measureText()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ListDocumentHolder.java | 166 Rect textBounds = new Rect(); in inDragRegion() local 168 mTitle.getText().toString(), 0, mTitle.getText().length(), textBounds); in inDragRegion() local 173 coords[0] + mIconLayout.getWidth() + textBounds.width(), in inDragRegion() 174 coords[1] + Math.max(mIconLayout.getHeight(), textBounds.height())); in inDragRegion()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientAutoCompleteView.java | 107 final Rect textBounds = new Rect(0, 0, 0, 0); in ContactRecipientAutoCompleteView() local 109 paint.getTextBounds(TEXT_HEIGHT_SAMPLE, 0, TEXT_HEIGHT_SAMPLE.length(), textBounds); in ContactRecipientAutoCompleteView() 110 mTextHeight = textBounds.height(); in ContactRecipientAutoCompleteView()
|