Loading quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import android.graphics.Region; import android.graphics.Region.Op; import android.graphics.drawable.AnimatedVectorDrawable; import android.graphics.drawable.PaintDrawable; import android.inputmethodservice.InputMethodService; import android.util.Property; import android.view.Gravity; import android.view.MotionEvent; Loading Loading @@ -591,6 +592,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT return; } if (InputMethodService.canImeRenderGesturalNavButtons() && mContext.isGestureNav()) { // IME is rendering the nav buttons, so we don't need to create a new layer for them. return; } mSeparateWindowParent.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { @Override public void onViewAttachedToWindow(View view) { Loading quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +4 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,10 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ return mNavMode == Mode.THREE_BUTTONS; } public boolean isGestureNav() { return mNavMode == Mode.NO_BUTTON; } public int getLeftCornerRadius() { return mLeftCorner == null ? 0 : mLeftCorner.getRadius(); } Loading Loading
quickstep/src/com/android/launcher3/taskbar/NavbarButtonsViewController.java +6 −0 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ import android.graphics.Region; import android.graphics.Region.Op; import android.graphics.drawable.AnimatedVectorDrawable; import android.graphics.drawable.PaintDrawable; import android.inputmethodservice.InputMethodService; import android.util.Property; import android.view.Gravity; import android.view.MotionEvent; Loading Loading @@ -591,6 +592,11 @@ public class NavbarButtonsViewController implements TaskbarControllers.LoggableT return; } if (InputMethodService.canImeRenderGesturalNavButtons() && mContext.isGestureNav()) { // IME is rendering the nav buttons, so we don't need to create a new layer for them. return; } mSeparateWindowParent.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { @Override public void onViewAttachedToWindow(View view) { Loading
quickstep/src/com/android/launcher3/taskbar/TaskbarActivityContext.java +4 −0 Original line number Diff line number Diff line Loading @@ -256,6 +256,10 @@ public class TaskbarActivityContext extends ContextThemeWrapper implements Activ return mNavMode == Mode.THREE_BUTTONS; } public boolean isGestureNav() { return mNavMode == Mode.NO_BUTTON; } public int getLeftCornerRadius() { return mLeftCorner == null ? 0 : mLeftCorner.getRadius(); } Loading