/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
Blit.cpp | 243 RECT Blit::getSurfaceRect(IDirect3DSurface9 *surface) const 248 RECT rect; local 249 rect.left = 0; 250 rect.top = 0; 251 rect.right = desc.Width; 252 rect.bottom = desc.Height; 254 return rect; 290 bool Blit::formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest) 383 IDirect3DTexture9 *Blit::copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect [all...] |
/external/webkit/Source/WebCore/page/ |
FocusController.cpp | 445 if (frameOwnerElement(candidate) && (!frameOwnerElement(candidate)->contentFrame() || candidate.rect.isEmpty())) 464 IntRect intersectionRect = intersection(candidate.rect, closest.rect); 495 current.rect = startingRect; 550 IntRect rect; local 553 rect = nodeRectInAbsoluteCoordinates(focusedNode, true /* ignore border */); 555 if (!advanceFocusDirectionallyInContainer(frameElement->contentFrame()->document(), rect, direction, event)) { 603 // Figure out the starting rect.
|
SpatialNavigation.cpp | 79 rect = virtualRectForAreaElementAndDirection(area, direction); 85 rect = nodeRectInAbsoluteCoordinates(node, true /* ignore border */); 118 static inline int start(FocusDirection direction, const IntRect& rect) 120 return isHorizontalMove(direction) ? rect.y() : rect.x(); 123 static inline int middle(FocusDirection direction, const IntRect& rect) 125 IntPoint center(rect.center()); 129 static inline int end(FocusDirection direction, const IntRect& rect) 131 return isHorizontalMove(direction) ? rect.maxY() : rect.maxX() 489 IntRect rect = frame->view()->visibleContentRect(true); local 508 IntRect rect = initialRect; local 734 IntRect rect = virtualRectForDirection(direction, rectToAbsoluteCoordinates(area->document()->frame(), area->computeRect(area->imageElement()->renderer())), 1); local [all...] |
/external/webkit/Source/WebCore/platform/graphics/ |
Image.h | 105 IntRect rect() const { return IntRect(IntPoint(), size()); } function in class:WebCore::Image
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
BaseTile.cpp | 222 void BaseTile::draw(float transparency, SkRect& rect, float scale) 249 rect, m_frontTexture->m_ownTextureId, 252 TilesManager::instance()->shader()->drawQuad(rect, m_frontTexture->m_ownTextureId, 295 // compute the rect to corresponds to pixels 391 dirtyRect.set(cliperator.rect()); 416 // translate the rect into tile space coordinates 433 SkIRect rect; local 434 rect.set(0, 0, tileWidth, tileHeight); 436 renderInfo.invalRect = ▭
|
TiledPage.cpp | 358 SkRect rect; local 359 rect.fLeft = tile.x() * tileWidth; 360 rect.fTop = tile.y() * tileHeight; 361 rect.fRight = rect.fLeft + tileWidth; 362 rect.fBottom = rect.fTop + tileHeight; 364 tile.draw(transparency, rect, m_scale);
|
/external/webkit/Source/WebCore/platform/graphics/ca/win/ |
PlatformCALayerWinInternal.cpp | 145 CGRect rect = *dirtyRect; local 146 CACFLayerSetNeedsDisplay(owner()->platformLayer(), &rect); 156 CGRect rect; local 158 rect = *dirtyRect; 160 CACFLayerSetNeedsDisplay(tileAtIndex(i), dirtyRect ? &rect : 0); 314 void PlatformCALayerWinInternal::setBounds(const FloatRect& rect) 316 if (CGRectEqualToRect(rect, owner()->bounds())) 319 CACFLayerSetBounds(owner()->platformLayer(), rect); 323 m_constrainedSize = constrainedSize(rect.size()); 328 void PlatformCALayerWinInternal::setFrame(const FloatRect& rect) [all...] |
/external/webkit/Source/WebCore/platform/qt/ |
QtMobileWebStyle.cpp | 33 static inline void drawRectangularControlBackground(QPainter* painter, const QPen& pen, const QRect& rect, const QBrush& brush) 42 painter->drawRoundedRect(rect.adjusted(line, line, -line, -line), 71 QPixmap QtMobileWebStyle::findChecker(const QRect& rect, bool disabled) const 73 int size = qMin(rect.width(), rect.height()); 94 QRect rect = QRect(QPoint(1, 1), QSize(squareSize - 2, squareSize - 2)); local 95 const QPoint centerGradient(rect.bottomRight() * 0.7); 104 painter->drawEllipse(rect); 106 painter->drawEllipse(rect); 108 int border = 0.1 * (rect.width() + rect.height()) 138 QRect rect = option->rect; local 177 QRect rect = option->rect; local 214 QRect rect = option->rect; local 344 QRect rect = option->rect; local [all...] |
/external/webkit/Source/WebCore/platform/wx/ |
RenderThemeWx.cpp | 269 IntRect rect = r; local 282 rect.setX(r.x() + (int)xtrans); 283 rect.setY(r.y() + (int)ytrans); 297 wxRendererNative::Get().DrawPushButton(window, *dc, rect, flags); 302 wxRendererNative::Get().DrawRadioBitmap(window, *dc, rect, flags); 304 wxRendererNative::Get().DrawRadioButton(window, *dc, rect, flags); 306 wxRenderer_DrawRadioButton(window, *dc, rect, flags); 312 wxRendererNative::Get().DrawCheckBox(window, *dc, rect, flags);
|
/external/webkit/Source/WebCore/rendering/ |
RenderScrollbar.cpp | 273 void RenderScrollbar::paintPart(GraphicsContext* graphicsContext, ScrollbarPart partType, const IntRect& rect) 278 partRenderer->paintIntoRect(graphicsContext, x(), y(), rect); 346 IntRect rect = oldRect; local 348 rect.setX(rect.x() + partRenderer->marginLeft()); 349 rect.setWidth(rect.width() - (partRenderer->marginLeft() + partRenderer->marginRight())); 351 rect.setY(rect.y() + partRenderer->marginTop()); 352 rect.setHeight(rect.height() - (partRenderer->marginTop() + partRenderer->marginBottom())) [all...] |
/external/webkit/Source/WebKit/android/jni/ |
ViewStateSerializer.cpp | 153 void writeSkRect(SkWStream *stream, SkRect rect) 155 stream->writeScalar(rect.fLeft); 156 stream->writeScalar(rect.fTop); 157 stream->writeScalar(rect.fRight); 158 stream->writeScalar(rect.fBottom); 163 SkRect rect; local 164 rect.fLeft = stream->readScalar(); 165 rect.fTop = stream->readScalar(); 166 rect.fRight = stream->readScalar(); 167 rect.fBottom = stream->readScalar() [all...] |
/external/webkit/Source/WebKit/android/nav/ |
CachedNode.cpp | 111 // if the hit-test rect doesn't intersect any other rect, use it 121 // if there is more than 1 rect, and the bounds doesn't intersect 275 const WebCore::IntRect& rect = mCursorRing.at(part); local 276 return mIsInLayer ? frame->localBounds(this, rect) : rect; 309 const WebCore::IntRect& rect = mCursorRing.at(part); local 310 return mIsInLayer ? frame->adjustBounds(this, rect) : rect; 397 const WebCore::IntRect& rect = (*rects)[i] local [all...] |
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
InspectorClientQt.cpp | 273 QRect rect = m_inspectedWebPage->mainFrame()->geometry(); local 274 if (!rect.isEmpty()) 275 frame->view()->invalidateRect(rect);
|
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebInspectorClient.cpp | 60 static IntRect rect(60, 200, 750, 650); 61 return rect; 103 RECT rect; 104 GetClientRect(frontendHwnd, &rect); 105 if (FAILED(frontendWebView->initWithFrame(rect, 0, 0))) 298 RECT hostWindowRect; 301 RECT inspectedRect; 443 RECT rect; local [all...] |
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/ |
WebPageWin.cpp | 342 IntRect rect; local 347 rect = frame->editor()->firstRectForRange(tempRange.get()); 349 resultRect = frame->view()->contentsToWindow(rect);
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
WebThemeControlDRTWin.cpp | 65 static SkIRect validate(const SkIRect& rect, WebThemeControlDRTWin::Type ctype) 72 SkIRect retval = rect; 77 int controlSize = min(rect.width(), rect.height()); 80 retval.fLeft = rect.fLeft + (rect.width() / 2) - (controlSize / 2); 82 retval.fTop = rect.fTop + (rect.height() / 2) - (controlSize / 2); 89 return rect; 119 void WebThemeControlDRTWin::box(const SkIRect& rect, SkColor fillColor 165 SkRect rect; local 181 SkRect rect; local [all...] |
/frameworks/base/core/java/android/gesture/ |
GestureStroke.java | 163 final RectF rect = boundingBox; local 165 GestureUtils.translate(pts, -rect.left, -rect.top); 167 float sx = width / rect.width(); 168 float sy = height / rect.height();
|
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 19 import android.graphics.Rect; 46 final Rect rect = new Rect(); local 47 return widget.getGlobalVisibleRect(rect) ? rect.height() : 0;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
InternalSelectionView.java | 27 import android.graphics.Rect; 51 private Rect mTempRect = new Rect(); 152 // draw background rect 156 // draw forground rect 185 public void getRectForRow(Rect rect, int row) { 188 rect.set(mPaddingLeft, 228 public void getFocusedRect(Rect r) { 234 Rect previouslyFocusedRect) [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
FocusFinderTest.java | 19 import android.graphics.Rect; 42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom) 43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom) 48 final Rect src = new Rect(0, 30, 10, 40); 50 final Rect dest = new Rect(src); 62 new Rect(0, 0, 50, 50), 63 new Rect(0, 1, 50, 49)); 71 new Rect(0, 0, 50, 50) 100 final Rect rect = new Rect(0, 0, 20, 20); local [all...] |
/frameworks/base/opengl/tests/hwc/ |
hwcRects.cpp | 300 Rectangle rect = parseRect(rectDesc); local 303 rectangle.push_back(rect); 369 Rectangle rect; local 383 rect.format = format->format; 386 rect.displayFrame = hwcTestParseHwcRect(in, error); 395 rect.sourceDim = HwcTestDim(rect.displayFrame.right 396 - rect.displayFrame.left, 397 rect.displayFrame.bottom 398 - rect.displayFrame.top) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
BitmapUtils.java | 27 import android.graphics.Rect; 74 RectF rect = new RectF(0, 0, width, height); local 75 m.mapRect(rect); 77 Math.round(rect.width()), Math.round(rect.height()), source.getConfig()); 79 canvas.translate(-rect.left, -rect.top); 90 Rect srcBounds = new Rect(x, y, x + width, y + height); 106 private Rect getBitmapBounds(Uri uri) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumView.java | 19 import android.graphics.Rect; 89 Rect rect = getSlotRect(slotIndex); local 91 (rect.left + rect.right) / 2, (rect.top + rect.bottom) / 2, 0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ImageControl.java | 147 Rectangle rect = getClientArea(); local 148 if (mImage == null || rect.width == 0 || rect.height == 0) { 168 gc.drawImage(mImage, 0, 0, imageWidth, imageHeight, rect.x + mLeftMargin, rect.y
|
/system/core/include/system/ |
camera.h | 184 int32_t rect[4]; member in struct:camera_face
|