Lines Matching refs:fPath
116 : fPath(path) in BRDSrc()
163 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in draw()
165 return Error::Nonfatal(SkStringPrintf("Could not create brd for %s.", fPath.c_str())); in draw()
267 std::unique_ptr<SkBitmapRegionDecoder> brd(create_brd(fPath)); in size()
283 return SkOSPath::Basename(fPath.c_str()); in name()
285 return get_scaled_name(fPath, 1.0f / (float) fSampleSize); in name()
311 : fPath(path) in CodecSrc()
390 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
392 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
397 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
441 return SkStringPrintf("%s is not an animated image.", fPath.c_str()); in draw()
501 "Cannot decode frame %i to 565 (%s).", i, fPath.c_str())); in draw()
506 i, fPath.c_str()); in draw()
522 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
534 if (fPath.endsWith(ext)) { in draw()
542 const bool ico = fPath.endsWith("ico"); in draw()
663 fPath.c_str(), W, H)); in draw()
704 fPath.c_str(), W, H, result); in draw()
725 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
747 Name name = SkOSPath::Basename(fPath.c_str()); in name()
754 return get_scaled_name(fPath, fScale); in name()
761 : fPath(path) in AndroidCodecSrc()
775 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
777 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
781 return SkStringPrintf("Couldn't create android codec for %s.", fPath.c_str()); in draw()
822 return SkStringPrintf("Couldn't getPixels %s.", fPath.c_str()); in draw()
829 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
841 return SkOSPath::Basename(fPath.c_str()); in name()
843 return get_scaled_name(fPath, 1.0f / (float) fSampleSize); in name()
849 : fPath(path) in ImageGenSrc()
871 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
873 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
926 SkStringPrintf("Image generator could not getPixels() for %s\n", fPath.c_str()); in draw()
945 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
954 return SkOSPath::Basename(fPath.c_str()); in name()
960 : fPath(path) in ColorCodecSrc()
1003 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in draw()
1005 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
1010 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); in draw()
1044 return SkStringPrintf("Image(%s) is too large (%d x %d)", fPath.c_str(), in draw()
1056 return SkStringPrintf("Couldn't getPixels %s. Error code %d", fPath.c_str(), r); in draw()
1075 sk_sp<SkData> encoded(SkData::MakeFromFileName(fPath.c_str())); in size()
1084 return SkOSPath::Basename(fPath.c_str()); in name()
1089 SKPSrc::SKPSrc(Path path) : fPath(path) { } in SKPSrc()
1092 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
1094 return SkStringPrintf("Couldn't read %s.", fPath.c_str()); in draw()
1098 return SkStringPrintf("Couldn't parse file %s.", fPath.c_str()); in draw()
1120 SkRect viewport = get_cull_rect_for_skp(fPath.c_str()); in size()
1127 Name SKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()
1135 SkPath fPath; in draw() member
1175 canvas->drawPath(path.fPath, path.fPaint); in draw()
1184 SkottieSrc::SkottieSrc(Path path) : fPath(std::move(path)) {} in SkottieSrc()
1189 skottie_utils::FileResourceProvider::Make(SkOSPath::Dirname(fPath.c_str()))) in draw()
1190 .makeFromFile(fPath.c_str()); in draw()
1192 return SkStringPrintf("Unable to parse file: %s", fPath.c_str()); in draw()
1232 Name SkottieSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()
1312 MSKPSrc::MSKPSrc(Path path) : fPath(path) { in MSKPSrc()
1313 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in MSKPSrc()
1331 return SkStringPrintf("Unable to parse MultiPictureDocument file: %s", fPath.c_str()); in draw()
1338 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
1340 return SkStringPrintf("Unable to open file: %s", fPath.c_str()); in draw()
1344 fPath.c_str()); in draw()
1352 Name MSKPSrc::name() const { return SkOSPath::Basename(fPath.c_str()); } in name()