Lines Matching refs:requestedFrames
800 const std::vector<float>& requestedFrames() const { return fRequestedFrames; } in DEF_TEST() function in DEF_TEST::TestAsset
824 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
825 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
826 REPORTER_ASSERT(reporter, SkScalarNearlyZero(single_asset->requestedFrames()[0])); in DEF_TEST()
829 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); 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()
834 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 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()
846 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 0); in DEF_TEST()
847 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 0); in DEF_TEST()
850 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 1); in DEF_TEST()
851 REPORTER_ASSERT(reporter, multi_asset->requestedFrames().size() == 1); in DEF_TEST()
852 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(single_asset->requestedFrames()[0], 1)); in DEF_TEST()
853 REPORTER_ASSERT(reporter, SkScalarNearlyEqual (multi_asset->requestedFrames()[0], 1)); in DEF_TEST()
856 REPORTER_ASSERT(reporter, single_asset->requestedFrames().size() == 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()