History log of /frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.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/ActionBarActivityDelegate.java
6d073ad3ff82043ea7617c395413a07ac086203f 08-Aug-2013 Chris Banes <chrisbanes@google.com> Merge "Fix homeAsUp on ICS with AppCompat" into jb-mr2-ub-dev
8fcdb874200960138b32eb3b276a801f619b69b1 07-Aug-2013 Chris Banes <chrisbanes@google.com> Fix homeAsUp on ICS with AppCompat

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

Change-Id: I75cf9d356f418d44472e64fcec9972832fd609c1
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.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/ActionBarActivityDelegate.java
bb994e828a647d6ca3c2480293e7a6e3a4c19952 01-Aug-2013 Chris Banes <chrisbanes@google.com> Automatically enable 'Display as Up' if parent set

This commit enabled the 'display as up' option if the
Activity has a parent Activity set.

Bug: 10114222
Change-Id: I89d3aeb18fb3af62f435ce7769c8953829ca193f
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.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/ActionBarActivityDelegate.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/ActionBarActivityDelegate.java
89208232f3b5d1451408d787872504a190bc7ee0 31-May-2013 Chris Banes <chrisbanes@google.com> Remove Native Action Bar support for Honeycomb

- Tweaked config & bool resources so that large & xlarge
match the width qualified resources as much as possible.
- Added CompatTextView which implements textAllCaps for
all platforms.
- Added @hide to internal classes which it was missing

Bug: 9218989

Change-Id: I038d8ab7261d6c1d5cb039cd17903a43d09183c2
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java
0d7ad0b89aeb8bafd4ccab0f5ccb71f89f415192 29-May-2013 Chris Banes <chrisbanes@google.com> Merge "Fix Context MenuInflater is created with" into jb-mr2-dev
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/ActionBarActivityDelegate.java
baf2251209e04f0dac4ec7e5d8c0bfc0014c4038 14-May-2013 Chris Banes <chrisbanes@google.com> Fix Context MenuInflater is created with

Looks like I missed this in the refactoring. Should
fix 8949883.

Change-Id: I6bec4d0adb9a96c83193d2d796b7a1c166da5c53
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java
03527a1c5ca870353671fd8b97a08a989fe62012 30-Apr-2013 Chris Banes <chrisbanes@google.com> Fix provided MenuInflater for Fragments

This commit fixes the type of MenuInflater that is
given to fragments when using ActionBarActivity.
Currently, the platform version of MenuInflater is
passed through, whereas SupportMenuInflater should be.

Change-Id: I7a4504aeae2795e8d9d6f4cd4ecd20b8d4ea7602
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.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/ActionBarActivityDelegate.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/ActionBarActivityDelegate.java
e77f24fdb79c4c0d9d4ae5f7c5e040f4a5bcab42 04-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Animate Action Bar show/hide" into jb-mr2-dev
a1fae63dbeeef71c2daa25bfcaa2348bffc369aa 03-Apr-2013 Chris Banes <chrisbanes@google.com> Animate Action Bar show/hide

This commit animates the showing or hiding of
the compat Action Bar.

This commit also fixes the hiding of the split
Action Bar (animated or not).

Change-Id: I38f1096be719809722c85ceffec14ebeac291863
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java
ed34e2dffd0ce7da89063d06fd3b25687ca367a2 02-Apr-2013 Chris Banes <chrisbanes@google.com> Add Progress Bar support to Action Bar

This commit adds support for displaying a progress
bar on the action:
- Support version of Activity.setProgress* have been
added to ActionBarActivity
- We use the platform's ProgressBar styles, so remove
the now unused drawable.
- As a bit of tidy-up, I renamed the internal version
of requestWindowFeature to match the public name.
- Added ICS version of ProgressBar.java. This was
was needed as ICS added a constructor which we
need.

Change-Id: I865fb3bc3039b30b9f784e1e7e8f5d8d9b5744d3
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java
556ac47ce764a4a9320b5ac914536e9da2524176 02-Apr-2013 Chris Banes <chrisbanes@google.com> Mimic PhoneWindow's initial menu creation (compat)

This commit re-works the initial menu creation in
ActionBarActivityDelegateCompat. This means that
supportInvalidateOptionsMenu() can be called anywhere
in onCreate without problem. Fixes 8474759.
As a result, the now unused onPostCreate calls have
been removed.

This is exactly the same change as
Ib376dfc52b51a066a117f0006cd02d50342186ac (which was
approved), but I somehow managed to break my git branch
while rebasing.

Change-Id: I040eff668eb04c68700d8520cd712acf8f61281a
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java
5a2bcc375e046c5b6644dcc4d331d3fca0778aed 28-Mar-2013 Chris Banes <chrisbanes@google.com> Tidy up Delegates + Enforce AppCompat theme usage

This commit moves all variables and state into the relevant
delegate classes. This means that ActionBarActivity is now
merely a call proxy and entry point.

As we now have a common class amongst the delegates, I also
fixed the issue where we do not enforce the usage of AppCompat
styles. This will fix issue 8124469.

Change-Id: If055906e754ceda471260f3160009cb384703ecd
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.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/app/ActionBarActivityDelegate.java
3954d59cb6073615ead9dd34cbdba9e16b8c5b6f 25-Mar-2013 Chris Banes <chrisbanes@google.com> Add Split Action Bar Support

This commit fixes support for the split action bar
on devices running < 3.0:

- Imported ab_bottom* drawables
- Added windowSplitActionBar attri
- Added metadata parsing so which allows per-Activity
enabling of split when narrow:
<meta-data android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />

- The Activity delegate has been split out into a
seperate abstract base class for common code.

Change-Id: I9eba5c11aec69f3458de4f84aefc6fbd6c91b4c6
Signed-off-by: Chris Banes <chrisbanes@google.com>
/frameworks/support/v7/appcompat/src/android/support/v7/app/ActionBarActivityDelegate.java