Home
last modified time | relevance | path

Searched refs:mCenter (Results 1 – 6 of 6) sorted by relevance

/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBaseCluster.java30 public double[] mCenter; field in BaseCluster
48 mCenter = getLocationVector(location); in BaseCluster()
55 mCenter = getLocationVector(longitude, latitude); in BaseCluster()
92 double cosPhi = Math.cos(Math.asin(mCenter[2])); in getCenterLongitude()
93 double longitude = Math.toDegrees(Math.asin(mCenter[1] / cosPhi)); in getCenterLongitude()
94 if (mCenter[0] < 0) { in getCenterLongitude()
101 return Math.toDegrees(Math.asin(mCenter[2])); in getCenterLatitude()
117 return (float) computeDistance(mCenter, getLocationVector(location)); in distanceToCenter()
121 return (float) computeDistance(mCenter, cluster.mCenter); in distanceToCluster()
125 averageCenter(cluster.mCenter, cluster.mDuration); in absorbCluster()
[all …]
DLocationCluster.java120 dot += mCenter[i] * cluster.mCenter[i]; in moveAwayCluster()
124 vector[i] = mCenter[i] - dot * cluster.mCenter[i]; in moveAwayCluster()
131 mCenter[i] = cluster.mCenter[i] * Math.cos(radian) + in moveAwayCluster()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DHorizontalGravityTest.java33 private View mCenter; field in HorizontalGravityTest
47 mCenter = activity.findViewById(R.id.center); in setUp()
55 assertNotNull(mCenter); in testSetUpConditions()
62 ViewAsserts.assertHorizontalCenterAligned(mReference, mCenter); in testCenterGravity()
DVerticalGravityTest.java37 private View mCenter; field in VerticalGravityTest
53 mCenter = activity.findViewById(R.id.cell_center); in setUp()
63 assertNotNull(mCenter); in testSetUpConditions()
74 ViewAsserts.assertVerticalCenterAligned(mReference2, mCenter); in testCenterGravity()
/frameworks/wilhelm/src/itf/
DIEqualizer.c223 *pCenter = thiz->mBands[band].mCenter; in IEqualizer_GetCenterFreq()
309 assert(band->mMin <= band->mCenter && band->mCenter <= band->mMax); in IEqualizer_GetBand()
310 assert(band->mCenter != 0); in IEqualizer_GetBand()
311 float ratio = frequency <= band->mCenter ? in IEqualizer_GetBand()
312 floatFreq / band->mCenter : band->mCenter / floatFreq; in IEqualizer_GetBand()
/frameworks/wilhelm/src/
Ditfstruct.h327 SLmilliHertz mCenter; member