/external/webkit/Tools/QtTestBrowser/ |
D | locationedit.cpp | 86 QRect textRect = style()->subElementRect(QStyle::SE_LineEditContents, &styleOption, this); in updateInternalGeometry() local 90 int x = textRect.x() + spacing; in updateInternalGeometry() 91 int y = (textRect.center().y() + 1) - gPageIconSize.height() / 2; in updateInternalGeometry()
|
/external/webkit/Source/WebKit2/UIProcess/ |
D | FindIndicator.cpp | 148 FloatRect textRect = m_textRectsInSelectionRectCoordinates[i]; in draw() local 149 textRect.move(leftBorderThickness, topBorderThickness); in draw() 152 …FloatRect outerPathRect = inflateRect(textRect, horizontalOutsetToCenterOfLightBorder, verticalOut… in draw() 159 …FloatRect innerPathRect = inflateRect(textRect, horizontalPaddingInsideLightBorder, verticalPaddin… in draw()
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
D | FontCGWin.cpp | 163 IntRect textRect; in drawGDIGlyphs() local 165 hdc = graphicsContext->getWindowsContext(textRect, true, false); in drawGDIGlyphs() 172 textRect = IntRect(point.x() - (fontMetrics.ascent() + fontMetrics.descent()) / 2, in drawGDIGlyphs() 176 bitmap.set(graphicsContext->createWindowsBitmap(textRect.size())); in drawGDIGlyphs() 185 xform.eDx = -textRect.x(); in drawGDIGlyphs() 186 xform.eDy = -textRect.y(); in drawGDIGlyphs() 295 graphicsContext->drawWindowsBitmap(bitmap.get(), textRect.location()); in drawGDIGlyphs() 297 graphicsContext->releaseWindowsContext(hdc, textRect, true, false); in drawGDIGlyphs()
|
/external/chromium/chrome/browser/ui/cocoa/location_bar/ |
D | bubble_decoration.mm | 126 NSRect textRect = decorationFrame; 127 textRect.origin.x = NSMaxX(imageRect); 128 textRect.size.width = NSMaxX(decorationFrame) - NSMinX(textRect); 129 [label_ drawInRect:textRect withAttributes:attributes_];
|
/external/webkit/Source/WebKit/android/nav/ |
D | SelectText.h | 44 IntRect& textRect(HandleId id) { return m_textRects[id]; } in textRect() function
|
D | WebView.cpp | 598 IntRect textRect = selectText->textRect(handleId); in getHandleLayerId() local 601 textRect.setHeight(std::max(1, textRect.height() - 1)); in getHandleLayerId() 602 textRect.setWidth(std::max(1, textRect.width() - 1)); in getHandleLayerId() 603 textBounds = FloatQuad(textRect); in getHandleLayerId()
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | profile_menu_button.mm | 142 NSRect textRect = bounds; 143 textRect.size.height = std::min(desiredSize.height, NSHeight(bounds)); 147 textRect.origin.x += 2; 149 return textRect;
|
/external/webkit/Source/WebCore/rendering/svg/ |
D | SVGInlineTextBox.cpp | 713 FloatRect textRect; in calculateBoundaries() local 732 textRect.unite(fragmentRect); in calculateBoundaries() 735 return enclosingIntRect(textRect); in calculateBoundaries()
|
/external/webkit/Source/WebCore/rendering/ |
D | InlineTextBox.h | 147 …ToGraphicsContext(GraphicsContext*, const ShadowData*, const FloatRect& textRect, bool stroked, bo…
|
D | InlineTextBox.cpp | 363 …xt(GraphicsContext* context, const ShadowData* shadow, const FloatRect& textRect, bool stroked, bo… in applyShadowToGraphicsContext() argument 376 FloatRect shadowRect(textRect); in applyShadowToGraphicsContext() 382 … extraOffset = FloatSize(0, 2 * textRect.height() + max(0.0f, shadowOffset.height()) + shadowBlur); in applyShadowToGraphicsContext() 871 FloatRect textRect(tx + x(), rootRect.y(), logicalWidth(), rootRect.height()); in paintCustomHighlight() local 873 …page->chrome()->client()->paintCustomHighlight(renderer()->node(), type, textRect, rootRect, true,… in paintCustomHighlight()
|
/external/webkit/Source/WebCore/html/canvas/ |
D | CanvasRenderingContext2D.cpp | 1898 …FloatRect textRect = FloatRect(location.x() - fontMetrics.height() / 2, location.y() - fontMetrics… in drawTextInternal() local 1901 textRect.inflate(c->strokeThickness() / 2); in drawTextInternal() 1907 IntRect maskRect = enclosingIntRect(textRect); in drawTextInternal() 1950 didDraw(textRect); in drawTextInternal()
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
D | GraphicsContextWinCE.cpp | 1548 … FloatRect textRect = font.selectionRectForText(run, point, font.fontMetrics().height(), from, to); in drawText() local 1549 textRect.setY(textRect.y() - font.fontMetrics().ascent()); in drawText() 1550 IntRect trRect = enclosingIntRect(m_data->mapRect(textRect)); in drawText()
|
/external/webkit/Source/WebKit/android/jni/ |
D | WebViewCore.cpp | 1664 IntRect textRect; in positionToTextRect() local 1684 textRect.setX(absoluteOrigin.x() - offset.x()); in positionToTextRect() 1685 textRect.setWidth(width); in positionToTextRect() 1686 textRect.setY(absoluteOrigin.y() - offset.y()); in positionToTextRect() 1687 textRect.setHeight(height); in positionToTextRect() 1689 return textRect; in positionToTextRect()
|