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

123456

/frameworks/base/libs/hwui/
H A DSkiaShader.cpp97 static void toCircularUnitMatrix(const float x, const float y, const float radius, argument
99 const float inv = 1.0f / radius;
H A DFrameBuilder.h60 float radius; member in struct:android::uirenderer::FrameBuilder::LightGeometry
H A DSpotShadow.cpp77 float radius; member in struct:android::uirenderer::OutlineData
321 * Compute a horizontal circular polygon about point (x , y , height) of radius
369 * @param lightSize the radius of the light
402 // Outline's radius / Light's radius = Ratio
416 outlineData[i].radius = ratioZ * lightSize;
444 // Generate all the penumbra's vertices only using the (outline vertex + normal * radius)
493 avgNormal * outlineData[i].radius;
530 float ratioVI = outlineData[i].radius / distOutline;
H A DBakedOpDispatcher.cpp206 op.paint, op.glyphs, op.glyphCount, textShadow.radius, op.positions);
225 // Bounds should be same as text op, but with dx/dy offset and radius outset
234 shadowBounds.outset(textShadow.radius, textShadow.radius);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DStatusBarIconView.java401 float radius;
404 radius = mDotRadius * mDotAppearAmount;
409 radius = NotificationUtils.interpolate(mDotRadius, getWidth() / 4, fadeOutAmount);
412 canvas.drawCircle(getWidth() / 2, getHeight() / 2, radius, mDotPaint);
H A DActivatableNotificationView.java330 float radius = (float) Math.sqrt(widthHalf*widthHalf + heightHalf*heightHalf);
334 widthHalf, heightHalf, radius, 0);
337 widthHalf, heightHalf, 0, radius);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java178 public void drawCircle(float cx, float cy, float radius, Paint paint) { argument
/frameworks/rs/cpp/
H A DScriptIntrinsics.cpp245 void ScriptIntrinsicBlur::setRadius(float radius) { argument
246 if (radius > 0.f && radius <= 25.f) {
247 Script::setVar(0, &radius, sizeof(float));
249 mRS->throwError(RS_ERROR_INVALID_PARAMETER, "Blur radius out of 0-25 pixel bound");
/frameworks/base/core/jni/android/graphics/
H A DMatrix.cpp320 static jfloat mapRadius(jlong matrixHandle, jfloat radius) { argument
323 result = SkScalarToFloat(matrix->mapRadius(radius));
H A DPath.cpp150 jfloat radius, jint dirHandle) {
153 obj->addCircle(x, y, radius, dir);
149 addCircle(JNIEnv* env, jclass clazz, jlong objHandle, jfloat x, jfloat y, jfloat radius, jint dirHandle) argument
H A DPaint.cpp964 static void setShadowLayer(jlong paintHandle, jfloat radius, argument
967 if (radius <= 0) {
971 SkScalar sigma = android::uirenderer::Blur::convertRadiusToSigma(radius);
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java206 public final void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
207 nDrawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance());
579 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, argument
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java226 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
228 nDrawCircle(mNativeCanvasWrapper, cx, cy, radius, paint.getNativeInstance());
588 private static native void nDrawCircle(long nativeCanvas, float cx, float cy, float radius, argument
H A DCanvas.java1517 * Draw the specified circle using the specified paint. If radius is <= 0, then nothing will be
1522 * @param radius The radius of the cirle to be drawn
1525 public void drawCircle(float cx, float cy, float radius, @NonNull Paint paint) { argument
1526 super.drawCircle(cx, cy, radius, paint);
1775 * @param rx The x-radius of the oval used to round the corners
1776 * @param ry The y-radius of the oval used to round the corners
1787 * @param rx The x-radius of the oval used to round the corners
1788 * @param ry The y-radius of the oval used to round the corners
H A DPaint.java1230 * offset and color, and blur radius. If radius is 0, then the shadow
1240 public void setShadowLayer(float radius, float dx, float dy, int shadowColor) { argument
1241 nSetShadowLayer(mNativePaint, radius, dx, dy, shadowColor);
2843 float radius, float dx, float dy, int color);
2842 nSetShadowLayer(long paintPtr, float radius, float dx, float dy, int color) argument
H A DColorSpace.java3979 float radius = 4.0f / (mUcs ? UCS_SCALE : 1.0f);
3998 canvas.drawCircle(width * xy[0], height - height * xy[1], radius, paint);
4020 float radius = 4.0f / (mUcs ? UCS_SCALE : 1.0f);
4049 width * whitePoint[0], height - height * whitePoint[1], radius, paint);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DMatrix_Delegate.java658 /*package*/ static float nMapRadius(long native_object, float radius) { argument
664 float[] src = new float[] { radius, 0.f, 0.f, radius };
H A DPaint_Delegate.java431 /*package*/ static void nSetShadowLayer(long paint, float radius, float dx, float dy, argument
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp306 float roundedOutRadius = state->radius + 0.5f;
/frameworks/base/libs/hwui/tests/unit/
H A DSkiaPipelineTests.cpp134 lightGeometry.radius = 1.0f;
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp287 jfloat radius, jlong paintHandle) {
289 get_canvas(canvasHandle)->drawCircle(cx, cy, radius, *paint);
286 drawCircle(JNIEnv* env, jobject, jlong canvasHandle, jfloat cx, jfloat cy, jfloat radius, jlong paintHandle) 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/java/com/android/server/location/
H A DGnssLocationProvider.java1355 double longitude, double radius, int lastTransition, int monitorTransitions,
1357 return native_add_geofence(geofenceId, latitude, longitude, radius,
2560 double longitude, double radius, int lastTransition,int monitorTransitions,
2559 native_add_geofence(int geofenceId, double latitude, double longitude, double radius, int lastTransition,int monitorTransitions, int notificationResponsivenes, int unknownTimer) argument
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp231 mLightGeometry.radius = lightRadius;
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GnssLocationProvider.cpp1583 jobject /* obj */, jint geofenceId, jdouble latitude, jdouble longitude, jdouble radius,
1588 geofenceId, latitude, longitude, radius,
1582 android_location_GnssLocationProvider_add_geofence(JNIEnv* , jobject , jint geofenceId, jdouble latitude, jdouble longitude, jdouble radius, jint last_transition, jint monitor_transition, jint notification_responsiveness, jint unknown_timer) argument

Completed in 555 milliseconds

123456