Searched refs:firstX (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 141 float firstX = vt.getXVelocity(); in testStabilityInNbPoints() local 148 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInNbPoints() 163 float firstX = vt.getXVelocity(); in testStabilityInTime() local 170 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInTime() 185 float firstX = vt.getXVelocity(); in testStabilityInSpace() local 192 assertEqualFuzzy(firstX, secondX, 0.1f); in testStabilityInSpace() 207 float firstX = vt.getXVelocity(); in testStabilityOfComputation() local 212 assertEquals(firstX, secondX); in testStabilityOfComputation() 226 float firstX = vt.getXVelocity(); in testStabilityOfUnits() local 231 assertEqualFuzzy(firstX, secondX / 1000.0f, 0.1f); in testStabilityOfUnits()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | IconNormalizer.java | 284 int firstX, lastX; in getScale() local 287 firstX = lastX = -1; in getScale() 290 if (firstX == -1) { in getScale() 291 firstX = x; in getScale() 299 mLeftBorder[y] = firstX; in getScale() 303 if (firstX != -1) { in getScale() 309 leftX = Math.min(leftX, firstX); in getScale()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 531 int firstX, lastX; in getScale() local 534 firstX = lastX = -1; in getScale() 537 if (firstX == -1) { in getScale() 538 firstX = x; in getScale() 546 mLeftBorder[y] = firstX; in getScale() 550 if (firstX != -1) { in getScale() 556 leftX = Math.min(leftX, firstX); in getScale()
|