Searched refs:mPrimitiveFields (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/ |
D | RenderProperties.h | 53 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true) 175 return setFlag(CLIP_TO_BOUNDS, clipToBounds, &mPrimitiveFields.mClippingFlags); in setClipToBounds() 179 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); in setClipBounds() 180 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds() 184 return setFlag(CLIP_TO_CLIP_BOUNDS, false, &mPrimitiveFields.mClippingFlags); in setClipBoundsEmpty() 188 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards() 192 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldReceive); in setProjectionReceiver() 195 bool isProjectionReceiver() const { return mPrimitiveFields.mProjectionReceiver; } in isProjectionReceiver() 198 return RP_SET(mPrimitiveFields.mClipMayBeComplex, isClipMayBeComplex); in setClipMayBeComplex() 201 bool isClipMayBeComplex() const { return mPrimitiveFields.mClipMayBeComplex; } in isClipMayBeComplex() [all …]
|
D | RenderProperties.cpp | 84 mPrimitiveFields = other.mPrimitiveFields; in operator =() 91 mPrimitiveFields.mMatrixOrPivotDirty = true; in operator =() 111 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties() 112 output << indent << "(Translate (left, top) " << mPrimitiveFields.mLeft << ", " in debugOutputProperties() 113 << mPrimitiveFields.mTop << ")" << std::endl; in debugOutputProperties() 130 if (mPrimitiveFields.mAlpha < 1 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties() 137 output << indent << "(ScaleAlpha " << mPrimitiveFields.mAlpha << ")" << std::endl; in debugOutputProperties() 147 << (int)layerBounds.bottom << ", " << (int)(mPrimitiveFields.mAlpha * 255) in debugOutputProperties() 167 auto& outline = mPrimitiveFields.mOutline; in debugOutputProperties() 180 if (mPrimitiveFields.mMatrixOrPivotDirty) { in updateMatrix() [all …]
|
D | VectorDrawable.h | 58 bool retVal = VD_SET_PROP((mPrimitiveFields.field), (value)); \ 224 mPrimitiveFields = prop.mPrimitiveFields; in syncProperties() 244 float getStrokeWidth() const { return mPrimitiveFields.strokeWidth; } in getStrokeWidth() 248 SkColor getStrokeColor() const { return mPrimitiveFields.strokeColor; } in getStrokeColor() 252 float getStrokeAlpha() const { return mPrimitiveFields.strokeAlpha; } in getStrokeAlpha() 256 SkColor getFillColor() const { return mPrimitiveFields.fillColor; } in getFillColor() 260 float getFillAlpha() const { return mPrimitiveFields.fillAlpha; } in getFillAlpha() 264 float getTrimPathStart() const { return mPrimitiveFields.trimPathStart; } in getTrimPathStart() 268 float getTrimPathEnd() const { return mPrimitiveFields.trimPathEnd; } in getTrimPathEnd() 272 float getTrimPathOffset() const { return mPrimitiveFields.trimPathOffset; } in getTrimPathOffset() [all …]
|
D | VectorDrawable.cpp | 220 *out = mPrimitiveFields; in copyProperties() 338 *out = mPrimitiveFields; in copyProperties()
|