History log of /frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d64322f4b9686fabfd5a03f402d50a8e3fe5aded 28-Aug-2013 Chris Banes <chrisbanes@google.com> Fix onContentChanged not being called in appcompat

https://code.google.com/p/android/issues/detail?id=59445

Change-Id: I66c9ae04b637ef0423451b24cb2f08c3798214ac
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8befe35284f720362ec0a862ec840bd9fb598fe4 21-Aug-2013 Chris Banes <chrisbanes@google.com> Fix android.R.id.content change

Looks like I didn't test Id425b59522b59e9db6c6f08974c648f88240f5e9
properly. This commit fixes it so that it actually works.

Change-Id: I543262a3821424e9fa92c44966f659cdaf7c7b1f
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
f53c7bf3146bf9bcba46324f9f06449df475be36 19-Aug-2013 Chris Banes <chrisbanes@google.com> Fix Title Setting if changed before setContentView

https://code.google.com/p/android/issues/detail?id=58982

Change-Id: I5fde438aee87b2f6a9a57b0853a16083aff86206
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
92b18eb0263ef2421fda5bf977fea3bf044bf941 19-Aug-2013 Chris Banes <chrisbanes@google.com> Change the content ID to be android.R.id.content

I expected this change to cause problems but it works fine
on all of the samples I've tried it on.

https://code.google.com/p/android/issues/detail?id=59118

Change-Id: Id425b59522b59e9db6c6f08974c648f88240f5e9
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
2bc5191a8cc331b404724759a015949a4b5499fb 18-Jul-2013 Chris Banes <chrisbanes@google.com> Fix ABC ActionProvider visibility refresh

The problem was <4.1's version of Activity.onPreparePanel
checks to see if menu.hasVisibleItems() == true, whereas v4.1+
just ignores this and lets the menu presenter handle it.

Bug: 9907372

Change-Id: Iea3fc048a1f147d1261dbd25615ccb92756b656c
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
904507029cd8ea2d070b6df0911b2dd36b7075a6 25-Jun-2013 Chris Banes <chrisbanes@google.com> DO NOT MERGE Fix overwriting Action Bar title

This commit fixes the Action Bar title being overwritten by
the Activity title. The wrong method on ActionBarView was
being called from Activity.onTitleChanged(), which didn't
check to see if a title had been explicitly set.

Bug: 9569582
Change-Id: I8c03fa03fc6fe34852896841fec52a3d24c080e6
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
8123e4b3d19031e34a60c0db202f0b3d100eb9d8 03-Jun-2013 Chris Banes <chrisbanes@google.com> Ensure native Action Mode position on HC

- Added a new layout to the decor for v11+
which ensures that the compat action bar
is at least invisible when a native action
mode is started.

Bug: 9251554

Signed-off-by: Chris Banes <chrisbanes@google.com>

Change-Id: I0932aaaa0b74166de6cb9134fd96d019ec204119
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
10d5cc85f23e10447e9d6fc326b963f415fbf63d 29-May-2013 Chris Banes <chrisbanes@google.com> Merge changes I93332eca,If4777c50 into jb-mr2-dev

* changes:
Rename remaining resources to use abc_ prefix
Import of SearchView into AppCompat
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e 28-May-2013 Chris Banes <chrisbanes@google.com> ActionBarCompat support for ActionBarDrawerToggle

Bug: 9167781
Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
07a07ce59efb770e9fb9ca53a0133e5e64a63bbc 23-May-2013 Chris Banes <chrisbanes@google.com> Rename remaining resources to use abc_ prefix

Bug: 9100364

Change-Id: I93332ecaf1e8d5234acf005e263c6c0309e6413f
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java
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/app/ActionBarActivityDelegateBase.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/app/ActionBarActivityDelegateBase.java
f2b7cd67036d78fd5b487b0a2dab28aee11d9c88 23-Apr-2013 Adam Powell <adamp@google.com> Remove "Compat" suffix from non-shim classes

Change-Id: I9cab9a0e7ac900b98ad019e38eb3296ea066da10
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegateBase.java