Home
last modified time | relevance | path

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

/cts/hostsidetests/mediapc/videoencodingquality/bdrate/src/main/java/com/android/media/videoquality/bdrate/
DRateDistortionCurvePair.java109 RateDistortionPoint lastPoint = pointIterator.next(); in cluster() local
112 double maxObservedDistortion = lastPoint.distortion(); in cluster()
118 if (currentPoint.rate() / lastPoint.rate() > 1.1 in cluster()
124 lastPoint = currentPoint; in cluster()
151 RateDistortionPoint lastPoint = pointIterator.next(); in isMonotonicallyIncreasing() local
155 if (currentPoint.distortion() <= lastPoint.distortion()) { in isMonotonicallyIncreasing()
158 lastPoint = currentPoint; in isMonotonicallyIncreasing()
/cts/tests/tests/transition/src/android/transition/cts/
DExplodeTest.java163 PointF lastPoint = points.get(numPoints - 2); in verifyMovement() local
165 assertNotEquals(lastPoint.x, firstPoint.x); in verifyMovement()
166 assertNotEquals(lastPoint.y, firstPoint.y); in verifyMovement()
167 assertEquals(moveRight, firstPoint.x < lastPoint.x); in verifyMovement()
168 assertEquals(moveDown, firstPoint.y < lastPoint.y); in verifyMovement()
170 assertEquals(explode, Math.abs(firstPoint.x) < Math.abs(lastPoint.x)); in verifyMovement()
171 assertEquals(explode, Math.abs(firstPoint.y) < Math.abs(lastPoint.y)); in verifyMovement()
DSlideEdgeTest.java202 PointF lastPoint = points.get(numPoints - 2); in verifyMovement() local
210 assertEquals(0f, lastPoint.y, 0.01f); in verifyMovement()
216 assertEquals(0f, lastPoint.x, 0.01f); in verifyMovement()
229 endCoord = lastPoint.y; in verifyMovement()
234 endCoord = lastPoint.x; in verifyMovement()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRadialGradientTest.java101 Point lastPoint = new Point(0, 0); in testColorLong() local
119 + ") should be less red than inner " + lastPoint in testColorLong()
122 + ") should be more blue than inner " + lastPoint in testColorLong()
134 lastPoint = currentPoint; in testColorLong()