Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DLocationOnScreenTests.java191 final Color pColor = Color.valueOf(pixelColor); in sameColorWithinTolerance() local
193 return pColor.alpha() == tColor.alpha() in sameColorWithinTolerance()
194 && Math.abs(pColor.red() - tColor.red()) <= COLOR_TOLERANCE in sameColorWithinTolerance()
195 && Math.abs(pColor.blue() - tColor.blue()) <= COLOR_TOLERANCE in sameColorWithinTolerance()
196 && Math.abs(pColor.green() - tColor.green()) <= COLOR_TOLERANCE; in sameColorWithinTolerance()