Lines Matching refs:multi_asset
717 sk_sp<skresources::ImageAsset> multi_asset) in DEF_TEST() argument
719 , fMultiFrameAsset (std::move( multi_asset)) {} in DEF_TEST()
735 sk_sp<skresources::ImageAsset> multi_asset, in DEF_TEST()
788 std::move( multi_asset))) in DEF_TEST()
818 multi_asset = sk_make_sp<TestAsset>(true); in DEF_TEST()
822 auto animation = make_animation(single_asset, multi_asset, false); in DEF_TEST()
825 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
830 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 1); in DEF_TEST()
831 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[0], 1)); in DEF_TEST()
835 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 2); in DEF_TEST()
836 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[1], 2)); in DEF_TEST()
841 multi_asset = sk_make_sp<TestAsset>(true); in DEF_TEST()
844 auto animation = make_animation(single_asset, multi_asset, true); in DEF_TEST()
847 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
851 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 1); in DEF_TEST()
853 REPORTER_ASSERT(reporter, SkScalarNearlyEqual (multi_asset->requestedFrames()[0], 1)); in DEF_TEST()
857 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 2); in DEF_TEST()
858 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(multi_asset->requestedFrames()[1], 2)); in DEF_TEST()