diff options
author | TacoTheDank <SkytkRSfan3895@gmail.com> | 2024-03-06 02:52:14 -0500 |
---|---|---|
committer | TacoTheDank <SkytkRSfan3895@gmail.com> | 2024-03-06 02:52:14 -0500 |
commit | c2ccc28b9513dab91e006681fd0c8fafac275623 (patch) | |
tree | 92fb4736066544322a08481fcd5d5db74b642ca6 /app/src/main/java/de/danoeh/antennapod/dialog | |
parent | 6f582e4c52ae5f6f31b2014110823f561f5eb34b (diff) | |
download | AntennaPod-c2ccc28b9513dab91e006681fd0c8fafac275623.zip |
Update SpotBugs
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/dialog')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/dialog/TimeRangeDialog.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/dialog/TimeRangeDialog.java b/app/src/main/java/de/danoeh/antennapod/dialog/TimeRangeDialog.java index 85913043e..1d84c7c22 100644 --- a/app/src/main/java/de/danoeh/antennapod/dialog/TimeRangeDialog.java +++ b/app/src/main/java/de/danoeh/antennapod/dialog/TimeRangeDialog.java @@ -139,8 +139,8 @@ public class TimeRangeDialog extends MaterialAlertDialogBuilder { } protected Point radToPoint(float angle, float radius) { - return new Point((int) (getWidth() / 2 + radius * Math.sin(-angle * Math.PI / 180 + Math.PI)), - (int) (getHeight() / 2 + radius * Math.cos(-angle * Math.PI / 180 + Math.PI))); + return new Point((int) (getWidth() / 2.0 + radius * Math.sin(-angle * Math.PI / 180.0 + Math.PI)), + (int) (getHeight() / 2.0 + radius * Math.cos(-angle * Math.PI / 180.0 + Math.PI))); } @Override |