Home
last modified time | relevance | path

Searched refs:getCenter (Results 1 – 11 of 11) sorted by relevance

/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCbGeoUtilsTest.java103 assertEqualsWithinPrecision(622.0, ll622.distance(circle.getCenter())); in testExistingLatLngConversionToPoint()
105 LatLng origin = circle.getCenter(); in testExistingLatLngConversionToPoint()
106 CbGeoUtils.Point ptCenter = convert(origin, circle.getCenter()); in testExistingLatLngConversionToPoint()
DGsmSmsCbMessageTest.java151 assertEquals(37.41462707519531, ((Circle) geometries.get(i * 2)).getCenter().lat); in testCreateMessageFromBinary()
152 assertEquals(-122.08093643188477, ((Circle) geometries.get(i * 2)).getCenter().lng); in testCreateMessageFromBinary()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCbGeoUtils.java130 sb.append(circle.getCenter().lat); in encodeGeometryToString()
132 sb.append(circle.getCenter().lng); in encodeGeometryToString()
205 return latLng.distance(mCircle.getCenter()) - mCircle.getRadius(); in distance()
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DPieRenderer.java291 if (item.getCenter() >= 0) { in layoutItems()
301 if (item.getCenter() >= 0) { in layoutItems()
302 angle = item.getCenter(); in layoutItems()
DPieItem.java145 public float getCenter() { in getCenter() method in PieItem
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DPieRenderer.java292 if (item.getCenter() >= 0) { in layoutItems()
301 if (item.getCenter() >= 0) { in layoutItems()
302 angle = item.getCenter(); in layoutItems()
DPieItem.java123 public float getCenter() { in getCenter() method in PieItem
/packages/apps/Camera2/src/com/android/camera/ui/
DTouchCircleDrawable.java121 public Point getCenter() { in getCenter() method in TouchCircleDrawable
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java347 private double[] getCenter(View photo) { in getCenter() method in PhotoTable
371 final double[] a = getCenter(focus); in moveFocus()
376 final double[] b = getCenter(candidate); in moveFocus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollController.java232 final public int getCenter() { in getCenter() method in ScrollController.Axis.Item
DScrollAdapterView.java2083 private int getCenter(View v) {
2586 center = getCenter(firstView);