Searched refs:prevX (Results 1 – 5 of 5) sorted by relevance
84 private var prevX: Float = 0f variable in com.android.test.hwui.FrontBufferedLayer103 val left = minOf(prevX, event.x).toInt() - 10 in onTouchEvent()105 val right = maxOf(prevX, event.x).toInt() + 10 in onTouchEvent()109 drawLine(prevX, prevY, event.x, event.y, paint) in onTouchEvent()115 prevX = event.x in onTouchEvent()
70 float prevX = 0; in initPath() local77 if (fraction == prevFraction && x != prevX) { in initPath()81 if (x < prevX) { in initPath()92 prevX = x; in initPath()
175 float prevX = 0; in initPath() local182 if (fraction == prevFraction && x != prevX) { in initPath()186 if (x < prevX) { in initPath()191 prevX = x; in initPath()
169 float prevX = -1.0f; in isValidMapping() local171 if (Float.isNaN(x[i]) || Float.isNaN(y[i]) || x[i] < 0 || prevX >= x[i]) { in isValidMapping()174 prevX = x[i]; in isValidMapping()
193 float prevX = x[0]; in isValidMapping() local195 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX) || Float.isNaN(prevY)) { in isValidMapping()199 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping()205 prevX = x[i]; in isValidMapping()219 float prevX = x[0]; in isValidMapping() local221 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX)) { in isValidMapping()225 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping()231 prevX = x[i]; in isValidMapping()