Home
last modified time | relevance | path

Searched refs:u0 (Results 1 – 3 of 3) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DCachedPathIteratorFactory.java135 float u0 = 1 - t0; in quadCurveSegment() local
139 coords[0] = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0; in quadCurveSegment()
140 coords[1] = coords[1] * u0 * u0 + coords[3] * 2 * t0 * u0 + coords[5] * t0 * t0; in quadCurveSegment()
153 float u0 = 1 - t0; in cubicCurveSegment() local
158 float qxa = coords[0] * u0 * u0 + coords[2] * 2 * t0 * u0 + coords[4] * t0 * t0; in cubicCurveSegment()
160 float qxc = coords[2] * u0 * u0 + coords[4] * 2 * t0 * u0 + coords[6] * t0 * t0; in cubicCurveSegment()
163 float qya = coords[1] * u0 * u0 + coords[3] * 2 * t0 * u0 + coords[5] * t0 * t0; in cubicCurveSegment()
165 float qyc = coords[3] * u0 * u0 + coords[5] * 2 * t0 * u0 + coords[7] * t0 * t0; in cubicCurveSegment()
169 coords[0] = qxa * u0 + qxc * t0; in cubicCurveSegment()
170 coords[1] = qya * u0 + qyc * t0; in cubicCurveSegment()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java171 int u0 = 0; in testMigration() local
174 assertEquals(1, cache.getPersistentServicesSize(u0)); in testMigration()
176 assertNotEmptyFileCreated(cache, u0); in testMigration()
184 assertEquals(2, cache.getAllServicesSize(u0)); in testMigration()
188 assertEquals(2, cache.getPersistentServicesSize(u0)); in testMigration()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.cpp551 float u0 = -c / b; in calculateUorV() local
552 ALOGV("u0: %.9g, b: %f, c: %f", u0, b, c); in calculateUorV()
553 return u0; in calculateUorV()