Searched refs:foregroundConfig_ (Results 1 – 3 of 3) sorted by relevance
129 foregroundConfig_.srcRect_ = foregroundImageLoadingCtx_->GetSrcRect(); in OnImageLoadSuccess()130 foregroundConfig_.dstRect_ = foregroundImageLoadingCtx_->GetDstRect(); in OnImageLoadSuccess()173 foregroundConfig_.imageFit_ = ImageFit::FILL; in UpdatePaintConfig()176 …foregroundConfig_.scaleX_ = contentSize.Width() / frameSize.Width() / static_cast<float>(starsNum); in UpdatePaintConfig()177 foregroundConfig_.scaleY_ = contentSize.Height() / frameSize.Height(); in UpdatePaintConfig()208 foregroundConfig_) && in CreateNodePaintMethod()213 foregroundConfig_, secondaryConfig_, backgroundConfig_); in CreateNodePaintMethod()343 …return ratingLayoutProperty->GetIndicator().value_or(false) || !foregroundConfig_.dstRect_.IsValid… in IsIndicator()690 foregroundConfig_.isSvg_ = false; in LoadForeground()709 foregroundConfig_.isSvg_ = true; in LoadForeground()
173 ImagePaintConfig foregroundConfig_; variable
537 EXPECT_TRUE(ratingPattern->foregroundConfig_.isSvg_);589 EXPECT_TRUE(ratingPattern->foregroundConfig_.isSvg_);619 EXPECT_TRUE(ratingPattern->foregroundConfig_.isSvg_);667 EXPECT_EQ(ratingPattern->foregroundConfig_.scaleX_, scaleX);668 EXPECT_EQ(ratingPattern->foregroundConfig_.scaleY_, scaleY);676 EXPECT_EQ(ratingPattern->foregroundConfig_.scaleX_,678 EXPECT_EQ(ratingPattern->foregroundConfig_.scaleY_,1883 EXPECT_FALSE(ratingPattern->foregroundConfig_.isSvg_);1893 EXPECT_FALSE(ratingPattern->foregroundConfig_.isSvg_);