Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DIpPrefixTest.java248 final IpPrefix oldP = p; in testHashCode() local
260 if (p.equals(oldP)) { in testHashCode()
261 assertEquals(p.hashCode(), oldP.hashCode()); in testHashCode()
263 if (p.hashCode() != oldP.hashCode()) { in testHashCode()
264 assertNotEqual(p, oldP); in testHashCode()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
DSpotShadow.java593 int oldP = p - 1; in triangulateConcentricPolygon() local
594 retStrips[p * 3 + 0] = retStrips[oldP * 3 + 0]; in triangulateConcentricPolygon()
595 retStrips[p * 3 + 1] = retStrips[oldP * 3 + 1]; in triangulateConcentricPolygon()
596 retStrips[p * 3 + 2] = retStrips[oldP * 3 + 2]; in triangulateConcentricPolygon()
600 oldP = p; in triangulateConcentricPolygon()
621 p = oldP; in triangulateConcentricPolygon()
622 retStrips[p * 3 + 0] = retStrips[oldP * 3 + 0]; in triangulateConcentricPolygon()
623 retStrips[p * 3 + 1] = retStrips[oldP * 3 + 1]; in triangulateConcentricPolygon()
624 retStrips[p * 3 + 2] = retStrips[oldP * 3 + 2]; in triangulateConcentricPolygon()