Loading core/java/com/android/internal/view/menu/CascadingMenuPopup.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -61,9 +61,6 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey */ */ private static final int SUBMENU_TIMEOUT_MS = 200; private static final int SUBMENU_TIMEOUT_MS = 200; /** List of menus that were added before this popup was shown. */ private final LinkedList<MenuBuilder> mPendingMenus = new LinkedList<MenuBuilder>; private final Context mContext; private final Context mContext; private final int mMenuMaxWidth; private final int mMenuMaxWidth; private final int mPopupStyleAttr; private final int mPopupStyleAttr; Loading @@ -71,6 +68,9 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey private final boolean mOverflowOnly; private final boolean mOverflowOnly; private final Handler mSubMenuHoverHandler; private final Handler mSubMenuHoverHandler; /** List of menus that were added before this popup was shown. */ private final List<MenuBuilder> mPendingMenus = new LinkedList<>(); /** /** * List of open menus. The first item is the root menu and each * List of open menus. The first item is the root menu and each * subsequent item is a direct submenu of the previous item. * subsequent item is a direct submenu of the previous item. Loading Loading
core/java/com/android/internal/view/menu/CascadingMenuPopup.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -61,9 +61,6 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey */ */ private static final int SUBMENU_TIMEOUT_MS = 200; private static final int SUBMENU_TIMEOUT_MS = 200; /** List of menus that were added before this popup was shown. */ private final LinkedList<MenuBuilder> mPendingMenus = new LinkedList<MenuBuilder>; private final Context mContext; private final Context mContext; private final int mMenuMaxWidth; private final int mMenuMaxWidth; private final int mPopupStyleAttr; private final int mPopupStyleAttr; Loading @@ -71,6 +68,9 @@ final class CascadingMenuPopup extends MenuPopup implements MenuPresenter, OnKey private final boolean mOverflowOnly; private final boolean mOverflowOnly; private final Handler mSubMenuHoverHandler; private final Handler mSubMenuHoverHandler; /** List of menus that were added before this popup was shown. */ private final List<MenuBuilder> mPendingMenus = new LinkedList<>(); /** /** * List of open menus. The first item is the root menu and each * List of open menus. The first item is the root menu and each * subsequent item is a direct submenu of the previous item. * subsequent item is a direct submenu of the previous item. Loading