Loading app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java +1 −0 Original line number Diff line number Diff line Loading @@ -1891,6 +1891,7 @@ public class MyApplicationInterface extends BasicApplicationInterface { if( MyDebug.LOG ) Log.d(TAG, "setNextPanoramaPoint : " + x + " , " + y + " , " + z); @SuppressWarnings("PointlessArithmeticExpression") final float target_angle = 1.0f * 0.01745329252f; //final float target_angle = 0.5f * 0.01745329252f; final float upright_angle_tol = 2.0f * 0.017452406437f; Loading app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ public class DrawPreview { p.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD)); p.setStrokeCap(Paint.Cap.ROUND); scale = getContext().getResources().getDisplayMetrics().density; //noinspection PointlessArithmeticExpression this.stroke_width = (1.0f * scale + 0.5f); // convert dps to pixels p.setStrokeWidth(this.stroke_width); Loading app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +4 −1 Original line number Diff line number Diff line Loading @@ -1123,7 +1123,10 @@ public class MainUI { } public void onOrientationChanged(int orientation) { // ParameterCanBeLocal warning suppressed as it's incorrect here! (Or // possibly it's due to effect of MainActivity.lock_to_landscape always // being false.) public void onOrientationChanged(@SuppressWarnings("ParameterCanBeLocal") int orientation) { /*if( MyDebug.LOG ) { Log.d(TAG, "onOrientationChanged()"); Log.d(TAG, "orientation: " + orientation); Loading app/src/test/java/net/sourceforge/opencamera/test/UnitTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -884,6 +884,7 @@ public class UnitTest { List<HDRProcessor.LuminanceInfo> luminanceInfos = new ArrayList<>(); List<HDRProcessor.LuminanceInfo> luminanceInfosSorted; //noinspection RedundantOperationOnEmptyContainer luminanceInfos.clear(); luminanceInfos.add(new HDRProcessor.LuminanceInfo(0, 64, 255, false)); luminanceInfos.add(new HDRProcessor.LuminanceInfo(16, 80, 255, false)); Loading Loading
app/src/main/java/net/sourceforge/opencamera/MyApplicationInterface.java +1 −0 Original line number Diff line number Diff line Loading @@ -1891,6 +1891,7 @@ public class MyApplicationInterface extends BasicApplicationInterface { if( MyDebug.LOG ) Log.d(TAG, "setNextPanoramaPoint : " + x + " , " + y + " , " + z); @SuppressWarnings("PointlessArithmeticExpression") final float target_angle = 1.0f * 0.01745329252f; //final float target_angle = 0.5f * 0.01745329252f; final float upright_angle_tol = 2.0f * 0.017452406437f; Loading
app/src/main/java/net/sourceforge/opencamera/ui/DrawPreview.java +1 −0 Original line number Diff line number Diff line Loading @@ -247,6 +247,7 @@ public class DrawPreview { p.setTypeface(Typeface.create(Typeface.DEFAULT, Typeface.BOLD)); p.setStrokeCap(Paint.Cap.ROUND); scale = getContext().getResources().getDisplayMetrics().density; //noinspection PointlessArithmeticExpression this.stroke_width = (1.0f * scale + 0.5f); // convert dps to pixels p.setStrokeWidth(this.stroke_width); Loading
app/src/main/java/net/sourceforge/opencamera/ui/MainUI.java +4 −1 Original line number Diff line number Diff line Loading @@ -1123,7 +1123,10 @@ public class MainUI { } public void onOrientationChanged(int orientation) { // ParameterCanBeLocal warning suppressed as it's incorrect here! (Or // possibly it's due to effect of MainActivity.lock_to_landscape always // being false.) public void onOrientationChanged(@SuppressWarnings("ParameterCanBeLocal") int orientation) { /*if( MyDebug.LOG ) { Log.d(TAG, "onOrientationChanged()"); Log.d(TAG, "orientation: " + orientation); Loading
app/src/test/java/net/sourceforge/opencamera/test/UnitTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -884,6 +884,7 @@ public class UnitTest { List<HDRProcessor.LuminanceInfo> luminanceInfos = new ArrayList<>(); List<HDRProcessor.LuminanceInfo> luminanceInfosSorted; //noinspection RedundantOperationOnEmptyContainer luminanceInfos.clear(); luminanceInfos.add(new HDRProcessor.LuminanceInfo(0, 64, 255, false)); luminanceInfos.add(new HDRProcessor.LuminanceInfo(16, 80, 255, false)); Loading