Searched defs:nodesFrom (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/compat/src/main/java/androidx/core/graphics/
H A DPathParser.java132 * @param nodesFrom The source path represented in an array of PathDataNode
134 * @return whether the <code>nodesFrom</code> can morph into <code>nodesTo</code>
136 public static boolean canMorph(PathDataNode[] nodesFrom, PathDataNode[] nodesTo) { argument
137 if (nodesFrom == null || nodesTo == null) {
141 if (nodesFrom.length != nodesTo.length) {
145 for (int i = 0; i < nodesFrom.length; i++) {
146 if (nodesFrom[i].mType != nodesTo[i].mType
147 || nodesFrom[i].mParams.length != nodesTo[i].mParams.length) {
/frameworks/layoutlib/bridge/src/android/util/
H A DPathParser_Delegate.java211 * @param nodesFrom The source path represented in an array of PathDataNode
213 * @return whether the <code>nodesFrom</code> can morph into <code>nodesTo</code>
215 public static boolean canMorph(PathDataNode[] nodesFrom, PathDataNode[] nodesTo) { argument
216 if (nodesFrom == null || nodesTo == null) {
220 if (nodesFrom.length != nodesTo.length) {
224 for (int i = 0; i < nodesFrom.length; i ++) {
225 if (nodesFrom[i].mType != nodesTo[i].mType
226 || nodesFrom[i].mParams.length != nodesTo[i].mParams.length) {

Completed in 416 milliseconds