Searched refs:radius (Results 1 – 14 of 14) sorted by relevance
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | SimpleGeofence.java | 42 public SimpleGeofence(String geofenceId, double latitude, double longitude, float radius, in SimpleGeofence() argument 48 this.mRadius = radius; in SimpleGeofence()
|
D | SimpleGeofenceStore.java | 61 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/ |
D | TouchDisplayView.java | 384 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/ |
D | DialView.java | 229 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/ |
D | Utils.java | 207 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/ |
D | dep-graph.js | 5 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/ |
D | FlatCard.vue | 36 border-radius: 4px;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | MatrixPaletteRenderer.java | 387 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/ |
D | LauncherActivity.java | 304 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/ |
D | NodeContextMenu.vue | 30 border-radius: .25rem;
|
D | TransactionEntry.vue | 243 border-radius: 3px; 278 border-radius: 50%;
|
D | LogEntry.vue | 145 border-radius: 3px;
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | GameView.java | 642 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/ |
D | GameView.java | 935 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;
|