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

Commit dc4679a8 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Fix modifier-related lint erros under a.i.navigationbar

This is a mechanical cleanup CL.  There should be no behavior change.

Bug: 215443343
Test: prebuilts/checkstyle/checkstyle.py -f \
  frameworks/base/core/java/android/inputmethodservice/navigationbar/ \
  | grep "modifier"
Change-Id: Idf3c8d13c63770397e895bc05ba2374c10fb3bd1
parent f1b6f5c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ final class ButtonDispatcher {
        }
    };

    public ButtonDispatcher(int id) {
    ButtonDispatcher(int id) {
        mId = id;
    }

+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ final class DeadZone {
        }
    };

    public DeadZone(NavigationBarView view) {
    DeadZone(NavigationBarView view) {
        mNavigationBarView = view;
        onConfigurationChanged(Surface.ROTATION_0);
    }
+3 −3
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@ final class KeyButtonDrawable extends Drawable {
        }
    };

    public KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor,
    KeyButtonDrawable(Drawable d, @ColorInt int lightColor, @ColorInt int darkColor,
            boolean horizontalFlip, Color ovalBackgroundColor) {
        this(d, new ShadowDrawableState(lightColor, darkColor,
                d instanceof AnimatedVectorDrawable, horizontalFlip, ovalBackgroundColor));
@@ -433,8 +433,8 @@ final class KeyButtonDrawable extends Drawable {
        final boolean mSupportsAnimation;
        final Color mOvalBackgroundColor;

        public ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor,
                boolean animated, boolean horizontalFlip, Color ovalBackgroundColor) {
        ShadowDrawableState(@ColorInt int lightColor, @ColorInt int darkColor, boolean animated,
                boolean horizontalFlip, Color ovalBackgroundColor) {
            mLightColor = lightColor;
            mDarkColor = darkColor;
            mSupportsAnimation = animated;
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ final class KeyButtonRipple extends Drawable {

    private Type mType = Type.ROUNDED_RECT;

    public KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) {
    KeyButtonRipple(Context ctx, View targetView, @DimenRes int maxWidthResource) {
        mMaxWidthResource = maxWidthResource;
        mMaxWidth = ctx.getResources().getDimensionPixelSize(maxWidthResource);
        mTargetView = targetView;
+2 −2
Original line number Diff line number Diff line
@@ -48,8 +48,8 @@ import java.util.function.Consumer;
 * @hide
 */
public final class NavigationBarView extends FrameLayout {
    final static boolean DEBUG = false;
    final static String TAG = "NavBarView";
    private static final boolean DEBUG = false;
    private static final String TAG = "NavBarView";

    // Copied from com.android.systemui.animation.Interpolators#FAST_OUT_SLOW_IN
    private static final Interpolator FAST_OUT_SLOW_IN = new PathInterpolator(0.4f, 0f, 0.2f, 1f);
Loading