Searched refs:radius (Results 101 - 119 of 119) sorted by relevance

12345

/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp284 float roundedOutRadius = state->radius + 0.5f;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DActivatableNotificationView.java318 float radius = (float) Math.sqrt(widthHalf*widthHalf + heightHalf*heightHalf);
322 widthHalf, heightHalf, radius, 0);
325 widthHalf, heightHalf, 0, radius);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java655 /*package*/ static float native_mapRadius(long native_object, float radius) { argument
661 float[] src = new float[] { radius, 0.f, 0.f, radius };
H A DPaint_Delegate.java442 /*package*/ static void nSetShadowLayer(long paint, float radius, float dx, float dy, argument
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1156 * Draw the specified circle using the specified paint. If radius is <= 0,
1162 * @param radius The radius of the cirle to be drawn
1165 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
1166 native_drawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance());
1230 * @param rx The x-radius of the oval used to round the corners
1231 * @param ry The y-radius of the oval used to round the corners
1242 * @param rx The x-radius of the oval used to round the corners
1243 * @param ry The y-radius of the oval used to round the corners
2071 float cy, float radius,
2070 native_drawCircle(long nativeCanvas, float cx, float cy, float radius, long nativePaint) argument
[all...]
H A DPaint.java1235 * offset and color, and blur radius. If radius is 0, then the shadow
1245 public void setShadowLayer(float radius, float dx, float dy, int shadowColor) { argument
1246 nSetShadowLayer(mNativePaint, radius, dx, dy, shadowColor);
2703 float radius, float dx, float dy, int color);
2702 nSetShadowLayer(long paintPtr, float radius, float dx, float dy, int color) argument
/frameworks/base/core/jni/android/graphics/
H A DPath.cpp181 static void addCircle(JNIEnv* env, jobject clazz, jlong objHandle, jfloat x, jfloat y, jfloat radius, jint dirHandle) { argument
184 obj->addCircle(x, y, radius, dir);
H A DPaint.cpp634 static void setShadowLayer(JNIEnv* env, jobject clazz, jlong paintHandle, jfloat radius, argument
637 if (radius <= 0) {
641 SkScalar sigma = android::uirenderer::Blur::convertRadiusToSigma(radius);
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp283 jfloat radius, jlong paintHandle) {
285 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
282 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) argument
/frameworks/base/libs/hwui/
H A DBakedOpDispatcher.cpp212 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions);
231 // Bounds should be same as text op, but with dx/dy offset and radius outset
240 shadowBounds.outset(textShadow.radius, textShadow.radius);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java1307 double longitude, double radius, int lastTransition, int monitorTransitions,
1309 return native_add_geofence(geofenceId, latitude, longitude, radius,
2468 double longitude, double radius, int lastTransition,int monitorTransitions,
2467 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
/frameworks/base/location/java/android/location/
H A DLocationManager.java940 * (latitude, longitude) and the given radius.
975 * @param radius the radius of the central point of the
986 public void addProximityAlert(double latitude, double longitude, float radius, long expiration, argument
991 Geofence fence = Geofence.createCircle(latitude, longitude, radius);
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp974 jobject /* obj */, jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius,
979 radius, last_transition, monitor_transition, notification_responsiveness,
973 android_location_GnssLocationProvider_add_geofence(JNIEnv* , jobject , jint geofence_id, jdouble latitude, jdouble longitude, jdouble radius, jint last_transition, jint monitor_transition, jint notification_responsiveness, jint unknown_timer) argument
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp162 mLightGeometry.radius = lightRadius;
/frameworks/base/libs/hwui/tests/unit/
H A DFrameBuilderTests.cpp2007 EXPECT_EQ(25, state.roundRectClipState->radius);
2019 EXPECT_EQ(5, state.roundRectClipState->radius);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java828 final float radius = height / 2;
829 canvas.drawRoundRect(new RectF(0, 0, width, height), radius, radius,
/frameworks/base/core/java/android/widget/
H A DTextView.java3334 * Gives the text a shadow of the specified blur radius and color, the specified
3349 public void setShadowLayer(float radius, float dx, float dy, int color) { argument
3350 mTextPaint.setShadowLayer(radius, dx, dy, color);
3352 mShadowRadius = radius;
3366 * Gets the radius of the shadow layer.
3368 * @return the radius of the shadow layer. If 0, the shadow layer is not visible
/frameworks/rs/cpp/
H A DrsCppStructs.h3860 * radius to all elements of an Allocation.
3884 * Sets the radius of the blur. The supported range is 0 < radius <= 25.
3885 * @param[in] radius radius of the blur
3887 void setRadius(float radius);
/frameworks/base/core/java/android/view/
H A DView.java13010 public void setRevealClip(boolean shouldClip, float x, float y, float radius) { argument
13011 mRenderNode.setRevealClip(shouldClip, x, y, radius);

Completed in 484 milliseconds

12345