Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java383 int pressureLevel = (int)(ps.mCoords.pressure * 255); in onDraw() local
384 mPaint.setARGB(255, pressureLevel, 255, 255 - pressureLevel); in onDraw()
388 mPaint.setARGB(255, pressureLevel, 255 - pressureLevel, 128); in onDraw()
393 mPaint.setARGB(255, pressureLevel, 128, 255 - pressureLevel); in onDraw()
402 mPaint.setARGB(255, pressureLevel, 255, 0); in onDraw()