Searched refs:RP_SET_AND_DIRTY (Results 1 – 1 of 1) 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) macro 247 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationX, translationX); in setTranslationX() 253 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationY, translationY); in setTranslationY() 283 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation); in setRotation() 289 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotationX, rotationX); in setRotationX() 295 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotationY, rotationY); in setRotationY() 300 bool setScaleX(float scaleX) { return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX); } in setScaleX() 304 bool setScaleY(float scaleY) { return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleY, scaleY); } in setScaleY() 336 bool resetPivot() { return RP_SET_AND_DIRTY(mPrimitiveFields.mPivotExplicitlySet, false); } in resetPivot()
|