Home
last modified time | relevance | path

Searched refs:radius (Results 1 – 14 of 14) sorted by relevance

/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
DSimpleGeofence.java42 public SimpleGeofence(String geofenceId, double latitude, double longitude, float radius, in SimpleGeofence() argument
48 this.mRadius = radius; in SimpleGeofence()
DSimpleGeofenceStore.java61 float radius = mPrefs.getFloat(getGeofenceFieldKey(id, KEY_RADIUS), in getGeofence() local
71 && radius != INVALID_FLOAT_VALUE in getGeofence()
74 return new SimpleGeofence(id, lat, lng, radius, expirationDuration, transitionType); in getGeofence()
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/
DTouchDisplayView.java384 float radius = pressure * mCircleRadius; in drawCircle() local
386 canvas.drawCircle(data.x, (data.y) - (radius / 2f), radius, in drawCircle()
397 canvas.drawText(data.label, data.x + radius, data.y in drawCircle()
398 - radius, mTextPaint); in drawCircle()
/development/samples/browseable/BasicAccessibility/src/com.example.android.basicaccessibility/
DDialView.java229 private float[] computeXYForPosition(final int pos, final float radius) { in computeXYForPosition() argument
233 result[0] = (float) (radius * Math.cos(angle)) + (mWidth / 2); in computeXYForPosition()
234 result[1] = (float) (radius * Math.sin(angle)) + (mHeight / 2); in computeXYForPosition()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java207 double radius = width / 2; in calculateBottomInsetsOnRoundDevice() local
208 double apothem = radius - bottomInset; in calculateBottomInsetsOnRoundDevice()
209 double chord = Math.sqrt(Math.pow(radius, 2) - Math.pow(apothem, 2)) * 2; in calculateBottomInsetsOnRoundDevice()
/development/vndk/tools/definition-tool/assets/visual/
Ddep-graph.js5 let radius = diameter / 2;
6 let innerRadius = radius - 240;
13 line.radius(function(d) { return d.y; });
39 svg.attr("transform", "translate(" + (radius + 100) + "," + radius + ")");
/development/tools/winscope/src/components/
DFlatCard.vue36 border-radius: 4px;
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DMatrixPaletteRenderer.java387 float radius = 0.25f; in generateWeightedGrid() local
394 float x = radius * (float) Math.cos(angle); in generateWeightedGrid()
396 float z = radius * (float) Math.sin(angle); in generateWeightedGrid()
/development/samples/MultiDisplay/src/com/example/android/multidisplay/launcher/
DLauncherActivity.java304 final int radius = (int) Math.hypot((double) view.getWidth(), (double) view.getHeight()); in revealAnimator() local
306 open ? 0 : radius, open ? radius : 0); in revealAnimator()
/development/tools/winscope/src/
DNodeContextMenu.vue30 border-radius: .25rem;
DTransactionEntry.vue243 border-radius: 3px;
278 border-radius: 50%;
DLogEntry.vue145 border-radius: 3px;
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameView.java642 private float polarX(float radius) {
643 return (float) Math.cos(mHeadingAngle) * radius;
646 private float polarY(float radius) {
647 return (float) Math.sin(mHeadingAngle) * radius;
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java935 private float polarX(float radius) {
936 return (float) Math.cos(mHeadingAngle) * radius;
939 private float polarY(float radius) {
940 return (float) Math.sin(mHeadingAngle) * radius;