Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8442b945 authored by Cosmin Băieș's avatar Cosmin Băieș
Browse files

FullScreenMagnificationController cleanup

This fixes some invalid javadoc references.

Flag: EXEMPT cleanup
Bug: 281029564
Test: presubmit
Change-Id: I133aae327776f1cdff629dbd60a739b59a3091a2
parent e5094e86
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ import java.util.function.Supplier;
 * holding the current state of magnification and animation, and it handles
 * communication between the accessibility manager and window manager.
 *
 * Magnification is limited to the range controlled by
 * <p>Magnification is limited to the range controlled by
 * {@link MagnificationScaleProvider#constrainScale(float)}, and can only occur inside the
 * magnification region. If a value is out of bounds, it will be adjusted to guarantee these
 * constraints.
@@ -448,7 +448,7 @@ public class FullScreenMagnificationController implements
        }

        @Override
        public void onMagnificationRegionChanged(Region magnificationRegion) {
        public void onMagnificationRegionChanged(@NonNull Region magnificationRegion) {
            final Message m = PooledLambda.obtainMessage(
                    DisplayMagnification::updateMagnificationRegion, this,
                    Region.obtain(magnificationRegion));
@@ -1200,7 +1200,7 @@ public class FullScreenMagnificationController implements
     * Start tracking the magnification region for services that control magnification and the
     * magnification gesture handler.
     *
     * This tracking imposes a cost on the system, so we avoid tracking this data unless it's
     * <p>This tracking imposes a cost on the system, so we avoid tracking this data unless it's
     * required.
     *
     * @param displayId The logical display id.
@@ -1928,8 +1928,8 @@ public class FullScreenMagnificationController implements

    /**
     * Persists the default display magnification scale to the current user's settings
     * <strong>if scale is >= {@link MagnificationConstants.PERSISTED_SCALE_MIN_VALUE}</strong>.
     * We assume if the scale is < {@link MagnificationConstants.PERSISTED_SCALE_MIN_VALUE}, there
     * <strong>if scale is >= {@link MagnificationConstants#PERSISTED_SCALE_MIN_VALUE}</strong>.
     * We assume if the scale is < {@link MagnificationConstants#PERSISTED_SCALE_MIN_VALUE}, there
     * will be no obvious magnification effect.
     * Only the value of the default display is persisted in user's settings.
     */