Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/view/
H A DRoundedCorner.java75 private final Point mCenter; field in RoundedCorner
85 mCenter = new Point(0, 0); in RoundedCorner()
105 mCenter = new Point(centerX, centerY); in RoundedCorner()
116 mCenter = new Point(rc.getCenter()); in RoundedCorner()
148 return new Point(mCenter); in getCenter()
160 return mRadius == 0 || mCenter.x <= 0 || mCenter.y <= 0; in isEmpty()
186 && mCenter.equals(r.mCenter); in equals()
196 result = 31 * result + mCenter.hashCode(); in hashCode()
205 + ", center=" + mCenter in toString()
218 out.writeInt(mCenter.x); in writeToParcel()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A 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()
H A 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()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCbGeoUtils.java334 private final LatLng mCenter; field in CbGeoUtils.Circle
344 this.mCenter = center; in Circle()
352 return mCenter; in getCenter()
369 return mCenter.distance(latLng) <= mRadiusMeter; in contains()
376 str += mCenter + ", radius = " + mRadiusMeter; in toString()
396 return mCenter.equals(c.mCenter) in equals()
/aosp14/frameworks/base/services/core/java/com/android/server/location/geofence/
H A DGeofenceManager.java119 private final Location mCenter; field in GeofenceManager.GeofenceRegistration
137 mCenter = new Location(""); in GeofenceRegistration()
138 mCenter.setLatitude(geofence.getLatitude()); in GeofenceRegistration()
139 mCenter.setLongitude(geofence.getLongitude()); in GeofenceRegistration()
222 mCachedLocationDistanceM = mCenter.distanceTo(mCachedLocation); in getDistanceToBoundary()
236 mCachedLocationDistanceM = mCenter.distanceTo(mCachedLocation); in onLocationChanged()