Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRenderProperties.h50 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
190 return setFlag(CLIP_TO_BOUNDS, clipToBounds, &mPrimitiveFields.mClippingFlags); in setClipToBounds()
194 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); in setClipBounds()
195 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
199 return setFlag(CLIP_TO_CLIP_BOUNDS, false, &mPrimitiveFields.mClippingFlags); in setClipBoundsEmpty()
203 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
207 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldRecieve); in setProjectionReceiver()
211 return mPrimitiveFields.mProjectionReceiver; in isProjectionReceiver()
241 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
245 return mPrimitiveFields.mAlpha; in getAlpha()
[all …]
DRenderProperties.cpp112 mPrimitiveFields = other.mPrimitiveFields; in operator =()
119 mPrimitiveFields.mMatrixOrPivotDirty = true; in operator =()
126 if (mPrimitiveFields.mLeft != 0 || mPrimitiveFields.mTop != 0) { in debugOutputProperties()
127 …ALOGD("%*sTranslate (left, top) %d, %d", level * 2, "", mPrimitiveFields.mLeft, mPrimitiveFields.m… in debugOutputProperties()
149 if (mPrimitiveFields.mAlpha < 1 in debugOutputProperties()
150 && !MathUtils::isZero(mPrimitiveFields.mAlpha)) { in debugOutputProperties()
157 ALOGD("%*sScaleAlpha %.2f", level * 2, "", mPrimitiveFields.mAlpha); in debugOutputProperties()
168 (int)(mPrimitiveFields.mAlpha * 255), in debugOutputProperties()
183 if (mPrimitiveFields.mMatrixOrPivotDirty) { in updateMatrix()
188 if (!mPrimitiveFields.mPivotExplicitlySet) { in updateMatrix()
[all …]