Lines Matching refs:mPrimitiveFields

49 #define RP_SET_AND_DIRTY(a, b) RP_SET(a, b, mPrimitiveFields.mMatrixOrPivotDirty = true)
162 return setFlag(CLIP_TO_BOUNDS, clipToBounds, &mPrimitiveFields.mClippingFlags); in setClipToBounds()
166 bool ret = setFlag(CLIP_TO_CLIP_BOUNDS, true, &mPrimitiveFields.mClippingFlags); in setClipBounds()
167 return RP_SET(mPrimitiveFields.mClipBounds, clipBounds) || ret; in setClipBounds()
171 return setFlag(CLIP_TO_CLIP_BOUNDS, false, &mPrimitiveFields.mClippingFlags); in setClipBoundsEmpty()
175 return RP_SET(mPrimitiveFields.mProjectBackwards, shouldProject); in setProjectBackwards()
179 return RP_SET(mPrimitiveFields.mProjectionReceiver, shouldRecieve); in setProjectionReceiver()
183 return mPrimitiveFields.mProjectionReceiver; in isProjectionReceiver()
213 return RP_SET(mPrimitiveFields.mAlpha, alpha); in setAlpha()
217 return mPrimitiveFields.mAlpha; in getAlpha()
221 return RP_SET(mPrimitiveFields.mHasOverlappingRendering, hasOverlappingRendering); in setHasOverlappingRendering()
225 return mPrimitiveFields.mHasOverlappingRendering; in hasOverlappingRendering()
229 return RP_SET(mPrimitiveFields.mElevation, elevation); in setElevation()
234 return mPrimitiveFields.mElevation; in getElevation()
238 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationX, translationX); in setTranslationX()
242 return mPrimitiveFields.mTranslationX; in getTranslationX()
246 return RP_SET_AND_DIRTY(mPrimitiveFields.mTranslationY, translationY); in setTranslationY()
250 return mPrimitiveFields.mTranslationY; in getTranslationY()
254 return RP_SET(mPrimitiveFields.mTranslationZ, translationZ); in setTranslationZ()
259 return mPrimitiveFields.mTranslationZ; in getTranslationZ()
292 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotation, rotation); in setRotation()
296 return mPrimitiveFields.mRotation; in getRotation()
300 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotationX, rotationX); in setRotationX()
304 return mPrimitiveFields.mRotationX; in getRotationX()
308 return RP_SET_AND_DIRTY(mPrimitiveFields.mRotationY, rotationY); in setRotationY()
312 return mPrimitiveFields.mRotationY; in getRotationY()
316 return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleX, scaleX); in setScaleX()
320 return mPrimitiveFields.mScaleX; in getScaleX()
324 return RP_SET_AND_DIRTY(mPrimitiveFields.mScaleY, scaleY); in setScaleY()
328 return mPrimitiveFields.mScaleY; in getScaleY()
332 if (RP_SET(mPrimitiveFields.mPivotX, pivotX) in setPivotX()
333 || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotX()
334 mPrimitiveFields.mMatrixOrPivotDirty = true; in setPivotX()
335 mPrimitiveFields.mPivotExplicitlySet = true; in setPivotX()
346 return mPrimitiveFields.mPivotX; in getPivotX()
350 if (RP_SET(mPrimitiveFields.mPivotY, pivotY) in setPivotY()
351 || !mPrimitiveFields.mPivotExplicitlySet) { in setPivotY()
352 mPrimitiveFields.mMatrixOrPivotDirty = true; in setPivotY()
353 mPrimitiveFields.mPivotExplicitlySet = true; in setPivotY()
360 return mPrimitiveFields.mPivotY; in getPivotY()
364 return mPrimitiveFields.mPivotExplicitlySet; in isPivotExplicitlySet()
369 mPrimitiveFields.mMatrixOrPivotDirty = true; in setCameraDistance()
382 if (RP_SET(mPrimitiveFields.mLeft, left)) { in setLeft()
383 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeft()
384 if (!mPrimitiveFields.mPivotExplicitlySet) { in setLeft()
385 mPrimitiveFields.mMatrixOrPivotDirty = true; in setLeft()
393 return mPrimitiveFields.mLeft; in getLeft()
397 if (RP_SET(mPrimitiveFields.mTop, top)) { in setTop()
398 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setTop()
399 if (!mPrimitiveFields.mPivotExplicitlySet) { in setTop()
400 mPrimitiveFields.mMatrixOrPivotDirty = true; in setTop()
408 return mPrimitiveFields.mTop; in getTop()
412 if (RP_SET(mPrimitiveFields.mRight, right)) { in setRight()
413 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setRight()
414 if (!mPrimitiveFields.mPivotExplicitlySet) { in setRight()
415 mPrimitiveFields.mMatrixOrPivotDirty = true; in setRight()
423 return mPrimitiveFields.mRight; in getRight()
427 if (RP_SET(mPrimitiveFields.mBottom, bottom)) { in setBottom()
428 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setBottom()
429 if (!mPrimitiveFields.mPivotExplicitlySet) { in setBottom()
430 mPrimitiveFields.mMatrixOrPivotDirty = true; in setBottom()
438 return mPrimitiveFields.mBottom; in getBottom()
448 if (left != mPrimitiveFields.mLeft || top != mPrimitiveFields.mTop in setLeftTopRightBottom()
449 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { in setLeftTopRightBottom()
450 mPrimitiveFields.mLeft = left; in setLeftTopRightBottom()
451 mPrimitiveFields.mTop = top; in setLeftTopRightBottom()
452 mPrimitiveFields.mRight = right; in setLeftTopRightBottom()
453 mPrimitiveFields.mBottom = bottom; in setLeftTopRightBottom()
454 mPrimitiveFields.mWidth = mPrimitiveFields.mRight - mPrimitiveFields.mLeft; in setLeftTopRightBottom()
455 mPrimitiveFields.mHeight = mPrimitiveFields.mBottom - mPrimitiveFields.mTop; in setLeftTopRightBottom()
456 if (!mPrimitiveFields.mPivotExplicitlySet) { in setLeftTopRightBottom()
457 mPrimitiveFields.mMatrixOrPivotDirty = true; in setLeftTopRightBottom()
466 mPrimitiveFields.mLeft += offset; in offsetLeftRight()
467 mPrimitiveFields.mRight += offset; in offsetLeftRight()
475 mPrimitiveFields.mTop += offset; in offsetTopBottom()
476 mPrimitiveFields.mBottom += offset; in offsetTopBottom()
483 return mPrimitiveFields.mWidth; in getWidth()
487 return mPrimitiveFields.mHeight; in getHeight()
504 LOG_ALWAYS_FATAL_IF(mPrimitiveFields.mMatrixOrPivotDirty, "Cannot get a dirty matrix!"); in getTransformMatrix()
509 return mPrimitiveFields.mClippingFlags; in getClippingFlags()
513 return mPrimitiveFields.mClippingFlags & CLIP_TO_BOUNDS; in getClipToBounds()
520 outRect->intersect(mPrimitiveFields.mClipBounds); in getClippingRectForFlags()
523 outRect->set(mPrimitiveFields.mClipBounds); in getClippingRectForFlags()
528 return mPrimitiveFields.mHasOverlappingRendering; in getHasOverlappingRendering()
532 return mPrimitiveFields.mOutline; in getOutline()
536 return mPrimitiveFields.mRevealClip; in getRevealClip()
540 return mPrimitiveFields.mProjectBackwards; in getProjectBackwards()
548 return mPrimitiveFields.mOutline; in mutableOutline()
552 return mPrimitiveFields.mRevealClip; in mutableRevealClip()
600 } mPrimitiveFields; variable