@ -193,12 +193,12 @@ public class Camera1Fragment extends Fragment implements TextureView.SurfaceText
shutterSound . play ( ) ;
shutterSound . play ( ) ;
orderEnforcer . reset ( ) ;
orderEnforcer . reset ( ) ;
LifecycleBoundTask . run ( getLifecycle ( ) , ( ) - > {
Stopwatch fastCaptureTimer = new Stopwatch ( "Fast Capture" ) ;
Stopwatch fastCaptureTimer = new Stopwatch ( "Fast Capture" ) ;
Bitmap preview = cameraPreview . getBitmap ( ) ;
Bitmap preview = cameraPreview . getBitmap ( ) ;
fastCaptureTimer . split ( "captured" ) ;
fastCaptureTimer . split ( "captured" ) ;
LifecycleBoundTask . run ( getLifecycle ( ) , ( ) - > {
Bitmap full = preview ;
Bitmap full = preview ;
if ( Build . VERSION . SDK_INT < 28 ) {
if ( Build . VERSION . SDK_INT < 28 ) {
PointF scale = getScaleTransform ( cameraPreview . getWidth ( ) , cameraPreview . getHeight ( ) , properties . getPreviewWidth ( ) , properties . getPreviewHeight ( ) ) ;
PointF scale = getScaleTransform ( cameraPreview . getWidth ( ) , cameraPreview . getHeight ( ) , properties . getPreviewWidth ( ) , properties . getPreviewHeight ( ) ) ;