Searched refs:textRect (Results 1 – 3 of 3) sorted by relevance
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
D | XYGraphWidget.java | 686 RectF textRect = new RectF(FontUtils.getStringDimensions(text, in drawMarkerText() local 688 textRect.offsetTo(x, y - textRect.height()); in drawMarkerText() 690 if (textRect.right > paddedGridRect.right) { in drawMarkerText() 691 textRect.offset(-(textRect.right - paddedGridRect.right), 0); in drawMarkerText() 694 if (textRect.top < paddedGridRect.top) { in drawMarkerText() 695 textRect.offset(0, paddedGridRect.top - textRect.top); in drawMarkerText() 698 canvas.drawText(text, textRect.left, textRect.bottom, in drawMarkerText()
|
/external/skqp/gm/ |
D | wacky_yuv_formats.cpp | 629 SkRect textRect; in draw_col_label() local 633 font.measureText(colLabel.c_str(), colLabel.size(), kUTF8_SkTextEncoding, &textRect); in draw_col_label() 634 int y = textRect.height(); in draw_col_label() 640 font.measureText(colLabel.c_str(), colLabel.size(), kUTF8_SkTextEncoding, &textRect); in draw_col_label() 641 y += textRect.height(); in draw_col_label() 654 SkRect textRect; in draw_row_label() local 658 font.measureText(rowLabel.c_str(), rowLabel.size(), kUTF8_SkTextEncoding, &textRect); in draw_row_label() 659 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label()
|
/external/skia/gm/ |
D | wacky_yuv_formats.cpp | 698 SkRect textRect; in draw_col_label() local 702 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 703 int y = textRect.height(); in draw_col_label() 709 font.measureText(colLabel.c_str(), colLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_col_label() 710 y += textRect.height(); in draw_col_label() 725 SkRect textRect; in draw_row_label() local 729 font.measureText(rowLabel.c_str(), rowLabel.size(), SkTextEncoding::kUTF8, &textRect); in draw_row_label() 730 y += kTileWidthHeight/2 + textRect.height()/2; in draw_row_label()
|