History log of /frameworks/base/core/java/android/widget/DropDownListView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
99441c5d7da45c10b729185852be97cbb0bdc8d5 12-Oct-2016 Aurimas Liutikas <aurimas@google.com> Fix import statements in android.widget package.

Additionally this CL removes spaces at the end of the line.

Test: code still compiles.
Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
/frameworks/base/core/java/android/widget/DropDownListView.java
fb4cbc4a06b1ff6064c831cee8a0cded78df8442 20-Jan-2016 Alan Viverette <alanv@google.com> Postpone hover state resolution in DropDownListView

Prevents a HOVER_EXIT => TOUCH_DOWN transition from triggering two
Drawable.setState() calls in the same frame.

Bug: 25849904
Change-Id: Ib10f127fd68e433992b6b11e62ac2263d790ef52
/frameworks/base/core/java/android/widget/DropDownListView.java
be91ad5e21d917c3e9d5eff3bbd30d6df76c8213 13-Jan-2016 Alan Viverette <alanv@google.com> Remove delay before performing drop down item click

We don't show the ripple on press for bounded ripples any more, so there's
no reason to delay the click.

Also adds method annotations.

Bug: 25849904
Bug: 25821164
Change-Id: I4f493b369deb00a19345a319befa277170d09a15
/frameworks/base/core/java/android/widget/DropDownListView.java
00aa5103e2f71ad3f29f53168e37ef7da8ca03f2 03-Nov-2015 Alan Viverette <alanv@google.com> Reduce CascadingMenuPopup's reliance on internal ListView state

Bundles cascading menu information and stores it in a stack representing
the hierarchy of added menus.

Bug: 23970448
Change-Id: I1621d9eb30ff173767b6ebad2a1977127c42d0ad
/frameworks/base/core/java/android/widget/DropDownListView.java
2ac975deb3d5833ad3daf7f4325f062d875b6036 08-Oct-2015 Alan Viverette <alanv@google.com> Revert "Reduce CascadingMenuPopup's reliance on internal ListView state"

Introduced some regressions. Reverting until we can do better testing.

This reverts commit 8375d639986529969ea5e118de548d29db16ec97.

Change-Id: I9b15d63e52c814ef8985b86f8a50359e39355d39
/frameworks/base/core/java/android/widget/DropDownListView.java
8375d639986529969ea5e118de548d29db16ec97 06-Oct-2015 Alan Viverette <alanv@google.com> Reduce CascadingMenuPopup's reliance on internal ListView state

Bundles cascading menu information and stores it in a stack representing
the hierarchy of added menus.

Bug: 23970448
Change-Id: Icc0a96ea2dd4320fd4dae9626435ed82a6165480
/frameworks/base/core/java/android/widget/DropDownListView.java
23087be7792c2d22173cf022a72d0648aa430ab5 08-Sep-2015 Oren Blasberg <orenb@google.com> Cascading popup menus: open submenu on mouse hover.

When the cascading feature is enabled, users can mouseover a
submenu item in a popup menu to expand and open the new submenu
(after a short timeout). Similarly, if a user mouseovers a
different menu item in the original menu, the submenu gets closed
(again, after a short timeout).

This should complete the implementation of cascading submenu
functionality.

Also fix two other issues:

(1) Update some oudated code in PopupMenu that was still opening
the submenu when a user clicks on a submenu item; this
responsibility now lives within the MenuPopupHelper's delegate
MenuPopup class, so it doesn't need to live in PopupMenu anymore.

(2) Fix an issue where icons would be force-set on a submenu when they
should not be. Instead, decide whether to show icons in a submenu
based on whether to show them in the top level menu, as intended.

Bug: 20127825
Change-Id: Ia46852c7f99436065ab4bc234de94dffc0019666
/frameworks/base/core/java/android/widget/DropDownListView.java
8e12f8df076d38853e0fedde7ed79e2e8689d59e 02-Sep-2015 Oren Blasberg <orenb@google.com> Add Cascading submenus implementation.

This change adds a new Cascading implementation of MenuPopup. When
enabled, submenus will show up in a cascading side by side fashion
when opened next to popup menus.

Bug: 20127825
Change-Id: Ie3c797fb5dbada7521cd93dc4171950af2be2ff7
/frameworks/base/core/java/android/widget/DropDownListView.java
f44d90b5c247f0629201d1fa322b83fa55b20608 31-Aug-2015 Oren Blasberg <orenb@google.com> Pull out widget helpers into their own classes.

This is in service of desktop-style submenus. Follow up CLs will make
use of the newly independent classes. MOST of the changes in this CL
are simply moving code from one place to another. Below are
descriptions of the new files added:

DropDownListView:
Decouple this from ListPopupWindow, so other "menu popup"
implementations [forthcoming] may make use of it.
This class is UNCHANGED except for the addition of the
setListSelectionHidden method.

ForwardingListener:
Decouple this from ListPopupWindow, so that other clients of this
listener can expect a more general ShowableListMenu rather than a
concrete ListPopupWindow. This will be useful later when we want to
use something other than ListPopupWindow to show a menu.
This class is UNCHANGED, except for (1) using the getListView() on
popup rather than accessing its mDropDownList member, and (2)
replacing ListPopupWindow return values with ShowableListMenu.

MenuAdapter:
Decouple from MenuPopupHelper so it may be used by forthcoming "menu
popup" implementations rather than just by MenuPopupHelper itself.
This class is UNCHANGED.

ShowableListMenu:
A new interface to encapsulate a menu that can be shown or hidden.
This will be implemented by both ListPopupWindow and a forthcoming
"menu popup" class.

Bug: 20127825
Change-Id: I565b444d25e966ff8b8c6ceac7be8de56a9116df
/frameworks/base/core/java/android/widget/DropDownListView.java