Searched refs:textBounds (Results 1 – 2 of 2) sorted by relevance
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | ListDocumentHolder.java | 119 Rect textBounds = new Rect(); in isInDragHotspot() local 121 mTitle.getText().toString(), 0, mTitle.getText().length(), textBounds); in isInDragHotspot() local 126 coords[0] + mIconLayout.getWidth() + textBounds.width(), in isInDragHotspot() 127 coords[1] + Math.max(mIconLayout.getHeight(), textBounds.height())); in isInDragHotspot()
|
/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()
|