/external/webkit/WebCore/platform/graphics/qt/ |
FloatRectQt.cpp | 36 : m_location(r.topLeft())
|
IntRectQt.cpp | 36 : m_location(r.topLeft())
|
/external/webkit/WebCore/rendering/style/ |
BorderData.h | 43 IntSize topLeft; 56 if (topLeft.width() > 0) 98 topLeft == o.topLeft && topRight == o.topRight && bottomLeft == o.bottomLeft && bottomRight == o.bottomRight;
|
RenderStyle.cpp | 730 void RenderStyle::getBorderRadiiForRect(const IntRect& r, IntSize& topLeft, IntSize& topRight, IntSize& bottomLeft, IntSize& bottomRight) const 732 topLeft = surround->border.topLeft; 745 radiiSum = static_cast<unsigned>(topLeft.width()) + static_cast<unsigned>(topRight.width()); // Casts to avoid integer overflow. 755 radiiSum = static_cast<unsigned>(topLeft.height()) + static_cast<unsigned>(bottomLeft.height()); 767 topLeft.scale(factor); 768 if (!topLeft.width() || !topLeft.height()) 769 topLeft = IntSize(); [all...] |
/packages/apps/Gallery3D/src/com/cooliris/media/ |
GridCameraManager.java | 93 final Vector3f topLeft = pool.create(); 108 camera.convertToCameraSpace(0, 0, 0, topLeft); 112 if ((bottomRight.x - topLeft.x) > (imgBottomRight.x - imgTopLeft.x)) { 113 final float hCenterExtent= (bottomRight.x + topLeft.x)/2 - 117 float leftExtent = topLeft.x - imgTopLeft.x; 128 if ((bottomRight.y - topLeft.y) > (imgBottomRight.y - imgTopLeft.y)) { 129 final float vCenterExtent= (bottomRight.y + topLeft.y)/2 - 133 float topExtent = topLeft.y - imgTopLeft.y; 146 pool.delete(topLeft); 261 final Vector3f topLeft = pool.create() [all...] |
/external/webkit/WebCore/platform/qt/ |
PopupMenuQt.cpp | 63 geometry.moveTopLeft(view->contentsToWindow(rect.topLeft()));
|
ScrollbarThemeQt.cpp | 155 const QPoint topLeft = opt->rect.topLeft(); 156 p.painter->translate(topLeft); 163 opt->rect.moveTo(topLeft);
|
RenderThemeQt.cpp | 584 const QPoint topLeft = r.topLeft(); 585 p.painter->translate(topLeft); 590 p.painter->translate(-topLeft); 671 const QPoint topLeft = r.topLeft(); 672 p.painter->translate(topLeft); 677 p.painter->translate(-topLeft);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/editors/layout/gscripts/ |
IGraphics.java | 154 * @param topLeft the top left corner of the text. 156 void drawString(String string, Point topLeft);
|
/external/webkit/WebCore/rendering/ |
RenderBoxModelObject.cpp | 465 IntSize topLeft, topRight, bottomLeft, bottomRight; 466 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight); 468 context->addRoundedRectClip(borderRect, includeLeftEdge ? topLeft : IntSize(), [all...] |
RenderReplaced.cpp | 137 IntSize topLeft, topRight, bottomLeft, bottomRight; 138 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight); 140 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
|
RenderWidget.cpp | 252 IntSize topLeft, topRight, bottomLeft, bottomRight; 253 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight); 255 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight);
|
RenderBox.cpp | 875 IntSize topLeft, topRight, bottomLeft, bottomRight; 877 style()->getBorderRadiiForRect(borderRect, topLeft, topRight, bottomLeft, bottomRight); 879 paintInfo.context->addRoundedRectClip(borderRect, topLeft, topRight, bottomLeft, bottomRight); [all...] |
RenderInline.cpp | 665 IntPoint topLeft = rect.location(); 670 IntRect repaintRect(topLeft, rect.size()); 672 topLeft = repaintRect.location(); 682 topLeft += layer()->relativePositionOffset(); 693 topLeft -= containerBox->layer()->scrolledContentOffset(); // For overflow:auto/scroll/hidden. 695 IntRect repaintRect(topLeft, rect.size()); 701 rect.setLocation(topLeft); [all...] |
RenderThemeChromiumWin.cpp | 634 IntSize topLeft, topRight, bottomLeft, bottomRight; 635 o->style()->getBorderRadiiForRect(r, topLeft, topRight, bottomLeft, bottomRight); 636 i.context->addRoundedRectClip(r, topLeft, topRight, bottomLeft, bottomRight);
|
SVGRenderTreeAsText.cpp | 420 FloatPoint topLeft = topLeftPositionOfCharacterRange(cur.start + totalOffset - offset, cur.start + totalOffset); 422 ts << "text run " << j << " at (" << topLeft.x() << "," << topLeft.y() << ") ";
|
/external/webkit/WebCore/platform/graphics/openvg/ |
PainterOpenVG.h | 89 void drawRoundedRect(const FloatRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, VGbitfield paintModes = (VG_STROKE_PATH | VG_FILL_PATH));
|
GraphicsContextOpenVG.cpp | 178 void GraphicsContext::fillRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color& color, ColorSpace colorSpace) 185 m_data->drawRoundedRect(rect, topLeft, topRight, bottomLeft, bottomRight, VG_FILL_PATH);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
GCWrapper.java | 299 public void drawString(String string, Point topLeft) { 300 drawString(string, topLeft.x, topLeft.y);
|
/external/webkit/WebCore/platform/chromium/ |
ScrollbarThemeChromium.cpp | 113 const int yPos = rect.topLeft().y() + (rect.height() * percent);
|
ScrollbarThemeChromiumMac.mm | 438 const int yPos = static_cast<int>((thumbArea.topLeft().y() + (thumbArea.height() * percent))) & ~1; 442 FloatRect tickRect(thumbArea.topLeft().x() + indent, yPos, thumbArea.width() - 2 * indent - 1, 2);
|
/external/webkit/WebCore/platform/graphics/ |
GraphicsContext.h | 249 void fillRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight, const Color&, ColorSpace); 272 void addRoundedRectClip(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight); 276 void clipOutRoundedRect(const IntRect&, const IntSize& topLeft, const IntSize& topRight, const IntSize& bottomLeft, const IntSize& bottomRight);
|
GraphicsContext.cpp | 445 void GraphicsContext::addRoundedRectClip(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, 451 clip(Path::createRoundedRectangle(rect, topLeft, topRight, bottomLeft, bottomRight)); 454 void GraphicsContext::clipOutRoundedRect(const IntRect& rect, const IntSize& topLeft, const IntSize& topRight, 460 clipOut(Path::createRoundedRectangle(rect, topLeft, topRight, bottomLeft, bottomRight));
|
/frameworks/base/core/java/android/gesture/ |
GestureUtils.java | 228 float topLeft = (float) Math.sqrt(xFloorSq + yFloorSq); 232 float sum = topLeft + topRight + btmLeft + btmRight; 234 float value = topLeft / sum;
|
/packages/apps/Music/src/com/android/music/ |
VerticalTextSpinner.java | 281 final int topLeft = 0; 299 canvas.clipRect(topLeft, topTop, topRight, topBottom);
|