/frameworks/base/libs/hwui/ |
H A D | RecordingCanvas.h | 76 virtual void drawRoundRect(CanvasPropertyPrimitive* left, CanvasPropertyPrimitive* top, 110 virtual int saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, 112 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 116 return saveLayer(left, top, right, bottom, &paint, flags); 131 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 134 virtual bool clipRect(float left, float top, float right, float bottom, SkRegion::Op op) override; 162 virtual void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override; 164 virtual void drawRoundRect(float left, float top, float right, float bottom, 167 virtual void drawOval(float left, float top, float right, float bottom, const SkPaint& paint) override; 168 virtual void drawArc(float left, float top, floa [all...] |
H A D | Rect.h | 34 (r).left, (r).top, (r).right, (r).bottom 36 (r).left(), (r).top(), (r).right(), (r).bottom() 45 float top; member in class:android::uirenderer::Rect 57 top(0), 62 inline Rect(float left, float top, float right, float bottom): argument 64 top(top), 71 top(0.0f), 78 top(rect.fTop), 92 left = top 105 set(float left, float top, float right, float bottom) argument [all...] |
H A D | RenderNode.cpp | 616 layerBounds.left, layerBounds.top, 635 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, 706 // TODO: create temporary DDLOp and call computeOrderingImpl on top DisplayList so that 707 // transform properties are applied correctly to top level children 892 clipBoundsPath.addRect(clipBounds.left, clipBounds.top, 928 * underneath both, and neither's shadow is drawn on top of the other. 1067 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom);
|
H A D | RenderProperties.cpp | 105 ALOGD("%*s(Translate (left, top) %d, %d)", level * 2, "", 145 (int)layerBounds.left, (int)layerBounds.top, 156 (int)clipRect.left, (int)clipRect.top, (int)clipRect.right, (int)clipRect.bottom);
|
H A D | RenderProperties.h | 425 bool setTop(int top) { argument 426 if (RP_SET(mPrimitiveFields.mTop, top)) { 470 bool setLeftTop(int left, int top) { argument 472 bool topResult = setTop(top); 476 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 477 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop 480 mPrimitiveFields.mTop = top;
|
H A D | SkiaCanvas.cpp | 90 virtual int saveLayer(float left, float top, float right, float bottom, 92 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 104 virtual bool quickRejectRect(float left, float top, float right, float bottom) const override; 106 virtual bool clipRect(float left, float top, float right, float bottom, 122 virtual void drawRect(float left, float top, float right, float bottom, 125 virtual void drawRoundRect(float left, float top, float right, float bottom, 128 virtual void drawOval(float left, float top, float right, float bottom, 130 virtual void drawArc(float left, float top, float right, float bottom, 137 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top, 154 uirenderer::CanvasPropertyPrimitive* top, uirendere 343 saveLayer(float left, float top, float right, float bottom, const SkPaint* paint, SaveFlags::Flags flags) argument 353 saveLayerAlpha(float left, float top, float right, float bottom, int alpha, SaveFlags::Flags flags) argument 483 quickRejectRect(float left, float top, float right, float bottom) const argument 492 clipRect(float left, float top, float right, float bottom, SkRegion::Op op) argument 575 drawRect(float left, float top, float right, float bottom, const SkPaint& paint) argument 589 drawRoundRect(float left, float top, float right, float bottom, float rx, float ry, const SkPaint& paint) argument 599 drawOval(float left, float top, float right, float bottom, const SkPaint& paint) argument 604 drawArc(float left, float top, float right, float bottom, float startAngle, float sweepAngle, bool useCenter, const SkPaint& paint) argument 629 drawBitmap(const SkBitmap& bitmap, float left, float top, const SkPaint* paint) argument 778 AnimatedRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* p) argument 827 drawRoundRect(uirenderer::CanvasPropertyPrimitive* left, uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, uirenderer::CanvasPropertyPrimitive* bottom, uirenderer::CanvasPropertyPrimitive* rx, uirenderer::CanvasPropertyPrimitive* ry, uirenderer::CanvasPropertyPaint* paint) argument [all...] |
H A D | SkiaCanvasProxy.cpp | 104 void SkiaCanvasProxy::onDrawBitmap(const SkBitmap& bitmap, SkScalar left, SkScalar top, argument 118 left, top, 120 top + bitmap.dimensions().height(), 123 mCanvas->drawBitmap(bitmap, left, top, paint);
|
H A D | SkiaCanvasProxy.h | 63 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
|
H A D | Snapshot.cpp | 101 void Snapshot::setClip(float left, float top, float right, float bottom) { argument 103 mClipArea->setClip(left, top, right, bottom); 120 void Snapshot::resetClip(float left, float top, float right, float bottom) { argument 125 setClip(left, top, right, bottom); 169 outTransform->translate(current->layer->layer.left, current->layer->layer.top); 209 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; 212 state->dangerRects[2].top = state->dangerRects[3].top = bounds.bottom - radius; 285 clipRect.left, clipRect.top, clipRect.right, clipRect.bottom, mClipArea->isSimple());
|
H A D | Snapshot.h | 151 void setClip(float left, float top, float right, float bottom); 180 void resetClip(float left, float top, float right, float bottom);
|
H A D | TextDropShadowCache.cpp | 167 texture->top = shadow.penY;
|
H A D | TextDropShadowCache.h | 118 float top; member in struct:android::uirenderer::ShadowTexture
|
H A D | UvMapper.h | 85 * - top = min. V 93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
|
H A D | VectorDrawable.cpp | 325 // and the current one on the top of the stack. 519 mStagingProperties.getBounds().left(), mStagingProperties.getBounds().top(),
|
/frameworks/base/libs/hwui/font/ |
H A D | CacheTexture.cpp | 192 uint32_t y = dirtyRect.top;
|
H A D | Font.cpp | 152 if (bounds->top < nPenY + height) { 153 bounds->top = nPenY + height;
|
/frameworks/base/libs/hwui/hwui/ |
H A D | Canvas.cpp | 58 SkScalar top = y + textSize * kStdUnderline_Offset - 0.5f * strokeWidth; local 60 drawRect(left, top, right, bottom, paint); 63 SkScalar top = y + textSize * kStdStrikeThru_Offset - 0.5f * strokeWidth; local 65 drawRect(left, top, right, bottom, paint);
|
H A D | Canvas.h | 119 uirenderer::CanvasPropertyPrimitive* top, uirenderer::CanvasPropertyPrimitive* right, 141 virtual int saveLayer(float left, float top, float right, float bottom, 143 virtual int saveLayerAlpha(float left, float top, float right, float bottom, 158 virtual bool quickRejectRect(float left, float top, float right, float bottom) const = 0; 161 virtual bool clipRect(float left, float top, float right, float bottom, 182 virtual void drawRect(float left, float top, float right, float bottom, 185 virtual void drawRoundRect(float left, float top, float right, float bottom, 188 virtual void drawOval(float left, float top, float right, float bottom, 190 virtual void drawArc(float left, float top, float right, float bottom, 198 virtual void drawBitmap(const SkBitmap& bitmap, float left, float top, [all...] |
/frameworks/base/libs/hwui/protos/ |
H A D | ProtoHelpers.h | 27 dest->set_top(src.top);
|
H A D | hwui.proto | 34 required int32 top = 3; 61 required float top = 3;
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | OffscreenBufferPool.cpp | 62 region.orSelf(android::Rect(dirtyArea.left, dirtyArea.top, 85 const float v1 = (viewportHeight - r->top) * texY; 89 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 90 TextureVertex::set(mesh++, r->right, r->top, u2, v1);
|
H A D | RenderState.cpp | 278 innerRect.left, innerRect.top,
|
H A D | Scissor.cpp | 81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y);
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 401 // Additional nodes will be drawn on top with no particular clipping semantics. 420 const int y = targetBounds.top; 430 if (mCanvas->clipRect(targetBounds.left, targetBounds.top, 443 if (mCanvas->clipRect(contentBounds.right, targetBounds.top, 452 // ... or at the top ... 453 if (targetBounds.top < contentBounds.top && 456 if (mCanvas->clipRect(targetBounds.left, targetBounds.top, targetBounds.right, 457 contentBounds.top, 462 targetBounds.top 481 const float top = mContentDrawBounds.top; local [all...] |
H A D | CanvasContext.h | 72 // TODO: Rename to Renderer or some other per-window, top-level manager 141 void setContentDrawBounds(int left, int top, int right, int bottom) { argument 142 mContentDrawBounds.set(left, top, right, bottom);
|