• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/honeycomb/android/
History log of /frameworks/support/v4/honeycomb/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bea2fc73637a1d59eb5face20006a27df6893042 25-Sep-2012 Adam Powell <adamp@google.com> Supply the full set of make* methods in IntentCompat

IntentCompat now supports all of makeMainActivity,
makeMainSelectorActivity, and makeRestartActivityTask.

Bug 7225175

Change-Id: I4ec30058b706575aace8bd2de3bcf6749d7617ad
upport/v4/content/IntentCompatHoneycomb.java
f19cb1f3facdb9f90ef1b26537ff303eaa3db77d 17-Sep-2012 Adam Powell <adamp@google.com> Port TaskStackBuilder fixes and features from frameworks/base

Bug 6457058

Change-Id: Ibc519e1b0ef10b2fb37992d68dfc92953f0355a5
upport/v4/content/IntentCompatHoneycomb.java
97341bdc5bea1d7bf777de65228039142d249f38 20-Jul-2012 Adam Powell <adamp@google.com> Add SlidingPaneLayout

SlidingPaneLayout gives a two-pane layout suitable for use at the top
level of an activity layout. layout_width on children is treated as
a minimum width and layout_weight indicates how remaining space should
be divided, similar to LinearLayout.

When there isn't enough space to lay out the child views, remaining
views become sliding panels that can move over previous panels. If a
panel slides more than halfway out of view, it dims and will not
respond to normal touch input. Instead taps will slide the panel
closed making its content fully visible again.

Still todo:

* Keyboard support - navigating into a dimmed pane should bring the
pane back.

* requestChildRectangleOnScreen and friends

* Helpers for manipulating Up/Back in Activities

* Further testing

Change-Id: I4dae69e06d1cee4e7b68091f6bea70a317eab517
upport/v4/view/ViewCompatHC.java
8a0c51a3d438802df28612e02fdf0cc8fab06ddb 24-Jul-2012 Adam Powell <adamp@google.com> Add PageTransformers to ViewPager

PageTransformer allows an app to supply a custom step during scrolling
to transform each page view in addition to the default sliding
behavior. Setting a PageTransformer also allows the app to reverse the
drawing order for pages to accomodate certain kinds of
transformations.

Add setLayerType to ViewCompat. Make ViewPager use hardware layers for
scrolling when available and a PageTransformer is in use.

Change-Id: Icdcb7bf92ad4adb9d14e36c6048f7f5dd455437b
upport/v4/view/ViewCompatHC.java
575e098da5bc16ff8b95ca080284253fd206fe12 12-Jun-2012 Adam Powell <adamp@google.com> Allow TaskStackBuilder to be used from a Service

Add ContextCompat and pull startActivities out of ActivityCompat.

Bug 6650578

Change-Id: Ib7451d2821a60829525321c6f397bc34b1c0cf2f
upport/v4/app/ActivityCompatHoneycomb.java
upport/v4/content/ContextCompatHoneycomb.java
79a066778652bc29586d60381da0a75d741279bb 19-Apr-2012 Chris Tate <ctate@android.com> am c1ca6fda: am 993d3e48: am 0d3a6843: Merge "Support setNumber(int) in NotificationCompat.Builder"

* commit 'c1ca6fdaa0d74e2707fc70b342bf5ac9a613875e':
Support setNumber(int) in NotificationCompat.Builder
9e164ff93fd027f51f0f950d9de222a1fbaec112 18-Apr-2012 Scott Kennedy <skennedy27@gmail.com> Support setNumber(int) in NotificationCompat.Builder

The "number" parameter was ignored in NotificationCompatHoneycomb, so it does not get displayed in the notification. This simply calls through to the native Notification.Builder#setNumber(int) method.

Change-Id: Ic867efa6f4b4b79fa64723443e0df2045f262d01
Signed-off-by: Scott Kennedy <skennedy27@gmail.com>
upport/v4/app/NotificationCompatHoneycomb.java
ec03704fbb4f0217d4c274d1c6cf56e6ea4dcfbd 12-Apr-2012 Adam Powell <adamp@google.com> Add support for postOnAnimation View methods for JB.

Fallback variants for older platform versions post runnables with a
timeout value lower than that needed to achieve 60fps.

Change-Id: I807a1cbe82111a29e9459de0892f253348717c7b
upport/v4/view/ViewCompatHC.java
c9cf2eb0a9b6694d0fda3dbc313844955db60820 13-Jan-2012 Adam Powell <adamp@google.com> Add app navigation helper code to the support library.

Add TaskStackBuilder for synthesizing back stacks for cross-task
navigation on Android 3.0 and newer.

Add NavUtils for general navigation helper code.

Add NotificationCompat.Builder as a partial backport of Android 3.0's
Notification.Builder. (It does not currently support progress
notifications.)

Change-Id: I2d7d4dab3dd26e34f6b2210d0f0f3909f2162d6f
upport/v4/app/ActivityCompatHoneycomb.java
upport/v4/app/NotificationCompatHoneycomb.java
upport/v4/app/TaskStackBuilderHoneycomb.java
1935ed3af7c6545bc38adfdc6026d87a3249222f 15-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding new APIs to the support-v4 lib needed by the v4 samples (support-v4 part).

Some of the samples are using APIs that are introduced after v4 but not
supported in the v4 library. Adding the minimal necessary stuff to the
support-v4 lib to compile and run the samples.

bug:5616340

Change-Id: I103e557f8d021773d51d8383f7b6752027ca334d
upport/v4/view/MenuCompatHoneycomb.java
upport/v4/view/MenuItemCompatHoneycomb.java
upport/v4/widget/SearchViewCompatHoneycomb.java
2a4d8518f36346ea25a22a736453ff28f2954165 30-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issues 5158104 and 4981556 (fragment problems)

5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)

The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.

4981556: Fragment.mImmediateActivity doesn't get restored on orientation change

I am giving up on this thing; I just don't see how it can actually
be correct. So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.

Also add an API for controlling the visibility of menus, which ViewPager
uses to have the correct menus shows. And add a method to get the
name of a back stack entry.

Finally fix a recent problem in ViewPager with dealing with focus,
and make ViewPager smart about handling keyboard focus navigation
inside itself.

Change-Id: I280269ac64079d171e9c899ea1cff7e80246c924
upport/v4/view/KeyEventCompatHoneycomb.java
eedc67283a5a49dce86c625e54596dfdea9465a7 05-Apr-2011 Dianne Hackborn <hackbod@google.com> First submit of FragmentPager class.

This provides an easy way to build a UI where the user can
swipe left or right through its elements. The elements are
implemented as fragments, and the class takes care of managing
those fragments as the user navigates through it.

This implementation also introduces a new FragmentManager
concept of a "detached" fragment -- basically a way for you
to put a fragment in the same state as when it is on the
back stack, where the framework is managing its current state
but it is no longer actively running.

Also required the introduction of new compatibility code for
MotionEvent and VelocityTracker for accessing multi-touch data.

Change-Id: I997492cfc6f1969f1a5d775385afb830f5a47795
upport/v4/view/VelocityTrackerCompatHoneycomb.java
27aea04b07c1fafa0f815aa4f80374a9e051b41c 22-Feb-2011 Dianne Hackborn <hackbod@google.com> Implement support for menus in fragments.

This uses a little trick to be able to take care of rebuilding
the menu when the fragments change, when running on pre-HC
platforms. When running on HC or better, it uses the new API
to invalidate the menu.

Also adds a little bit of a helper for using new menu APIs and
fixes the implementation of dump() to call up to the super class
dump() when running on HC.

And fix a few problems that came up when running on Donut.

Change-Id: I2420545632796b3199d5eec90aa3f3372ceedb90
upport/v4/app/ActivityCompatHoneycomb.java
upport/v4/view/MenuCompatHoneycomb.java