Searched refs:top (Results 476 - 500 of 726) sorted by last modified time

<<11121314151617181920>>

/frameworks/base/libs/hwui/
H A DRecordingCanvas.h76 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 DRect.h34 (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 DRenderNode.cpp616 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 DRenderProperties.cpp105 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 DRenderProperties.h425 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 DSkiaCanvas.cpp90 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 DSkiaCanvasProxy.cpp104 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 DSkiaCanvasProxy.h63 virtual void onDrawBitmap(const SkBitmap&, SkScalar left, SkScalar top,
H A DSnapshot.cpp101 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 DSnapshot.h151 void setClip(float left, float top, float right, float bottom);
180 void resetClip(float left, float top, float right, float bottom);
H A DTextDropShadowCache.cpp167 texture->top = shadow.penY;
H A DTextDropShadowCache.h118 float top; member in struct:android::uirenderer::ShadowTexture
H A DUvMapper.h85 * - top = min. V
93 texCoords.top = lerp(mMinV, mMaxV, texCoords.top);
H A DVectorDrawable.cpp325 // and the current one on the top of the stack.
519 mStagingProperties.getBounds().left(), mStagingProperties.getBounds().top(),
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp192 uint32_t y = dirtyRect.top;
H A DFont.cpp152 if (bounds->top < nPenY + height) {
153 bounds->top = nPenY + height;
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp58 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 DCanvas.h119 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 DProtoHelpers.h27 dest->set_top(src.top);
H A Dhwui.proto34 required int32 top = 3;
61 required float top = 3;
/frameworks/base/libs/hwui/renderstate/
H A DOffscreenBufferPool.cpp62 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 DRenderState.cpp278 innerRect.left, innerRect.top,
H A DScissor.cpp81 GLint height = std::max(0, (viewportHeight - (int)clip.top) - y);
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp401 // 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 DCanvasContext.h72 // 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);

Completed in 113 milliseconds

<<11121314151617181920>>