Home
last modified time | relevance | path

Searched refs:mPrimitiveFields (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DRenderProperties.h51 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
191 return setFlag(CLIP_TO_BOUNDS, clipToBounds, &mPrimitiveFields.mClippingFlags); in setClipToBounds()
195 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); in setClipBounds()
196 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
200 return setFlag(CLIP_TO_CLIP_BOUNDS, false, &mPrimitiveFields.mClippingFlags); in setClipBoundsEmpty()
204 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
208 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldReceive); in setProjectionReceiver()
212 return mPrimitiveFields.mProjectionReceiver; in isProjectionReceiver()
242 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
246 return mPrimitiveFields.mAlpha; in getAlpha()
[all …]
DRenderProperties.cpp90 mPrimitiveFields = other.mPrimitiveFields; in operator =()
97 mPrimitiveFields.mMatrixOrPivotDirty = true; in operator =()
104 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
106 mPrimitiveFields.mLeft, mPrimitiveFields.mTop); in debugOutputProperties()
128 if (mPrimitiveFields.mAlpha < 1 in debugOutputProperties()
129 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
136 ALOGD("%*s(ScaleAlpha %.2f)", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
147 (int)(mPrimitiveFields.mAlpha * 255), in debugOutputProperties()
166 auto& outline = mPrimitiveFields.mOutline; in debugOutputProperties()
178 if (mPrimitiveFields.mMatrixOrPivotDirty) { in updateMatrix()
[all …]
DVectorDrawable.h45 …MITIVE_FIELD_AND_NOTIFY(field, value) ({ bool retVal = VD_SET_PROP((mPrimitiveFields.field), (valu…
227 mPrimitiveFields = prop.mPrimitiveFields; in syncProperties()
250 return mPrimitiveFields.strokeWidth; in getStrokeWidth()
256 return mPrimitiveFields.strokeColor; in getStrokeColor()
262 return mPrimitiveFields.strokeAlpha; in getStrokeAlpha()
268 return mPrimitiveFields.fillColor; in getFillColor()
274 return mPrimitiveFields.fillAlpha; in getFillAlpha()
280 return mPrimitiveFields.trimPathStart; in getTrimPathStart()
286 return mPrimitiveFields.trimPathEnd; in getTrimPathEnd()
292 return mPrimitiveFields.trimPathOffset; in getTrimPathOffset()
[all …]
DVectorDrawable.cpp268 *out = mPrimitiveFields; in copyProperties()
392 *out = mPrimitiveFields; in copyProperties()