Home
last modified time | relevance | path

Searched refs:morphFrom (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp39 bool VectorDrawableUtils::canMorph(const PathData& morphFrom, const PathData& morphTo) { in canMorph() argument
40 if (morphFrom.verbs.size() != morphTo.verbs.size()) { in canMorph()
44 for (unsigned int i = 0; i < morphFrom.verbs.size(); i++) { in canMorph()
45 if (morphFrom.verbs[i] != morphTo.verbs[i] || in canMorph()
46 morphFrom.verbSizes[i] != morphTo.verbSizes[i]) { in canMorph()
53 bool VectorDrawableUtils::interpolatePathData(PathData* outData, const PathData& morphFrom, in interpolatePathData() argument
55 if (!canMorph(morphFrom, morphTo)) { in interpolatePathData()
58 interpolatePaths(outData, morphFrom, morphTo, fraction); in interpolatePathData()
DVectorDrawableUtils.h31 ANDROID_API static bool canMorph(const PathData& morphFrom, const PathData& morphTo);
32 ANDROID_API static bool interpolatePathData(PathData* outData, const PathData& morphFrom,