• Home
  • Raw
  • Download

Lines Matching refs:properties

99            << (MathUtils::isZero(properties().getAlpha()) ? ", zero alpha" : "")  in output()
100 << (properties().hasShadow() ? ", casting shadow" : "") in output()
102 << (properties().getProjectBackwards() ? ", projected" : "") in output()
105 properties().debugOutputProperties(output, level + 1); in output()
148 if (properties().getClipDamageToBounds()) { in damageSelf()
149 info.damageAccumulator->dirty(0, 0, properties().getWidth(), properties().getHeight()); in damageSelf()
162 LayerType layerType = properties().effectiveLayerType(); in prepareLayer()
178 LayerType layerType = properties().effectiveLayerType(); in pushLayerUpdate()
182 CC_UNLIKELY(properties().getWidth() == 0) || CC_UNLIKELY(properties().getHeight() == 0) || in pushLayerUpdate()
183 CC_UNLIKELY(!properties().fitsOnLayer())) { in pushLayerUpdate()
345 const auto subset = SkIRect::MakeWH(properties().getWidth(), in updateSnapshotIfRequired()
346 properties().getHeight()); in updateSnapshotIfRequired()
501 if (properties().getLeft() != 0 || properties().getTop() != 0) { in applyViewPropertyTransforms()
502 matrix.translate(properties().getLeft(), properties().getTop()); in applyViewPropertyTransforms()
504 if (properties().getStaticMatrix()) { in applyViewPropertyTransforms()
505 mat4 stat(*properties().getStaticMatrix()); in applyViewPropertyTransforms()
507 } else if (properties().getAnimationMatrix()) { in applyViewPropertyTransforms()
508 mat4 anim(*properties().getAnimationMatrix()); in applyViewPropertyTransforms()
512 bool applyTranslationZ = true3dTransform && !MathUtils::isZero(properties().getZ()); in applyViewPropertyTransforms()
513 if (properties().hasTransformMatrix() || applyTranslationZ) { in applyViewPropertyTransforms()
514 if (properties().isTransformTranslateOnly()) { in applyViewPropertyTransforms()
515 matrix.translate(properties().getTranslationX(), properties().getTranslationY(), in applyViewPropertyTransforms()
516 true3dTransform ? properties().getZ() : 0.0f); in applyViewPropertyTransforms()
519 matrix.multiply(*properties().getTransformMatrix()); in applyViewPropertyTransforms()
522 true3dMat.loadTranslate(properties().getPivotX() + properties().getTranslationX(), in applyViewPropertyTransforms()
523 properties().getPivotY() + properties().getTranslationY(), in applyViewPropertyTransforms()
524 properties().getZ()); in applyViewPropertyTransforms()
525 true3dMat.rotate(properties().getRotationX(), 1, 0, 0); in applyViewPropertyTransforms()
526 true3dMat.rotate(properties().getRotationY(), 0, 1, 0); in applyViewPropertyTransforms()
527 true3dMat.rotate(properties().getRotation(), 0, 0, 1); in applyViewPropertyTransforms()
528 true3dMat.scale(properties().getScaleX(), properties().getScaleY(), 1); in applyViewPropertyTransforms()
529 true3dMat.translate(-properties().getPivotX(), -properties().getPivotY()); in applyViewPropertyTransforms()
537 const StretchEffect& stretch = properties().layerProperties().getStretchEffect(); in applyViewPropertyTransforms()
540 stretch.makeLinearStretch(properties().getWidth(), properties().getHeight())); in applyViewPropertyTransforms()
546 const SkPath* outlinePath = properties().getOutline().getPath(); in getClippedOutline()