Searched refs:pressureLevel (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 314 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw() local 315 mPaint.setARGB(255, pressureLevel, 255, 255 - pressureLevel); in onDraw() 319 mPaint.setARGB(255, pressureLevel, 255 - pressureLevel, 128); in onDraw() 324 mPaint.setARGB(255, pressureLevel, 128, 255 - pressureLevel); in onDraw() 333 mPaint.setARGB(255, pressureLevel, 255, 0); in onDraw()
|