Searched refs:prevX (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | FrontBufferedLayer.kt | 84 private var prevX: Float = 0f variable in com.android.test.hwui.FrontBufferedLayer 103 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PathInterpolatorBuilder.java | 70 float prevX = 0; in initPath() local 77 if (fraction == prevFraction && x != prevX) { in initPath() 81 if (x < prevX) { in initPath() 92 prevX = x; in initPath()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | PathIteratorPerfTest.java | 40 float prevX = 0f, prevY = 0f; in constructCircularPath() local 46 path.cubicTo(prevX, prevY, x, y, x, y); in constructCircularPath() 50 prevX = x; in constructCircularPath()
|
/frameworks/base/core/java/android/view/animation/ |
D | PathInterpolator.java | 175 float prevX = 0; in initPath() local 182 if (fraction == prevFraction && x != prevX) { in initPath() 186 if (x < prevX) { in initPath() 191 prevX = x; in initPath()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | DisplayWhiteBalanceThrottler.java | 169 float prevX = -1.0f; in isValidMapping() local 171 if (Float.isNaN(x[i]) || Float.isNaN(y[i]) || x[i] < 0 || prevX >= x[i]) { in isValidMapping() 174 prevX = x[i]; in isValidMapping()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessMappingStrategy.java | 185 float prevX = x[0]; in isValidMapping() local 187 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX) || Float.isNaN(prevY)) { in isValidMapping() 191 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping() 197 prevX = x[i]; in isValidMapping() 211 float prevX = x[0]; in isValidMapping() local 213 if (prevX < 0 || prevY < 0 || Float.isNaN(prevX)) { in isValidMapping() 217 if (prevX >= x[i] || prevY > y[i]) { in isValidMapping() 223 prevX = x[i]; in isValidMapping()
|