Home
last modified time | relevance | path

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

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DFrontBufferedLayer.kt85 private var prevY: Float = 0f variable in com.android.test.hwui.FrontBufferedLayer
104 val top = minOf(prevY, event.y).toInt() - 10 in onTouchEvent()
106 val bottom = maxOf(prevY, event.y).toInt() + 10 in onTouchEvent()
109 drawLine(prevX, prevY, event.x, event.y, paint) in onTouchEvent()
116 prevY = event.y in onTouchEvent()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java194 float prevY = y[0]; in isValidMapping() local
195 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX) || Float.isNaN(prevY)) { in isValidMapping()
199 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping()
206 prevY = y[i]; in isValidMapping()
220 int prevY = y[0]; in isValidMapping() local
221 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX)) { in isValidMapping()
225 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping()
232 prevY = y[i]; in isValidMapping()