Fix system library search path.

Bug: 8162719

Change-Id: I87421fdbafcc9f05692dc9e09ae5474fbb8bb02d
merge in jb-mr2-release history after reset to master
Start import Holo Drawables into AppCompat

This commit imports a number of drawables used for
the ActionBar/Tabs for use on pre-HC devices. Work on
fixing the styles and themes has also started.

Change-Id: I7b132d069eb82210c97aa90eefc11d8f67fef609
Signed-off-by: Chris Banes <chrisbanes@google.com>
merge in jb-mr2-release history after reset to master
merge in jb-mr2-release history after reset to jb-mr2-dev
Improve Menu List styling on pre-HC devices

This commit improves the styling of the menu panel
shown on < HC devices when using the Action Bar.
We now keep the native black background regardless
of base theme, maintaining the native framework
aesthetic as much as possible.

Change-Id: I049e3f0d78154f1467cc97fee82d4aecc5966034
Signed-off-by: Chris Banes <chrisbanes@google.com>
Remove extraneous logging.

Change-Id: Ibc6580e8410f4a3b2d2590491ad1fb91bed66597
Merge "Improve Menu List styling on pre-HC devices"
Merge "Start import Holo Drawables into AppCompat"
Propogate support menu callbacks to Fragments

This commit adds a new Fragment subtype which contains versions
of the support menu calls. A number of changes to ActionBarActivity
have been needed to make this possible:

- ActionBarActivity and related classes have been moved to the
  android.support.v4.app package.
- FragmentManagerImpl instance creation has been moved to a method
  in both FragmentActivity and Fragment, so that we can return a
  new sub-type: SupportMenuFragmentManager
- FragmentManagerImpl is no longer final
- The compat ActionBar menu set up has been changed so that it happens
  in onPostCreate. This is so that any fragments can be added in onCreate.

Change-Id: Iad4cb121ed99780ea6f207991bd65c2be4b6d69b
Add Support for supportInvalidateOptionsMenu()

This commit adds support for applications to call
supportInvalidateOptionsMenu() and the Action Bar's
contents being changed appropriately.

This commit also changes how onCreatePanelView works
so that it more closely follows how the framework calls
onCreateOptionsMenu, etc.

Change-Id: I0cf356b2883e44b054b87fad9177753b87e7c16d
Signed-off-by: Chris Banes <chrisbanes@google.com>
merge in jb-mr2-release history after reset to jb-mr2-dev
am 20b97817: am c04bbbd7: am 77ac1399: am c56ba65d: Factor ViewDragHelper out from SlidingPaneLayout

* commit '20b97817bdcee7aed1374664b86d376a9dcb9d86':
  Factor ViewDragHelper out from SlidingPaneLayout
am c9b1613a: am 4d3b5a07: am 5e2013a3: am b9e34c7d: Make ScrollerCompat public/expand it

* commit 'c9b1613aff016e8e29200b2426d24f801c0c6a9b':
  Make ScrollerCompat public/expand it
am 39ca1329: Merge "Add support and better exceptions for Bitmaps with a null config." into jb-mr2-dev

* commit '39ca1329666b390e123c190f663d30c826282b4f':
  Add support and better exceptions for Bitmaps with a null config.
am e2a8c471: am 607f7583: am c30e9f8d: am 3f50aafe: Fix SlidingPaneLayout dim threshold calculation

* commit 'e2a8c471e341b87448e38bff85c8937025f178c7':
  Fix SlidingPaneLayout dim threshold calculation
Move support Menu interfaces + callbacks to v4

This moves the Menu* interfaces used for the ActionBar
into android-support-v4. This allows us to remove
ActionBarFragment and related hackery.

This commit just keeps us at the same level of functionality,
but is a cleaner implementation. A future feature would be
to enable the use of the support Menu when not using
ActionBarActivity.

Change-Id: I3de7695d4db0b9626f2bc9ed49ad0528146dc093
Signed-off-by: Chris Banes <chrisbanes@google.com>
Fix Conflict with ActionBarSherlock

We've had to rename getSupportMenuInflater() to
getCompatMenuInflater() for now to fix the build.

This should be reverted before launch!

Change-Id: I759e436549b9d3cc22e84650a0f8fafd599412f3
Signed-off-by: Chris Banes <chrisbanes@google.com>
Fix NPE when using support menu with Fragment

This should have been included in change:
I3de7695d4db0b9626f2bc9ed49ad0528146dc093 but
it seems to have been missed.

Change-Id: I76be4eb4f327bed6f9cb9a3ef8b1370d841bab2f
Signed-off-by: Chris Banes <chrisbanes@google.com>
Fix List Navigation on pre-HC devices

This commit fixes the use of list navigation on
the action bar. To make this possible:

- Imported Spinner and parents from ICS source.
- Imported a number of Holo resources, roughly 10
  drawables per density. This wasn't ideal but our
  drawable-*dpi dirs still only amount to ~40KB.

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