Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java139 float firstX = vt.getXVelocity(); in testStabilityInNbPoints() local
146 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInNbPoints()
161 float firstX = vt.getXVelocity(); in testStabilityInTime() local
168 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInTime()
183 float firstX = vt.getXVelocity(); in testStabilityInSpace() local
190 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInSpace()
205 float firstX = vt.getXVelocity(); in testStabilityOfComputation() local
210 assertEquals(firstX, secondX); in testStabilityOfComputation()
224 float firstX = vt.getXVelocity(); in testStabilityOfUnits() local
229 assertEqualFuzzy(firstX, secondX / 1000.0f, 0.1f); in testStabilityOfUnits()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java453 int firstX, lastX; in getScale() local
456 firstX = lastX = -1; in getScale()
459 if (firstX == -1) { in getScale()
460 firstX = x; in getScale()
468 mLeftBorder[y] = firstX; in getScale()
472 if (firstX != -1) { in getScale()
478 leftX = Math.min(leftX, firstX); in getScale()