History log of /frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ActionModeWrapper.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6e6abe6eb358db4c3932752249c8ac61dd3dab21 08-May-2013 Jeff Brown <jeffbrown@google.com> Fix several issues with menu wrappers.

The menu wrappers were being created for the wrong version due to
an upside-down if tree in the menu wrapper factory.

The action provider wrapper code was duplicated and failed to
propagate the visibility changed event correctly. The new JB
API bits were also mixed into the ICS bits.

Added @Override in a few places where it was absent.

Renamed MenuWrapper to MenuWrapperFactory to avoid confusion
in the subtype relation between it and the actual wrapper types.

Simplified the wrapper hierarchy by moving construction of
support wrapper types into this factory instead of having to
override individual createXXX methods on each wrapper type.
This means we can get rid of several types, a possible diamond
inheritance hierarchy involving MenuWrapperHC and SubMenuWrapperHC
and their subtypes and the maintenance hassle of having to update
four places whenever a new version specific subtype needs to
be added.

Added a SupportSubMenu interface type to complete the set
of defined interface types.

Fixed handling of null listeners in a few places.

Bug: 8175766
Change-Id: I8c164893a6025308751a8c05671945874fe047c4
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ActionModeWrapper.java
30837f1095c803f332f4a1c3f0917c8afdd50156 24-Apr-2013 Adam Powell <adamp@google.com> API changes for support action bar menus

Refactor support action bar to use standard framework menu interfaces
instead of additional interfaces. This simplifies the API and results
in fewer disjoint callbacks which could make life difficult for
library authors.

SupportMenu/SupportMenuItem are now private implementation details of
the support lib rather than interfaces used directly by app
developers. Developers must use standard support shim *Compat classes
to access new methods, and these shims are now aware of
SupportMenu/SupportMenuItem and will do the right thing.

Fix up a few other general issues and bugs.

Change-Id: I833dce76485741b680bef84c1c0ed8d81ea57616
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ActionModeWrapper.java
d8222dedaacae30fa03bee346ebf42ee75b39928 26-Mar-2013 Chris Banes <chrisbanes@google.com> Expose support version of contextual Action Bar

This commit exposes the contextual Action Bar
to developers:

- More drawables imported (sigh).
- Using standard ActionButton style for Close button,
didn't see the point of adding yet more drawables
- Moved ActionMode.java out of internal
- Added ActionModeWrapper for HC+
- Added onBackPressed support
- Added relevant callbacks to ActionBarActivity

Change-Id: I02996621e810db6875c86cc5965ecac769459c16
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ActionModeWrapper.java