• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/java/android/
History log of /frameworks/support/v4/java/android/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a91bf644ea3e07a52da5f1741b9b229493c84f9 28-Jan-2015 Yigit Boyar <yboyar@google.com> Avoid NPE when an animated View disappears before animation starts.

This CL fixes a bug in animations compatibility lib where we would try to
access an already GC'ed view, causing a NPE. Instead, we'll silently skip
the operation.

Bug: 19117123
Change-Id: If6d57ccc9c8ba42107d528243d21bc391932657c
upport/v4/view/ViewPropertyAnimatorCompat.java
1c91ca160d4a8f4f3cf3cf2a8672e0ccd16d88d4 09-Jan-2015 RoboErik <epastern@google.com> Do not merge. Register a callback to push volume updates in MediaSessionCompat

We had forgotten to set a listener for volume changes on in
MediaSessionCompat when a VolumeProviderCompat is set. Without this
future volume changes won't be reported correctly to observers on pre-L
devices.

bug:18959923
Change-Id: I3b136c6bf923b3a2e30e7894fffb38feccd206c6
upport/v4/media/session/MediaSessionCompat.java
85c80926a4f0c319966e4b48b47e5ec10846ffd2 05-Dec-2014 RoboErik <epastern@google.com> Merge "Make MediaSessionCompat/MediaControllerCompat work pre 21" into lmp-mr1-dev
e49860b0f76d8336c1d41831ed370b0ff94278ef 04-Dec-2014 RoboErik <epastern@google.com> Make MediaSessionCompat/MediaControllerCompat work pre 21

This adds support for cross-process communication between MediaSessionCompat
and MediaControllerCompat. This is to support apps that split their playback
service and ui into different processes and to work with the MediaRouter
support lib.

bug:18186638
Change-Id: Ib554108fd4db5a9855d482cf3d61ce3d8d9c8850
upport/v4/media/MediaMetadataCompat.aidl
upport/v4/media/RatingCompat.aidl
upport/v4/media/session/IMediaControllerCallback.aidl
upport/v4/media/session/IMediaSession.aidl
upport/v4/media/session/MediaControllerCompat.java
upport/v4/media/session/MediaSessionCompat.aidl
upport/v4/media/session/MediaSessionCompat.java
upport/v4/media/session/ParcelableVolumeInfo.aidl
upport/v4/media/session/ParcelableVolumeInfo.java
upport/v4/media/session/PlaybackStateCompat.aidl
upport/v4/media/session/PlaybackStateCompat.java
fc0482c4c7afa4ecc24c0f65d41ebe824fff04fd 04-Dec-2014 Maxim Bogatov <maximbogatov@google.com> Merge "get/set TraversalBefore/TraversalAfter methods to AccessibilityNodeInfoCompat" into lmp-mr1-dev
99946b93e554c4a074bcc08d0ebac48fb0b49130 03-Dec-2014 Alan Viverette <alanv@google.com> Merge "Compat method for two-arg Resources.getDrawableForDensity()" into lmp-mr1-dev
acbc0ab18c9acc81e311fbeb31d9849153d54e3c 03-Dec-2014 Maxim Bogatov <maximbogatov@google.com> get/set TraversalBefore/TraversalAfter methods to AccessibilityNodeInfoCompat

Change-Id: I080d88a662a1d7535064f8d7477749cf654c0328
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
443cb471a7e4f6822e31ac0fc9a003756aca9382 03-Dec-2014 Maxim Bogatov <maximbogatov@google.com> Merge "adding isImportantForAccessibility() to ViewCompat" into lmp-mr1-dev
b5538e1e9fdc71d53e353ef42d4a76ddf813c318 03-Dec-2014 Alan Viverette <alanv@google.com> Compat method for two-arg Resources.getDrawableForDensity()

BUG: 18579576
Change-Id: Ib4eb69e462284c793ff06c38909c3769e29a698a
upport/v4/content/res/ResourcesCompat.java
5c9469e010106467791b47b0fa83efda84491a21 25-Nov-2014 RoboErik <epastern@google.com> Add backwards compatibility to MediaSessionCompat

Make MediaSessionCompat backwards compatible using RCC on APIs 14-20
and MediaSession on 21+. Verified on API 16.

bug:18186638
Change-Id: I7cca9d85d4377a69366d69c0fa59b9739cd51233
upport/v4/media/MediaMetadataCompat.java
upport/v4/media/session/MediaSessionCompat.java
aeb95a772d4365008145407ed52dfbaa61d3c4ac 25-Nov-2014 RoboErik <epastern@google.com> Finish stubbing out MediaControllerCompat APIs

This makes sure MediaControllerCompat has all the methods MediaController
has and passes calls through to the framework component on 21+. This does
not do backwards compatibility yet.

Change-Id: I96cf0bb0e33c09c74edf79e276feb5d6829b7a1f
upport/v4/media/session/MediaControllerCompat.java
upport/v4/media/session/PlaybackStateCompat.java
9a74fd04b12db4e2b69a5909d49f9ad12bf7020a 26-Nov-2014 Ying Wang <wangying@google.com> Merge "Fix docs." into lmp-mr1-dev
b6362d072f329a3207aa709ac6b79a4aa3c4d522 26-Nov-2014 Ying Wang <wangying@google.com> Fix docs.

Change-Id: Iba38cc5b58c1dcf4cac5a0981f281461e684b881
upport/v4/media/session/MediaSessionCompat.java
d2f68007428ed6785adcf572d47ed0f8c5c99556 26-Nov-2014 Alan Viverette <alanv@google.com> Send window state change when DrawerLayout is opened

BUG: 18513382
Change-Id: I247aa2b1cf8c2099d1f3f871119e7882ff9b6e28
upport/v4/widget/DrawerLayout.java
c8808cda05f76da93c0fdaceae6cb3a2bdf14b8c 25-Nov-2014 Alan Viverette <alanv@google.com> Merge "Ensure DrawerLayout does not receive accessibility focus" into lmp-mr1-dev
2e8572c7a0f35ca607038064d47d7f683ebed4ef 25-Nov-2014 Maxim Bogatov <maximbogatov@google.com> adding isImportantForAccessibility() to ViewCompat

bug: 18255648 - ViewCompat should have isImportantForAccessibility
Change-Id: Ieb3effd3488cb4821be9fc51d84ca6d99225093f
upport/v4/view/ViewCompat.java
6f5a77c8997f84882ab0fd807e58c4f5210135e1 25-Nov-2014 RoboErik <epastern@google.com> Merge "Finish stubbing out MediaSessionCompat" into lmp-mr1-dev
a427d78447db01ada0b7b293e77ba0afcefd5a86 25-Nov-2014 RoboErik <epastern@google.com> Merge "Update the support lib MediaRouter dialogs" into lmp-mr1-dev
4b1190de13d6408e24cbda5f77e6148f54206fd0 24-Nov-2014 Alan Viverette <alanv@google.com> Ensure DrawerLayout does not receive accessibility focus

Also prevents hover events from falling through Toolbar.

BUG: 18378959
Change-Id: Iaab2e9984b2b09dc41e733b9276cafe7ab556c98
upport/v4/widget/DrawerLayout.java
ceb8bf5e5cce7a37736981e626c4be416378767b 21-Nov-2014 RoboErik <epastern@google.com> Finish stubbing out MediaSessionCompat

This adds all the methods in MediaSession to MediaSessionCompat and
the code to pass it through to the framework version when available.

This does not add support for pre-L.

bug:18186638
Change-Id: Icfc80df088db87b6eff629edbc08b4107fbe2821
upport/v4/media/session/MediaSessionCompat.java
94be6100218126ce6a08bf1f56209578500b361f 28-Oct-2014 RoboErik <epastern@google.com> Update the support lib MediaRouter dialogs

This updates the UI for MediaRouter dialogs to use the new material
designs for MediaRouter. This doesn't update everything and new
icons are still needed.

Change-Id: I87c7c63c10ac60448251a8fc1fc4740a12f1603c
upport/v4/media/session/MediaControllerCompat.java
05bc3aaa395a0de55ec2e1f30d69bc6d1c18b150 21-Nov-2014 Zhen Yu Song <zhensong@google.com> + Make getters in UnreadConversation public.

Change-Id: I60d823cf14ed4b902880ab6727700e8d4b8ffa7c
upport/v4/app/NotificationCompat.java
c4b03b43e840f120264272589ad36bd1107a9858 20-Nov-2014 RoboErik <epastern@google.com> Merge "Make the method for getting a compat Token from a Token static" into lmp-mr1-dev
4e3b8470fa30cba04e2fb6b95516cff8f3e1e499 19-Nov-2014 RoboErik <epastern@google.com> Make the method for getting a compat Token from a Token static

I accidentally a keyword.

bug:18186638
Change-Id: I137e1442c7c493f4a95020474fc82a8a2d67abef
upport/v4/media/session/MediaSessionCompat.java
fba186db946a3cc1ee43cda6c40ab933b392f47e 18-Nov-2014 Griff Hazen <griff@google.com> am db11b694: Improve doc for {get,set}HintAvoidBackgroundClipping (support)

* commit 'db11b694337b2a9320d7d7a5e156169a08d28a6d':
Improve doc for {get,set}HintAvoidBackgroundClipping (support)
db11b694337b2a9320d7d7a5e156169a08d28a6d 18-Nov-2014 Griff Hazen <griff@google.com> Improve doc for {get,set}HintAvoidBackgroundClipping (support)

Bug: 18414403
Change-Id: I99f06dab904b1094f0c3b330cbe4a91aa2c8dfd2
upport/v4/app/NotificationCompat.java
70c9e0254b582c099be6356c700da01f997ec43c 17-Nov-2014 RoboErik <epastern@google.com> Merge "Add a way to create a compat Token from a fw Token" into lmp-mr1-dev
ae70d8d953ef632acb9f176609a1f75bd948d101 13-Nov-2014 RoboErik <epastern@google.com> Add a way to create a compat Token from a fw Token

Adds a method to MediaSessionCompat.Token for creating a Token from a
framework token.

Change-Id: Ic0412e24256536666162781e3241e5e43e25204f
upport/v4/media/session/MediaSessionCompat.java
918610bc63672454c2a0eff0eb8c4d28a5aa3695 13-Nov-2014 Mindy Pereira <mindyp@google.com> Merge "Add secondary method for setting background from color as well as resource" into lmp-mr1-dev
9f59f1b742ff350cea24ba5b44a485725fe0f0cc 13-Nov-2014 Zhen Yu Song <zhensong@google.com> am 8eb16c1d: + Moved CarExtender to NotificationCompat Bug: 18316420

* commit '8eb16c1d9f309b829348e3c9342b745ce8cdef44':
+ Moved CarExtender to NotificationCompat Bug: 18316420
8eb16c1d9f309b829348e3c9342b745ce8cdef44 11-Nov-2014 Zhen Yu Song <zhensong@google.com> + Moved CarExtender to NotificationCompat
Bug: 18316420

Change-Id: I06471ad6e71eb7c87415aa263a0a8ad9563761bc
(cherry picked from commit 73342e6c85cc814b7117fb3a642c230021d6b7e9)
upport/v4/app/NotificationCompat.java
73342e6c85cc814b7117fb3a642c230021d6b7e9 11-Nov-2014 Zhen Yu Song <zhensong@google.com> + Moved CarExtender to NotificationCompat
Bug: 18316420

Change-Id: I06471ad6e71eb7c87415aa263a0a8ad9563761bc
upport/v4/app/NotificationCompat.java
632a868ed6fbf897464f280c236802aff8fb596b 12-Nov-2014 Adam Powell <adamp@google.com> am f8fb0e17: Merge "Update SearchView suggestions so we display the commit icon DO NOT MERGE" into lmp-dev

* commit 'f8fb0e17c889d27fca0d8aec7e017f4c988e549c':
Update SearchView suggestions so we display the commit icon DO NOT MERGE
f8fb0e17c889d27fca0d8aec7e017f4c988e549c 12-Nov-2014 Adam Powell <adamp@google.com> Merge "Update SearchView suggestions so we display the commit icon DO NOT MERGE" into lmp-dev
d9df810a8e9ac28148c853249f0951329053c784 04-Nov-2014 Mindy Pereira <mindyp@google.com> Add secondary method for setting background from color as well as resource

Fixes b/18235547 SwipeRefreshLayout method setProgressBackgroundColor(int colorRes)
has no comparable method for color values

Change-Id: I7f6abaa2cbed3b4bd3818da63a11c9c20ef95dc1
upport/v4/widget/CircleImageView.java
upport/v4/widget/SwipeRefreshLayout.java
0b86ed778a7eba63c1df0b2949f16442d9fbe0e0 10-Nov-2014 Alan Viverette <alanv@google.com> am a8fb4e28: Merge "Don\'t mangle DrawerLayout node hierarchy on KitKat and above" into lmp-dev

* commit 'a8fb4e28e21d0f8f9a454fc0aec4fde4d6a39e45':
Don't mangle DrawerLayout node hierarchy on KitKat and above
157f41cf6f53b3e8581fb364d585ead1072f3aa4 10-Nov-2014 Mindy Pereira <mindyp@google.com> am 34e51983: DO NOT MERGE Remove flash between finishing last swipe circle and starting progress animation

* commit '34e51983e91b0e084786129cb81117d038f88684':
DO NOT MERGE Remove flash between finishing last swipe circle and starting progress animation
a8fb4e28e21d0f8f9a454fc0aec4fde4d6a39e45 10-Nov-2014 Alan Viverette <alanv@google.com> Merge "Don't mangle DrawerLayout node hierarchy on KitKat and above" into lmp-dev
5d20e496208b8c5438f11f593989f40e1aa3604f 21-Oct-2014 Alan Viverette <alanv@google.com> Don't mangle DrawerLayout node hierarchy on KitKat and above

DO NOT MERGE Prevents NPE on TOUCH_DOWN with no child under touch point. Also fixes
importance management so that multiple content views are supported
correctly.

BUG: 17953555
BUG: 18070692
Change-Id: I12cb44adbe8f907544aad4af3068a5f6aba1ef1b
(cherry picked from commit 2bb8d4e8831b2d0f1de7f15493bb79f48c91db2a)
upport/v4/widget/DrawerLayout.java
34e51983e91b0e084786129cb81117d038f88684 29-Oct-2014 Mindy Pereira <mindyp@google.com> DO NOT MERGE Remove flash between finishing last swipe circle and starting progress animation

By combining the finish and regular animation into one, we don't need to start the regular spinner animation on finishing the
completion animation, and there is no need to track if the animation was intentionally
stopped.
Fixes b/17534030 Pull to refresh spinner has a flash during the first color transition

Change-Id: I3d77bc09f2c2ea54ce1ee7ab0a65af2988f7d9f7

Conflicts:
v4/java/android/support/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/MaterialProgressDrawable.java
46baa1b3e02486238b6cd41b6b373dd2799b39d8 23-Oct-2014 Chris Banes <chrisbanes@google.com> Update SearchView suggestions so we display the commit icon DO NOT MERGE

Depends on Id57fb56f4d7a62f76c4ca6160ebfdc5ac561f37a

BUG: 18030252

Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
upport/v4/content/res/ResourcesCompat.java
fdc56cc0a07ac0fcf9367216d4b1ebc1a64e4fc0 07-Nov-2014 Scott Kennedy <skennedy@google.com> Merge "Add a method to get the status bar background drawable" into lmp-mr1-dev
8c1ad6929044cda94be9a295f7a5d281aae325da 06-Nov-2014 RoboErik <epastern@google.com> Merge "Add MediaDescriptionCompat to the support lib" into lmp-mr1-dev
98224c2d1f5aa2b01c377483e4e076d1fad8f529 06-Nov-2014 George Mount <mount@google.com> Merge "Only modify add Transition targets when they aren't targeted." into lmp-mr1-dev
c766ad5a6e0c115f08b933ede22375c7070a3391 31-Oct-2014 George Mount <mount@google.com> Only modify add Transition targets when they aren't targeted.

Bug 18191727

Transitions were targeting specific views, but they do this by
adding targets. If there was already a view targeted, now that
transition also targeted a different view. This prevents that
by only targeting views when no target was given.

Change-Id: I003d531c6d249e5fdec5a544d37220350838bb3a
upport/v4/app/BackStackRecord.java
753354ca64f8528ddc3b76d0ce69635de743e506 06-Nov-2014 Scott Kennedy <skennedy@google.com> Add a method to get the status bar background drawable

This is required for animating a change in status bar color, as we
need to know the start state.

Bug: 18033736
Change-Id: Ia70dcd03ec4016111c5c807d79ea7b5f88d2a22c
upport/v4/widget/DrawerLayout.java
cf9daf1b11f55ecb9f4008cd1c7af2c8dac990af 30-Oct-2014 RoboErik <epastern@google.com> Add MediaDescriptionCompat to the support lib

This is needed to support changes to MediaRouter.

bug:17879842
Change-Id: Iffd12398ee4d44df21204d23a378c954fee3aa88
upport/v4/media/MediaDescriptionCompat.java
upport/v4/media/MediaMetadataCompat.java
cd85b06ae9fe64f4fc360b97a9af8896c193c403 03-Nov-2014 Kristian Monsen <kristianm@google.com> Fix for bug 18224285, npe in support lib

Change-Id: I083aad6e4eb26f28d334aa178aee27fb7c5399dd
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
61f0f7348923b5e127eb04e1a771cb761a6c7b8e 31-Oct-2014 Adam Powell <adamp@google.com> Fix a race condition in ViewDragHelper

Cancel any deferred operations to set the drag state to IDLE if
another drag state change occurs.

Bug 18107623

Change-Id: I272c0fa67e414f89e3252593d18d6a3d3b618377
upport/v4/widget/ViewDragHelper.java
8ee2c1b90b94789d1d47e0143545f1081b108935 30-Oct-2014 RoboErik <epastern@google.com> Merge "Add setSessionActivity to MediaSessionCompat" into lmp-mr1-dev
85d539daa11f9f7bd61ecb8ebb4d43536c02a736 30-Oct-2014 RoboErik <epastern@google.com> Add setSessionActivity to MediaSessionCompat

This method is useful for TV apps that want to use the compat version
to make switching later easier.

bug:18186638
Change-Id: I48b81c668d73761d355518324075f37a86a9029d
upport/v4/media/session/MediaSessionCompat.java
fa77943ee3d8ef33abf4f8288875783de623b4d9 29-Oct-2014 Mindy Pereira <mindyp@google.com> Remove flash between finishing last swipe circle and starting progress animation

By combining the finish and regular animation into one, we avoid the extra frame
of "nothing" in between
also means we don't need to start the regular spinner animation on finishing the
completion animation, and there is no need to track if the animation was intentionally
stopped.
Fixes b/17534030 Pull to refresh spinner has a flash during the first color transition

Change-Id: I3d77bc09f2c2ea54ce1ee7ab0a65af2988f7d9f7
upport/v4/widget/MaterialProgressDrawable.java
84ef4490e42b960ea375630f9cc37246af9c571b 29-Oct-2014 Svetoslav <svetoslavganov@google.com> Add support APIs to add custom actions.

Some apps need to expose custom accessibility actions in a
backwards compatible way. This change exposes the needed APIs.

Change-Id: Ifb2bd523c3b15313a1998a44166668eb85cc53cf
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
3fba72ed900aa288256bdf29427df39753964ff0 28-Oct-2014 Mindy Pereira <mindyp@google.com> Arrowhead should shrink as disc moves up for progress view

Fixes b/17374366 Synchronize pull to refresh animations

Change-Id: Ide2bef5118e8248f3fdfb31ef406df7eb304ac66
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
ed27de5fc41d9318c81591e4a483902d9ecb851a 28-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Update ShareActionProvider to match Lollipop's" into lmp-mr1-dev
eb82ab9453d921af7a66bd345843c9d992f84dd6 28-Oct-2014 Mindy Pereira <mindyp@google.com> Merge "Clamp mInitialMotionY to initialDown + touchSlop; add missing break" into lmp-mr1-dev
71ea2e2a57d48a75c0086964727931d8edf710d1 27-Oct-2014 Mindy Pereira <mindyp@google.com> Clamp mInitialMotionY to initialDown + touchSlop; add missing break

clamp this to initialDown + slop instead of using the current Y. A very fast motion
can end up treating anything *over* the touch slop value as equal to the touch slop,
at which point motion begins on the next event. That's usually not quite what you want

Also, fixes external issue: Issue 78106: No break in SwipeRefreshLayout.java in android
5 onInterceptTouchEvent module

Change-Id: I97a5248d3a5b0051e814d0c5bc6cc79cc11e0320
upport/v4/widget/SwipeRefreshLayout.java
241d15309b21a8857de2bda0afaf06668bdd348e 27-Oct-2014 Mindy Pereira <mindyp@google.com> Merge "Make sure the initial motion y takes into account touch slop" into lmp-mr1-dev
290ba2dbf37227e931a657bd3c819db68a80480d 27-Oct-2014 Dake Gu <dake@google.com> Merge "Leanback: Add support for imageView scale type transition" into lmp-mr1-dev
6da59f4f38878c7a69ba2339a9ade9d8ad254b17 27-Oct-2014 Mindy Pereira <mindyp@google.com> Merge "Expose a method to get the circle diameter" into lmp-mr1-dev
9c6db363573da735f9ecf15e68e2c2c375acc657 27-Oct-2014 Mindy Pereira <mindyp@google.com> Make sure the initial motion y takes into account touch slop

Fixes b/17955738 SwipeRefreshLayout does not visually respect start param in #setProgressViewOffset

Change-Id: Iac964a9f248cbcb5742cc686f6a194601c76f469
upport/v4/widget/SwipeRefreshLayout.java
062bc5d81cac509fcd2feacf164e0bf4c009b2c7 27-Oct-2014 Mindy Pereira <mindyp@google.com> Expose a method to get the circle diameter

Fixes b/17955739 [SwipeRefreshLayout] #setProgressViewOffset start and
end should not be top-aligned if CIRCLE_DIAMETER is not exposed

Change-Id: I22e0b33377baff711213174b78c7bccddee227ca
upport/v4/widget/SwipeRefreshLayout.java
f0befbfd05c33c4dc6667a051f9b69a47dfe4aa7 23-Oct-2014 Chris Banes <chrisbanes@google.com> Update SearchView suggestions so we display the commit icon

Depends on Ibb7de7a3c49a1da22cd008aa6ae1791cc651fb3c

BUG: 18030252

Change-Id: I5fa19c02c2881d608f16b0f01fa874001bb383ba
upport/v4/content/res/ResourcesCompat.java
81a89daccc721208d242c8b59f489f68f2dceaab 23-Oct-2014 Griff Hazen <griff@google.com> am 24e54482: Merge "Improve support for the barcode-on-screen use case for wearables." into lmp-sprout-dev

* commit '24e54482e0bd9348766c87724854d5c09bdcf070':
Improve support for the barcode-on-screen use case for wearables.
c198cf6a06284059f294dbcb380b9d3c6ff1d9c8 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Fix Window Insets again" into lmp-mr1-dev
947b56ecc56c82f7ebcb5ac83e046d7d0e01aca3 23-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Make DrawerLayout's status bar default to colorPrimaryDark on L" into lmp-mr1-dev
2bb8d4e8831b2d0f1de7f15493bb79f48c91db2a 21-Oct-2014 Alan Viverette <alanv@google.com> Don't mangle DrawerLayout node hierarchy on KitKat and above

Prevents NPE on TOUCH_DOWN with no child under touch point. Also fixes
importance management so that multiple content views are supported
correctly.

BUG: 17953555
BUG: 18070692
Change-Id: I12cb44adbe8f907544aad4af3068a5f6aba1ef1b
upport/v4/widget/DrawerLayout.java
8c9ce11dec24a32f438406286404be7ac294011d 22-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Window Insets again

Caused by the original window's decor fitting
the system windows for us. This CL disables all
inset handling on the decor, meaning that it falls
through to our sub decor.

BUG: 18052816
Change-Id: I31cc187f361ec003e1f9065da4d561338731ea13
upport/v4/view/ViewCompat.java
b645de790756e27bbe92d133216b7ac79cca7679 21-Oct-2014 Chris Banes <chrisbanes@google.com> Update ShareActionProvider to match Lollipop's

BUG: 16370059
Change-Id: I1e0013bd9344ccda3751972109b389097d4f7a23
upport/v4/view/ViewCompat.java
84cdd567de45ea632670d51da5fb4545248d073b 20-Oct-2014 Chris Banes <chrisbanes@google.com> Make DrawerLayout's status bar default to colorPrimaryDark on L

BUG: 18040561
Change-Id: Ie5f3f3f4e52bfd9cd774923e4eb708c31a0f93d2
upport/v4/widget/DrawerLayout.java
c9e4b6fcfcc361f65f2f579b2c001ad99a194638 06-Oct-2014 Griff Hazen <griff@google.com> Improve support for the barcode-on-screen use case for wearables.

Add two small developer apis to wearable extender to help developers
show barcodes on different shaped wearable screens.

Bug: 16299175
Bug: 17005635
Change-Id: I5da006453528ec63484c01240330338d19a280bd
upport/v4/app/NotificationCompat.java
9a1b1c1316c08c832139a06bebce398e83263ac8 13-Oct-2014 Mindy Pereira <mindyp@google.com> If animations are stopped, animations called in onAnimationEnd shouldn't run

Fixes b/17967182 MaterialProgressDrawable (part of SwipeRefreshLayout) starts new animation even though it should be stopped

Change-Id: I1964bc71800c036c45ac2a107cf6657decc6359e
upport/v4/widget/MaterialProgressDrawable.java
00d9f4609de4985798ef420f4024e0361f9431e6 10-Oct-2014 Dianne Hackborn <hackbod@google.com> am a438984c: am f6ece045: Merge "Use real API 21 constant." into lmp-dev

* commit 'a438984c93dea21e46185dafb14094a3eb3823a7':
Use real API 21 constant.
d392c8cae159a3a9a416200f4e117634bdbf064e 09-Oct-2014 Yigit Boyar <yboyar@google.com> Clear accessibility delegete from recycled views

When a view is recycled, RecyclerView should clean the accessibility
delegate. Not doing so was causing problems if View is added to
another container which is not a Collection

Bug: 17739472

Change-Id: I45c5895342f33fa485daae178ad508bda0fb4f68
upport/v4/view/ViewCompat.java
95a62c18174e92eb2bf90b808cef5fd6f36ad944 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Use real API 21 constant.

Change-Id: I4c871055fde6ee991488c7556e3fa27f41813aed
upport/v4/content/ContextCompat.java
upport/v4/provider/DocumentFile.java
5e63ab9505a3a4d11374cbbec418c1aba921409d 07-Oct-2014 Chris Banes <chrisbanes@google.com> Remove the intermediary ViewGroup for support-v4 fragments

On Honeycomb and above the extra ViewGroup isn't needed
as we can use setSaveFromParentEnabled() like the framework
FragmentManager impl.

BUG: 17901056
Change-Id: I7b3cb130943f8f0e9ab7c910f86f5d711bd42f7a
upport/v4/app/FragmentManager.java
upport/v4/view/ViewCompat.java
c6e34f59fe47ae5b06329918a885b1fc5e66a313 04-Oct-2014 Pete Gast <pgast@google.com> Merge "Expand NotificationCompat.Action.WearableExtender to customize labels." into lmp-dev
1cbde29329daabfbda18aabf7fb547d3a4c4a9c6 12-Sep-2014 Pete Gast <pgast@google.com> Expand NotificationCompat.Action.WearableExtender to customize labels.

BUG: 15774526
Change-Id: I1d090808c62aece277009dce0ade47412327989d
upport/v4/app/NotificationCompat.java
ead7065c8e987fefca4d0d850d824fb7d7bce677 02-Oct-2014 Chet Haase <chet@google.com> stopleaks: Avoid leaking views in maps

The logic in ViewPropertyAnimatorCompat causes circular references
in WeakHashMap entries which prevent views from being collected in
some situations, leading to leaked activities.

This fix avoids that situation in two ways:
- in Jellybean and later releases, the underlying framework methods
are called directly, avoiding retaining the listeners completely.
- Prior to Jellybean, the view is used as a holder for the listener
via the internal tag mechanism. Additionally, we retain a reference
to the ViewPropertyAnimtorCompat instance and stash references to
the other callbacks there (actions and layer info).

Issue #17728516 Appsupport retaining multiple copies of activity in Books app

Change-Id: Ifd32bfe591f107dba77e818f6cd97f61c6227d45
upport/v4/view/ViewPropertyAnimatorCompat.java
b81a2943b9e150c6caca969e62c5375928c4cd1c 30-Sep-2014 Dake Gu <dake@google.com> Leanback: Add support for imageView scale type transition

Copy snapshot code from framework SharedElementCallback.

Read scale type and matrix from snapshot view. Requires a framework change.

b/17703309

Change-Id: I9c0f3c980b4724cbd118e2d6e25aa2750ce47260
upport/v4/app/SharedElementCallback.java
89e6774cdb200acc2dd5f4c9022a7e1aeeb05bce 29-Sep-2014 Chris Wren <cwren@android.com> Update the support lib documentation on EXTRA_PEOPLE.

Include the supported formats with links to ContactsContract documentation.

Bug: 15283556
Change-Id: I3a14ea12c0c0dce49c9b86fe9aca0db702cfd31b
upport/v4/app/NotificationCompat.java
ea4f700ac38424954c56df5138ff794def50b019 23-Sep-2014 Chris Banes <chrisbanes@google.com> Properly handle window inset changes on L

Added ViewCompat APIs for OnApplyWindowInsetsListener
since it was needed for the fix.

BUG: 17608376

Change-Id: I59411d6b364f2da22a1b187b206b8f47e25bf38b
upport/v4/view/ViewCompat.java
287f7575a420e46363bac5990104a90c22b9ab85 23-Sep-2014 Jeff Sharkey <jsharkey@android.com> Merge "Utility to represent document trees." into lmp-dev
5fdfbc2e02f46509474057e4366585f6a6062cb9 17-Sep-2014 Jeff Sharkey <jsharkey@android.com> Utility to represent document trees.

API 21 adds the powerful new ACTION_OPEN_DOCUMENT_TREE, but it can
be tedious to use correctly, and developers can be overwhelmed when
suddenly forced to use it because of SD card security changes.

To ease the transition process, this change introduces a new
DocumentFile object that looks and feels like a traditional
java.util.File object. However, it has nontrivial overhead because
it creates new objects for every file traversed, and because it
doesn't cache any metadata.

Since developers probably have code heavily using java.util.File,
offer fromFile() to simplify their code paths; they can adopt
DocumentFile and have their core logic work on both API 21 and older
versions.

Bug: 17490054
Change-Id: I034a0d6b800bcba489e5a6231b4fe62b5076456d
upport/v4/provider/DocumentFile.java
upport/v4/provider/RawDocumentFile.java
upport/v4/provider/SingleDocumentFile.java
upport/v4/provider/TreeDocumentFile.java
c01c710123a764d390b983a2369e444c957d17e0 22-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Don't crash if we don't get a down event but do get an up event." into lmp-dev
07a4db40e79aae23694b205f99b013ee2e4f2307 19-Sep-2014 Mindy Pereira <mindyp@google.com> Don't crash if we don't get a down event but do get an up event.

Fixes b/17572508 Crash in SwipeRefreshLayout.onTouchEvent

Change-Id: I19d8aa5b37eac173a58094a483db2e880e3770f5
upport/v4/widget/SwipeRefreshLayout.java
bc7c32772fbc966091181ce7fa933ca4083679ac 22-Sep-2014 Adam Powell <adamp@google.com> Jump drawables to current state when rebinding ActionMenuView

This prevents lingering ripples or other pressed state effects from
remaining after an action button has been rebound.

Also add ViewCompat#jumpDrawablesToCurrentState to support this.

Bug 17592051

Change-Id: I8227af59d7b80a5a2d2f91aca7d0f17257fb6101
upport/v4/view/ViewCompat.java
62260534040eba52462875a435df2c1f50ab846e 19-Sep-2014 George Mount <mount@google.com> Target only shared elements with shared element Transition

Bug 17549213
Bug 17553253

Change-Id: I82b9f52fdd8b386abd5839e1471fab82f890b327
upport/v4/app/BackStackRecord.java
983592c887664932c3b27433ef9fb1ff191a7972 19-Sep-2014 George Mount <mount@google.com> Merge "Fix exception when fragment container has no View." into lmp-dev
7516316ffdf6fbf7b248c615404831191daa66a4 18-Sep-2014 George Mount <mount@google.com> Fix exception when fragment container has no View.

Bug 17535259

Change-Id: Ic58886e93557b8894d4754597889bd29476259de
upport/v4/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
c8cd179835140da6ca896d3d6473c18ca7735512 18-Sep-2014 George Mount <mount@google.com> Merge "Fix custom animations disabled always." into lmp-dev
99cb2bbfcd84bdc2e89a5a2d11b6b69132169ea6 18-Sep-2014 Adam Powell <adamp@google.com> Make DrawerLayout system UI flag manipulation less excitable

Bug 17566894

Change-Id: I4ba990b79d1584fa4974e2225db53056a86dafe5
upport/v4/widget/DrawerLayout.java
8dfd79ec7028cfdfa1ba69ed7cbf27aac41dc78a 18-Sep-2014 George Mount <mount@google.com> Fix custom animations disabled always.

Bug 17549252

Custom animations should only be disabled when fragment transitions
are running.

Change-Id: I8ec0bc9b90ce7d149b1c5fe25363bb5e7bbe315b
upport/v4/app/BackStackRecord.java
f9c35128decbd812ff2497852ccacbd1ffbbd811 18-Sep-2014 Adam Powell <adamp@google.com> DrawerLayout insets support for drawing under the status bar

When DrawerLayout is set to android:fitSystemWindows="true", it can
now intelligently apply insets to child views as well as draw
background protection for the status bar.

If a child view does not itself specify fitsSystemWindows=true, it
will have its margins altered to inset for the system window insets.
If the child does, it will have insets dispatched to it accordingly.

Bug 17547635

Change-Id: Ifa8e2a681ad4915421715870cb8be27df76e1132
upport/v4/view/ViewCompat.java
upport/v4/widget/DrawerLayout.java
6d5881413c1c18176400cf13771cdbadd0f7ac92 17-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Use the square instead of the butt cap on the end of the progress indicator" into lmp-dev
4221e345d86111915467679815ead8888da5e2f4 17-Sep-2014 Mindy Pereira <mindyp@google.com> Use the square instead of the butt cap on the end of the progress indicator

Fixes b/17529809 Pull to refresh indicator should not collapse to 0 length.

Change-Id: I93b72efc6b1a8cf8717b1e3d588cc5b7625506b6
upport/v4/widget/MaterialProgressDrawable.java
3236dc26d1f1ce8fff4e33c453e4accd359b1175 17-Sep-2014 Alan Viverette <alanv@google.com> Merge "Manage drawer accessibility state on first layout" into lmp-dev
38bc495aadac2cc72297e1dc89f61589f8546dec 17-Sep-2014 Mindy Pereira <mindyp@google.com> Reset the alpha of the circle view after animations complete

Fixes b/17517898 Gingerbread: second pull of the swipe to refresh shows a faded circle

Change-Id: I7af12186abf4933aa9492885af338fd9f785a11c
upport/v4/widget/SwipeRefreshLayout.java
49733ad715bcf68cc178f53e17a79380d332e5cc 17-Sep-2014 Alan Viverette <alanv@google.com> Manage drawer accessibility state on first layout

Fixes accessibility state when restored from a saved instance.

BUG: 17520714
Change-Id: Ia68562238cc118c03c2795915cd80fd11da83d19
upport/v4/widget/DrawerLayout.java
f02228ce2fbc3b20be9fcc80d9d0ca75a138567d 16-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Correctly implement getChildDrawingOrder" into lmp-dev
4e987010ab5116581826eb40aece85a46968cfa1 15-Sep-2014 Mindy Pereira <mindyp@google.com> Correctly implement getChildDrawingOrder

Avoid putting both child and circleview at position 1
Fixes b/17499860 SwipeRefreshLayout double draws all content underneath

Change-Id: I418916449298e9a453322b780404c870725841b8
upport/v4/widget/SwipeRefreshLayout.java
8e3889623384313f164e67451bedc153ea2a1fcf 15-Sep-2014 George Mount <mount@google.com> Merge "Fixed enter/exit transitions working against shared elements." into lmp-dev
5a8f14de0bb4304f9a3aebdcb35ee0dd607f27f7 15-Sep-2014 George Mount <mount@google.com> Fixed enter/exit transitions working against shared elements.

Bug 17499971

The enter and exit transitions were targeting the shared element.
This means you'd get double transitions on the shared element.

Fixed bug where the wrong views were targeted when there was
only one enter/exit/shared element transition.

Change-Id: Ieb3a4cfcd35479a82adc3ee269c5b0015ab5d5af
upport/v4/app/BackStackRecord.java
6b66bba139388c50710897e96737487146fd31e4 15-Sep-2014 Christoph Studer <chstuder@google.com> Merge "NoCompat: Add missing L extras" into lmp-dev
b1413bc4de16e05ae0455cad93f1edfbcc4eced2 12-Sep-2014 George Mount <mount@google.com> Changed method name to match Activity's method name.

Bug 17488968

Change-Id: Idf9957b003940464d86ac7fcfa530a9b2dfcaf47
upport/v4/app/Fragment.java
ec29fdcef449d2972bac6ad406bb8571ccbafc0f 12-Sep-2014 Christoph Studer <chstuder@google.com> Merge "NoCompat: Initialize mShowWhen to true" into lmp-dev
41484f326c4dd126e84b26828ba340a8ae9406e8 11-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Add missing L extras

Bug: 17425365
Change-Id: I2097b890743eb6a182286318523f150d5b86787d
upport/v4/app/NotificationCompat.java
4c7c4787069fe222c2f74bbaa078debe389ae383 12-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Initialize mShowWhen to true

Matches the default in Notification.

Bug: 17425365
Change-Id: Ie1a508353267c813135bc50c4d98ae2a99c66291
upport/v4/app/NotificationCompat.java
d562094b8a6836d406a2c7dd4c64100257784a57 12-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "When using a custom start/ end make sure to correctly calculate the distance" into lmp-dev
ed40f32f5eed82857fdc83620fd7da77fb33eaab 11-Sep-2014 Mindy Pereira <mindyp@google.com> When using a custom start/ end make sure to correctly calculate the distance

The correct distance to travel is custom end - custom start

Fixes b/17436627 SwipeRefreshLayout can be pulled farther when using a large start offset

Change-Id: Id1851a8e82e75dedcf616fb699a3e9b295c045be
upport/v4/widget/SwipeRefreshLayout.java
e51e32e8c7ce74a19e1ad69c75f0b6d5dadb313c 11-Sep-2014 Mindy Pereira <mindyp@google.com> Make sure to always hide the progress spinner after cancel refresh/ refresh complete

Fixes b/17460923 always hide the progress spinner on cancel of refresh/ complete of refresh

Change-Id: Ief803427339122805d11b1377fd652b650008836
upport/v4/widget/SwipeRefreshLayout.java
03230ff759c8b14885d626037bda64c21353dc6f 11-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add a11y support for RecyclerView" into lmp-dev
6739bc7f97ba5486b6f6114fb3812b098822cc3c 10-Sep-2014 George Mount <mount@google.com> Merge "Move capturing entering views until just before transition." into lmp-dev
0f5ae57910484f1d873fdad90966b6244a633bd4 08-Sep-2014 George Mount <mount@google.com> Move capturing entering views until just before transition.

Bug 17407387
Bug 17420256

Recycler view doesn't instantiate its views until after
the onCreateView call. This delays the capturing of
final views until just before the entering state is
captured for the Transition.

Change-Id: Ifd6ecaa21cefb4f6f8f720b319993bf0b9e2d8f7
upport/v4/app/BackStackRecord.java
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
upport/v4/view/ViewCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
2c173d4e6a5a5f9650cd7ba416cdaba4f99d3784 10-Sep-2014 RoboErik <epastern@google.com> Merge "Add MediaSession support to MediaRouter support lib" into lmp-dev
7b5f76f0cd7c763296aa0b6fbafdd89ba4263e4e 10-Sep-2014 Chris Banes <chrisbanes@google.com> Fix doc links in DrawableCompat

Change-Id: I050c6caf3446c9ba2443acee373c8005a85e5f91
upport/v4/graphics/drawable/DrawableCompat.java
469286122bcbbecbdd0bef74fb50f9d8920e77b9 02-Sep-2014 Chris Banes <chrisbanes@google.com> Add dynamic Drawable tinting to appcompat

Brings the res folder down to 297kB from 435kB,
saving > 30% of disk space (compressed).

Change-Id: Ia64ceacb5afed7f17203ff17ce5eaa990d58be7c
upport/v4/graphics/drawable/DrawableCompat.java
a52784195525cdb1f2bb4d8dde1b8b314f480957 10-Sep-2014 Chet Haase <chet@google.com> Remove references to "L"

Issue #16894783 Remove references to L when API is locked down

Change-Id: Icf1215eed34e6fbe3d71a5cec4bf1699c3bc3ff9
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/app/ActivityCompat.java
upport/v4/app/ActivityOptionsCompat.java
upport/v4/app/BackStackRecord.java
upport/v4/app/NotificationCompat.java
upport/v4/graphics/drawable/DrawableCompat.java
upport/v4/graphics/drawable/RoundedBitmapDrawableFactory.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewGroupCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/widget/CircleImageView.java
bbcdf78e350d58ecd6baa75e282d4908d3129fe2 09-Sep-2014 RoboErik <epastern@google.com> Add MediaSession support to MediaRouter support lib

Adds a method for setting a MediaSession on MediaRouter that can be
used for volume controls.

bug:17427963
Change-Id: Idc4856373ab9b44500c6fa223236393d166ecbf0
upport/v4/media/session/MediaSessionCompat.java
98e33c0e68d4e8ce204bf1630d397862b1f7961d 09-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Reset the color index when the colors for the ring are reset" into lmp-dev
755b0af73cb09498b0fd728071d195f1f81c241c 09-Sep-2014 Griff Hazen <griff@google.com> Merge "Add a few missing notification features to compat." into lmp-dev
48d8878e34b0d9983166418378125b63faac9aab 20-Aug-2014 Griff Hazen <griff@google.com> Add a few missing notification features to compat.

1. EXTRA_BIG_TEXT from 21
2. showWhen from 17.

Bug: 17425365

Change-Id: I638fd7213fd2bec83a62922d0c12578ce1089217
upport/v4/app/NotificationCompat.java
112ae3627e7f32991822b3fd2001fe7239f1d3ea 06-Sep-2014 Mindy Pereira <mindyp@google.com> Reset the color index when the colors for the ring are reset

Fixes b/17389897 Sometimes app crashes on typing in search bar

Change-Id: I093c0f6aa7ed7c542faabedf46f0a60f4f4c3107
upport/v4/widget/MaterialProgressDrawable.java
24c306a957c2c0de030d87269bb28b19d7bd7100 08-Sep-2014 Christoph Studer <chstuder@google.com> NoCompat: Limit CharSequence input to 5K chars

Bug: 17363929
Change-Id: Id56b7bda7322b10d1ac1f038acb325c530facb19
upport/v4/app/NotificationCompat.java
820d32970ef59d0f966241a255276ca83e45bcf6 08-Sep-2014 Svet Ganov <svetoslavganov@google.com> Merge "Fix NPE in PrintHelper." into lmp-dev
f858b86418fc586d681e47c994d81f11c9d12ec2 08-Sep-2014 Svet Ganov <svetoslavganov@google.com> Fix NPE in PrintHelper.

bug:17367152

Change-Id: If413fdf4c8f8836ea0270b9d3c0e2cddcd6c0ad2
upport/v4/print/PrintHelper.java
621e486b7f73657ca0571763cc059024d134d2fb 05-Sep-2014 RoboErik <epastern@google.com> Merge "Update add/removeCallback methods to register/unregisterCallback" into lmp-dev
075649b7a9f06a7cb771b3710d9b5c10f79d472f 05-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Fix issues for a progress spinner with a custom start and end position" into lmp-dev
362e45b58bee02699f046ed1b4492e5808837f64 05-Sep-2014 George Mount <mount@google.com> Fix build break.

Change-Id: I3d41f20a8cb7f84e6c906b005b0c51318f5323f5
upport/v4/app/Fragment.java
9306f07b1d66f4974a81f781d29739b30124fff0 29-Aug-2014 George Mount <mount@google.com> API Review: change SharedElementListener to SharedElementCallback

Bug 17289526

Change-Id: I49f8d838207524fbf0ec099021bcf7312c28bd82
upport/v4/app/ActivityCompat.java
upport/v4/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/SharedElementCallback.java
upport/v4/app/SharedElementListener.java
9f4a046cbeb22a24d322a644323b41022ad9d15a 02-Sep-2014 George Mount <mount@google.com> Change Fragment Transitions to match Activity Transitions API.

Bug 17188255

Change-Id: I99897ba3c78f3f140000a719afbcfac951e43290
upport/v4/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTransaction.java
16ac83bebda2a19930b9d692789f3b507c49951b 05-Sep-2014 RoboErik <epastern@google.com> Update add/removeCallback methods to register/unregisterCallback

bug:17390821
Change-Id: Ie1248060bf23d9962f4db06fe7d533860c6caa71
upport/v4/media/session/MediaControllerCompat.java
5e31e2ad5b0c1f62b93a4e554d16f8b9d28b5a15 03-Sep-2014 Mindy Pereira <mindyp@google.com> Fix issues for a progress spinner with a custom start and end position

1) make sure it snaps to the correct location after the user lets go
2) make sure that if the user doesn't reach the trigger point for refresh, the view
scales back down and returns to its starting position

fixes b/17361792 SwipeRefreshLayout does not return to start offset after swipe
Change-Id: Ie5afd2e40add8f3c8523bada7a37c95009bcc9ac
upport/v4/widget/SwipeRefreshLayout.java
e0c3fd8d5c24c7e8bcc54234f30c01e78137b67e 04-Sep-2014 RoboErik <epastern@google.com> Update VolumeProvider support to match fw

bug:17258168
Change-Id: I3f4477c51f408c48f3ed0e7cfb4a1f9a9f4420c1
upport/v4/media/VolumeProviderCompat.java
d87594ed258b14530020d98966da97288c1c8edc 03-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Create a new ActionBarDrawerToggle with arrow and hamburger menu" into lmp-dev
40b2c58c612a34ecfa3e9ee750f1744596a6b891 03-Sep-2014 Svet Ganov <svetoslavganov@google.com> Merge "Add a print finished callback to PrintHelper." into lmp-dev
b4eb9c984f1c6ac8007c74fab239437cf9f6b474 03-Sep-2014 Svet Ganov <svetoslavganov@google.com> Add a print finished callback to PrintHelper.

Applications that implement printing via the PrintHelper need to know
when printing is finished, i.e. the system got all the data for the
print job or the print job was cancelled, because they should not finish
the activity that initiated printing until the print interaction finishes.
Othwrwise, the connection between this activity and the print framework
will break and printing will fail.

bug:17367152

Change-Id: I9a25bc44e6dd0331fb146daf66ad81f39802ebdc
upport/v4/print/PrintHelper.java
058467cbd6dd0acdfaec61e65ab9e352868ec5c9 27-Aug-2014 Yigit Boyar <yboyar@google.com> Create a new ActionBarDrawerToggle with arrow and hamburger menu

Bug: 16514897
Bug: 17353988

Change-Id: Ia3c39b6accf3923bd297740b24e48dba35820b37
upport/v4/app/ActionBarDrawerToggle.java
ac00a989afc2f1c559fc33174f481a0a0ef5b3d8 01-Sep-2014 Chris Banes <chrisbanes@google.com> Backport Toolbar framework updates to appcompat

BUG: 17253638
BUG: 17305707
BUG: 17298370

Change-Id: Ic4f876565f7da93b166c52d4a206f86ae78d5ca7
upport/v4/graphics/drawable/DrawableCompat.java
951ce3ef18f5d4776537bbee78dc15ed42a2b642 03-Sep-2014 Mindy Pereira <mindyp@google.com> Merge "Make sure to use the measured circle height in all places when computing original offset" into lmp-dev
def2cfbb2561372e7b30fc88219af944c8121475 02-Sep-2014 Mindy Pereira <mindyp@google.com> Make sure to use the measured circle height in all places when computing original offset

Fixes b/17284917 swipe refresh circle hangs slightly under the toolbar when the user does not complete the swipe
gesture on pre-L builds
Missed 1 spot before

Change-Id: I8798708a5fb6b15a41ff4935ca1b6a9cc44612ac
upport/v4/widget/SwipeRefreshLayout.java
17ebc13a312bbce9929a78a87786bc4308115012 28-Aug-2014 RoboErik <epastern@google.com> Merge "Update PlaybackStateCompat to match fw version" into lmp-dev
b4ac9016888eb628ec823634b08230889c3e7b61 28-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Use the negative measured height as the starting offset of the progress view" into lmp-dev
cdf346714ac98eb4f40acf33f4328eb68edfb2ef 27-Aug-2014 Mindy Pereira <mindyp@google.com> Use the negative measured height as the starting offset of the progress view

Fixes b/17284917 swipe refresh circle hangs slightly under the toolbar when the user does not complete the swipe
gesture on pre-L builds

Fixes b/17227950 pdtr shadow stuck on screen

Change-Id: I22f730681d948e605d04764bc430c64a015b6039
upport/v4/widget/SwipeRefreshLayout.java
ff40f5c731e8a4e6e2d33ffc95f77dce0397f2c5 28-Aug-2014 RoboErik <epastern@google.com> Update PlaybackStateCompat to match fw version

Some changes were made to PlaybackState's constants. This updates
the compat constants to match.

bug:17205016
Change-Id: I17ccffec99a8f12901099f2bb5aaf0fa76f8a9cc
upport/v4/media/session/PlaybackStateCompat.java
edfb640453e3d7a578e5ace14eefefa275bfad8a 27-Aug-2014 Chet Haase <chet@google.com> Merge "Fix ViewPropertyAnimatorCompat issues" into lmp-dev
5c3b4e6e8e84b41f258df261cc3e2ae985a57d2c 27-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Update the measured height/ width for pre-L SDK's to include shadows" into lmp-dev
797c82a7055f7ba825169388465617f0db716739 26-Aug-2014 Chet Haase <chet@google.com> Fix ViewPropertyAnimatorCompat issues

Fixes include issues with listeners on ICS (due to coopting the
listener mechanism to deal with layers and start/end actions) and
ordering of actions/listeners pre-ICS (due to running all actions
immediately instead of ordering them to start later).

Issue #16865990 ViewPropertyAnimatorCompat issues/crashes below API level 16

Change-Id: I31e6cc3d516a78e7c4387c62503299e23057dd8c
upport/v4/view/ViewPropertyAnimatorCompat.java
c39bdbe9d24491caf92194229393ff58c16aed7f 26-Aug-2014 Mindy Pereira <mindyp@google.com> Update the measured height/ width for pre-L SDK's to include shadows

Fixes b/17258999 pull to refresh final specs: pre L
Also, remove the arrowhead extra offset; looks bad on older platforms, useless on new ones
Change-Id: I76136d5365d99bc9b331d23a2fa8ed07c4751fbd
upport/v4/widget/CircleImageView.java
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
3989898b4c8762137ddde3c319a66da91db82297 26-Aug-2014 Adam Lesinski <adamlesinski@google.com> Merge "Add indexOfKey() to ArrayMap implementation" into lmp-dev
52d06f41556ffe0a60fbdd786c32898a09ca2a50 26-Aug-2014 Adam Lesinski <adamlesinski@google.com> Add indexOfKey() to ArrayMap implementation

Allows to better perform compound operations, such
as checking for the existence of an object and operating
on it. ArrayMaps allow null values, so you would have to
call containsKey() and then get() without indexOfKey().

Change-Id: I163db920566c5f59081601bcbfd8bd6eb0c47f22
upport/v4/util/ArrayMap.java
upport/v4/util/SimpleArrayMap.java
5c38d6e1e5361e4ecf94b9945bc2879aeaf5ca51 26-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Fixup the transition between colors in the swipe refresh progress circle" into lmp-dev
3ea9d14b62aedabba441343215c997e37222222c 26-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Update the gesture tracking for the swipe to refresh spinner" into lmp-dev
dd27d55a5152f86c07758067e587bdd5b719abaf 24-Aug-2014 Mindy Pereira <mindyp@google.com> Fixup the transition between colors in the swipe refresh progress circle

Previously, there was a jumpy looking transition because the start position/rotation
of the new arc re-wound to zero instead of starting where the last color arc ended
Makes the min amount the arc set to match the height of the arc
Updates the end cap of the progress circle to be a square instead of round
Updates the sizes of the progress circle to the final spec
Makes sure that the arrowhead does not visually overlap the arc when the progress circle is
faded
Works around skia issue on kitkat: the arrowhead was off by -0.25f radians because rotating
the path that way in a matrix failed to respect the negative offset

Fixes b/17113763 Refresh indicator: color should not change instantly in contracted state
fixes b/17203935 Pull to refresh final specs
fixes b/17212162 arrowhead trails behind arc in pre-LMP phones
fixes b/17204307 Arrow in pull-to-refresh overlaps stroke and creates opaque artifact

Change-Id: I181d909726094a338245bc70d8e827068e0c3416
upport/v4/widget/CircleImageView.java
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
19629a86ee25dcca142fa970e5bb6fcf16757a7e 24-Aug-2014 Mindy Pereira <mindyp@google.com> Update the gesture tracking for the swipe to refresh spinner

Previously, there was a jumpy looking transition because the start position/rotation
of the new arc re-wound to zero instead of starting where the last color arc ended
Also, makes sure the arrow head starts showing just after the circle dips below
the toolbar
Makes pull distance asymptotically tail off

Fixes part of b/17203935 Pull to refresh final specs

Change-Id: Id3f16d85f8a3f79efc47eb5bd65953cd0912a642
upport/v4/widget/SwipeRefreshLayout.java
9886a5f5e24370d1951e3d6af70bb20a7d4c0f2a 24-Aug-2014 George Mount <mount@google.com> Merge "API Review: change fragment transition methods." into lmp-dev
89f34518c40724982169b713591e97a73a3a3f6a 23-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Change DrawerLayout's focus strategy to favor children" into lmp-dev
128bb5c66d0b34c5a658c682deb3a0b9199b20c4 22-Aug-2014 George Mount <mount@google.com> API Review: change fragment transition methods.

Bug 16959326

Change-Id: Ie0aea3b3a6fd432ca061d8bf8a245e0a3ec25e99
upport/v4/app/BackStackRecord.java
upport/v4/app/FragmentTransaction.java
4a069be655204ec079c03a09157e5d4ec223a0f7 22-Aug-2014 Yigit Boyar <yboyar@google.com> Change DrawerLayout's focus strategy to favor children

Bug: 14218164
Change-Id: Id7bd110679b738bd86bae444b6d8c54fe458b787
upport/v4/widget/DrawerLayout.java
8e3f168f3ea513fcb62ff680d679a0e4685fbe75 22-Aug-2014 Chet Haase <chet@google.com> Merge "Stop settling sooner" into lmp-dev
152eaeee7ff6acc0b45c77149d893d7180ead014 21-Aug-2014 Chet Haase <chet@google.com> Stop settling sooner

Logic in ViewDragHelper.continueSettling() is wrong - when we've
reached our final resting place, we set a 'keepGoing' flag to be the
state of 'finished' on the scroller. This is the opposite of what it
should be and forces us to come back to this method one more time.
We should simply stop settling during that frame instead, since
we've just told the scroller to set the final values and to finish
the animation.

Issue #17108393 ViewDragHelper "keepGoing" condition assigned the wrong value after aborts

Change-Id: I9714bb1a0802bbadd6087ba2064fe23bd6cc34f0
upport/v4/widget/ViewDragHelper.java
a542f3edbeaa094489ea3ac1504f03b58d3badff 20-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Multiple visual and animation polish updates to the SwipeRefreshLayout" into lmp-dev
a169538f427f3fe021fbd71d18721fd68b644651 20-Aug-2014 Chet Haase <chet@google.com> Merge "Fix DrawerLayout to ignore non-drawers in drag operations." into lmp-dev
dc943d6192dab40df68b6b583c84e64045ea1bc8 15-Aug-2014 Mindy Pereira <mindyp@google.com> Multiple visual and animation polish updates to the SwipeRefreshLayout

1) update default/ large circle stroke and arrow head dimensions
2) when swiping, start the progress circle/ arrow at 30% opacity and animate to
100% when the trigger pos is reached
3) add api for just sending the ending position of the progress spinner
4) update overdrag / tension when the user is past the point where they can trigger refresh to match spec

Fixes b/16984776 polish swipe to refresh motion after refresh target is reached/ color shift when target reached
Fixes b/17090709 Need to expose mCircleHeight in SwipeRefreshLayout

Change-Id: Idaa66ce91d66e6c0b919d5658a5cc747631dec5d
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
8a28dd16be442db2ee6275baf72079777627f37e 19-Aug-2014 Chet Haase <chet@google.com> Fix DrawerLayout to ignore non-drawers in drag operations.

This fix allows drawing right-side drawers to work and also makes
RTL situations work correctly. The previous approach incorrectly tried
to calculate drag values based on an incorrect view (a non-drawer).
This fix constrains drag operations to affect only drawers, which allows
later edge-drag code to be run and determine the actual drag operation.

Issue #16459955 [Quantum][L][KK][JB] RTL- Dificult to open Navigation drawer by swiping from right to left

Change-Id: I8060dbd43c12dfa5ff65ff6a54d27e8338559fb6
upport/v4/widget/DrawerLayout.java
5f7b9b7483cf7013bd740eb9946e4e6df47b2be5 20-Aug-2014 RoboErik <epastern@google.com> Merge "Updates for API feedback round 2" into lmp-dev
312f13dea7b4a9229dff784c6e94b0ec0c722b74 19-Aug-2014 RoboErik <epastern@google.com> Updates for API feedback round 2

bug:17114404
Change-Id: I25231187a39d898c2e9ff4ef28105d188e32b84d
upport/v4/media/session/MediaControllerCompat.java
upport/v4/media/session/MediaSessionCompat.java
upport/v4/media/session/PlaybackStateCompat.java
1af38a6c0c2cd5c0fa065c0d08481b90967a2a8f 19-Aug-2014 RoboErik <epastern@google.com> Merge "Updates to APIs for council feedback" into lmp-dev
666f2ee12c13b274d3e379e182caf9844a9c198d 19-Aug-2014 Andrew Solovay <asolovay@google.com> am 9b431dc2: am 13638e0e: am a3e17fdd: docs: Corrected typo in shouldUpRecreateTask()

* commit '9b431dc228e2d99d34fe07e66fa86ea96a5a653c':
docs: Corrected typo in shouldUpRecreateTask()
9b431dc228e2d99d34fe07e66fa86ea96a5a653c 18-Aug-2014 Andrew Solovay <asolovay@google.com> am 13638e0e: am a3e17fdd: docs: Corrected typo in shouldUpRecreateTask()

* commit '13638e0e4ba908fc8807229a208ffb016e576ac5':
docs: Corrected typo in shouldUpRecreateTask()
210eaecdbfc50699fd195a4f09a443d85a67db20 16-Aug-2014 Chet Haase <chet@google.com> Ensure that mCapturedView is null when dragState is STATE_IDLE

Issue #15467361 ViewDragHelper doesn't release captured view if smoothSlideTo dx==0 && dy==0

Change-Id: I589e70e651f893b426593240dd83e90bb8c20e43
upport/v4/widget/ViewDragHelper.java
21b38649fa58ad76f993e8767fd6f519c7013a26 16-Aug-2014 RoboErik <epastern@google.com> Updates to APIs for council feedback

see I3a0b4371700ad6657972c312a5ab89ddfac6df5b for more details.

bug:17059552
Change-Id: I6218b7f542da923686e99106687478fe1b795eb9
upport/v4/media/session/MediaControllerCompat.java
66f651a956abe375442e495d0e99f8d485881108 16-Aug-2014 Chet Haase <chet@google.com> Merge "Keep ViewDragHelper internal state consistent" into lmp-dev
2b4a7c41a542baf6c345d87db642f1d428dc270d 16-Aug-2014 Chet Haase <chet@google.com> Keep ViewDragHelper internal state consistent

Code in setDragState() made it possible for the drag state
to become inconsistent with the capturedView state, leading
to a future crash when the state of one (drag state == SETTLING)
led to the assumption about the other (capturedView non-null).

This fix ensures that mCapturedView will only ever be nulled out when
the actual drag state of the helper is IDLE, not the state that someone
attempted to set.

Issue #16797206 [Quantum] App crashes with Null pointer expection, when switching between accounts(seen only once).

Change-Id: I421d260fffd209c7488e8799f97ef78bedf6a9a1
upport/v4/widget/ViewDragHelper.java
ea4b194120b6b0454cd722d4f5055b7e4ea7bcfe 15-Aug-2014 RoboErik <epastern@google.com> Merge "Add onSessionDestroyed to MediaController.Callback" into lmp-dev
0b7c53c6ee75c8473bcefd0dff9c6e3ed6c20410 12-Aug-2014 Mindy Pereira <mindyp@google.com> Make the swipe refresh background spinner visible during the swipe gesture on gingerbread and before

fixes b/16985034 swipe refresh progress indicator does not always show up on gb
Change-Id: I1feccccb35ab17e127cc7db22c1fadc7a092a12f
upport/v4/widget/SwipeRefreshLayout.java
23138c4b9be07abdab0cfdde2c62186359c9e7fa 14-Aug-2014 RoboErik <epastern@google.com> Add onSessionDestroyed to MediaController.Callback

Adds the onSessionDestroyed callback to the support version of
MediaController.Callback.

bug:17009030
Change-Id: Iff81143137ba564dc4b52fe90c63ae06a9459994
upport/v4/media/session/MediaControllerCompat.java
a3e17fdd9bd732774f5058688efe6788662c1700 11-Aug-2014 Andrew Solovay <asolovay@google.com> docs: Corrected typo in shouldUpRecreateTask()

The doc for shouldUpRecreateTask() had (what looks like) a typo--the
descriptive text said "If it returns false, that means A. If it
returns false, that means B." Judging from the @returns line, the
second of those sentences should have been "If it returns *true*"...

Updated doc staged to:

http://asolovay.mtv:9349/reference/android/support/v4/app/NavUtils.html#shouldUpRecreateTask(android.app.Activity, android.content.Intent)

Bug: 15454349
Change-Id: Ic04c22598194607f5f60a0fc4eaca1448199eb39
upport/v4/app/NavUtils.java
3b8d2549e1a93e640335919d2b405907283afda1 12-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Fix the weird jitter when passing the original target offset; scale down arrowhead" into lmp-dev
8a9f3cb556aec9fd912909127c3f4bbc8f35232d 08-Aug-2014 Mindy Pereira <mindyp@google.com> Fix the weird jitter when passing the original target offset; scale down arrowhead

Fixes b/16898806 swiperefreshwidget: weird jump when it hits the threshhold
Fixes b/16890278 arrowhead in swipe to refresh should shrink instead of just disappearing

Change-Id: Ifcc43f2b80c603853a0d545b0707440b70bd615e
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
17bb92a60d42ccad11827a10b3dcff9b37276aa3 08-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Fill out missing javadocs" into lmp-dev
9038afb70d70650d87659bb252181ca8645670b8 06-Aug-2014 Chris Craik <ccraik@google.com> add getOutline support to RoundedBitmapDrawable

bug:15933290

Change-Id: I8427ac646091e33eaa2ed567fb656b1a4ea267a7
upport/v4/graphics/drawable/RoundedBitmapDrawable.java
upport/v4/graphics/drawable/RoundedBitmapDrawableFactory.java
d08402a890f1ac4d3de832a9a781cbc5ebde804f 08-Aug-2014 Mindy Pereira <mindyp@google.com> Fill out missing javadocs

I was asked to fix this before ship

Fixes b/16894518 MaterialProgressDrawable and SwipeRefreshLayout are missing some documentation

Change-Id: I212bafd77f274dbbc764263651fc22545d039008
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
8af0092e2d7409e79779af396d63ca4146f1fb21 07-Aug-2014 RoboErik <epastern@google.com> Combine MediaSession TransportControlsCallback and Callback

Change-Id: Ia9096882e3abef877e557a5a11bbee4540e3d3da
upport/v4/media/session/MediaSessionCompat.java
4ca82494575dc4927e7ff51291c3645025cc9414 08-Aug-2014 Mindy Pereira <mindyp@google.com> Shorten duration of hiding the progress spinner

Fixes b/16870069 use short duration for shrinking away the swipe refresh spinner

Change-Id: Iaf21c8b75d0d8a3ef3e691ee2cf3c296851d7b11
upport/v4/widget/SwipeRefreshLayout.java
74437a01478b39230bb5b4657b74480ede53ae94 06-Aug-2014 Mindy Pereira <mindyp@google.com> Add a triangle to the front of the spinner

Fixes b/16342364 add scaling arrow to the front of progress spinner

Change-Id: Iddafe0aa8c00bc8601aa9bc783b2af265d14eadb
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
19506c9a0aacfc1c8de038e4e3f0b47e858b3a63 07-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Make the progress circle fade out pre-HC" into lmp-dev
96dfc170940d2f7218317242115eda1273863966 05-Aug-2014 Mindy Pereira <mindyp@google.com> Add a shadow behind the progress circle

Fixes b/16343408 add shadow behind swipe progress circle

Change-Id: I1b79a8d04704cef97a8fa85ff0ec8ff7b506fe8c
upport/v4/widget/CircleImageView.java
upport/v4/widget/SwipeRefreshLayout.java
d0b65a16762b554ee6531844b021e3e0975cbf18 29-Jul-2014 Mindy Pereira <mindyp@google.com> Make the progress circle fade out pre-HC

Fixes b/16329404 pre-HC: make the progress circle fade in instead of scale

Change-Id: I684c6f26983f51ca62d57b149bf42c58626b833c
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
c27bc76d7eac50363e6cd063ae41996833f52ebe 31-Jul-2014 Mindy Pereira <mindyp@google.com> Make sure to cancel all other animations before starting the new animation

Fixes b/16518274] PDTR spinner doesn't always disappear after PDTR is complete, leaves white circle behind
Fixup the rotation in response to drag; this should be at the same rate as growing the circle
Change-Id: I0f1accc0167c9bf3884e7461c0177d72b6f2d791
upport/v4/widget/SwipeRefreshLayout.java
01ab72c218fd7ff33f94bd7a8c0785b0c5d04b4c 06-Aug-2014 Jeff Brown <jeffbrown@google.com> Merge "Disable passive discovery on low-RAM devices." into lmp-dev
fb81e09002d1d611168b204fc50d259fc15f27b2 06-Aug-2014 Jeff Brown <jeffbrown@google.com> Disable passive discovery on low-RAM devices.

On low-RAM devices, passive discovery has a significant impact on
system performance because it causes many media route provider services
to be started and kept running for as long as the application requests
discovery (usually the whole time it is in the foreground).

To mitigate this issue, the CALLBACK_FLAG_REQUEST_DISCOVERY flag is
now ignored on low-RAM devices. Also, isRouteAvailable may return
true in cases where it is possible for a route to be discovered
even if one hasn't been found yet. These two changes have the effect
of causing the MediaRouteButton to always be shown on low-RAM
devices. When the user clicks on this button, active discovery will be
performed as usual.

Added CALLBACK_FLAG_FORCE_DISCOVERY and AVAILABILITY_FLAG_REQUIRE_MATCH
to allow an application to request the old behavior if necessary.
Also added a bunch of docs to explain why applications really shouldn't
do that.

Bug: 15191337
Change-Id: I4d742ea4569c977eb9b89277c57a72ec3a4fce41
upport/v4/app/ActivityManagerCompat.java
515adbf30b9a0c7c1b71450086fa022b1061487a 05-Aug-2014 Erik Pasternak <roboerik@android.com> Revert "Revert "Add metadata display fields and switch to CharSequence""

This reverts commit 7cbd56839326c636a9bc6a3edec8da643238dca0.

Change-Id: I33b8c71c29d9879dddcf875dbfd52301f3333ab7
upport/v4/media/MediaMetadataCompat.java
7cbd56839326c636a9bc6a3edec8da643238dca0 01-Aug-2014 Erik Pasternak <roboerik@android.com> Revert "Add metadata display fields and switch to CharSequence"

accompanying fw change needs a manual rebase.

This reverts commit 33cd4ae9d391f85b812fa666b942dc8ed3ebbd31.

Change-Id: I94403855329bd3dbe0d763577ebb972985b38276
upport/v4/media/MediaMetadataCompat.java
33cd4ae9d391f85b812fa666b942dc8ed3ebbd31 29-Jul-2014 RoboErik <epastern@google.com> Add metadata display fields and switch to CharSequence

bug:11708293
Change-Id: If5149e167f2c2c1daea4f9393b0edda5e5362aa8
upport/v4/media/MediaMetadataCompat.java
bb3bde43f526bd40bed541da6c8256d0dde328a4 29-Jul-2014 Mindy Pereira <mindyp@google.com> Fix doc build

Change-Id: I4c0addbf9c23a10a98fa7db15eeac8de897d207f
upport/v4/view/ViewCompat.java
0f3c6c1be783cfb67a2d11a1a027de0847949064 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

Use safer mechanism for drawing the progress spinner on top

Change-Id: Ib88857169b3d4cea4e742c882beb1acf6fcb2488
upport/v4/view/ViewCompat.java
upport/v4/widget/SwipeRefreshLayout.java
5c41750574ba65da432b69f89cd32dc356281005 26-Jul-2014 RoboErik <epastern@google.com> Add context to MediaController constructors

Part of an api change to MediaController.

bug:16561220
Change-Id: I94de9422f4ab5a30d53e0f00227f0d195ad97490
upport/v4/media/session/MediaControllerCompat.java
49c78900da0d43140fb602431fb93212bd7f6c70 15-Jul-2014 Chris Banes <chrisbanes@google.com> Update internal Action Bar implementation to L

This CL brings all of the internal widgets and helpers
for the Action Bar up to date with L. We now only use the
unbundled ActionBar/ToolBar implementation. This is to ease
integration and make styling simpler.

Change-Id: I267c9ee90b5707d997910c57242e26130f2dbcf8
upport/v4/graphics/drawable/DrawableCompat.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPropertyAnimatorCompat.java
upport/v4/view/ViewPropertyAnimatorListenerAdapter.java
upport/v4/widget/PopupWindowCompat.java
919b9ab15fe61f10ce9a27d2a76dc9754b274d7b 25-Jul-2014 Chris Banes <chrisbanes@google.com> Merge "Start refactoring appcompat-v7 for Material DO NOT MERGE" into lmp-dev
d333fbf215cc2fd93e8081ea5181ebf5795e0b87 24-Jul-2014 Alan Viverette <alanv@google.com> Fix home as up indicator

Change-Id: I4b24541178636c7a9ec2c5c4e43007c9c6cf87db
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/content/ContextCompat.java
3e0cba7fbc0c97a9c02f27954fb165d49a1f230a 24-Jul-2014 Alan Viverette <alanv@google.com> Merge "Allow client to set up indicator used by ActionBarDrawerToggle" into lmp-dev
64fcaa34a80f277307ed0bc7f04caa128d8f85aa 24-Jul-2014 Alan Viverette <alanv@google.com> Allow client to set up indicator used by ActionBarDrawerToggle

BUG: 16355561
Change-Id: I416c4d50599ce05885ed9163882531d88c275ffe
upport/v4/app/ActionBarDrawerToggle.java
43c5718722bab1f836b7c94f2ec0bc19e653037c 24-Jul-2014 Griff Hazen <griff@google.com> Fix API 20 notification compat: strip out unavailable apis

And modify the API 21 stage to use the new apis.

Bug: 16484492
Change-Id: I63885077985ded1548abe411a171b40773d34c55
upport/v4/app/NotificationCompat.java
13ab4aa8a1d337c414c887a81b9829f2286cdd37 08-Jul-2014 Chris Banes <chrisbanes@google.com> Start refactoring appcompat-v7 for Material DO NOT MERGE

* Anything pre-L now uses the compat unbundled action
bar implementation.
* Unbundled action bar is now Material-esque. More
to do here.
* Fix Base style naming convention

Change-Id: Ia4d6003e85dba16d24ce11c5e89ffcf6b8123692
(cherry picked from commit b60cbcc22f5f5f0ed64a4b8afe70877b52c115c2)
upport/v4/view/ViewConfigurationCompat.java
b530c89bba371d2d575f10480b2e90914b0d3f3f 21-Jul-2014 Gabriel Peal <gpeal@google.com> Update support lib for changed MediaSession and MediaController APIs

Change-Id: Ib44c8ac3780bbaccdb68ec54d8225677edc0936b
upport/v4/media/session/MediaControllerCompat.java
upport/v4/media/session/MediaSessionCompat.java
0343846a5d066b6529ccd8265aeddc73fe080603 23-Jul-2014 RoboErik <epastern@google.com> Merge "Update to support AudioAttributes in sessions" into lmp-dev
b2216c3ffda4d63d3f0c9f6b16afc8c912c4296e 23-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Fix NotificationCompat javadoc errors

Change-Id: I93928caab290ecb69efcdac385a6e2ce84a2a355
upport/v4/app/NotificationCompat.java
569c49e672218d3a9d391a16e4c1b50507d5eccf 22-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add EXTRA_COMPACT_ACTIONS to NotificationCompat

Change-Id: I044ca2f0b49bf45b8315489fc720be8d2aba1c83
upport/v4/app/NotificationCompat.java
1435afe32073dee10e721dfb6122ce6a194a6412 22-Jul-2014 RoboErik <epastern@google.com> Update to support AudioAttributes in sessions

This does the minimal work to build with AudioAttributes in the
sessions apis. More work will need to be done to fully support them
here.

Change-Id: I5ecda170927025b8e21a365bd58260863a1305c0
upport/v4/media/session/MediaControllerCompat.java
eeb7ac88c693732f66df764310394c80fd927fd5 19-Jul-2014 Adam Powell <adamp@google.com> Don't animate the ActionBarDrawerToggle drawer indicator for new apps

The new Toolbar-backed action bars provide enough space for navigation
that the drawer glyph has its own permanent button-like
position. Don't slide it back and forth like the Holo version if the
app is new and running on a new platform version. Also let the app
decide this manually.

Bug 15885014

Change-Id: I43b66b750d8db13ad4da646ee70fd39d8019c257
upport/v4/app/ActionBarDrawerToggle.java
4c147f607688b619a302c20d40f19d704a31f43d 18-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Merge "Add category constants to NotificationCompat" into lmp-dev
1f94e518424cbf818607f63e353f2a597ed1dd37 18-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add category constants to NotificationCompat

Change-Id: Id975cf19a0025391694bee7dc8f76d0ce43e04a0
upport/v4/app/NotificationCompat.java
689ab224266f62aefb35ef0b80af6edf66eb8972 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum]

Change-Id: I692772260d31fea54a642f3020d02dcb763d1d5d
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
12ffe36178df269e0c2d3b33f7de360e74c63f71 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum

Change-Id: I533ddfbfbf1ebf03dafc86b9f913d584c863b2a2
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
31cba2230f2d39d69a68c15d34ffef797afcd367 18-Jul-2014 Mindy DelliCarpini <mindyp@google.com> Revert "Material design style swipe to refresh"

This reverts commit 12ffe36178df269e0c2d3b33f7de360e74c63f71.

need to fix docs; cherry picking it back in with the fix

Change-Id: Ie386264870ba40727e83056a0f1a8cbc91aee3a2
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
798914179bd42ecafc06ea5ac9514cd37cd0b334 18-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Merge "Revert "Material design style swipe to refresh"" into lmp-dev
b3115149a1b8bae074cbce6cb9a42da1e662d377 18-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Revert "Material design style swipe to refresh"

This reverts commit 2c5b547f947f9256b991489bc7d5cbbf09f8a51d.

Change-Id: If67777aabd56565be6748cda5ac5134bf67d7385
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
dfefa3824b7b680686c7bbfea95f6cdbe0ced80e 18-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Merge "Material design style swipe to refresh" into lmp-dev
75e2071f16bae2b22d1618026d10337daad862cf 17-Jul-2014 Bryan Mawhinney <bryanmawhinney@google.com> Add NotificationCompat support for getting category

It'll only ever be non null on api 21 devices for the moment,
but we may make it writable on earlier versions later.

Change-Id: If10f66b03cc045b9c6ad6745cc508094a66b839e
upport/v4/app/NotificationCompat.java
2c5b547f947f9256b991489bc7d5cbbf09f8a51d 08-Jul-2014 Mindy Pereira <mindyp@google.com> Material design style swipe to refresh

b/15672855 update swipe refresh for Quantum

Change-Id: I89df442ec3a922c950a02a60c34f75ec4fefa31f
upport/v4/widget/MaterialProgressDrawable.java
upport/v4/widget/SwipeRefreshLayout.java
ead061ff8567599fa905a1ee1de2532b7050d7fa 16-Jul-2014 RoboErik <epastern@google.com> change adjustVolumeBy to adjustVolume

Change-Id: I92ff31106eade5d085b0fa8b8a1b3e2de10ea970
upport/v4/media/VolumeProviderCompat.java
c40d36383f21a8ad199f440b1f233c923910e82a 16-Jul-2014 Jeff Sharkey <jsharkey@android.com> Add code cache directory for apps.

This provides a directory where apps can cache compiled or optimized
code generated at runtime. The platform will delete all files in
this location on both app and platform upgrade.

Bug: 16187224
Change-Id: I0f6a342d8dc2241aa475938ea18c9def311e46bc
upport/v4/content/ContextCompat.java
88c9c806e14907d335f67ab4f0db90502fd17b59 15-Jul-2014 Adam Powell <adamp@google.com> Merge "Port of nested fragments patch" into lmp-dev
9218f2cb7518b7647f3d6daf8d51f45c1ded7fe2 15-Jul-2014 Ying Wang <wangying@google.com> Fix docs build.

Change-Id: Id2829be70a41ea3c133630b0ebfcac46fff2f6e7
upport/v4/content/ContextCompat.java
0f3dfb28a503b3fb3e51666dd565b0d17eaebfbb 14-Jul-2014 Adam Powell <adamp@google.com> Port of nested fragments patch

Nested fragments - fragments inflated from within another fragment -
are now added to the containing fragment's child fragment manager
instead of the Activity's fragment manager.

Bug 12763389

Change-Id: I32b3322c9b6344c69f2fefc6e443b656b5f8fc5b
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
ddb342c80752e8e750c13cafce5cd66fda574cd5 15-Jul-2014 Christopher Tate <ctate@google.com> Merge "Add Context.getNoBackupFilesDir() to compat lib v4" into lmp-dev
5525d0e30d8d9d068790e9420a433f63dd1f0e00 15-Jul-2014 Christopher Tate <ctate@google.com> Add Context.getNoBackupFilesDir() to compat lib v4

Bug 16240573

Change-Id: Iec1aed0e05fd2eec980826450354feaa18ca6760
upport/v4/content/ContextCompat.java
70fb3e5463a78e491194a53febd672230338a8fc 15-Jul-2014 Griff Hazen <griff@google.com> am c5f26b6a: am 6d7958ab: Fix an out-of-sync bug in notification side channeling

* commit 'c5f26b6ac437b6abaaa04922118497a354b7063c':
Fix an out-of-sync bug in notification side channeling
84b0350796e4ae8a113ce1abba54f07a2605cc5c 14-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I70771f7f4a1e4b83212661ee8e3e884e9ffb0b39
upport/v4/media/session/PlaybackStateCompat.java
c5f26b6ac437b6abaaa04922118497a354b7063c 14-Jul-2014 Griff Hazen <griff@google.com> am 6d7958ab: Fix an out-of-sync bug in notification side channeling

* commit '6d7958ab7712efa7d6aece311208e4f2d43c1886':
Fix an out-of-sync bug in notification side channeling
f633e9521802aeadfea1aec5724348b8eafd1b1d 11-Jul-2014 Dake Gu <dake@google.com> ViewCompat public methods should be static

Change-Id: I47a81727dbee8254385ac3c073f52d0c4847113d
upport/v4/view/ViewCompat.java
0bf2af5f2d3034e7c8e4aadb076d258122906e1d 11-Jul-2014 Dake Gu <dake@google.com> add transtiionName, transitionGroup to ViewCompat/ViewGroupCompat

Change-Id: I520a7d8a37b51c6f0421386b8766a36d52dcac9b
upport/v4/view/ViewCompat.java
upport/v4/view/ViewGroupCompat.java
8b8a369d50ff43ad2a8836e66283c2bca9c2711e 09-Jul-2014 George Mount <mount@google.com> Expose delayed Activity Transitions.

Bug 16182950

Change-Id: I8c911e103cdc418d311f5489f23e56e8230672ee
upport/v4/app/ActivityCompat.java
upport/v4/app/FragmentActivity.java
6d7958ab7712efa7d6aece311208e4f2d43c1886 11-Jul-2014 Griff Hazen <griff@google.com> Fix an out-of-sync bug in notification side channeling

And remove a couple unnecessary side channel calls on new
SDK versions where side channeling is disabled.

Bug: 15934174

Change-Id: I9d0a572c84da0e83aac54b896fd669ce58f58739
upport/v4/app/NotificationCompatSideChannelService.java
upport/v4/app/NotificationManagerCompat.java
d2eec9eeb9bacd4b62d4fc1c66760ec1f7f8a73b 11-Jul-2014 Erik Pasternak <roboerik@android.com> Revert "Update PlaybackState for api changes"

Will resubmit tomorrow for Build Breakage Friday as this change needs new SDK prebuilts for unbundled app branches.

This reverts commit 6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156.

Change-Id: I45ed32dcf74c2cb0db4e68e8851995c778c35fa3
upport/v4/media/session/PlaybackStateCompat.java
6a8dd5697fe59c7cf017fbbfcf4e24264e0a0156 10-Jul-2014 RoboErik <epastern@google.com> Update PlaybackState for api changes

bug:15862252
Change-Id: I05ba921021a3b2818519324654a52953cd0059ca
upport/v4/media/session/PlaybackStateCompat.java
c55f505d6e5cd8b701721f42431bfd742a1968f0 03-Jul-2014 Chris Banes <chrisbanes@google.com> Add getAllocationByteCount shim to BitmapCompat

Change-Id: I200c9445a8f0503df681a9f16d613e4b0107f2ea
upport/v4/graphics/BitmapCompat.java
c6cdc41397bc3ad2c936069af6d448f242790513 01-Jul-2014 Chris Banes <chrisbanes@google.com> Update Palette + AsyncTaskCompat

- Added AsyncTaskCompat to v4
- Moved PaletteItem into Swatch inner class of Palette
- Removed unnecessary copying of pixel int[] data
- Use THREAD_POOL_EXECUTOR for AsyncTask
- Various other improvements

Change-Id: I06f1efefcdfa3d22578653b5f5da3d61a064b5d5
upport/v4/os/AsyncTaskCompat.java
51ea7c98b34f39a2da711549a0a443c77f2c94b0 03-Jul-2014 Narayan Kamath <narayan@google.com> Revert "Update Palette + AsyncTaskCompat"

This reverts commit b14fc7c928307b6758688ed38590bf674c62a01b.

Change-Id: I57a2cee10f4084e921bc9204784c6fffce56b80b
upport/v4/os/AsyncTaskCompat.java
b14fc7c928307b6758688ed38590bf674c62a01b 01-Jul-2014 Chris Banes <chrisbanes@google.com> Update Palette + AsyncTaskCompat

- Added AsyncTaskCompat to v4
- Moved PaletteItem into Swatch inner class of Palette
- Removed unnecessary copying of pixel int[] data
- Use THREAD_POOL_EXECUTOR for AsyncTask
- Various other improvements

Change-Id: I66ada4bd2d4cec48b87acce50fb0fd6952473c25
upport/v4/os/AsyncTaskCompat.java
60afe0bb9ee626e5b48289a20a341c6066a64dc8 01-Jul-2014 George Mount <mount@google.com> Fix stack overflow from finishAfterTransition.

Bug 16008407

Change-Id: I61bd7648dac15dff293a40b812e3f89827ca4bdc
upport/v4/app/FragmentActivity.java
8ea3b7e9bae080d5ab65a150e952c87db70cc3a3 25-Jun-2014 Jeff Brown <jeffbrown@google.com> Make MediaSessionToken an inner class of MediaSession.

Change-Id: I3556c3d856ab6d1a9e6e0959f8e50be148da1187
upport/v4/media/session/MediaSessionCompat.java
24fa6c0dd42df057729e1a258388183f94da7f82 24-Jun-2014 Jeff Brown <jeffbrown@google.com> Add media session wrappers to support library.

This is an initial check-in which just wraps the API 21+ media session
features for use in the support library. It does not provide any
backwards compatibility.

Change-Id: Ife5f8ddeefa8c6920517fc6704cc19e22767b7d6
upport/v4/media/MediaMetadataCompat.java
upport/v4/media/RatingCompat.java
upport/v4/media/VolumeProviderCompat.java
upport/v4/media/session/MediaControllerCompat.java
upport/v4/media/session/MediaSessionCompat.java
upport/v4/media/session/PlaybackStateCompat.java
d9eb04dbc96599246581624c2c0e07b31eae3ca9 30-Jun-2014 George Mount <mount@google.com> Merge changes I7f18f9b9,Ic393edf3

* changes:
Add support for shared elements in fragment transitions.
Add support for ActivityTransitions.
8e4a59b54e9225b77151805dd6b8867dcd8e60a4 30-Jun-2014 Craig Mautner <cmautner@google.com> Restore saved state across config changes

The saved state bundle was being saved but not restored. Normally
this doesn't matter but some views (notably DialogPreference) was
saving it's show/hide state and relaunching itself after a rotation
based on what was in the bundle.

Fixes bug 15559669.

Change-Id: I06fc2f6bb4f96e1d17f7b35514de50f3e345fd89
upport/v4/app/FragmentManager.java
4500be62dea3895a98336122a2944cc4ab024bc5 27-Jun-2014 George Mount <mount@google.com> Add support for shared elements in fragment transitions.

Bug 15891071

Custom transitions in the Fragment Transaction have a
higher priority than animations, transition style, or
transition resource. If the API < 20, custom transitions
will not be active and the other animation types will
take effect.

Change-Id: I7f18f9b9a75f73d58a16184a301458bdcd331098
upport/v4/app/BackStackRecord.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTransaction.java
559b5e8554651ffc9f9cc639f8e363b9494fc98a 26-Jun-2014 George Mount <mount@google.com> Add support for ActivityTransitions.

Bug 15828815

Change-Id: Ic393edf347b15dcb0563d21c5bb7d9e702a3b71b
upport/v4/app/ActivityCompat.java
upport/v4/app/ActivityOptionsCompat.java
upport/v4/app/FragmentActivity.java
upport/v4/app/SharedElementListener.java
upport/v4/util/Pair.java
27114d799f899ffca4b2c7236b9504dab003a5ed 30-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Merge "Remove TextToSpeechClient API."
e2279e2a97c5983f09343c1c1ee23dba8325d874 26-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Remove TextToSpeechClient API.

Bug: 15834470
Change-Id: I1f42c4c0a86d5a9f3a0260834424c33107f2a556
upport/v4/speech/tts/TTSImplementationV1.java
upport/v4/speech/tts/TextToSpeechClientCompat.java
0c92ce9c7637d9fe48e360c57ad54653abb05c35 24-Jun-2014 Mindy Pereira <mindyp@google.com> Merge "Adjust DrawerLayout touch intercept code"
fa6606c56c20fa27fd653dafa1b70efd4d963058 23-Jun-2014 Mindy Pereira <mindyp@google.com> Adjust DrawerLayout touch intercept code

Adjust the DrawerLayout's touch intercept code not to take over
touch events unless you crossed the slop in a direction that isn't
currently restricted - i.e. you're not trying to open an already
open drawer.

Change-Id: I1dc77476077c8060caa55311c2d695151b5296fe
upport/v4/widget/ViewDragHelper.java
26d3baddb1cc012cedb65e2d481f1d4fe8e9e987 24-Jun-2014 Chris Wren <cwren@android.com> am e616137c: Update support lib javadocs for heads up behavior.

* commit 'e616137cc03e4b4be450cbaa4a9c29f2b77d991a':
Update support lib javadocs for heads up behavior.
e616137cc03e4b4be450cbaa4a9c29f2b77d991a 18-Jun-2014 Chris Wren <cwren@android.com> Update support lib javadocs for heads up behavior.

The heads up notification is influences by full screen, sound,
vibration and priority. Update the documentation on those APIs to
explain this.

Bug: 15509793
Change-Id: I91202fefe6309cbb210ef4ce7c8b76f1b75e9cc5
upport/v4/app/NotificationCompat.java
7c8854f644791c91c7d8e3f38030fcca411e031d 21-Jun-2014 Nick Kralevich <nnk@google.com> am 1102db35: am 545c89b3: am 6ac0127d: Merge "FileProvider: fix doc link"

* commit '1102db3539424b2aef621bc629513e046530463f':
FileProvider: fix doc link
1102db3539424b2aef621bc629513e046530463f 21-Jun-2014 Nick Kralevich <nnk@google.com> am 545c89b3: am 6ac0127d: Merge "FileProvider: fix doc link"

* commit '545c89b3a7e72ae6c8af3427b6837d31c8aaaf52':
FileProvider: fix doc link
6ac481ae682ce6c374ab7ba646f55f679fdf9afc 21-Jun-2014 Nick Kralevich <nnk@google.com> FileProvider: fix doc link

The existing link is 404ing. Provide the proper link.

Change-Id: I571cee980f1753b2873a76064c74fd26f9854ae6
upport/v4/content/FileProvider.java
1b82f58037a3e66fe8cdafc306d97890d21aad4c 18-Jun-2014 Hui Lu <huilu@google.com> am 978a03f7: Merge "Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices." into klp-modular-dev

* commit '978a03f764dd6adb4c6b4740c247433ae23fcc97':
Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.
ed6e54a430bd7b83b580e6ccb4c59e5a3dc27934 18-Jun-2014 Hui Lu <huilu@google.com> am 1b82f580: am 978a03f7: Merge "Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices." into klp-modular-dev

* commit '1b82f58037a3e66fe8cdafc306d97890d21aad4c':
Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.
c316a219e48ff3716e894300c1ab81678666bbc5 18-Jun-2014 Hui Lu <huilu@google.com> am 53ca6fe2: am fd921e20: Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev

* commit '53ca6fe25ec5e92e8701b1102cec940db82d9dda':
Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.
53ca6fe25ec5e92e8701b1102cec940db82d9dda 18-Jun-2014 Hui Lu <huilu@google.com> am fd921e20: Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev

* commit 'fd921e20cdf7ba4b28318954d5b6aef5d3d8d30e':
Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.
c32ae5a9546865857b5b50bad144aa9355102a1e 18-Jun-2014 Alan Viverette <alanv@google.com> Merge "Update explore-by-touch helper getVirtualViewAt docs"
cd9978cdf0c3852189fb881846db6569d43f5598 18-Jun-2014 Alan Viverette <alanv@google.com> Update explore-by-touch helper getVirtualViewAt docs

BUG: 13387906
Change-Id: Ib7852fe2543b0337ed02771fb6363cbe8b042d38
upport/v4/widget/ExploreByTouchHelper.java
8dd0fbde8e9c7ae4bee382c5f7a75217b3830795 18-Jun-2014 Hui Lu <huilu@google.com> Instantiate correct Impl class in NotificationManagerCompat for API 14+ devices.

Bug: 15722606
Change-Id: I8e117af5d70e3c310bc009a14f59f68c9fa2a2ac
upport/v4/app/NotificationManagerCompat.java
fd921e20cdf7ba4b28318954d5b6aef5d3d8d30e 18-Jun-2014 Hui Lu <huilu@google.com> Merge "Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices." into klp-modular-dev
41d83b6efd08c558de282223123235e373d7815a 12-Jun-2014 Hui Lu <huilu@google.com> Disallow clients to bind to NotificationCompatSideChannelService instances on API 20+ devices.

Bug: 14168502
Change-Id: I8783372d9e21f29ac510b89344e8d3f7d2d801b5
upport/v4/app/NotificationCompatSideChannelService.java
2e53188658314cc7abbd0f4dc3d0818b48cc5fd5 17-Jun-2014 Robert Ly <robertly@google.com> am 913895da: am 8009e382: Merge "fix javadocs b/14414251" into klp-modular-dev

* commit '913895dab200fa596aacd35884ed61022f8081ad':
fix javadocs b/14414251
913895dab200fa596aacd35884ed61022f8081ad 17-Jun-2014 Robert Ly <robertly@google.com> am 8009e382: Merge "fix javadocs b/14414251" into klp-modular-dev

* commit '8009e3823c35c7f58a1b5bd0857e50723e593e9b':
fix javadocs b/14414251
21716703f90841d7571ec7ef17c8549e705a052d 17-Jun-2014 Griff Hazen <griff@google.com> am 9335fd82: am bc8f49b8: Document best practices for display intent activities (Compat).

* commit '9335fd82424fd8cdb2b7e0a30994ce848b4e31ca':
Document best practices for display intent activities (Compat).
9335fd82424fd8cdb2b7e0a30994ce848b4e31ca 17-Jun-2014 Griff Hazen <griff@google.com> am bc8f49b8: Document best practices for display intent activities (Compat).

* commit 'bc8f49b8cd63e6c24322a013d47e805a8789685e':
Document best practices for display intent activities (Compat).
bc8f49b8cd63e6c24322a013d47e805a8789685e 17-Jun-2014 Griff Hazen <griff@google.com> Document best practices for display intent activities (Compat).

Bug: 15412926
Change-Id: Ic5f4bb82e7cfaa3a17c7fc31fb3b47a20a1405cb
upport/v4/app/NotificationCompat.java
1f4a7ee285e9796902472ea39a72683a6bf97a7a 17-Jun-2014 Griff Hazen <griff@google.com> [Doc fix] Document best practices for display intent activities (Compat).

Bug: 15412926
Change-Id: Ic5f4bb82e7cfaa3a17c7fc31fb3b47a20a1405cb
(cherry picked from commit bc8f49b8cd63e6c24322a013d47e805a8789685e)
upport/v4/app/NotificationCompat.java
8009e3823c35c7f58a1b5bd0857e50723e593e9b 17-Jun-2014 Robert Ly <robertly@google.com> Merge "fix javadocs b/14414251" into klp-modular-dev
040bddb475b7c4d1bc9f14c053573ca7ae441545 12-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> s/ITextToSpeechClient/TTSImplementation.

"I" prefix is reserved for AIDL interfaces in Android.

Change-Id: I0d43b6f7f58c6961f800e6ca4b02f5b68f2ef0ee
upport/v4/speech/tts/TTSImplementationV1.java
upport/v4/speech/tts/TextToSpeechClientCompat.java
805a043564a565ee603ae5b5c8e96fd967fe4ec8 12-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Remove TTSImplementationV2. DO NOT MERGE

TTS V2 interface is hidden for the lmp-preview. With hidden
interface, the support library can't be built.

Bug: 15519251
Change-Id: Ie67e13c444447848331b54378844ed16267d9588
upport/v4/speech/tts/TextToSpeechClientCompat.java
354170cfa4fc97962bd9070a41cfa24e3e9595f7 11-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Hide new TTS API for the lmp-preview. DO NOT MERGE

Bug: 15519251
Change-Id: I3900acc55c5767e71834bac4977835ac800d77dc
upport/v4/speech/tts/TTSImplementationV1.java
upport/v4/speech/tts/TextToSpeechClientCompat.java
5dc9e705fad3b6a0e0ceedb8cb8cee9e6716802f 12-Jun-2014 Alan Viverette <alanv@google.com> Only invalidate the SwipeProgressBar region within its parent

BUG: 15452577
Change-Id: I061aeb8ea75e258a41dd8054c31b56f8022c8c58
upport/v4/widget/SwipeProgressBar.java
389a2e54dda92632fc0004c17323ae4e5a249277 03-Jun-2014 Kristian Monsen <kristianm@google.com> Adding getActionList to the support library

Change-Id: Ic317d437986375f4d75f54cefaf9e0ed75c4a5f6
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
94c402f96c20cf5ad36ac953741f8c9c78f7795a 04-Jun-2014 Alan Viverette <alanv@google.com> am d6757b59: Merge "Add support library utils for Resources.getDrawable()" into lmp-preview-dev

* commit 'd6757b59b221ae65dbb3266e8432d9b1512e63a8':
Add support library utils for Resources.getDrawable()
b3a8ff8cdefdf314a87087a12f46893884869453 04-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Revert "Add missing #isSpeaking to TTS API V2"

This reverts commit 55490349de9fcd0f5969445a56e2f6d1f1019e08.

I will re-submit this commit after TextToSpeechClient#isSpeaking is in the pre-build framework jar.

Change-Id: I3f9fed2ea1c579f953868732e71973296d152e68
upport/v4/speech/tts/TTSImplementationV1.java
55490349de9fcd0f5969445a56e2f6d1f1019e08 04-Jun-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add missing #isSpeaking to TTS API V2

This change mirrors recent changes in the TTS API.

Change-Id: Ifbf2a05cf578ed9dae296af95192ffbe84c0ef54
upport/v4/speech/tts/TTSImplementationV1.java
4580f37aae4005195dfb5043065222194a7e6e2c 03-Jun-2014 Scott Main <smain@google.com> am 573b6db4: am 024cd314: am 823b284b: am e41303eb: add link to view pager guide

* commit '573b6db454123bc970f4e53e517dc8f03f52b959':
add link to view pager guide
8db6ff6f35590d899717f792ada3ca8f182769dd 03-Jun-2014 Scott Main <smain@google.com> am 07d0c7a9: am 64d397d1: am 137361b6: am 95572937: add link to nav drawer guide

* commit '07d0c7a98302c26ab3cb62353017e6b3dc46a40b':
add link to nav drawer guide
573b6db454123bc970f4e53e517dc8f03f52b959 03-Jun-2014 Scott Main <smain@google.com> am 024cd314: am 823b284b: am e41303eb: add link to view pager guide

* commit '024cd314a95618a9971dc75fea45dcfa8c65d538':
add link to view pager guide
07d0c7a98302c26ab3cb62353017e6b3dc46a40b 03-Jun-2014 Scott Main <smain@google.com> am 64d397d1: am 137361b6: am 95572937: add link to nav drawer guide

* commit '64d397d1cd3f1042d34a80eccf2fe6b8a2421683':
add link to nav drawer guide
77b88e3651ede1a5d45fb4c19f34b2f78d67f33f 03-Jun-2014 Robert Ly <robertly@google.com> fix javadocs b/14414251

Change-Id: I2d36628067d9d2f316f2d45f6abaef3e52074e1f
upport/v4/app/NotificationCompat.java
024cd314a95618a9971dc75fea45dcfa8c65d538 03-Jun-2014 Scott Main <smain@google.com> am 823b284b: am e41303eb: add link to view pager guide

* commit '823b284b75bffd7b48b611b09ad8c769af28a787':
add link to view pager guide
823b284b75bffd7b48b611b09ad8c769af28a787 03-Jun-2014 Scott Main <smain@google.com> am e41303eb: add link to view pager guide

* commit 'e41303eb1c37a18b64e99cf58fd1a155e832acbc':
add link to view pager guide
e41303eb1c37a18b64e99cf58fd1a155e832acbc 03-Jun-2014 Scott Main <smain@google.com> add link to view pager guide

Change-Id: Idb3b4628a051d1190f198cdbb069e150600f7c2a
upport/v4/view/ViewPager.java
64d397d1cd3f1042d34a80eccf2fe6b8a2421683 03-Jun-2014 Scott Main <smain@google.com> am 137361b6: am 95572937: add link to nav drawer guide

* commit '137361b62d57c618e0ec55d67ca06c99a38ff7a1':
add link to nav drawer guide
137361b62d57c618e0ec55d67ca06c99a38ff7a1 03-Jun-2014 Scott Main <smain@google.com> am 95572937: add link to nav drawer guide

* commit '95572937e188a6f5724bfe1217efd04073e2c705':
add link to nav drawer guide
95572937e188a6f5724bfe1217efd04073e2c705 03-Jun-2014 Scott Main <smain@google.com> add link to nav drawer guide

Change-Id: I804def81993234ed6ea965243279af9d8c9f426a
upport/v4/widget/DrawerLayout.java
0f0408b6514f8e9c105d255de3c62dc91744f7a8 03-Jun-2014 Alan Viverette <alanv@google.com> Add support library utils for Resources.getDrawable()

Change-Id: I688959e68469d57b3bd675cbd7b87b5abb8971fc
upport/v4/content/res/ResourcesCompat.java
0ada834fa56a1561392a82d6a1f2aca73f65c033 28-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Add full screen size preset to NotificationCompat.WearableExtender

Bug: 14838838
Change-Id: I902b0b06a6daaedafbc8e30173da6d6257bac431
upport/v4/app/NotificationCompat.java
38dd0b8b9000a489c4b43a445dc614380c1b36d1 26-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Doc fixes for NotificationCompat.WearableExtender

Change-Id: I9218d7d18450d571721bd0a8e79b468ac98d22aa
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatSideChannelService.java
de49561684ae0fc52343e357e3e08b1b14d3a842 29-May-2014 Griff Hazen <griff@google.com> am 17a34544: am fd5d0d05: Add full screen size preset to NotificationCompat.WearableExtender

* commit '17a345445c179cd0e51078660377651781d15aa6':
Add full screen size preset to NotificationCompat.WearableExtender
17a345445c179cd0e51078660377651781d15aa6 29-May-2014 Griff Hazen <griff@google.com> am fd5d0d05: Add full screen size preset to NotificationCompat.WearableExtender

* commit 'fd5d0d05e9b44fcb0a9dab91290d53b464fc0939':
Add full screen size preset to NotificationCompat.WearableExtender
daa9963e732333648c4b6a3cef489c722f4422ee 28-May-2014 Griff Hazen <griff@google.com> am f795b120: am 33176ed9: Doc fixes for NotificationCompat.WearableExtender

* commit 'f795b120196d7dcabf057d20ae19d60f6f3355a6':
Doc fixes for NotificationCompat.WearableExtender
f795b120196d7dcabf057d20ae19d60f6f3355a6 28-May-2014 Griff Hazen <griff@google.com> am 33176ed9: Doc fixes for NotificationCompat.WearableExtender

* commit '33176ed929ad69d9b700fb4da97948e61d0e7c93':
Doc fixes for NotificationCompat.WearableExtender
fd5d0d05e9b44fcb0a9dab91290d53b464fc0939 28-May-2014 Griff Hazen <griff@google.com> Add full screen size preset to NotificationCompat.WearableExtender

For custom display notifications.

Bug: 14838838
Change-Id: I902b0b06a6daaedafbc8e30173da6d6257bac431
upport/v4/app/NotificationCompat.java
33176ed929ad69d9b700fb4da97948e61d0e7c93 26-May-2014 Griff Hazen <griff@google.com> Doc fixes for NotificationCompat.WearableExtender

Change-Id: I9218d7d18450d571721bd0a8e79b468ac98d22aa
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatSideChannelService.java
b1b21830e4dda2c931141f0843f856fe871fe7fc 24-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Fix side channel bind action: should not include wearable in name.

Change-Id: I7b12355e6b10ca164314bf1d7bf1b8f8b4c6d5a3
upport/v4/app/NotificationCompatSideChannelService.java
upport/v4/app/NotificationManagerCompat.java
d3ac32d9b20ef2f2c2630030957ff84489529dd3 24-May-2014 Griff Hazen <griff@google.com> DO NOT MERGE Cherry-pick: Add wearable extensions to notification compat.

Change-Id: If78c1ad7578c47b69b9c636383b08810e8ac83f0
upport/v4/app/NotificationCompat.java
4859f40b62880754d858165b6614b89bd4e3a785 24-May-2014 Griff Hazen <griff@google.com> am e7cbb18a: am 1a7f163f: Fix side channel bind action: should not include wearable in name.

* commit 'e7cbb18a3838bf60e1be1828bdb84dc53e9c51fd':
Fix side channel bind action: should not include wearable in name.
e7cbb18a3838bf60e1be1828bdb84dc53e9c51fd 24-May-2014 Griff Hazen <griff@google.com> am 1a7f163f: Fix side channel bind action: should not include wearable in name.

* commit '1a7f163fad9e7d0f5bc67ad44d6bf9d73d672a86':
Fix side channel bind action: should not include wearable in name.
1a7f163fad9e7d0f5bc67ad44d6bf9d73d672a86 24-May-2014 Griff Hazen <griff@google.com> Fix side channel bind action: should not include wearable in name.

Change-Id: I7b12355e6b10ca164314bf1d7bf1b8f8b4c6d5a3
upport/v4/app/NotificationCompatSideChannelService.java
upport/v4/app/NotificationManagerCompat.java
ca771be1373df304e544eb7c993a0bc593530681 24-May-2014 Griff Hazen <griff@google.com> am 48775551: am 9c49ac78: Merge "Add wearable extensions to notification compat." into klp-modular-dev

* commit '48775551145e670bb1696f961ea1b154b1a1f588':
Add wearable extensions to notification compat.
48775551145e670bb1696f961ea1b154b1a1f588 24-May-2014 Griff Hazen <griff@google.com> am 9c49ac78: Merge "Add wearable extensions to notification compat." into klp-modular-dev

* commit '9c49ac78e6a5aac549104f02ce76a10e9c7f440a':
Add wearable extensions to notification compat.
2bb98d48fdaf79a2bbd9d247da81a2bb9834dfc7 23-May-2014 Griff Hazen <griff@google.com> Add wearable extensions to notification compat.

And fix a missing extras propagation for remoteinput

Change-Id: If78c1ad7578c47b69b9c636383b08810e8ac83f0
upport/v4/app/NotificationCompat.java
cd05a19c0775e69e93e4c93b0a48ab044b531d7a 21-May-2014 Griff Hazen <griff@google.com> Merge commit '39c179ab' into manualmerge

Conflicts:
v4/Android.mk
v4/api20/android/support/v4/app/NotificationCompatApi20.java
v4/java/android/support/v4/app/NotificationCompat.java
v4/kitkat/android/support/v4/app/NotificationCompatKitKat.java

Change-Id: I1e647d427c6b789863a64e4f73099f52fec9f281
39c179ab8ab439d98abac548bc4ffce486657f8d 21-May-2014 Griff Hazen <griff@google.com> am ce16e427: Add RemoteInput, Grouping, and Extender to NotificationCompat

* commit 'ce16e4276c2f61109a23b3f6707cfcd87b07c735':
Add RemoteInput, Grouping, and Extender to NotificationCompat
ce16e4276c2f61109a23b3f6707cfcd87b07c735 21-May-2014 Griff Hazen <griff@google.com> Add RemoteInput, Grouping, and Extender to NotificationCompat

Clean up how compat actions are created/added internally
in the compat library.

Add NotificationManagerCompat to allow bypass of group child
notifications on < Api 20 platforms.

Change-Id: I0d6c67eb77726bed9a2c18290eb39aff907a8467
upport/v4/app/INotificationSideChannel.aidl
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatExtras.java
upport/v4/app/NotificationCompatSideChannelService.java
upport/v4/app/NotificationManagerCompat.java
upport/v4/app/RemoteInput.java
708b75c6599afe1a215b07458e940fe3ca13622a 21-May-2014 Griff Hazen <griff@google.com> Merge commit 'e20403d1' into master

Conflicts:
v4/java/android/support/v4/app/NotificationCompat.java
v4/kitkat/android/support/v4/app/NotificationCompatKitKat.java

Change-Id: I0435ac0ae16d62f6d602bf11b3f94e6080c57f87
e20403d12eba72f5b5a09edc798181109c6a3c89 21-May-2014 Griff Hazen <griff@google.com> am 1082da0c: Merge "Add support for extendable actions to NotificationCompat" into klp-modular-dev

* commit '1082da0c04b403abed9c26ae614707d08665b3d0':
Add support for extendable actions to NotificationCompat
0983efafed67d35592e45c33a54ebfaf355eb13c 21-May-2014 Alan Viverette <alanv@google.com> Merge "Add support lib for API 21"
195f1188a4dc1f71485808c9602be351f736734e 20-May-2014 Yigit Boyar <yboyar@google.com> am 299aea0f: am 48e3efd2: Remove Chaser from ScrollCompat

* commit '299aea0f92b1e2990851a60a0d2b1b6c685f62b8':
Remove Chaser from ScrollCompat
299aea0f92b1e2990851a60a0d2b1b6c685f62b8 20-May-2014 Yigit Boyar <yboyar@google.com> am 48e3efd2: Remove Chaser from ScrollCompat

* commit '48e3efd2e7bc8057212d3936a239838ecf6e40a9':
Remove Chaser from ScrollCompat
300ad7c234a0ccfc41ae7fdbdcdd57faece2a8e0 20-May-2014 Griff Hazen <griff@google.com> Add support for extendable actions to NotificationCompat

Change-Id: Idde6d697cc71607f4a3b20c6b4a61551e9324326
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatExtras.java
479dd28f2936062d37166a949419d332053af44c 20-May-2014 Alan Viverette <alanv@google.com> Add support lib for API 21

BUG: 15025369
Change-Id: I4d385819100befbda3be71e4bd04f649183c2c79
upport/v4/content/ContextCompat.java
48e3efd2e7bc8057212d3936a239838ecf6e40a9 20-May-2014 Yigit Boyar <yboyar@google.com> Remove Chaser from ScrollCompat

Change-Id: I348f6886eef0ebfb872b183d6ed9ebe67761db0f
upport/v4/widget/ScrollerCompat.java
df2eaed1544ecba7a4a258061e58aa93692d4a6a 18-May-2014 Dan Sandler <dsandler@android.com> Add support for notification visibility.

Change-Id: I56409f43f1d65ffd7702e5c9479bb7d6fe10a30f
upport/v4/app/NotificationCompat.java
8c266eb21bfaaa95a60c6403fdccb254f5c8892a 19-May-2014 Dan Sandler <dsandler@android.com> Merge "Follow new notification API."
69a58d36f6ed8ec4d076534556aba2f93d00254e 07-May-2014 Dan Sandler <dsandler@android.com> Follow new notification API.

Requires change Iac5e2645 from f/b.

Change-Id: I1662f6785c22c0f894b0d52425d932d94e898e78
upport/v4/app/NotificationCompat.java
057e1cf80cc9aa6d45d9e452dc192b9f08e960de 17-May-2014 Chet Haase <chet@google.com> am d7062b48: am d7d27e9e: Add animations to RecyclerView

* commit 'd7062b48438f034f04f0b306b37f0100ae57ff4d':
Add animations to RecyclerView
d7062b48438f034f04f0b306b37f0100ae57ff4d 17-May-2014 Chet Haase <chet@google.com> am d7d27e9e: Add animations to RecyclerView

* commit 'd7d27e9ebe5c7325e67e1a8af265378bd2056cad':
Add animations to RecyclerView
d7d27e9ebe5c7325e67e1a8af265378bd2056cad 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

This CL adds the basic plumbing for animating item changes in
RecyclerView. It also implements the bare essentials add/delete
animations. When the app specifies that items have been
added/removed (by calling the appropriate Adapter methods), the
RecyclerView will determine the appropriate fading and moving
animations to animate the items being added, removed, and moved
into new locations.

Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPropertyAnimatorCompat.java
26647ac868df0be9d10cb9f448ae22555820cce4 15-May-2014 Chet Haase <chet@google.com> am e3382f48: am 3f67f4cd: Merge "Revert "Add animations to RecyclerView"" into klp-modular-dev

* commit 'e3382f485e3a7521afb50ca105c2922dcc0f96c6':
Revert "Add animations to RecyclerView"
e3382f485e3a7521afb50ca105c2922dcc0f96c6 15-May-2014 Chet Haase <chet@google.com> am 3f67f4cd: Merge "Revert "Add animations to RecyclerView"" into klp-modular-dev

* commit '3f67f4cd9694e896d6ac4a0c0199b6f960bd20de':
Revert "Add animations to RecyclerView"
b1bfdf4c03d1b25959c5818805b997020f7ed085 15-May-2014 Chet Haase <chet@google.com> Revert "Add animations to RecyclerView"

This reverts commit 33b18903168c177d65e3c2ef7398c1b2ca0c826f.

Change-Id: I41664a375f9fc5fa878481b90cd2e61aad17f739
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPropertyAnimatorCompat.java
c4e1549028a238d3fff8cf89477f08aff9e8faa6 14-May-2014 Chet Haase <chet@google.com> am 9c11a36a: am 33b18903: Add animations to RecyclerView

* commit '9c11a36ae89f30595fdd684a7e42d9048db0fdae':
Add animations to RecyclerView
9c11a36ae89f30595fdd684a7e42d9048db0fdae 14-May-2014 Chet Haase <chet@google.com> am 33b18903: Add animations to RecyclerView

* commit '33b18903168c177d65e3c2ef7398c1b2ca0c826f':
Add animations to RecyclerView
33b18903168c177d65e3c2ef7398c1b2ca0c826f 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

This CL adds the basic plumbing for animating item changes in
RecyclerView. It also implements the bare essentials add/delete
animations. When the app specifies that items have been
added/removed (by calling the appropriate Adapter methods), the
RecyclerView will determine the appropriate fading and moving
animations to animate the items being added, removed, and moved
into new locations.

Change-Id: If70c09e7af168ce5963c785b5886a18c87a7dc98
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPropertyAnimatorCompat.java
c08b0b821305cb47ed4a76440fd228fcbd1fa444 09-May-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Fix unresolved link tags from tts in v4 support library.

Change-Id: I00f97aadf430aebd517d38a06d975d6cbec00d24
upport/v4/speech/tts/TextToSpeechClientCompat.java
0e50d44bd5963694af952b2380c12ea54666056a 09-May-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Merge "Merge TTS support library into android-support-v4"
8e65b64e60cfcf07acafecbde5a750bdcfdc2df1 07-May-2014 Przemyslaw Szczepaniak <pszczepaniak@google.com> Merge TTS support library into android-support-v4

v4 is the lowest API that exposes TextToSpeech, so it makes sense
to drop the TTS support library into the existing android-support-v4.

I've added a new helper sub-library named android-support-v4-donut (API level 4).
It contains all the public classes and interfaces needed by the new TTS API
support. Thanks to that library, all later helper sub-libraries can directly
use those classes and interfaces - it makes the implementation significantly
simpler.

Change-Id: Idd03a8ad85e256007874e611c464f378e7a29c15
upport/v4/speech/tts/TTSImplementationV1.java
upport/v4/speech/tts/TextToSpeechClientCompat.java
073496aaeffef25e0833e6398ce836566a05ff52 08-May-2014 fafaisland <fafaisland@google.com> am 39a3d658: am fdc9daf8: am 65202d69: Merge "Fix the bug that SlidingPaneLayout doesn\'t fling correctly in RTL direction." into klp-ub-dev

* commit '39a3d658b74768807df550cc0ac1a1a2624ed799':
Fix the bug that SlidingPaneLayout doesn't fling correctly in RTL direction.
39a3d658b74768807df550cc0ac1a1a2624ed799 07-May-2014 fafaisland <fafaisland@google.com> am fdc9daf8: am 65202d69: Merge "Fix the bug that SlidingPaneLayout doesn\'t fling correctly in RTL direction." into klp-ub-dev

* commit 'fdc9daf863caa0ad90fbb180301809f075869dfb':
Fix the bug that SlidingPaneLayout doesn't fling correctly in RTL direction.
fdc9daf863caa0ad90fbb180301809f075869dfb 07-May-2014 fafaisland <fafaisland@google.com> am 65202d69: Merge "Fix the bug that SlidingPaneLayout doesn\'t fling correctly in RTL direction." into klp-ub-dev

* commit '65202d69d633b909f97c2a5ed65d9071232ef9a7':
Fix the bug that SlidingPaneLayout doesn't fling correctly in RTL direction.
65202d69d633b909f97c2a5ed65d9071232ef9a7 07-May-2014 fafaisland <fafaisland@google.com> Merge "Fix the bug that SlidingPaneLayout doesn't fling correctly in RTL direction." into klp-ub-dev
7099553551ccfc346e22843e0541ed4393c9c4ed 07-May-2014 fafaisland <fafaisland@google.com> Fix the bug that SlidingPaneLayout doesn't fling correctly
in RTL direction.

Change-Id: I44af1e793b6c4042b199ef1dba2112a0861e9af3
upport/v4/widget/SlidingPaneLayout.java
293424285a2319c5820f33ce52a954027e73d3b4 06-May-2014 Andrew Flynn <flynn@google.com> am 91d54969: am 651cad9b: am 2a8edbe9: Merge "Revert "Separate scroll and swipe views in SwipeRefreshLayout"" into klp-ub-dev

* commit '91d549696949d9a841e6d69b357d62fd8441b87e':
Revert "Separate scroll and swipe views in SwipeRefreshLayout"
91d549696949d9a841e6d69b357d62fd8441b87e 06-May-2014 Andrew Flynn <flynn@google.com> am 651cad9b: am 2a8edbe9: Merge "Revert "Separate scroll and swipe views in SwipeRefreshLayout"" into klp-ub-dev

* commit '651cad9b39692ee4b7cae295407d87ca0f30d163':
Revert "Separate scroll and swipe views in SwipeRefreshLayout"
651cad9b39692ee4b7cae295407d87ca0f30d163 06-May-2014 Andrew Flynn <flynn@google.com> am 2a8edbe9: Merge "Revert "Separate scroll and swipe views in SwipeRefreshLayout"" into klp-ub-dev

* commit '2a8edbe937d2435501228596f87bfda3e88d1a0b':
Revert "Separate scroll and swipe views in SwipeRefreshLayout"
2a8edbe937d2435501228596f87bfda3e88d1a0b 06-May-2014 Andrew Flynn <flynn@google.com> Merge "Revert "Separate scroll and swipe views in SwipeRefreshLayout"" into klp-ub-dev
ca9e92293ff32b4a8a15513b0a7afe42c127cdb7 06-May-2014 Andrew Flynn <flynn@google.com> Revert "Separate scroll and swipe views in SwipeRefreshLayout"

This reverts commit cb084a5eea8cc641096fc288cb7156e0bb866d81.

Change-Id: If8606bea02389900832a68bc84144c9e552797c4
upport/v4/widget/SwipeProgressBar.java
upport/v4/widget/SwipeRefreshLayout.java
9d460eec370a1356d05233f3e7df5033c1c4537b 06-May-2014 Andrew Flynn <flynn@google.com> am 7f2d284d: am 246998f2: am 2803daba: Merge "Separate scroll and swipe views in SwipeRefreshLayout" into klp-ub-dev

* commit '7f2d284d1eac5e801cb3c6021b7b1f4d00e5f306':
Separate scroll and swipe views in SwipeRefreshLayout
7f2d284d1eac5e801cb3c6021b7b1f4d00e5f306 06-May-2014 Andrew Flynn <flynn@google.com> am 246998f2: am 2803daba: Merge "Separate scroll and swipe views in SwipeRefreshLayout" into klp-ub-dev

* commit '246998f22ac7d7e383627d8aec8d914d0b29cdb5':
Separate scroll and swipe views in SwipeRefreshLayout
246998f22ac7d7e383627d8aec8d914d0b29cdb5 06-May-2014 Andrew Flynn <flynn@google.com> am 2803daba: Merge "Separate scroll and swipe views in SwipeRefreshLayout" into klp-ub-dev

* commit '2803daba6913382ab920319ec7128cd590c72772':
Separate scroll and swipe views in SwipeRefreshLayout
2803daba6913382ab920319ec7128cd590c72772 06-May-2014 Andrew Flynn <flynn@google.com> Merge "Separate scroll and swipe views in SwipeRefreshLayout" into klp-ub-dev
120c2dacb760e01e99797ed1d28514c3476dd458 06-May-2014 Andrew Solovay <asolovay@google.com> am 66c904ae: am 029b213f: am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '66c904aec5bea54f4f7e72276358cdcfd3881f74':
doc: Documented priority constants for setPriority(int)
66c904aec5bea54f4f7e72276358cdcfd3881f74 06-May-2014 Andrew Solovay <asolovay@google.com> am 029b213f: am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '029b213f286302e5a9fc3a3d33b749a951026b57':
doc: Documented priority constants for setPriority(int)
029b213f286302e5a9fc3a3d33b749a951026b57 06-May-2014 Andrew Solovay <asolovay@google.com> am bd2cb3c7: am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit 'bd2cb3c75b05ede6018d74536ce959940a988021':
doc: Documented priority constants for setPriority(int)
bd2cb3c75b05ede6018d74536ce959940a988021 06-May-2014 Andrew Solovay <asolovay@google.com> am 7c94c9ad: doc: Documented priority constants for setPriority(int)

* commit '7c94c9ad26555427345c6c540bf761bf73389016':
doc: Documented priority constants for setPriority(int)
7c94c9ad26555427345c6c540bf761bf73389016 03-May-2014 Andrew Solovay <asolovay@google.com> doc: Documented priority constants for setPriority(int)

You can check the build at:

http://asolovay.mtv:8998/reference/android/support/v4/app/NotificationCompat.Builder.html#setPriority(int)

(Apologies, I meant to include that link in the CL.)

Bug: 13514649
Change-Id: I5f9f937b6f0c9c20f84994c0e81739846899ae4a
upport/v4/app/NotificationCompat.java
59253db0205f38cf4654d6bcca663ae654c09d59 02-May-2014 Jeff Sharkey <jsharkey@android.com> am fc26b6e8: am 91072898: Avoid NPE when missing EXTRA_NETWORK_INFO.

* commit 'fc26b6e8db33d2891c44fe0fbeac8f0fb60cfd2f':
Avoid NPE when missing EXTRA_NETWORK_INFO.
fc26b6e8db33d2891c44fe0fbeac8f0fb60cfd2f 02-May-2014 Jeff Sharkey <jsharkey@android.com> am 91072898: Avoid NPE when missing EXTRA_NETWORK_INFO.

* commit '910728980b2859519b93e8aaae457d1335d0cfce':
Avoid NPE when missing EXTRA_NETWORK_INFO.
910728980b2859519b93e8aaae457d1335d0cfce 01-May-2014 Jeff Sharkey <jsharkey@android.com> Avoid NPE when missing EXTRA_NETWORK_INFO.

Bug: 14451967
Change-Id: I0507298e651eca269e43e8df6c26f61f0a7a4df8
(cherry picked from commit ae9236048961df9576210e7db8424d7c93a1a8ad)
upport/v4/net/ConnectivityManagerCompat.java
87388add39cc71159474c0398e4dfeac99fda61a 01-May-2014 Jeff Sharkey <jsharkey@android.com> Merge "Avoid NPE when missing EXTRA_NETWORK_INFO."
ae9236048961df9576210e7db8424d7c93a1a8ad 01-May-2014 Jeff Sharkey <jsharkey@android.com> Avoid NPE when missing EXTRA_NETWORK_INFO.

Bug: 14451967
Change-Id: I0507298e651eca269e43e8df6c26f61f0a7a4df8
upport/v4/net/ConnectivityManagerCompat.java
cb084a5eea8cc641096fc288cb7156e0bb866d81 01-May-2014 Andrew Flynn <flynn@google.com> Separate scroll and swipe views in SwipeRefreshLayout

Add a new view that gets tracked by SwipeRefreshLayout. This allows
SwipeRefreshLayout to have a full scrollable single child, but have the actual
view that gets dragged down be separate from the only single child. This is
useful for situations where there is a scroll view that has anchored headers
or footers. The progress bar is additionally moved down so that it's the top
anchor for the swipe view that is getting dragged downward.

The swipe view is specified by exposing a setTarget() method that takes in the
resource id of the view to become draggable.

This change is backwards compatible in that if setTarget() is not called,
it will default to having both the scroll and swipe view point
to the same view that is the single child of the SwipeRefreshLayout.

Change-Id: I346405656dba5c5435124763a92de7d42ddda685
upport/v4/widget/SwipeProgressBar.java
upport/v4/widget/SwipeRefreshLayout.java
0b0c3e91683d415ffff4494f45a7e83b2b41454a 01-May-2014 Yigit Boyar <yboyar@google.com> am e322ba16: am bc6e3b72: Merge "Ensure scroller chaser does not abort prematurely" into klp-modular-dev

* commit 'e322ba1623d21f2e583a7f4e7febd6d966c67a92':
Ensure scroller chaser does not abort prematurely
e322ba1623d21f2e583a7f4e7febd6d966c67a92 30-Apr-2014 Yigit Boyar <yboyar@google.com> am bc6e3b72: Merge "Ensure scroller chaser does not abort prematurely" into klp-modular-dev

* commit 'bc6e3b7283bb2943ac31106837cfe8b7a7fe83e3':
Ensure scroller chaser does not abort prematurely
4ad0efc06631e6e35d8ced424c36438bf5827569 30-Apr-2014 Yigit Boyar <yboyar@google.com> Ensure scroller chaser does not abort prematurely

Bug: 14429848
Change-Id: I88438612f7d0950d6ae1b6cbe5e2e301361723a9
upport/v4/widget/ScrollerCompat.java
9c50ae71d575c8b1e92843fbb14b5362f43ec417 30-Apr-2014 Griff Hazen <griff@google.com> am ad183ead: am 9a5bcbe7: am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit 'ad183eadd37e48eb0b6a341b879afa62528a7ef1':
Add missing public statics to NotificationCompat
ad183eadd37e48eb0b6a341b879afa62528a7ef1 30-Apr-2014 Griff Hazen <griff@google.com> am 9a5bcbe7: am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit '9a5bcbe7a2ce083730c4871e89458895fe386c4d':
Add missing public statics to NotificationCompat
9a5bcbe7a2ce083730c4871e89458895fe386c4d 30-Apr-2014 Griff Hazen <griff@google.com> am bd066b73: Merge "Add missing public statics to NotificationCompat" into klp-ub-dev

* commit 'bd066b7315dd0e86bd59f1b8fc892899a15ec5ee':
Add missing public statics to NotificationCompat
bd066b7315dd0e86bd59f1b8fc892899a15ec5ee 30-Apr-2014 Griff Hazen <griff@google.com> Merge "Add missing public statics to NotificationCompat" into klp-ub-dev
1657cccf9f6abcf50cd54581a47dea7d281d0d33 30-Apr-2014 Yigit Boyar <yboyar@google.com> am 541fcf2b: am 846786b3: Stop scroller when ViewFlinger stops

* commit '541fcf2b5efacc3a02df29a7dea94f9df9683dfc':
Stop scroller when ViewFlinger stops
541fcf2b5efacc3a02df29a7dea94f9df9683dfc 30-Apr-2014 Yigit Boyar <yboyar@google.com> am 846786b3: Stop scroller when ViewFlinger stops

* commit '846786b33c7325e99603c2a7947f976b633c3496':
Stop scroller when ViewFlinger stops
846786b33c7325e99603c2a7947f976b633c3496 30-Apr-2014 Yigit Boyar <yboyar@google.com> Stop scroller when ViewFlinger stops

Also fixes ScrollCompat bug where Chaser may not track finished state properly

Bug: 14409589
Change-Id: I802de488ee6a631a8e8c8860f7689264eab27a75
upport/v4/widget/ScrollerCompat.java
e904e612ced14fd0bcd4823b1dda9660d2d27f69 29-Apr-2014 Bill Yi <byi@google.com> Merge commit 'e959d72060932a443f8268fad2d1c80ef9d13e50' into HEAD
e8c219028c173f827f562dcac49bdbb1aab3e35d 29-Apr-2014 Tor Norbye <tnorbye@google.com> am e5f33a4c: am 5e8ef046: resolved conflicts for merge of a3ff3273 to klp-modular-dev

* commit 'e5f33a4c6bf77a3532c21062d636cdd69137f882':
Add tools metadata annotations to the support library
e5f33a4c6bf77a3532c21062d636cdd69137f882 29-Apr-2014 Tor Norbye <tnorbye@google.com> am 5e8ef046: resolved conflicts for merge of a3ff3273 to klp-modular-dev

* commit '5e8ef0460dfca1e3806b491fa886995baf0cfe9c':
Add tools metadata annotations to the support library
5e8ef0460dfca1e3806b491fa886995baf0cfe9c 29-Apr-2014 Tor Norbye <tnorbye@google.com> resolved conflicts for merge of a3ff3273 to klp-modular-dev

Change-Id: Idc0fdf6c997ef63c14e4d8df417d1179cdcb1403
a3ff3273e976adf19770651dcf473fa67b38eb22 21-Mar-2014 Tor Norbye <tnorbye@google.com> Add tools metadata annotations to the support library

Change-Id: I018ccee411da848e6ced91da316f86ae149dc218
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/app/ActivityCompat.java
upport/v4/app/DialogFragment.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTransaction.java
upport/v4/app/NavUtils.java
upport/v4/app/ShareCompat.java
upport/v4/text/TextUtilsCompat.java
upport/v4/view/PagerTabStrip.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
c4e68f1b0c0cb95f499812383ccb282643777226 28-Apr-2014 Griff Hazen <griff@google.com> Add missing public statics to NotificationCompat

To match the ones currently on Notification, with the
exception of EXTRA_SHOW_WHEN since setShowWhen is not in
NotificationCompat yet (will file bug for setShowWhen since it
was an API 17 addition)

Change-Id: Iedbf2455d4be093a3d6fbc9b9d237d0f6cc1fd67
upport/v4/app/NotificationCompat.java
ddb24f29a236175d3cda4c11bda98a6212ecf9e5 16-Apr-2014 Yorke Lee <yorkelee@google.com> Add RoundedBitmapDrawable to the support library

RoundedBitmapDrawable supports most of BitmapDrawable functionality,
other than tiling, tinting, theming, and automirroring.

Bug: 13747208

Change-Id: Ic1e83d930d6f9d0a8859496555b594dd05d4146a
upport/v4/graphics/BitmapCompat.java
upport/v4/graphics/drawable/RoundedBitmapDrawable.java
7761fdd6f278b630120cdeb6dbf19aee6354a281 25-Apr-2014 Griff Hazen <griff@google.com> Merge "DO NOT MERGE Backport recent NotificationCompat changes." into klp-ub-dev
9dfe2d68ddd297f3703a27f776bc044ba9396794 24-Apr-2014 Griff Hazen <griff@google.com> DO NOT MERGE Backport recent NotificationCompat changes.

1. Add support for reading and writing notification extras
at notification build time.
2. Support reading notification extras all the way back to JB.

Change-Id: I4b1d736e80e30034934f84cd69710e14fe6d98e7
upport/v4/app/NotificationCompat.java
e9d9857ef3807a1b78a0b3bb2def4eab96b4d829 24-Apr-2014 fafaisland <fafaisland@google.com> am c8fbbf05: am 31118b48: am 19780f88: Compute math for SlidingPaneLayout to support RTL

* commit 'c8fbbf05d8897d0edf12ead5c727b743d0a4be24':
Compute math for SlidingPaneLayout to support RTL
c8fbbf05d8897d0edf12ead5c727b743d0a4be24 24-Apr-2014 fafaisland <fafaisland@google.com> am 31118b48: am 19780f88: Compute math for SlidingPaneLayout to support RTL

* commit '31118b48360272b708f87e6c86f5b519bbea0858':
Compute math for SlidingPaneLayout to support RTL
31118b48360272b708f87e6c86f5b519bbea0858 24-Apr-2014 fafaisland <fafaisland@google.com> am 19780f88: Compute math for SlidingPaneLayout to support RTL

* commit '19780f88506df4aeb57456fd6747af1b6848a11c':
Compute math for SlidingPaneLayout to support RTL
19780f88506df4aeb57456fd6747af1b6848a11c 17-Apr-2014 fafaisland <fafaisland@google.com> Compute math for SlidingPaneLayout to support RTL

Change-Id: I2cf8923669f036b735cee4535a81d8bd1463daf4
upport/v4/widget/SlidingPaneLayout.java
42b63738cc6a50f13ba378e31c6b082952643790 18-Apr-2014 Adam Powell <adamp@google.com> am a7a08059: am b9e5dfd5: Merge "Give RecyclerView LayoutManagers control over measurement" into klp-modular-dev

* commit 'a7a08059928bcd5104a01ea5735f8d6e9300c965':
Give RecyclerView LayoutManagers control over measurement
a7a08059928bcd5104a01ea5735f8d6e9300c965 18-Apr-2014 Adam Powell <adamp@google.com> am b9e5dfd5: Merge "Give RecyclerView LayoutManagers control over measurement" into klp-modular-dev

* commit 'b9e5dfd54b6a7f40f41f4208fcd0712a5da175a6':
Give RecyclerView LayoutManagers control over measurement
f2b93981846ce21a06b6a92a5a6ba70a29c345ed 18-Apr-2014 Adam Powell <adamp@google.com> Give RecyclerView LayoutManagers control over measurement

Add an onMeasure call to RecyclerView.LayoutManager and turn
RecyclerView#onMeasure into a passthrough. Default implementation
behaves much like View's standard implementation of measurement.

Add supporting functionality for getting min width/height in
ViewCompat.

Change-Id: Ic7b95f85520d31191f663f6cf3e96880468e20a2
upport/v4/view/ViewCompat.java
334514fd61bd192cee3475b3ba44adb4f54a1f89 14-Apr-2014 Chris Wren <cwren@android.com> Revert "Revert "add people annotations to NotificationCompat""

This reverts commit f3dc9e1b2ee64351aade267e6f556b4ecc2a7323.

Change-Id: I5ceefaceb718a74b0bf014bb121e2313f00fd098
upport/v4/app/NotificationCompat.java
f3dc9e1b2ee64351aade267e6f556b4ecc2a7323 14-Apr-2014 Chris Wren <cwren@android.com> Revert "add people annotations to NotificationCompat"

This reverts commit aea520f48e382c4e88487785c2cacadb527c6da7.

Change-Id: Ic7b92e4b4efe55d56c8d647e3787b344a7710517
upport/v4/app/NotificationCompat.java
52a9defecf810265d5a06a64ef5f72304c64b72f 11-Apr-2014 Alan Viverette <alanv@google.com> am fcb5a4d7: am bcc459e5: Merge "DO NOT MERGE DrawerLayout emits inconsistent accessibility tree." into klp-ub-dev

* commit 'fcb5a4d72baa9a62c3a0675a75786bf613ab1ece':
DO NOT MERGE DrawerLayout emits inconsistent accessibility tree.
fcb5a4d72baa9a62c3a0675a75786bf613ab1ece 11-Apr-2014 Alan Viverette <alanv@google.com> am bcc459e5: Merge "DO NOT MERGE DrawerLayout emits inconsistent accessibility tree." into klp-ub-dev

* commit 'bcc459e576a50740634aeda3e2b71a3d0eaf5250':
DO NOT MERGE DrawerLayout emits inconsistent accessibility tree.
aea520f48e382c4e88487785c2cacadb527c6da7 27-Mar-2014 Chris Wren <cwren@android.com> add people annotations to NotificationCompat

Depends-On: I833eee3f2ee40aa8cb2cfad135bdd6cb2c0eb792
Change-Id: I705be85d36c414965505e34501663e7e4cdd0120
upport/v4/app/NotificationCompat.java
bcc459e576a50740634aeda3e2b71a3d0eaf5250 09-Apr-2014 Alan Viverette <alanv@google.com> Merge "DO NOT MERGE DrawerLayout emits inconsistent accessibility tree." into klp-ub-dev
12ba769d9e9b121829c69daf0f6350e808028a6a 08-Apr-2014 Alan Viverette <alanv@google.com> DO NOT MERGE DrawerLayout emits inconsistent accessibility tree.

DrawerLayout is hiding the content and closed drawer if one
is opened. However, the connection between the ignored child
and the drawer via the parent relation was not broken, thus
an inconsistent node three may be produced. An example of this
is an accessibility service holding a node to the content,
followed by opening a drawer which hides the content, and now
the service refreshing the node. In this case following the
parent relation one can get from the hidden content to the
drawer but the latter will not have the content as a child.

Change-Id: Ia0ffbd390fb5d073ec9907a948248eb288ee8480
upport/v4/view/ViewCompat.java
upport/v4/widget/DrawerLayout.java
d7ee74b62bc7ca5504024a8175c427316bbf23d7 07-Apr-2014 Alan Viverette <alanv@google.com> am 1133d8d6: am c0c46e70: am 5baa7a3c: Merge "Don\'t auto scroll empty lists" into klp-ub-dev

* commit '1133d8d6587061fb64d01c16b8c7d1684f36e079':
Don't auto scroll empty lists
1133d8d6587061fb64d01c16b8c7d1684f36e079 07-Apr-2014 Alan Viverette <alanv@google.com> am c0c46e70: am 5baa7a3c: Merge "Don\'t auto scroll empty lists" into klp-ub-dev

* commit 'c0c46e70155cb099d54fe80399c9ca29074a8249':
Don't auto scroll empty lists
c0c46e70155cb099d54fe80399c9ca29074a8249 07-Apr-2014 Alan Viverette <alanv@google.com> am 5baa7a3c: Merge "Don\'t auto scroll empty lists" into klp-ub-dev

* commit '5baa7a3c252de6c616f65933f9d2c55d775c3028':
Don't auto scroll empty lists
5baa7a3c252de6c616f65933f9d2c55d775c3028 07-Apr-2014 Alan Viverette <alanv@google.com> Merge "Don't auto scroll empty lists" into klp-ub-dev
26a583f97faa79045ef31a7ddd50d73da5afe9d2 07-Apr-2014 Alan Viverette <alanv@google.com> Don't auto scroll empty lists

Change-Id: Icedbcd172feadbc12920076d272e27a97470bcd6
upport/v4/widget/ListViewAutoScrollHelper.java
87d4ba8fa180749996af297fbc778190f131b28e 07-Apr-2014 Chris Banes <chrisbanes@google.com> am a1280b78: am 9a891409: am ca89dcd4: Merge "Fix jitter when scrolling back on SwipeRefreshLayout" into klp-ub-dev

* commit 'a1280b78b7f20b11e894306108b88786f574060a':
Fix jitter when scrolling back on SwipeRefreshLayout
a1280b78b7f20b11e894306108b88786f574060a 07-Apr-2014 Chris Banes <chrisbanes@google.com> am 9a891409: am ca89dcd4: Merge "Fix jitter when scrolling back on SwipeRefreshLayout" into klp-ub-dev

* commit '9a891409414dd7e98a222949b328006fcfcf7895':
Fix jitter when scrolling back on SwipeRefreshLayout
9a891409414dd7e98a222949b328006fcfcf7895 07-Apr-2014 Chris Banes <chrisbanes@google.com> am ca89dcd4: Merge "Fix jitter when scrolling back on SwipeRefreshLayout" into klp-ub-dev

* commit 'ca89dcd4dd8013b11f98bf79d8b9cb9cfc602aed':
Fix jitter when scrolling back on SwipeRefreshLayout
ca89dcd4dd8013b11f98bf79d8b9cb9cfc602aed 07-Apr-2014 Chris Banes <chrisbanes@google.com> Merge "Fix jitter when scrolling back on SwipeRefreshLayout" into klp-ub-dev
d47d3530d57da3606f26baa8fb439e5daa6efcb6 04-Apr-2014 Chris Banes <chrisbanes@google.com> am a00c9a66: am 7a2ea5dc: am 5f7fb42c: Allow setting SwipeRefreshLayout color scheme via colors

* commit 'a00c9a6601e770d1fb3068bf9a82af5118d43f4d':
Allow setting SwipeRefreshLayout color scheme via colors
a00c9a6601e770d1fb3068bf9a82af5118d43f4d 04-Apr-2014 Chris Banes <chrisbanes@google.com> am 7a2ea5dc: am 5f7fb42c: Allow setting SwipeRefreshLayout color scheme via colors

* commit '7a2ea5dcc13d5bc8ca3e2ad54fbc2259e7b44706':
Allow setting SwipeRefreshLayout color scheme via colors
7a2ea5dcc13d5bc8ca3e2ad54fbc2259e7b44706 04-Apr-2014 Chris Banes <chrisbanes@google.com> am 5f7fb42c: Allow setting SwipeRefreshLayout color scheme via colors

* commit '5f7fb42c9ff8a1e43a5462d19b9fcd9741f6895b':
Allow setting SwipeRefreshLayout color scheme via colors
dbb1c53060323726d9edd8d38832104281d7f6f2 04-Apr-2014 Chris Banes <chrisbanes@google.com> Fix jitter when scrolling back on SwipeRefreshLayout

Bug: 12976151
Change-Id: Iff11734f622e47b2e2f19e0216118ffc3fbb05fb
upport/v4/widget/SwipeRefreshLayout.java
5501d2e5e90f5bb05574996d1cf8f7d788bbab0e 03-Apr-2014 Chris Banes <chrisbanes@google.com> am 400b8157: am 9528ef03: am 272acf0a: Improve SwipeRefreshLayout\'s touch handling

* commit '400b8157c7bd062e91a7b6c691c96badc7e032b8':
Improve SwipeRefreshLayout's touch handling
5f7fb42c9ff8a1e43a5462d19b9fcd9741f6895b 02-Apr-2014 Chris Banes <chrisbanes@google.com> Allow setting SwipeRefreshLayout color scheme via colors

At the moment SwipeRefreshLayout only accepts setting
it's color scheme via color resource ids. This CL adds
a way to set the scheme via raw color ints.

Change-Id: I8fe01e45e124297669d696d8588f9dc8adf1e281
upport/v4/widget/SwipeRefreshLayout.java
400b8157c7bd062e91a7b6c691c96badc7e032b8 03-Apr-2014 Chris Banes <chrisbanes@google.com> am 9528ef03: am 272acf0a: Improve SwipeRefreshLayout\'s touch handling

* commit '9528ef03a1ad630d111016ceb00538a9ebfe104b':
Improve SwipeRefreshLayout's touch handling
9528ef03a1ad630d111016ceb00538a9ebfe104b 03-Apr-2014 Chris Banes <chrisbanes@google.com> am 272acf0a: Improve SwipeRefreshLayout\'s touch handling

* commit '272acf0aa6bc9bf0d744b68a5b8b092c2c3e46d4':
Improve SwipeRefreshLayout's touch handling
272acf0aa6bc9bf0d744b68a5b8b092c2c3e46d4 25-Feb-2014 Chris Banes <chrisbanes@google.com> Improve SwipeRefreshLayout's touch handling

At the moment SwipeRefreshLayout's touch handling does
not handle all cases. Specifically it relies on the child
view handling all of the touch events. This means that
non-scrollable views can not trigger a refresh (e.g. empty
views).

This CL fixes this by using the standard touch handling
patterns.

Change-Id: I2c4aebb3ef3a89317293d0d295752f84f6786e36
upport/v4/widget/SwipeRefreshLayout.java
2e275ce7680eafd02423e8aad7f044aa90ded89c 01-Apr-2014 Griff Hazen <griff@google.com> am 1302b28b: am 7266fe2f: Merge "Add a KitKat stage to NotificationCompat." into klp-modular-dev

* commit '1302b28b4d488d559c103524cab7cf2e1602025a':
Add a KitKat stage to NotificationCompat.
1302b28b4d488d559c103524cab7cf2e1602025a 01-Apr-2014 Griff Hazen <griff@google.com> am 7266fe2f: Merge "Add a KitKat stage to NotificationCompat." into klp-modular-dev

* commit '7266fe2f55fbe5c5b6de6acb3d84995cc2a7fc17':
Add a KitKat stage to NotificationCompat.
47702147608084fec16a50640da54b412c737b9c 21-Mar-2014 Griff Hazen <griff@google.com> Add a KitKat stage to NotificationCompat.

The difference over JB being the extras bundle is publicly accessible.
This avoids reflection for API 19.

Change-Id: If5ed0bf4267ae677f5f8c4a84602f11add846cb5
upport/v4/app/NotificationCompat.java
1059812746e4bd7bf337e1d599c645ce3ed1c391 28-Mar-2014 Chris Banes <chrisbanes@google.com> am fc039e9c: am 0b747a91: Merge "getParcelableArray* behaviour is sometimes unpredictable"

* commit 'fc039e9c51945dc1834b441a0f77c1bd531c898e':
getParcelableArray* behaviour is sometimes unpredictable
fc039e9c51945dc1834b441a0f77c1bd531c898e 28-Mar-2014 Chris Banes <chrisbanes@google.com> am 0b747a91: Merge "getParcelableArray* behaviour is sometimes unpredictable"

* commit '0b747a91207b444a9e71fa7d2c0b93395720ccc7':
getParcelableArray* behaviour is sometimes unpredictable
08ca9e8030eecfc473fa11ae8703d24014602803 10-Aug-2012 Steve Lhomme <slhomme@levelupstudio.com> getParcelableArray* behaviour is sometimes unpredictable

in some case when the data in a savedInstance the Parcelable
arrays stored by the application are not unparcel'ed correctly
because the ClassLoader doesn't seem to be correct.

The first getSparseParcelableArray() in the code is preceded
by setClassLoader() by not the second one. The problem disappears
when setClassLoader() is called in both cases.

Change-Id: I2d2f42c285d9130fd543c0154e9d210d430823e3
upport/v4/app/FragmentManager.java
d3f7b5bb2422645d85b0e0131ff1c323f38bfed0 25-Mar-2014 John Spurlock <jspurlock@google.com> Add setCategory to NotificationCompat.

Take 2: after updating prebuilt sdk.

Bug:13631052
Change-Id: Icc8ab8badd4e4128b56f35836d19a1c4d4859199
upport/v4/app/NotificationCompat.java
421e5285980a355cf47905eb0b96d2c2fc9e0678 26-Mar-2014 John Spurlock <jspurlock@google.com> Revert "Add setCategory to NotificationCompat."

This is fine in master, but is breaking some unbundled builds...

This reverts commit bd4eeac53001107daa8292b571c595866bdbe164.

Change-Id: I25f5478e74aa00f432ec4ad5118537e80cde9204
upport/v4/app/NotificationCompat.java
bd4eeac53001107daa8292b571c595866bdbe164 25-Mar-2014 John Spurlock <jspurlock@google.com> Add setCategory to NotificationCompat.

Bug:13631052
Change-Id: Icc124cfae8550ec1006419b6776c0590a03cf895
upport/v4/app/NotificationCompat.java
f2b40f0349c2eaee2bb36b416f91a224c894c381 08-Mar-2014 Griff Hazen <griff@google.com> am 4500dd32: am ab78e9b2: Add support for extras modifications to NotificationCompat.Builder.

* commit '4500dd3242148d6b4bb9e74a31aaa4092c5dc0d0':
Add support for extras modifications to NotificationCompat.Builder.
4500dd3242148d6b4bb9e74a31aaa4092c5dc0d0 08-Mar-2014 Griff Hazen <griff@google.com> am ab78e9b2: Add support for extras modifications to NotificationCompat.Builder.

* commit 'ab78e9b2a147c8de7b5cf231b97aad9d8c4f106c':
Add support for extras modifications to NotificationCompat.Builder.
ab78e9b2a147c8de7b5cf231b97aad9d8c4f106c 06-Mar-2014 Griff Hazen <griff@google.com> Add support for extras modifications to NotificationCompat.Builder.

Change-Id: Idaafafdaae3f0974228ea165fa59e6b454ea45ef
upport/v4/app/NotificationCompat.java
f4efb6ce488ce1f0c8ccb3d28669478de8a14c35 08-Mar-2014 Narayan Kamath <narayan@google.com> am a4335e0f: Merge "Add LruCache.resize to the support library."

* commit 'a4335e0fe96ac78c6ffc3513d6458513b69f7b0c':
Add LruCache.resize to the support library.
f670ac8997c78a59cda0193f3b6e004265b7ef95 07-Mar-2014 Adam Powell <adamp@google.com> am cc52930e: am 2cbefe94: Merge "More RecyclerView API additions" into klp-modular-dev

* commit 'cc52930eab4b1f9b48bc78c5739c70f5c8d41bf5':
More RecyclerView API additions
bdf739d6dcc3b6f8ba9e8f70b6d483563c5c00cc 06-Mar-2014 Svetoslav <svetoslavganov@google.com> DrawerLayout emits inconsistent accessibility tree.

DrawerLayout is hiding the content and closed drawer if one
is opened. However, the connection between the ignored child
and the drawer via the parent relation was not broken, thus
an inconsistent node three may be produced. An example of this
is an accessibility service holding a node to the content,
followed by opening a drawer which hides the content, and now
the service refreshing the node. In this case following the
parent relation one can get from the hidden content to the
drawer but the latter will not have the content as a child.

Change-Id: Ia0ffbd390fb5d073ec9907a948248eb288ee8480
upport/v4/view/ViewCompat.java
upport/v4/widget/DrawerLayout.java
cc52930eab4b1f9b48bc78c5739c70f5c8d41bf5 07-Mar-2014 Adam Powell <adamp@google.com> am 2cbefe94: Merge "More RecyclerView API additions" into klp-modular-dev

* commit '2cbefe9485a46ba75ce5a7548bbf4844e019bf0f':
More RecyclerView API additions
c096ad1894f1a4543e703ddc9d279fbd3b596c53 06-Mar-2014 Adam Powell <adamp@google.com> More RecyclerView API additions

* findViewHolderForChildUnder() becomes findChildViewUnder()

* Have findChildViewUnder() respect translationX/Y properties

* getChildViewHolder() becomes public

* LayoutManager gets onAddFocusables to override default
ViewGroup#addFocusables behavior

* LayoutManager gets onInterceptFocusSearch to override the default
focus finder behavior before onFocusSearchFailed

Change-Id: Id7e79167fbe68bdbeac6e0cd09c90202b493f4df
upport/v4/view/ViewCompat.java
6de20e98d8e8a74a94b934c71ae3eaaa6b6c47af 04-Mar-2014 RoboErik <epastern@google.com> Merge "Fix typo in TransportMediator comments"
4de2f7b818e7a46a9d43e775283c2a3032c8c2d0 28-Feb-2014 Tim Kilbourn <tkilbourn@google.com> am 33afb698: am 6252d780: Clear child FragmentManagers when destroying Fragments.

* commit '33afb698f535f771c3cd2902b4b7e9d3425ad4e9':
Clear child FragmentManagers when destroying Fragments.
33afb698f535f771c3cd2902b4b7e9d3425ad4e9 28-Feb-2014 Tim Kilbourn <tkilbourn@google.com> am 6252d780: Clear child FragmentManagers when destroying Fragments.

* commit '6252d78085a07c9d6bb4645a4e8086bf23b0a49a':
Clear child FragmentManagers when destroying Fragments.
6252d78085a07c9d6bb4645a4e8086bf23b0a49a 28-Feb-2014 Tim Kilbourn <tkilbourn@google.com> Clear child FragmentManagers when destroying Fragments.

If Fragment has instantiated a child FragmentManager and is later
detached, it retains its reference to the child FragmentManager which
has been destroyed. This causes an IllegalStateException in the
child FragmentManager if the original Fragment is reattached.

Fixes Issue 42601.

Change-Id: I62155a535948a73bbbc09aefc2b15cfad58b9233
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
25c2153d358dde8893ec95e307751764558774a6 28-Feb-2014 RoboErik <epastern@google.com> Fix typo in TransportMediator comments

Change-Id: I9291d9614623886a5928af4f7a3bd9d7f139e64e
upport/v4/media/TransportMediator.java
758f66aec3ca0ea024ee52e414ba8e5d2e38c0cf 25-Feb-2014 Tim Kilbourn <tkilbourn@google.com> am d23fde12: am 4151f76e: Merge "Initial import of leanback into the support lib." into klp-modular-dev

* commit 'd23fde12f8d6326631e70557f8f4203871fdcb17':
Initial import of leanback into the support lib.
d23fde12f8d6326631e70557f8f4203871fdcb17 25-Feb-2014 Tim Kilbourn <tkilbourn@google.com> am 4151f76e: Merge "Initial import of leanback into the support lib." into klp-modular-dev

* commit '4151f76ec2bdb9c42bd4722ec18c78e825f3c2f7':
Initial import of leanback into the support lib.
b9537aff4a6ff5231030799cdaf931c27fb9579b 14-Feb-2014 Tim Kilbourn <tkilbourn@google.com> Initial import of leanback into the support lib.

A staggered grid maintains item locations across multiple rows, not
necessarily aligned.

Change-Id: I1a90182fa7dba4fafce5a47f8af05d2f6d8d636d
upport/v4/util/CircularArray.java
8d8799de4d4f9eb4877e5724673271662e97a3cb 14-Feb-2014 Guang Zhu <guangzhu@google.com> add new accessibility action for EditText to set text content

Bug: 12872344
Change-Id: I0c4a7d1bd39db1e6f1cf50e32e8a9868803da274
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
dd841787675b33c00e517347fb273adafd7ee0a8 21-Feb-2014 Narayan Kamath <narayan@google.com> am 8ba9ff62: am a4335e0f: Merge "Add LruCache.resize to the support library."

* commit '8ba9ff623e301a389d7d17eabb0963a2f1e81181':
Add LruCache.resize to the support library.
8ba9ff623e301a389d7d17eabb0963a2f1e81181 21-Feb-2014 Narayan Kamath <narayan@google.com> am a4335e0f: Merge "Add LruCache.resize to the support library."

* commit 'a4335e0fe96ac78c6ffc3513d6458513b69f7b0c':
Add LruCache.resize to the support library.
ec04140e47f9253d6d25c5e0e5bb66b52c547ac7 20-Feb-2014 Narayan Kamath <narayan@google.com> Add LruCache.resize to the support library.

Change-Id: Id950a1f9369b0718fb884421eafb5a83176e2464
upport/v4/util/LruCache.java
7e23f45ba5df030d9899f54a0c28cbc349db7b45 19-Feb-2014 Kirill Grouchnikov <kirillg@google.com> am c830180b: am 22782bd0: am 72a9db80: am 9bd9831d: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit 'c830180b85329d8671211d70ed2ba7084241b6d2':
Non-reflection based implementation for drawer toggle for JBMR2+.
22782bd0df6d20aff9546704f5f28a0fc093d497 19-Feb-2014 Kirill Grouchnikov <kirillg@google.com> am 72a9db80: am 9bd9831d: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '72a9db808319cdee73dc205eec8e0dde383ea789':
Non-reflection based implementation for drawer toggle for JBMR2+.
72a9db808319cdee73dc205eec8e0dde383ea789 19-Feb-2014 Kirill Grouchnikov <kirillg@google.com> am 9bd9831d: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '9bd9831d1f3b23c72f67a4bf5d2b2504046bc771':
Non-reflection based implementation for drawer toggle for JBMR2+.
9bd9831d1f3b23c72f67a4bf5d2b2504046bc771 23-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Non-reflection based implementation for drawer toggle for JBMR2+.

Resurrecting the lost https://googleplex-android-review.git.corp.google.com/#/c/379426/
with extra null checks.

Bug: 12958873
Change-Id: I39ace8a70d8c8499140505fbe52ec83ec12284fd
upport/v4/app/ActionBarDrawerToggle.java
c72e3e7b6c4173a367241a3b3b3f93a04edad18d 19-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Revert "Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog""
f7b4e84cfa7427ec86704fd481416aefe912f8c3 19-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Revert "Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog"

This reverts commit 6b2208dce9a6c561848471608e1ab6188bba80db.

Change-Id: I4936c6f00925abe5db345947ed770f1d50d11a70
upport/v4/app/FragmentManager.java
fde9b5b2d0acff83aa4bb4f97f5238a13509f949 14-Feb-2014 Griff Hazen <griff@google.com> am 88de4011: am f6a96443: Merge "Roll forward the support library changes for LOCAL_ONLY support." into klp-modular-dev

* commit '88de4011f4eafd7592eda67c45225d9db713e924':
Roll forward the support library changes for LOCAL_ONLY support.
6a4b5db1a45deff8120380fddb16076e026ccc80 14-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog"
6b2208dce9a6c561848471608e1ab6188bba80db 14-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #12993929 Screen orientation change replaces wifi password dialog with Add network dialog

- do not make inactive the fragment when its transition animation is ending.
Long explanation:

Context: you need to have a first fragment pushed and then a second one replacing
the first one, and then create a DialogFragment on top of it. The FragmentManager
has then three "active" Fragments.

The mActive ArrayList of the FragmentManager is then containing:

mActive[0] = first fragment
mActive[1] = second fragment (parent of the dialog fragment)
mActive[2[ = dialog fragment

Then suppose you are changing the orientation.

During the restoration of the FragmentManager states, you will see that the
first Fragment is marked "inactive" and the mActive ArrayList is looking like:

mActive[0] = dialog fragment
mActive[1] = second fragment

which leads first to have a call to onCreateDialog() for the DialogFragment and
before it can be able to restore its state thru the calls to onCreate() and
onCreateView() for the parent (the second fragment).

Change-Id: I75c9add062ec425417924e6667dd534a1ddfa530
upport/v4/app/FragmentManager.java
b56de0d1a113c71a2808303009ab4d9708ed6e84 13-Feb-2014 Griff Hazen <griff@google.com> Roll forward the support library changes for LOCAL_ONLY support.

The build problem was because unbundled branches were depending
on the master version of frameworks/support.

Also renamed "Current" to "Api20" pre request.

Change-Id: I309b89b133e22fb642f3dcd8d23af6697fe0b9c6
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatExtras.java
520ffa889669bc7e55f4b1c0729a0404db873087 12-Feb-2014 Griff Hazen <griff@google.com> am 133655f2: am 9b0945dc: Revert "Fix apps build: don\'t reference current SDK, use empty"

* commit '133655f20e0d1453df7a10b13cde4f46c09bb596':
Revert "Fix apps build: don't reference current SDK, use empty"
9b0945dc89d095bfb4bf5fd8867a0dd0bd224216 11-Feb-2014 Griff Hazen <griff@google.com> Revert "Fix apps build: don't reference current SDK, use empty"

This reverts commit 01d1669f77b23e5fbe8c24738bc0ec9200b90053.

Revert "Add local-only option to NotificationCompat (using flag)"

This reverts commit 62d32dda7a6dd510ba7bbf11bb3edaa314c4948e.

Revert "Prepare NotificationCompat for upcoming development post SDK 19."

This reverts commit c55d0160b764bbad4e386556cab3ccac72686b0c.
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatExtras.java
3989fde29bed11139369a76e8e59d6b1bc57b809 11-Feb-2014 Griff Hazen <griff@google.com> am c9cd73ff: am 62d32dda: Add local-only option to NotificationCompat (using flag)

* commit 'c9cd73ff997260a62d226c9b1c4884bbe84e7962':
Add local-only option to NotificationCompat (using flag)
62d32dda7a6dd510ba7bbf11bb3edaa314c4948e 11-Feb-2014 Griff Hazen <griff@google.com> Add local-only option to NotificationCompat (using flag)

Change-Id: Ia0a13aad862414e86ad1d8de49e8768c9f0f1a73
upport/v4/app/NotificationCompat.java
upport/v4/app/NotificationCompatExtras.java
2f4103f15e855fddb6bff1c09291e7d550fdba7c 11-Feb-2014 Griff Hazen <griff@google.com> am c13953d4: am 73b8fae5: Merge "Prepare NotificationCompat for upcoming development post SDK 19." into klp-modular-dev

* commit 'c13953d42c2095d629c79eda7370d4cddb992069':
Prepare NotificationCompat for upcoming development post SDK 19.
c55d0160b764bbad4e386556cab3ccac72686b0c 10-Feb-2014 Griff Hazen <griff@google.com> Prepare NotificationCompat for upcoming development post SDK 19.

The "current" helper would be hooked up once the next SDK version has
been created. It would also be renamed to the release name at that point.

Also make a couple small refactors to make future versioning easier.

Change-Id: I339678fdcf5487b388e9dc3d0d12345609550e6a
upport/v4/app/NotificationCompat.java
ecfde0860499efe11ab03cedb2af3b48880dc67a 10-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> am 3a80115e: am e47e0381: Improve Drawer focus when opened

* commit '3a80115e291eb14853eae6b3dc640ded88d892e8':
Improve Drawer focus when opened
e47e038146dcc220f48a5275949da8c32218270a 07-Feb-2014 Fabrice Di Meglio <fdimeglio@google.com> Improve Drawer focus when opened

Make Drawer request focus on its drawer view when opened.

This would solve for example the issue of having the Drawer opened and
only partially visible when an IME is also previously opened.

Change-Id: I23adc9951ad315e03ccf86edc144ce809e78cf28
upport/v4/widget/DrawerLayout.java
c6aaa6cf2f1bc6399b4f29b359a56fd21e72eba2 30-Jan-2014 Alan Viverette <alanv@google.com> am b03c8159: am 4e1b259d: am e2a2a8c5: am aeaa8ef9: Fix accessibility events coming out of DrawerLayout

* commit 'b03c815907a7bb59662053b8aae131f3f2834362':
Fix accessibility events coming out of DrawerLayout
b03c815907a7bb59662053b8aae131f3f2834362 30-Jan-2014 Alan Viverette <alanv@google.com> am 4e1b259d: am e2a2a8c5: am aeaa8ef9: Fix accessibility events coming out of DrawerLayout

* commit '4e1b259ddcbb49fb84d2d566160fa0f5e8e20ac1':
Fix accessibility events coming out of DrawerLayout
e2a2a8c500904c76e6b35d4f64eb96c648dfe7d5 30-Jan-2014 Alan Viverette <alanv@google.com> am aeaa8ef9: Fix accessibility events coming out of DrawerLayout

* commit 'aeaa8ef97eb729fbee17e984d60e9ab27795f5d0':
Fix accessibility events coming out of DrawerLayout
aeaa8ef97eb729fbee17e984d60e9ab27795f5d0 30-Jan-2014 Alan Viverette <alanv@google.com> Fix accessibility events coming out of DrawerLayout

BUG: 12444344
Change-Id: Ic5dbf24d9ca35e276b938bfd70d024da184e36f6
upport/v4/widget/DrawerLayout.java
3d51defec453553f63821437fbcf9d2a782ffa75 29-Jan-2014 Adam Powell <adamp@google.com> am a6613ed4: API refinements for RecyclerView

* commit 'a6613ed42e0dee0cac3da01f5450e2d61c270b52':
API refinements for RecyclerView
a6613ed42e0dee0cac3da01f5450e2d61c270b52 27-Jan-2014 Adam Powell <adamp@google.com> API refinements for RecyclerView

Continue clarifying the responsibilities of Recycler and
LayoutManager. Provide more pass-through API on LayoutManager for
subclasses for when the getRecyclerView() method is removed in the
future.

Scrap and recycled views are now more clearly defined. Added temporary
detach capability to keep consistency with scrapped views.

Change-Id: Ie17541401cd1f6f1933205a8e6a5c6f3d66d3afb
upport/v4/view/ViewCompat.java
fbfefc40581dd94616359c796b4cc03969b22a10 25-Jan-2014 Kristian Monsen <kristianm@google.com> Add some of the new kk accessibility API's to the Support library

Added:
- getRangeInfo
- getCollectionItemInfo()
- getCollectionInfo()

Change-Id: I13588655ddc560e4b410d129316173f2dcd1ba08
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
fe3b5bac4901a4bb8cf51c09fe4910b02388818a 26-Jan-2014 Griff Hazen <griff@google.com> A few minor cleanups to NotificationCompat library.

Change-Id: I5c4eaac381f8014a8a234f963fbb6be2631dcb69
upport/v4/app/NotificationCompat.java
e096e4c526feeb64833b5a75649ec36d75d7cbbf 23-Jan-2014 Adam Powell <adamp@google.com> RecyclerView bugfixes and API revisions

Further clarify the responsibilities of the LayoutManager,
RecyclerView, Recycler and Adapter.

This change deprecates a number of RecyclerView methods. These
deprecated methods will be removed in an upcoming patch before
wider release.

Add additional bidi helpers to ViewCompat.

Change-Id: I6ad6e0464796fb4c475cb796d630e51ca85d84ab
upport/v4/view/ViewCompat.java
252d5e020a5a6c6f7f8aa38222b1c4ce90436520 17-Jan-2014 Alan Viverette <alanv@google.com> am b1f5a7e6: am 6a088fe9: am 1a8a0d55: Merge "Add title API to DrawerLayout, use for accessibility events" into klp-ub-dev

* commit 'b1f5a7e6866e14d90859588a6b93827e584e3ba6':
Add title API to DrawerLayout, use for accessibility events
6a088fe937f06d1eb0d46915f2b1b6712988e39e 17-Jan-2014 Alan Viverette <alanv@google.com> am 1a8a0d55: Merge "Add title API to DrawerLayout, use for accessibility events" into klp-ub-dev

* commit '1a8a0d553bcf588d3f1a82738c84d4d7aad3cb44':
Add title API to DrawerLayout, use for accessibility events
1a8a0d553bcf588d3f1a82738c84d4d7aad3cb44 17-Jan-2014 Alan Viverette <alanv@google.com> Merge "Add title API to DrawerLayout, use for accessibility events" into klp-ub-dev
526ba1382e61845ef23bf27d300883dea0966af5 16-Jan-2014 Alan Viverette <alanv@google.com> Add title API to DrawerLayout, use for accessibility events

BUG: 12460402
Change-Id: Ia2f6e2b941ea944218c405e1ec580765a5e1f78f
upport/v4/widget/DrawerLayout.java
5685db6f91c90b8eea93a0fe6ad7a93828bc5f3c 14-Jan-2014 Tony Mantler <nicoya@google.com> am e2d821cf: am 507f40fc: am 01df7377: Add isDestroyed() method to match framework API

* commit 'e2d821cfa2c0a6d536baed4b8e2391ac360e091c':
Add isDestroyed() method to match framework API
507f40fc4664a9e54967cedbd40b8065241c200d 14-Jan-2014 Tony Mantler <nicoya@google.com> am 01df7377: Add isDestroyed() method to match framework API

* commit '01df737703cceecc6b3a319ca0ee0bd64415f1cf':
Add isDestroyed() method to match framework API
01df737703cceecc6b3a319ca0ee0bd64415f1cf 14-Jan-2014 Tony Mantler <nicoya@google.com> Add isDestroyed() method to match framework API

Change-Id: Ic69cb122f23d42223e4b841d7fe160911925124b
upport/v4/app/FragmentManager.java
29d6e4c41e6c49294353978385f194ba4bc87b89 08-Jan-2014 Arnaud Berry <arnaudberry@google.com> am 7d0251ce: am a767473c: am e1023d63: Hiding DrawerLayout does not fire correct accessibility event.

* commit '7d0251ceafcf73270f7aafe63b78ca3081f5e593':
Hiding DrawerLayout does not fire correct accessibility event.
a767473cc19bf54a182672e91b70fd459bb6fa64 08-Jan-2014 Arnaud Berry <arnaudberry@google.com> am e1023d63: Hiding DrawerLayout does not fire correct accessibility event.

* commit 'e1023d631b6de73df74bb08fd8c22247d72dee78':
Hiding DrawerLayout does not fire correct accessibility event.
e1023d631b6de73df74bb08fd8c22247d72dee78 08-Jan-2014 Arnaud Berry <arnaudberry@google.com> Hiding DrawerLayout does not fire correct accessibility event.

Cherry pick of: I30b93d27d2ec763a3f64fe78a08c9b1ae0dd2b99 from master.

bug:12177380
Change-Id: I4e72f88ab6a69e170560c5ebcab14bfeef31ef56
upport/v4/widget/DrawerLayout.java
009b4ef9d97e1cc237477e3284fc305bb1438cc9 19-Jul-2013 Adam Powell <adamp@google.com> Add RecylerView to the support library

RecyclerView is a new base for implementing adapter-backed views
similar to ListView. It offers a number of hooks within its API to
allow custom layouts, item display and touch behavior and richer
communication between adapters, layouts and recycling behavior. This
makes custom displays of large data sets and animations within those
presentations much easier to implement.

Start adding smoothing to ScrollerCompat.

Change-Id: Ic14c6aa723be03aa4da29d1fd44baf42a359f6c0
upport/v4/util/Pools.java
upport/v4/view/ViewCompat.java
upport/v4/widget/ScrollerCompat.java
6be9c1c7872db2541a964f9c23744680ce5e70fa 17-Dec-2013 Mindy Pereira <mindyp@google.com> am a47c5ea4: Merge "Read enabled flag from XML if it is suppled; default is true" into klp-ub-dev

* commit 'a47c5ea4bd3a007ca986e90da71be06413319ab8':
Read enabled flag from XML if it is suppled; default is true
a47c5ea4bd3a007ca986e90da71be06413319ab8 17-Dec-2013 Mindy Pereira <mindyp@google.com> Merge "Read enabled flag from XML if it is suppled; default is true" into klp-ub-dev
0437b0b01fce8052a6692f819de35211d27b8200 17-Dec-2013 Mindy Pereira <mindyp@google.com> am d013c7e7: Merge "Don\'t draw the trigger w progress bar unless its finishing" into klp-ub-dev

* commit 'd013c7e74b0b9eaecc21ef808f86fc96b87b6c54':
Don't draw the trigger w progress bar unless its finishing
6611d8cf18999a874e37245e9ecf269e0e69846b 17-Dec-2013 Mindy Pereira <mindyp@google.com> Read enabled flag from XML if it is suppled; default is true

Fixes b/12128732 android:enabled="false" does not disable SwipeRefreshLayout from XML layout file

Change-Id: Ifcf4421ca66113d9e4466726a0a7c0fe775387ea
upport/v4/widget/SwipeRefreshLayout.java
c7f272243076297526887a3bbccf7a0ec51cc30a 13-Dec-2013 Mindy Pereira <mindyp@google.com> Don't draw the trigger w progress bar unless its finishing

Fixes b/12082206 Color jank in support library pdtr

Don't draw the green trigger over the progress bar, regardless of size,
unless the progress bar is actually finishing. If it isn't finishing,
just keep it running as before.

Change-Id: I963bea01864d045551a97bf20cb0afbc036cc692
upport/v4/widget/SwipeProgressBar.java
cbcf4aeee49a3a2590a572c65c747c4a7fec50eb 07-Dec-2013 Geoff Mendal <mendal@google.com> am c8bd41f5: am b9278c79: Keep history after reset to klp-dev

* commit 'c8bd41f5b01d76bfa136ed51d0013f1b03baa9e0':
c8bd41f5b01d76bfa136ed51d0013f1b03baa9e0 07-Dec-2013 Geoff Mendal <mendal@google.com> am b9278c79: Keep history after reset to klp-dev

* commit 'b9278c793399822c36192b236ec29a769202ab02':
e42e7ff881504e3455a05b288a52f9494628cb5e 05-Dec-2013 Mindy DelliCarpini <mindyp@google.com> am 637f5f16: Merge "Implement method for determining if content is vertically scrollable for gb" into klp-ub-dev

* commit '637f5f16eea84ee5399c2bbe69aae862cb4c30c8':
Implement method for determining if content is vertically scrollable for gb
637f5f16eea84ee5399c2bbe69aae862cb4c30c8 05-Dec-2013 Mindy DelliCarpini <mindyp@google.com> Merge "Implement method for determining if content is vertically scrollable for gb" into klp-ub-dev
f25dedc8624a17b43426781516ac88e8ff01d5bd 04-Dec-2013 Mindy DelliCarpini <mindyp@google.com> Implement method for determining if content is vertically scrollable for gb

Since Viewcompat.canscrollvertically always returns false on sdk <= gb,
use the type of the view to determine if the content that is scrollable
in the swiperefreshlayout is scrolled to the top.
Fixes b/11988379 SwipeRefreshLayout behaves differently on GingerBread than KitKat

Change-Id: Iacb999c99e6918acd5a0d3c88806d13c16bb8b52
upport/v4/widget/SwipeRefreshLayout.java
dc7fed96119b6341f0743e79408fe0069e09bac7 22-Nov-2013 Chris Wren <cwren@android.com> am 29e9b1ca: add missing fullscreenIntent support for Gingerbread

* commit '29e9b1ca3b576f8d73465f725e0cc623f0d97ffd':
add missing fullscreenIntent support for Gingerbread
29e9b1ca3b576f8d73465f725e0cc623f0d97ffd 21-Nov-2013 Chris Wren <cwren@android.com> add missing fullscreenIntent support for Gingerbread

Bug: 11809917
Change-Id: Ief0dcb9cca6d696ba20c8fb7298ee719f1b337f6
(cherry picked from commit 86ec05e4e4c04e835f5710f59686b99b03cb2e5d)
upport/v4/app/NotificationCompat.java
15c82d4f2e51e2f741a5c1c7fbb39ef649ef658e 20-Nov-2013 Mindy Pereira <mindyp@google.com> am b97473c6: Merge "SwipeRefreshWidget" into klp-ub-dev

* commit 'b97473c6483d67d88a241dbba135d875ffa069fc':
SwipeRefreshWidget
b97473c6483d67d88a241dbba135d875ffa069fc 20-Nov-2013 Mindy Pereira <mindyp@google.com> Merge "SwipeRefreshWidget" into klp-ub-dev
e9a361cf082bf8fbe908d1abfdc327209ec01d82 07-Nov-2013 Mindy Pereira <mindyp@google.com> SwipeRefreshWidget

Change-Id: I4f9c03796075b144d97ab38e978d0f4230f3bd78
upport/v4/widget/BakedBezierInterpolator.java
upport/v4/widget/SwipeProgressBar.java
upport/v4/widget/SwipeRefreshLayout.java
d6ec8254e43acf8186e1960ee40490abd5a64485 14-Nov-2013 Alan Viverette <alanv@google.com> am de77c6fa: am 14fabe0b: Fix slide drawable mirroring

* commit 'de77c6fa83dacba0a7628689f462efab4754e655':
Fix slide drawable mirroring
de77c6fa83dacba0a7628689f462efab4754e655 14-Nov-2013 Alan Viverette <alanv@google.com> am 14fabe0b: Fix slide drawable mirroring

* commit '14fabe0b90c2cd2fa5d67da7acb97b9e554636c1':
Fix slide drawable mirroring
14fabe0b90c2cd2fa5d67da7acb97b9e554636c1 14-Nov-2013 Alan Viverette <alanv@google.com> Fix slide drawable mirroring

BUG: 11673295
Change-Id: I181eb6aa2ab2a80d29716633cd25857540eba72d
upport/v4/app/ActionBarDrawerToggle.java
b6da052f11b041a774ec9956c405086e6e9022e4 11-Nov-2013 John Hoford <hoford@google.com> am b349e837: am 618d0502: Merge "add Async handling of Print" into klp-dev

* commit 'b349e837113553a3331422e6c94edbc7ab2a67f0':
add Async handling of Print
b349e837113553a3331422e6c94edbc7ab2a67f0 11-Nov-2013 John Hoford <hoford@google.com> am 618d0502: Merge "add Async handling of Print" into klp-dev

* commit '618d05029f221af80357aebae3bda601a573c011':
add Async handling of Print
975c49f182d754dfe1a38ba0457d6e603b125570 07-Nov-2013 John Hoford <hoford@google.com> add Async handling of Print

bug:11322643
Change-Id: I9f1272f4d96752d9ce817a56f2e3e7766b82f989
upport/v4/print/PrintHelper.java
ea460528d6893c4925ebe1a7143ed9f5dc9945bf 05-Nov-2013 Adam Powell <adamp@google.com> am a7f2dd4b: Fix a layout crash bug in SlidingPaneLayout

* commit 'a7f2dd4b8892a97edbe90470dcd20504d4131e5f':
Fix a layout crash bug in SlidingPaneLayout
ee1ce551c2a94cd51fe4a160dcc92496d8725f8b 05-Nov-2013 Adam Lesinski <adamlesinski@google.com> am 16519474: am 138e0db4: Fix off-by-one issue when removing from Iterator

* commit '16519474a607aa61d01785101e9d4e1e1d97a88c':
Fix off-by-one issue when removing from Iterator
08dcb095b6ce4474fe6fbf72e6e1cfc06b165c0a 05-Nov-2013 Mark Wagner <mxw@google.com> am ed97d103: recompute mSlideOffset in onLayout to avoid rounding errors

* commit 'ed97d103ed92fece435d8bf24398ecd2c2a5d02a':
recompute mSlideOffset in onLayout to avoid rounding errors
a7f2dd4b8892a97edbe90470dcd20504d4131e5f 04-Nov-2013 Adam Powell <adamp@google.com> Fix a layout crash bug in SlidingPaneLayout

If SlidingPaneLayout suddenly can fit all children after a relayout it
will attempt to abort sliding animations in progress. Make sure this
operation is safe when there is no longer a sliding view.

Bug 11408179

Change-Id: I59b3f291f22b37969714910ad28ea184b55b3b22
upport/v4/widget/SlidingPaneLayout.java
16519474a607aa61d01785101e9d4e1e1d97a88c 04-Nov-2013 Adam Lesinski <adamlesinski@google.com> am 138e0db4: Fix off-by-one issue when removing from Iterator

* commit '138e0db47a8fe52d96d38c7be3fe9d2ad7f4083b':
Fix off-by-one issue when removing from Iterator
ed97d103ed92fece435d8bf24398ecd2c2a5d02a 01-Nov-2013 Mark Wagner <mxw@google.com> recompute mSlideOffset in onLayout to avoid rounding errors

b/11432787 Opened conversation with David, got the account picker

We get a call to continueSettling() which correctly sets the left of the slide view to 1.
However, when the subsequent call to continueSettling() comes in the left position of the
slide view is 0. The scroller tells us we should go to zero (i.e. mScroller.getCurrX()
returns zero).

Since both are zero dx is zero and because dx is zero we don't do mCallback.onViewPositionChanged.
Because we don't do that callback SlidingPaneLayout doesn't set mSlideOffset to zero.
So when the callback fires mSlideOffset is wrong (close to zero but not zero).

Change-Id: I558defba9d48ee428860d1e3e25fd918f9413857
upport/v4/widget/SlidingPaneLayout.java
138e0db47a8fe52d96d38c7be3fe9d2ad7f4083b 01-Nov-2013 Adam Lesinski <adamlesinski@google.com> Fix off-by-one issue when removing from Iterator

MapCollections' iterator removes the preceding element
which causes IndexOutOfBoundsExceptions to be thrown
when removing the first element while iterating.

Copied from frameworks/base/core/java/android/util/MapCollections.java

bug:11477476
Change-Id: I3ea1dc5035aa1675336f60e014d9dcc22c4df065
upport/v4/util/MapCollections.java
cb39597ba49b37695a923aad9a78414d61b99347 24-Oct-2013 Kirill Grouchnikov <kirillg@google.com> am 9932c13e: Non-reflection based implementation for drawer toggle for JBMR2+.

* commit '9932c13e77bd1c9766d294904180c31729f3bf87':
Non-reflection based implementation for drawer toggle for JBMR2+.
9932c13e77bd1c9766d294904180c31729f3bf87 23-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Non-reflection based implementation for drawer toggle for JBMR2+.

Change-Id: I6617e279e4199eda886d06c97014ae626d371109
upport/v4/app/ActionBarDrawerToggle.java
1338e151d984129e871904b583e209772770bc78 22-Oct-2013 Alan Viverette <alanv@google.com> am 3f0314b4: Merge "Fix drawer layout\'s approximation of addChildrenForAccessibility()" into klp-dev

* commit '3f0314b41fef7b680548cce0fab4e14565a5b2e3':
Fix drawer layout's approximation of addChildrenForAccessibility()
3f0314b41fef7b680548cce0fab4e14565a5b2e3 22-Oct-2013 Alan Viverette <alanv@google.com> Merge "Fix drawer layout's approximation of addChildrenForAccessibility()" into klp-dev
d6edbe712f21ea4924ab9fb49ebd8c94d1e03884 21-Oct-2013 Alan Viverette <alanv@google.com> Fix drawer layout's approximation of addChildrenForAccessibility()

BUG: 11276477
Change-Id: I0dbd94ab8cc15baddd87f751c787404e009c1d12
upport/v4/widget/DrawerLayout.java
933eef5289a47952b79f069606f437600f8f466a 21-Oct-2013 Jeff Sharkey <jsharkey@android.com> am 145d27f9: Support versions of new external storage APIs.

* commit '145d27f9dd22e953d05e01327c9c2dac68634ae8':
Support versions of new external storage APIs.
145d27f9dd22e953d05e01327c9c2dac68634ae8 19-Oct-2013 Jeff Sharkey <jsharkey@android.com> Support versions of new external storage APIs.

Add support library versions of getObbDirs(), getExternalFilesDirs(),
getExternalCacheDirs(), and Environment.getStorageState().

Bug: 11287667
Change-Id: I78db3800a3fbcd65b6ac7c3ee8c297d535a3b59c
upport/v4/content/ContextCompat.java
upport/v4/os/EnvironmentCompat.java
2109ff79f0dfef910a38d3cb52f5c066ae87f3ce 15-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> am 09ad6434: Add color mode to PrintHelper.

* commit '09ad64345349f27bdeb53c536f178e46bb7ce5ac':
Add color mode to PrintHelper.
09ad64345349f27bdeb53c536f178e46bb7ce5ac 14-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Add color mode to PrintHelper.

Most of the time people pringing a bitmap would like the output
to be in color. Hence, when calling the platform print method
this class has to provode the corresponding color mode hint. This
change adds a color mode option to the PrintHelper class and
defaults to color. The client can override this behavior.

bug:11216402

Change-Id: Ie554e79c4b776a1582aa2b9915672bbf84519f49
upport/v4/print/PrintHelper.java
e68743ed8282433408a5dd964802a4e89dd30c1d 09-Oct-2013 John Hoford <hoford@google.com> am 44a323d9: Merge "Adding a code name version check until the SDK constant for K is set." into klp-dev

* commit '44a323d9993b1a17a175ee21b9f7314c9cd0fd89':
Adding a code name version check until the SDK constant for K is set.
5030ecfe56689afe327c82bb8a197999389dee13 07-Oct-2013 Svetoslav Ganov <svetoslavganov@google.com> Adding a code name version check until the SDK constant for K is set.

The code in PrintHelper was using only the SDK version to determine
whether to use the K specific print code. While this is correct we
still do not have the SDK constant for K set and the incorrect
implementation is loaded. This change adds a check for the code name
or the SDK version to ensure it works now and in the future. There
is a bug tracking the removal of the code name check.

bug:11099831

Change-Id: Ib0b6ed355519385957a7a3a53de507ba7d866687
upport/v4/print/PrintHelper.java
2b9ebe28520c9b96a1e23643057bb60a20f7e140 04-Oct-2013 Alan Viverette <alanv@google.com> am 2d7b9205: Merge "Add live region APIs to support library" into klp-dev

* commit '2d7b92057466854dbc3b36bc2fa2256f75ee28ca':
Add live region APIs to support library
9048d6aed8746d14cae0961834ae0d957aad249e 04-Oct-2013 Alan Viverette <alanv@google.com> am d08c8c07: Merge "Add findFocus API to support library" into klp-dev

* commit 'd08c8c07377563dc10f354c640c2930c3fc53645':
Add findFocus API to support library
2d7b92057466854dbc3b36bc2fa2256f75ee28ca 04-Oct-2013 Alan Viverette <alanv@google.com> Merge "Add live region APIs to support library" into klp-dev
d08c8c07377563dc10f354c640c2930c3fc53645 04-Oct-2013 Alan Viverette <alanv@google.com> Merge "Add findFocus API to support library" into klp-dev
086e7db1ab6ef49b4b7974c471b70f81b2d13aef 04-Oct-2013 Alan Viverette <alanv@google.com> Add live region APIs to support library

Change-Id: I01a857e58be5e9cf5e9ed600425ab1b76d4878f0
upport/v4/view/ViewCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
17565dc632b205a3ceea53b74bf4bc5a02b4ead9 04-Oct-2013 Kirill Grouchnikov <kirillg@google.com> am 0b866177: Merge "Use correct open/close content description strings." into klp-dev

* commit '0b866177778e2b3a07ef29a080e132c85b0ac2c5':
Use correct open/close content description strings.
0b866177778e2b3a07ef29a080e132c85b0ac2c5 04-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Merge "Use correct open/close content description strings." into klp-dev
b44045ec70f92d559fe6642e9bdb49ca37cb9f71 04-Oct-2013 Alan Viverette <alanv@google.com> Add findFocus API to support library

BUG: 9372171
Change-Id: Id805484073d608ed5b36ac23833567facf558a2c
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
48680ad73039eaba3d41015b8ada0f310ae67359 04-Oct-2013 Dianne Hackborn <hackbod@google.com> am f7b2ca32: Merge "Update support lib to match final KitKat API version." into klp-dev

* commit 'f7b2ca328d7fa3198a7b823dfcd3dd0083c61e57':
Update support lib to match final KitKat API version.
7068001b3801ffe49db9e91f2923f5eea8d5af34 04-Oct-2013 Alan Viverette <alanv@google.com> am dd7eb044: Merge "Revert "Add findFocus API to support library again" again" into klp-dev

* commit 'dd7eb0445aeb968a6e470b69e387f5a846d07764':
Revert "Add findFocus API to support library again" again
9f9f502c2648362ee7d8eba1917d688e97d1a31d 04-Oct-2013 Alan Viverette <alanv@google.com> am 2070e9b9: Merge "Add findFocus API to support library again" into klp-dev

* commit '2070e9b95d1631698cf9d7cd0bcf10bce9e06571':
Add findFocus API to support library again
8dfe6c1609694ada3ebb9331fd1671b45bf3b0e5 04-Oct-2013 Alan Viverette <alanv@google.com> am dd3503a5: Merge "Add NO_BLOCK_DESCENDANTS a11y importance mode to support lib" into klp-dev

* commit 'dd3503a583abeadada07f5db6208ea7664ad523b':
Add NO_BLOCK_DESCENDANTS a11y importance mode to support lib
f7b2ca328d7fa3198a7b823dfcd3dd0083c61e57 03-Oct-2013 Dianne Hackborn <hackbod@google.com> Merge "Update support lib to match final KitKat API version." into klp-dev
dd7eb0445aeb968a6e470b69e387f5a846d07764 03-Oct-2013 Alan Viverette <alanv@google.com> Merge "Revert "Add findFocus API to support library again" again" into klp-dev
876a9aba8c9f5b242b95db3b60bc6db0f70d22c0 03-Oct-2013 Alan Viverette <alanv@google.com> Revert "Add findFocus API to support library again" again

Apparently something needs to be change so this doesn't
break unbundled builds.

This reverts commit d41eea44a843b94afa198a6a65a52c01bf03765b.

Change-Id: Ic57b582124361e7943cc7eb62ac50a4b599be9cc
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
2070e9b95d1631698cf9d7cd0bcf10bce9e06571 03-Oct-2013 Alan Viverette <alanv@google.com> Merge "Add findFocus API to support library again" into klp-dev
dd3503a583abeadada07f5db6208ea7664ad523b 03-Oct-2013 Alan Viverette <alanv@google.com> Merge "Add NO_BLOCK_DESCENDANTS a11y importance mode to support lib" into klp-dev
b07ca601bba6ed850b7cf9fedcd44158d78a721f 03-Oct-2013 Dianne Hackborn <hackbod@google.com> Update support lib to match final KitKat API version.

Bug: 10348975

Change-Id: I2414077350216820de6c4fcf57e3d0c8ae5e5b33
upport/v4/print/PrintHelper.java
upport/v4/view/ScaleGestureDetectorCompat.java
5fff1aa4dcdbcd9804ed1033d44f74608b53a8ca 03-Oct-2013 Kirill Grouchnikov <kirillg@google.com> Use correct open/close content description strings.

The JD for the costructor says that the openDrawerContentDescRes
describes the "open action". This means that it should be set
when the drawer is closed. Same for the closeDrawerContentDescRes
that should be set when the drawer is opened.

However, the code in syncState, setDrawerIndicationEnabled, onDrawerClosed
and onDrawerOpened swapped the meaning of the two strings.

Bug: 11062863
Change-Id: I9df100f5520f992190d7c479a99ba5471b4a3822
upport/v4/app/ActionBarDrawerToggle.java
b5b909e4544fd4d1d0bdf445b8588a7233d5c71f 03-Oct-2013 Alan Viverette <alanv@google.com> Add NO_BLOCK_DESCENDANTS a11y importance mode to support lib

BUG: 11031947
Change-Id: I458f7986376d66c5a18171795584b01b8b45b833
upport/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
upport/v4/view/ViewCompat.java
d41eea44a843b94afa198a6a65a52c01bf03765b 03-Oct-2013 Alan Viverette <alanv@google.com> Add findFocus API to support library again

BUG: 9372171
Change-Id: I197cba1cbedffb040be03ef61cbf08872954f21b
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
07f3aa2f6ba11c721f9a10e896d2b8b35f33b0e8 03-Oct-2013 Joe Malin <jmalin@google.com> am 72724ffa: am 774cb648: am 5de1c78b: am 2304a870: Edit FileProvider reference doc for clarity

* commit '72724ffa7c0521bc99bcb200df2ff512353b0c84':
Edit FileProvider reference doc for clarity
72724ffa7c0521bc99bcb200df2ff512353b0c84 03-Oct-2013 Joe Malin <jmalin@google.com> am 774cb648: am 5de1c78b: am 2304a870: Edit FileProvider reference doc for clarity

* commit '774cb6488324154d05c0ddc74c9512bc677af4d2':
Edit FileProvider reference doc for clarity
774cb6488324154d05c0ddc74c9512bc677af4d2 03-Oct-2013 Joe Malin <jmalin@google.com> am 5de1c78b: am 2304a870: Edit FileProvider reference doc for clarity

* commit '5de1c78ba1994a21ea31b121b4c004fb12f7b580':
Edit FileProvider reference doc for clarity
5de1c78ba1994a21ea31b121b4c004fb12f7b580 03-Oct-2013 Joe Malin <jmalin@google.com> am 2304a870: Edit FileProvider reference doc for clarity

* commit '2304a87017eb4cf2cbe6f1f9e656422dff911962':
Edit FileProvider reference doc for clarity
dc1d94932263800e99d0594c1b558162c83b54d1 02-Oct-2013 Alan Viverette <alanv@google.com> am 78cb942e: Merge "Revert "Add findFocus API to support library"" into klp-dev

* commit '78cb942e603625d785a68051c02419eb235e1151':
Revert "Add findFocus API to support library"
78cb942e603625d785a68051c02419eb235e1151 02-Oct-2013 Alan Viverette <alanv@google.com> Merge "Revert "Add findFocus API to support library"" into klp-dev
e16b12f324f1eefceaf5668ddb30022810f5a2e9 02-Oct-2013 Alan Viverette <alanv@google.com> Revert "Add findFocus API to support library"

Fix the build.

This reverts commit ca55694ec8cfb4cd836a23efe82d45b4c5e4158d.

Change-Id: If075357f4cb64d604a4444372e3805b6f81e391f
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
2613fad8b856460c2969b27ed0b1f13f019f2cd1 02-Oct-2013 Alan Viverette <alanv@google.com> am 73179a21: Merge "Add findFocus API to support library" into klp-dev

* commit '73179a219a35cc2ba7fdf4b1e254fe4d7f9dbbfe':
Add findFocus API to support library
cc185d5dd3dea53b641882fc320e55e21525a69c 02-Oct-2013 Mindy Pereira <mindyp@google.com> am a913493b: Merge "ScaleGestureDetectorCompat should only call kitkat when sdk > 18" into klp-dev

* commit 'a913493b0962846e4f915f50002d7518f518aa89':
ScaleGestureDetectorCompat should only call kitkat when sdk > 18
73179a219a35cc2ba7fdf4b1e254fe4d7f9dbbfe 02-Oct-2013 Alan Viverette <alanv@google.com> Merge "Add findFocus API to support library" into klp-dev
a913493b0962846e4f915f50002d7518f518aa89 02-Oct-2013 Mindy Pereira <mindyp@google.com> Merge "ScaleGestureDetectorCompat should only call kitkat when sdk > 18" into klp-dev
394c304471cd09573c3be63a220bdcccd32cce64 02-Oct-2013 Mindy Pereira <mindyp@google.com> ScaleGestureDetectorCompat should only call kitkat when sdk > 18

fixes b/11027517 Preview an already shared pic shows NoSuchMethodError

Change-Id: Ibd312690b6930607dfe6b504c7137b28fe5dbe34
upport/v4/view/ScaleGestureDetectorCompat.java
567473c0e32981bfb42627ca419dab5e9aa079e5 02-Oct-2013 Svetoslav <svetoslavganov@google.com> am b363776d: Adding a helper class for printing bitmaps

* commit 'b363776d911abae9d067b9ef77fccc1c3c56e652':
Adding a helper class for printing bitmaps
b363776d911abae9d067b9ef77fccc1c3c56e652 26-Sep-2013 Svetoslav <svetoslavganov@google.com> Adding a helper class for printing bitmaps

Change-Id: Id08aeadaf2f17dd869a63468f735a0534f67dbf8
upport/v4/print/PrintHelper.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
ca55694ec8cfb4cd836a23efe82d45b4c5e4158d 01-Oct-2013 Alan Viverette <alanv@google.com> Add findFocus API to support library

BUG: 9372171
Change-Id: Ic486df1e3e16cc84c18503fc0d4f2fdc40a39eb5
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
f6ae58d91853ad12b3a2153e6acc3f36730ed314 01-Oct-2013 Romain Guy <romainguy@android.com> am c8d671f6: am 37e2defc: Merge "Fragement, or Fragment: that is the question"

* commit 'c8d671f68b7926e70f30c7ae96a579460a5daba1':
Fragement, or Fragment: that is the question
c8d671f68b7926e70f30c7ae96a579460a5daba1 01-Oct-2013 Romain Guy <romainguy@android.com> am 37e2defc: Merge "Fragement, or Fragment: that is the question"

* commit '37e2defcdb38fee7acec85747fb8afdcb0fdca7f':
Fragement, or Fragment: that is the question
2b336307cf98ca5142db6736812178293d47c500 01-Oct-2013 Cyril Mottier <cyrilmottier@gmail.com> Fragement, or Fragment: that is the question

Change-Id: I6fde7683cb83eecf96380d38fc588679d1ed1002
upport/v4/app/FragmentManager.java
2304a87017eb4cf2cbe6f1f9e656422dff911962 03-Sep-2013 Joe Malin <jmalin@google.com> Edit FileProvider reference doc for clarity

Change-Id: I8069be2704ea0c0ab5c4c2267130d5cd95fcef38
upport/v4/content/FileProvider.java
a58d8c1fa00be5b5cf1f84c8d1d68c3ab59354eb 26-Sep-2013 Alan Viverette <alanv@google.com> am ab87bd76: Merge "Add drag-to-open APIs to support lib" into klp-dev

* commit 'ab87bd766f54da597c4092d88b5b5bd99eb2d4dd':
Add drag-to-open APIs to support lib
379312ec6d3e517f8bb8fcf2e9876b42f9495df3 25-Sep-2013 Alan Viverette <alanv@google.com> Add drag-to-open APIs to support lib

BUG: 10903795
Change-Id: I85f5c97863c2f035b62effcb1d84db1f4c26681e
upport/v4/widget/ListPopupWindowCompat.java
upport/v4/widget/PopupMenuCompat.java
e22dc6fc3f391830ace89c6794404f823f783bc1 25-Sep-2013 Alan Viverette <alanv@google.com> am 531b2c39: Merge "Add auto-mirroring support to ActionBarDrawerToggle" into klp-dev

* commit '531b2c3981a8ffc781f81b22f500105945de562d':
Add auto-mirroring support to ActionBarDrawerToggle
531b2c3981a8ffc781f81b22f500105945de562d 25-Sep-2013 Alan Viverette <alanv@google.com> Merge "Add auto-mirroring support to ActionBarDrawerToggle" into klp-dev
67acbbfc146555b72cf6724fb16afae35ee56b48 24-Sep-2013 Mindy Pereira <mindyp@google.com> am 72e51aec: Fix the docs for the ScaleGestureDetector

* commit '72e51aec7cc9fe1948cdcc8dcdf3136e6b064421':
Fix the docs for the ScaleGestureDetector
0d4087b7cf46fb12d89898f6d8eb03cdf87649c9 24-Sep-2013 Mindy DelliCarpini <mindyp@google.com> am dddbd38f: Merge "Make the isQuickScaleEnabled method" into klp-dev

* commit 'dddbd38f379be8ddb8d1ec86491525466819089f':
Make the isQuickScaleEnabled method
72e51aec7cc9fe1948cdcc8dcdf3136e6b064421 23-Sep-2013 Mindy Pereira <mindyp@google.com> Fix the docs for the ScaleGestureDetector

Fixes build

Change-Id: I1f1e843113e48326be4f1e7935eab35bdbae80f3
upport/v4/view/ScaleGestureDetectorCompat.java
5df122f8bb619edcdbef94cd455efef0e6e44377 23-Sep-2013 Alan Viverette <alanv@google.com> Add auto-mirroring support to ActionBarDrawerToggle

Also adds the necessary KitKat packages, classes, and build targets
for the support-v4 library.

BUG: 10209321
Change-Id: Iec8906182be2694e2ef1959bcf39d9fe61b7a151
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/graphics/drawable/DrawableCompat.java
dddbd38f379be8ddb8d1ec86491525466819089f 23-Sep-2013 Mindy DelliCarpini <mindyp@google.com> Merge "Make the isQuickScaleEnabled method" into klp-dev
a34ab11e77372976d2f7dbc91d678ed5ba11378d 21-Sep-2013 Alan Viverette <alanv@google.com> am b03136f5: Merge "Revert "Add auto-mirroring support to ActionBarDrawerToggle"" into klp-dev

* commit 'b03136f516f632dd85ae95f026b3b5e1d356e721':
Revert "Add auto-mirroring support to ActionBarDrawerToggle"
88650fd0dbe755a7951f8d8ec2ee1571dcf5e008 21-Sep-2013 Alan Viverette <alanv@google.com> Revert "Add auto-mirroring support to ActionBarDrawerToggle"

Fix the build.

This reverts commit eb1dc82afa7464222ceeea95f16407ff873e59ff.

Change-Id: I8241a0ad8d6d6eb502b49b3be0d42b3f607251bf
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/graphics/drawable/DrawableCompat.java
1ae7e3b080f392a9845743df6b19e3f0cefd0168 21-Sep-2013 Alan Viverette <alanv@google.com> am ea74b8a8: Merge "Add auto-mirroring support to ActionBarDrawerToggle" into klp-dev

* commit 'ea74b8a86dc9adab36f89fb0df0d261ddb92286d':
Add auto-mirroring support to ActionBarDrawerToggle
eb1dc82afa7464222ceeea95f16407ff873e59ff 20-Sep-2013 Alan Viverette <alanv@google.com> Add auto-mirroring support to ActionBarDrawerToggle

Also adds the necessary KitKat packages, classes, and build targets
for the support-v4 library.

BUG: 10209321
Change-Id: I2fcaf9543091b2aa149a9f04399dfa5ce0be991f
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/graphics/drawable/DrawableCompat.java
b7c7eb8b8c520f5a3256205a42e42e071854d929 18-Sep-2013 Mindy DelliCarpini <mindyp@google.com> Make the isQuickScaleEnabled method


bring it back now that current.jar is updated

Change-Id: I18d01ab14b7ab77cc6d644a9d20ab56d7be71856
upport/v4/view/ScaleGestureDetectorCompat.java
e3beb02a4fba0d9c022c7199ea82d4d49ff962e6 18-Sep-2013 Mindy DelliCarpini <mindyp@google.com> am 8df38703: Merge "Revert "Make the isQuickScaleEnabled method"" into klp-dev

* commit '8df3870348bca148021c4779c9a0bd55fd91cac7':
Revert "Make the isQuickScaleEnabled method"
8df3870348bca148021c4779c9a0bd55fd91cac7 18-Sep-2013 Mindy DelliCarpini <mindyp@google.com> Merge "Revert "Make the isQuickScaleEnabled method"" into klp-dev
b53d9592fac077fe35deab6fdfd185da7eb2bc5f 18-Sep-2013 Mindy DelliCarpini <mindyp@google.com> Revert "Make the isQuickScaleEnabled method"

This reverts commit cb80ea4aad01cd26f295e173f37dcf9e20be6bca.

Change-Id: I97efb94dcd4a963f9ab68dcc29c4aa4198f085aa
upport/v4/view/ScaleGestureDetectorCompat.java
0a1e1db46a53cc8dc8a0df4bf865ea77d31fa246 18-Sep-2013 Mindy Pereira <mindyp@google.com> am c29b13be: Merge "Make the isQuickScaleEnabled method" into klp-dev

* commit 'c29b13be231f47e3c3efc5402e7e9e8c62eb252f':
Make the isQuickScaleEnabled method
c29b13be231f47e3c3efc5402e7e9e8c62eb252f 18-Sep-2013 Mindy Pereira <mindyp@google.com> Merge "Make the isQuickScaleEnabled method" into klp-dev
cb80ea4aad01cd26f295e173f37dcf9e20be6bca 10-Sep-2013 Mindy Pereira <mindyp@google.com> Make the isQuickScaleEnabled method

Change-Id: I328dd6e73c29b1751b3473d25e0542c14efe1bdc
upport/v4/view/ScaleGestureDetectorCompat.java
e86f13801033a08bef9fbd095da6b80e7aee166b 11-Sep-2013 Chris Banes <chrisbanes@google.com> am 40b16634: am c3cfafaa: am a2baef2f: Get ActionBarDrawerToggle Delegate earlier in constructor

* commit '40b16634bab0c9343f04f4187aecec676908c432':
Get ActionBarDrawerToggle Delegate earlier in constructor
40b16634bab0c9343f04f4187aecec676908c432 11-Sep-2013 Chris Banes <chrisbanes@google.com> am c3cfafaa: am a2baef2f: Get ActionBarDrawerToggle Delegate earlier in constructor

* commit 'c3cfafaa484c0999a22a30a64334c0d2141a23b7':
Get ActionBarDrawerToggle Delegate earlier in constructor
c3cfafaa484c0999a22a30a64334c0d2141a23b7 11-Sep-2013 Chris Banes <chrisbanes@google.com> am a2baef2f: Get ActionBarDrawerToggle Delegate earlier in constructor

* commit 'a2baef2fdbcfca77239addd2f202953a7a5dda52':
Get ActionBarDrawerToggle Delegate earlier in constructor
a2baef2fdbcfca77239addd2f202953a7a5dda52 10-Sep-2013 Chris Banes <chrisbanes@google.com> Get ActionBarDrawerToggle Delegate earlier in constructor

getThemeUpIndicator() uses the Delegate but is currently
called before the Delegate is retrieved.

Bug: 10618525
Change-Id: I80de1c40ecc9e3a1af252ba1fa1deaf862e20110
upport/v4/app/ActionBarDrawerToggle.java
d99dfe0a56bef0b7171ed533d735725b64556dc5 09-Sep-2013 Mindy Pereira <mindyp@google.com> am 2155135a: Update default ramp up time for autoscroller.

* commit '2155135a266e288854714775d8a9ba7d8eddfd2a':
Update default ramp up time for autoscroller.
2155135a266e288854714775d8a9ba7d8eddfd2a 06-Sep-2013 Mindy Pereira <mindyp@google.com> Update default ramp up time for autoscroller.

2500 was too much and drowning the behavior where closeness to
the edge should set the speed.

Change-Id: I37cb583d47d34700a2047bbb3b506edb407a5df8
upport/v4/widget/AutoScrollHelper.java
ee6319e6db59cb3db811d5d68435bc06a3521201 06-Sep-2013 Dianne Hackborn <hackbod@google.com> am 7b4c91bb: Fix issue #10491028: iabv2 test apps that contain subscription SKUs...

* commit '7b4c91bb218ce476748fc3fcecc71694a240d8cb':
Fix issue #10491028: iabv2 test apps that contain subscription SKUs...
7b4c91bb218ce476748fc3fcecc71694a240d8cb 06-Sep-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10491028: iabv2 test apps that contain subscription SKUs...

...crash on launch

You got some values in my keys!

Change-Id: I7f83905dc1c195f170e974bcd27d28c5cb8fda21
upport/v4/util/MapCollections.java
b60a1713949bf68439d35d3c2082afc08009f85d 05-Sep-2013 Chet Haase <chet@google.com> am 1d99e1c9: Change build version from KEY_LIME_PIE to KITKAT

* commit '1d99e1c98bd96903626128b18537427c1fe38eee':
Change build version from KEY_LIME_PIE to KITKAT
1d99e1c98bd96903626128b18537427c1fe38eee 05-Sep-2013 Chet Haase <chet@google.com> Change build version from KEY_LIME_PIE to KITKAT

Issue #10631619 Change build version to KitKat

Change-Id: I2036f495e135eb80408050e18bcd84b8cea917e2
upport/v4/util/SparseArrayCompat.java
860237103ca5840c5ad981cfded57406089b4512 31-Aug-2013 Alan Viverette <alanv@google.com> am 9699bdd2: Merge "Add ramp down to AutoScrollHelper, fix onScrollBy nuisances" into klp-dev

* commit '9699bdd2ece3a549a0329a0dd3e93460cbac6a68':
Add ramp down to AutoScrollHelper, fix onScrollBy nuisances
9699bdd2ece3a549a0329a0dd3e93460cbac6a68 31-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add ramp down to AutoScrollHelper, fix onScrollBy nuisances" into klp-dev
504f6b9c6bcc6b2f50b2aaf4cf9b9bcae7e0e755 30-Aug-2013 Alan Viverette <alanv@google.com> Add ramp down to AutoScrollHelper, fix onScrollBy nuisances

Scrolling has been separated into several methods to ensure
that the target view's ability to scroll can be checked without
actually forcing it to scroll. The scrolling velocity interpolator
had been updated to follow a parabolic curve based on ramp-up and
ramp-down times.

BUG: 10547956
Change-Id: I057a5683d860c0dcea1d4ad99b2b67a07a8a7142
upport/v4/widget/AutoScrollHelper.java
upport/v4/widget/ListViewAutoScrollHelper.java
1c01087fd59595b9b07261ec3afb170d6c81b2a1 30-Aug-2013 Adam Powell <adamp@android.com> am 45d1f507: am 44cfbdd2: Merge "Fix SlidingPaneLayout padding"

* commit '45d1f507129f1a1c275e6605a9e4283bfb75aaa2':
Fix SlidingPaneLayout padding
45d1f507129f1a1c275e6605a9e4283bfb75aaa2 30-Aug-2013 Adam Powell <adamp@android.com> am 44cfbdd2: Merge "Fix SlidingPaneLayout padding"

* commit '44cfbdd2e6b50955334759260decc98ce2bc1610':
Fix SlidingPaneLayout padding
6688e113ad2519dc07edf56acbd0f42ce209a585 27-Aug-2013 Sérgio Faria <sergio91pt@gmail.com> Fix SlidingPaneLayout padding

When measuring the children width take into account the layout
horizontal padding.

When reporting the layout measured height, take into account the
vertical padding that was removed to measure the children.

And when sliding the pane, make sure views are not offset vertically.

Change-Id: If17912b94fa6721c199ad1a050d8c7350738076b
Signed-off-by: Sérgio Faria <sergio91pt@gmail.com>
upport/v4/widget/SlidingPaneLayout.java
8c980fc1a8fe7ff2620eeb071823055739fb0ba4 29-Aug-2013 Mindy Pereira <mindyp@google.com> Merge "Fix case when user touches the very edge of a view" into klp-dev
7b1a5a45acedd56616807d5c4b3acc17fbfc92ad 28-Aug-2013 Mindy Pereira <mindyp@google.com> Fix case when user touches the very edge of a view

This now counts touches at the exact top edge of the view as valid

Change-Id: I704169577c2e5effe706b183c88505b1b32c898b
upport/v4/widget/AutoScrollHelper.java
5677d3ec28800eae3e5aa2243ba78b88eb3f64be 28-Aug-2013 Adam Powell <adamp@google.com> am 84eca986: Fix compatibility support for v7/gridlayout DO NOT MERGE

* commit '84eca98693cb666a5e003744987a75dc06542c01':
Fix compatibility support for v7/gridlayout DO NOT MERGE
84eca98693cb666a5e003744987a75dc06542c01 28-Aug-2013 Adam Powell <adamp@google.com> Fix compatibility support for v7/gridlayout DO NOT MERGE

A previous implementation import from frameworks/base combined with an
incorrectly restricted makefile led to GridLayout using new/hidden API
from the framework instead of compat lib conventions and public API
only.

Add required shims to ViewCompat/ViewGroupCompat as needed and have
GridLayout use them. Fix some general Android code style guide issues.

Change-Id: Icb1065e96766bd2eefc73a819ae5a88ca502bf27
upport/v4/view/ViewCompat.java
upport/v4/view/ViewGroupCompat.java
b12ba0547b2fad1c4dfc12dec36c5e7893974e67 28-Aug-2013 Adam Powell <adamp@google.com> Fix compatibility support for v7/gridlayout

A previous implementation import from frameworks/base combined with an
incorrectly restricted makefile led to GridLayout using new/hidden API
from the framework instead of compat lib conventions and public API
only.

Add required shims to ViewCompat/ViewGroupCompat as needed and have
GridLayout use them. Fix some general Android code style guide issues.

Change-Id: I5dd965b9c4282c47964bfd1d481e3a62725cca38
upport/v4/view/ViewCompat.java
upport/v4/view/ViewGroupCompat.java
e30f30bf3aaea919265509dce176cf1ba9fecc9f 15-Aug-2013 Alan Viverette <alanv@google.com> Merge "Add exclusive handling of touch events to AutoScrollHelper" into klp-dev
6cf8db91596dd60eee4bb90925e4711cebb202d4 15-Aug-2013 Alan Viverette <alanv@google.com> Add exclusive handling of touch events to AutoScrollHelper

Also fixes an inconsistency between ListView.scrollListBy() and
ListViewAutoScrolllHelper implementations that was breaking list
auto scrolling.

BUG: 10325742
Change-Id: I31d6e7c984c6b6bf370ac3bd6b1ade570b591f7d
upport/v4/widget/AutoScrollHelper.java
upport/v4/widget/ListViewAutoScrollHelper.java
ab6e5dbcc6e05994ebb4257478c54f54085b9aa6 14-Aug-2013 Alan Viverette <alanv@google.com> Throw exception in FragmentManager when queuing after destroy

Change-Id: If1efc037e543e98740ca3a5cabcc9f8081827e5a
upport/v4/app/FragmentManager.java
81db833f091aaf408cac0afa4b8ddd71edb3c71f 09-Aug-2013 Adam Powell <adamp@google.com> am a153c15d: am 0eefa9b2: Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

* commit 'a153c15dac51381c712ba35f213cabfceccc838a':
Fix a bug in ShareCompat.IntentReader.getHtmlText fallback
a153c15dac51381c712ba35f213cabfceccc838a 09-Aug-2013 Adam Powell <adamp@google.com> am 0eefa9b2: Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

* commit '0eefa9b2aa1c43a6c05def134bba74328b207a02':
Fix a bug in ShareCompat.IntentReader.getHtmlText fallback
0eefa9b2aa1c43a6c05def134bba74328b207a02 09-Aug-2013 Adam Powell <adamp@google.com> Fix a bug in ShareCompat.IntentReader.getHtmlText fallback

A typo was causing the fallback cases of translating spanned strings
or escaping html tags not to work properly.

Bug 10230475

Change-Id: Ia89cbcb4303af2eaeb445a34519eb3c6b0f057eb
upport/v4/app/ShareCompat.java
2c53644e27f4d989b87381cdd05a037e8d98d1d4 09-Aug-2013 Adam Powell <adamp@google.com> am 7367fd6f: am 3fafb081: Pick which kind of fragment to inflate from <fragment> tags

* commit '7367fd6fb5ec7d30d36711d1115f18d4a50b9f0e':
Pick which kind of fragment to inflate from <fragment> tags
7367fd6fb5ec7d30d36711d1115f18d4a50b9f0e 09-Aug-2013 Adam Powell <adamp@google.com> am 3fafb081: Pick which kind of fragment to inflate from <fragment> tags

* commit '3fafb0817f980d1819d0708b3c3da00454ba4c1f':
Pick which kind of fragment to inflate from <fragment> tags
3fafb0817f980d1819d0708b3c3da00454ba4c1f 09-Aug-2013 Adam Powell <adamp@google.com> Pick which kind of fragment to inflate from <fragment> tags

If an Activity extends from FragmentActivity the LayoutInflaters
obtained from it were previously be configured to parse <fragment>
tags exclusively referring to android.support.v4.app.Fragment class
names. Have FragmentActivity delegate this to the underlying device
framework to allow the use of android.app.Fragment fragments in
layouts.

Bug 10258465

Change-Id: Ic4274657b079fbf61ddf0f34df2cdec9602fc7ed
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
4dab7ea40c9e9d3879f47b0535779ccce9cae728 09-Aug-2013 Chris Banes <chrisbanes@google.com> am 5fa9df2a: am 807cddc4: Merge "Fix ABC ActionProvider visibility refresh" into jb-mr2-ub-dev

* commit '5fa9df2ad307c498bb8f5cf360521fb65f858f68':
Fix ABC ActionProvider visibility refresh
50c31435bce7632fd7921de4aa118f22b7a3a300 09-Aug-2013 Alan Viverette <alanv@google.com> am b2865fa5: am f55dfacb: Ensure DrawerLayout correctly handles RTL for child drawers

* commit 'b2865fa5bd9dda58a056401cafe3415517b7855c':
Ensure DrawerLayout correctly handles RTL for child drawers
5fa9df2ad307c498bb8f5cf360521fb65f858f68 08-Aug-2013 Chris Banes <chrisbanes@google.com> am 807cddc4: Merge "Fix ABC ActionProvider visibility refresh" into jb-mr2-ub-dev

* commit '807cddc4a4f26f153f422c98cbad94ba843b6ea4':
Fix ABC ActionProvider visibility refresh
807cddc4a4f26f153f422c98cbad94ba843b6ea4 08-Aug-2013 Chris Banes <chrisbanes@google.com> Merge "Fix ABC ActionProvider visibility refresh" into jb-mr2-ub-dev
b2865fa5bd9dda58a056401cafe3415517b7855c 07-Aug-2013 Alan Viverette <alanv@google.com> am f55dfacb: Ensure DrawerLayout correctly handles RTL for child drawers

* commit 'f55dfacb0db5da12ad3b9e5615c3feaea372f37d':
Ensure DrawerLayout correctly handles RTL for child drawers
f55dfacb0db5da12ad3b9e5615c3feaea372f37d 07-Aug-2013 Alan Viverette <alanv@google.com> Ensure DrawerLayout correctly handles RTL for child drawers

Previously there were several instances where relative gravity
was not converted to absolute gravity. Absolute gravities are
now always identified as such. Also, absolute gravities are now
correctly resolved using the layout direction of the container.

BUG: 10206712
Change-Id: I3444c38115af5f1d49f66e95d28a3eb76387cdef
upport/v4/widget/DrawerLayout.java
139afb2f4146aa3b65c9a43a0248d130dda91de9 07-Aug-2013 Alan Viverette <alanv@google.com> am 8819bd8b: am ff0177a3: Merge "Make SlideDrawable respect the layout direction of its activity" into jb-mr2-ub-dev

* commit '8819bd8bbd6f59b75fff18c55d342c30a4bd3836':
Make SlideDrawable respect the layout direction of its activity
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>
upport/v4/app/FragmentActivity.java
8819bd8bbd6f59b75fff18c55d342c30a4bd3836 06-Aug-2013 Alan Viverette <alanv@google.com> am ff0177a3: Merge "Make SlideDrawable respect the layout direction of its activity" into jb-mr2-ub-dev

* commit 'ff0177a3f7702ad92176335ec166cb144d81cb60':
Make SlideDrawable respect the layout direction of its activity
ff0177a3f7702ad92176335ec166cb144d81cb60 06-Aug-2013 Alan Viverette <alanv@google.com> Merge "Make SlideDrawable respect the layout direction of its activity" into jb-mr2-ub-dev
8292501782046595337faeb0a0784b12cafad422 05-Aug-2013 Alan Viverette <alanv@google.com> Make SlideDrawable respect the layout direction of its activity

BUG: 10023102
Change-Id: Ib033022d6cebecea3f3f9c5cfa67b48483371e83
upport/v4/app/ActionBarDrawerToggle.java
9aeaa10b09170cd08cb819080b40f478921c702b 06-Aug-2013 Adam Powell <adamp@google.com> am 58975da9: am 9b2fb1ef: Fix a bug in DrawerLayout when a child specifies a top margin

* commit '58975da98d2d012259dfc095d1127040cac00067':
Fix a bug in DrawerLayout when a child specifies a top margin
52551e0905401110b29492a14bd0c22d7b1af3e2 06-Aug-2013 Mindy DelliCarpini <mindyp@google.com> am 3092b512: am de1b9afe: Merge "Add ContentLoadingProgressBar support" into jb-mr2-ub-dev

* commit '3092b5120250d51d6b8c4c55e993027d65156751':
Add ContentLoadingProgressBar support
58975da98d2d012259dfc095d1127040cac00067 05-Aug-2013 Adam Powell <adamp@google.com> am 9b2fb1ef: Fix a bug in DrawerLayout when a child specifies a top margin

* commit '9b2fb1efe771e9927724b33242cbc3bc62b5b315':
Fix a bug in DrawerLayout when a child specifies a top margin
9b2fb1efe771e9927724b33242cbc3bc62b5b315 05-Aug-2013 Adam Powell <adamp@google.com> Fix a bug in DrawerLayout when a child specifies a top margin

Bug 10125027

Change-Id: Id9b34e7220467b5985ce683f57b0d0d9a359c337
upport/v4/widget/DrawerLayout.java
3092b5120250d51d6b8c4c55e993027d65156751 05-Aug-2013 Mindy DelliCarpini <mindyp@google.com> am de1b9afe: Merge "Add ContentLoadingProgressBar support" into jb-mr2-ub-dev

* commit 'de1b9afe74d339e2d76c1aca91f9d1c8479a4db2':
Add ContentLoadingProgressBar support
befff92741b1f0629d9a9389a3889cca56d914a2 26-Jul-2013 Mindy DelliCarpini <mindyp@google.com> Add ContentLoadingProgressBar support

ContentLoadingProgressBar allows developers to follow the policy for loading content
laid out in the style guide. The progress view will only show if MIN_DELAY
passes before the view is hidden. The progress view, if shown, will always
show for at least MIN_SHOW_TIME ms.

Change-Id: I51c9e0ba55ef370b87a99f6d27541ee2e7e1fef6
upport/v4/widget/ContentLoadingProgressBar.java
d682b566488c4ac3a8faae7d2eee5b6103d6f039 01-Aug-2013 Dianne Hackborn <hackbod@google.com> Fix issue #10115327: MapCollections need to implement equals

Change-Id: Ie0a633ffd00bc40d95190ac0867980eee47e5df9
upport/v4/util/MapCollections.java
dd89bdcaf5609ad2641a980ff48321a647471a3d 26-Jul-2013 Dianne Hackborn <hackbod@google.com> Update to support null keys.

Change-Id: I6902a33c7b7b9799acd931644c940b691b2c29e6
upport/v4/util/ArrayMap.java
upport/v4/util/SimpleArrayMap.java
d848890cd9bad5d080a23ed3985f485dd7eda0f9 25-Jul-2013 Alan Viverette <alanv@google.com> Merge "Add helper class for controlling automatic scrolling behavior"
eb38a77f4c2b50da454ce0720ceb056f4932f4ae 24-Jul-2013 Alan Viverette <alanv@google.com> Add helper class for controlling automatic scrolling behavior

BUG: 9437139
Change-Id: I2860e5e1236236062beaac70755078e2d25b39ac
upport/v4/widget/AutoScrollHelper.java
upport/v4/widget/ListViewAutoScrollHelper.java
9cd2175b027caefba06503c316fca48404688b8a 20-Jul-2013 Adam Powell <adamp@google.com> am 56861380: am 86559d86: Tuning for DrawerLayout

* commit '568613807deaeef969410efa14d0ffac58724031':
Tuning for DrawerLayout
568613807deaeef969410efa14d0ffac58724031 20-Jul-2013 Adam Powell <adamp@google.com> am 86559d86: Tuning for DrawerLayout

* commit '86559d86173efb890a8edf48d935cfebfaccf049':
Tuning for DrawerLayout
86559d86173efb890a8edf48d935cfebfaccf049 20-Jul-2013 Adam Powell <adamp@google.com> Tuning for DrawerLayout

* Remove extra slop from DrawerLayout swipes
* Disable disallow intercept games

Change-Id: I2c6cb1e4321ead6d049576bed7af9a20042a4675
upport/v4/widget/DrawerLayout.java
80f8f434f1a5ee950084d8aedd70135de281df72 18-Jul-2013 Scott Main <smain@google.com> am 3cf73a41: am 9dcd2e58: javadoc edits for support library

* commit '3cf73a4119b9b216ea22f796364ed00525ceac41':
javadoc edits for support library
3cf73a4119b9b216ea22f796364ed00525ceac41 18-Jul-2013 Scott Main <smain@google.com> am 9dcd2e58: javadoc edits for support library

* commit '9dcd2e58138ca4eb4b18f80b50e8979329e859d6':
javadoc edits for support library
9dcd2e58138ca4eb4b18f80b50e8979329e859d6 17-Jul-2013 Scott Main <smain@google.com> javadoc edits for support library

Change-Id: Ie8f228036dc9d33315430490a2e03e9c504ada71
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/view/ActionProvider.java
upport/v4/view/MenuItemCompat.java
ab33df5194de91ef6173a242f143ad939d6a91f3 17-Jul-2013 Dianne Hackborn <hackbod@google.com> Merge "Add ArrayMap to support lib."
39decd1ed32086d7aa814a260de547c1c84d7ac3 17-Jul-2013 Chris Banes <chrisbanes@google.com> am 52491da8: am 321901e4: Fix build break caused by I65805921ee7c3b4e2a171372113adbb80c07c25c

* commit '52491da85375ec103a493f9f3eb6bb2736868395':
Fix build break caused by I65805921ee7c3b4e2a171372113adbb80c07c25c
52491da85375ec103a493f9f3eb6bb2736868395 17-Jul-2013 Chris Banes <chrisbanes@google.com> am 321901e4: Fix build break caused by I65805921ee7c3b4e2a171372113adbb80c07c25c

* commit '321901e470c642b04827104c325f57d3635076d6':
Fix build break caused by I65805921ee7c3b4e2a171372113adbb80c07c25c
321901e470c642b04827104c325f57d3635076d6 17-Jul-2013 Chris Banes <chrisbanes@google.com> Fix build break caused by I65805921ee7c3b4e2a171372113adbb80c07c25c

Change-Id: Ie4400fa19604bb33d504f68a1da466e862895a1d
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/view/MenuCompat.java
af8565edf46c5321cb6c5c81b0d6c406f1e62513 17-Jul-2013 Chris Banes <chrisbanes@google.com> am 6016e8eb: am 79c1dba5: @hide internal.view classes in android-support-v4

* commit '6016e8ebb57ae641ef6ea67af39bcba5475c3c24':
@hide internal.view classes in android-support-v4
6016e8ebb57ae641ef6ea67af39bcba5475c3c24 17-Jul-2013 Chris Banes <chrisbanes@google.com> am 79c1dba5: @hide internal.view classes in android-support-v4

* commit '79c1dba5b509ae3e7c867827949d8fdfd37e8f52':
@hide internal.view classes in android-support-v4
2290993eddf5262a8df7fc9478daed52401e325a 17-Jul-2013 Dianne Hackborn <hackbod@google.com> Add ArrayMap to support lib.

Also integrate recent container class changes in to
the support lib, and modify activity/fragment to use
ArrayMap.

Change-Id: I9f28c3661b8d9c3de8f8409e721feb1a714e9d1b
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/util/ArrayMap.java
upport/v4/util/ContainerHelpers.java
upport/v4/util/LongSparseArray.java
upport/v4/util/MapCollections.java
upport/v4/util/SimpleArrayMap.java
upport/v4/util/SparseArrayCompat.java
79c1dba5b509ae3e7c867827949d8fdfd37e8f52 16-Jul-2013 Chris Banes <chrisbanes@google.com> @hide internal.view classes in android-support-v4

I also changed the signature of MenuItemCompat.setShowAsAction(..)
to match that from the native MenuItem.

Bug: 9762228
Change-Id: I65805921ee7c3b4e2a171372113adbb80c07c25c
upport/v4/internal/view/SupportMenu.java
upport/v4/internal/view/SupportMenuItem.java
upport/v4/internal/view/SupportSubMenu.java
upport/v4/view/MenuItemCompat.java
8d7d110766d38d445d83e5801b2acec678969016 13-Jul-2013 Dianne Hackborn <hackbod@google.com> Update LongSparseArray docs to be more informative.

Change-Id: Ia7a05750ab71a3bcc5048590c19f159330bb9f92
upport/v4/util/LongSparseArray.java
e4f73091d4a96d18fd3f8b1c0a5c0cbaab739f9c 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 5cbab6fa: am 00ae8b5f: am 7392663f: Merge "Allow user-customized FragmentTabHost layouts."

* commit '5cbab6fafaeabf05c51b7009d4d347d3c7f123fb':
Allow user-customized FragmentTabHost layouts.
5cbab6fafaeabf05c51b7009d4d347d3c7f123fb 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 00ae8b5f: am 7392663f: Merge "Allow user-customized FragmentTabHost layouts."

* commit '00ae8b5fd5c50d355b5cd2633d1b4729c8bd59f0':
Allow user-customized FragmentTabHost layouts.
00ae8b5fd5c50d355b5cd2633d1b4729c8bd59f0 08-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 7392663f: Merge "Allow user-customized FragmentTabHost layouts."

* commit '7392663f800f78a4dc6eddb151d6eb0d6f445f4b':
Allow user-customized FragmentTabHost layouts.
dbbfc8f0e47448fed97eae9910584f59ccfeb817 03-Jul-2013 kmccormick <kmccormick@google.com> am a5f0d67e: am cce81d67: am ea892d85: Merge "Doc change: WakefulBroadcastReceiver javadoc." into jb-mr2-dev

* commit 'a5f0d67ed80508e1d2436b72af53e96accd559ae':
Doc change: WakefulBroadcastReceiver javadoc.
a5f0d67ed80508e1d2436b72af53e96accd559ae 03-Jul-2013 kmccormick <kmccormick@google.com> am cce81d67: am ea892d85: Merge "Doc change: WakefulBroadcastReceiver javadoc." into jb-mr2-dev

* commit 'cce81d6724e60dea3a14afe940b85f030ed1a945':
Doc change: WakefulBroadcastReceiver javadoc.
cce81d6724e60dea3a14afe940b85f030ed1a945 03-Jul-2013 kmccormick <kmccormick@google.com> am ea892d85: Merge "Doc change: WakefulBroadcastReceiver javadoc." into jb-mr2-dev

* commit 'ea892d85558b564ce62a32b3be147c7b7ae13f88':
Doc change: WakefulBroadcastReceiver javadoc.
8fa60a6aa36ef3385391c6eb0589fe157bb08345 28-Jun-2013 kmccormick <kmccormick@google.com> Doc change: WakefulBroadcastReceiver javadoc.

Change-Id: I44a80f68d1889623d7b0b6dc91826721e8f63760
upport/v4/content/WakefulBroadcastReceiver.java
39bdeaaa592b94d7fbb48122b67aa17285b84724 21-Jun-2013 Adam Powell <adamp@google.com> am 62cd7604: am a4ce8ce5: Add bidi compat shims for ViewGroup.MarginLayoutParams

* commit '62cd7604ba8324af7bba3ab033db9402e049cc6c':
Add bidi compat shims for ViewGroup.MarginLayoutParams
62cd7604ba8324af7bba3ab033db9402e049cc6c 21-Jun-2013 Adam Powell <adamp@google.com> am a4ce8ce5: Add bidi compat shims for ViewGroup.MarginLayoutParams

* commit 'a4ce8ce5dacb7902373edfe35d5b2075968d1125':
Add bidi compat shims for ViewGroup.MarginLayoutParams
a4ce8ce5dacb7902373edfe35d5b2075968d1125 21-Jun-2013 Adam Powell <adamp@google.com> Add bidi compat shims for ViewGroup.MarginLayoutParams

Bug 9526419

Change-Id: I1b78e1e2a9525465c0cce434756856ff548cc7bc
upport/v4/view/MarginLayoutParamsCompat.java
f924d9c3584a3a180f52da573605aad993d2fd80 20-Jun-2013 Alan Viverette <alanv@google.com> am 973d0a58: am c62bf6ec: Merge "Implement ViewPager.canScrollHorizontally()." into jb-mr2-ub-dev

* commit '973d0a581ea7b98115a1e343dc52e32b95df16a2':
Implement ViewPager.canScrollHorizontally().
973d0a581ea7b98115a1e343dc52e32b95df16a2 20-Jun-2013 Alan Viverette <alanv@google.com> am c62bf6ec: Merge "Implement ViewPager.canScrollHorizontally()." into jb-mr2-ub-dev

* commit 'c62bf6ecf80121f49b229a74a1dde839b36294d0':
Implement ViewPager.canScrollHorizontally().
c62bf6ecf80121f49b229a74a1dde839b36294d0 20-Jun-2013 Alan Viverette <alanv@google.com> Merge "Implement ViewPager.canScrollHorizontally()." into jb-mr2-ub-dev
aa35c4c3bf312c24b48dc6d2af430b5bacebfaf0 20-Jun-2013 Alan Viverette <alanv@google.com> Implement ViewPager.canScrollHorizontally().

Bug: 8691982
Change-Id: I4a73ccea10dd3341268a07a55ea5f07139ce60e4
upport/v4/view/ViewPager.java
eed274d8547b206963e7abf1440f2761934215d9 18-Jun-2013 Adam Powell <adamp@google.com> am d2590d21: am c92fc3db: Merge "Refine SlidingPaneLayout opacity detection" into jb-mr2-ub-dev

* commit 'd2590d2117cf0adfe8f869b95831c4def7f4500d':
Refine SlidingPaneLayout opacity detection
d2590d2117cf0adfe8f869b95831c4def7f4500d 18-Jun-2013 Adam Powell <adamp@google.com> am c92fc3db: Merge "Refine SlidingPaneLayout opacity detection" into jb-mr2-ub-dev

* commit 'c92fc3db59f1afbfee946d94d49ac8ecef6e2019':
Refine SlidingPaneLayout opacity detection
c92fc3db59f1afbfee946d94d49ac8ecef6e2019 18-Jun-2013 Adam Powell <adamp@google.com> Merge "Refine SlidingPaneLayout opacity detection" into jb-mr2-ub-dev
c029e15f5a4709214cb433a562256586824a0f33 18-Jun-2013 Adam Powell <adamp@google.com> Refine SlidingPaneLayout opacity detection

Before API 18, View#isOpaque would aggressively return false for
scrollbar modes that still implied view opacity and SlidingPaneLayout
relied directly on the format of the background drawable as a
fallback. In API 18 and above, this has been fixed.

Use View#isOpaque as the primary signal and only fall back on the
background drawable check on older platform versions if isOpaque
returns false. This allows applications with custom views to override
isOpaque as needed when they're Really Really Sure that they want
SlidingPaneLayout's detected opacity behavior instead of creating a
Drawable that lies.

Bug 9466551

Change-Id: I668f0a79fe83e09a36878d4c2f8b77258d55af6b
upport/v4/view/ViewCompat.java
upport/v4/widget/SlidingPaneLayout.java
cdfc99721c2f9de3c607501286c709be94bb16d3 18-Jun-2013 Alan Viverette <alanv@google.com> am f3da4587: DO NOT MERGE. Expose focused virtual view. Clean up focus handling methods.

* commit 'f3da45870bbf026b207b3bc65840d5325bde44d7':
DO NOT MERGE. Expose focused virtual view. Clean up focus handling methods.
cafc13740eae5c81f451df2de9dcd4c82cdf0c49 18-Jun-2013 Alan Viverette <alanv@google.com> am 14631dec: DO NOT MERGE. Initial commit for ExploreByTouchHelper class.

* commit '14631dece1ee9ddd5f430aa4b8eb048e27065d71':
DO NOT MERGE. Initial commit for ExploreByTouchHelper class.
f3da45870bbf026b207b3bc65840d5325bde44d7 18-Jun-2013 Alan Viverette <alanv@google.com> DO NOT MERGE. Expose focused virtual view. Clean up focus handling methods.

Change-Id: Ib771a9668cc4f9ec70a36e6474b48f9f3aa75293
upport/v4/widget/ExploreByTouchHelper.java
14631dece1ee9ddd5f430aa4b8eb048e27065d71 18-Jun-2013 Alan Viverette <alanv@google.com> DO NOT MERGE. Initial commit for ExploreByTouchHelper class.

This helper class simplifies the implementation of accessibility in
custom views that would otherwise need AccessibilityNodeProvider. It
supports single-depth virtual view hierarchies and enforces guidelines
about what properties must be set on accessibility nodes and events.

Additional supporting code has been added to the ViewCompat and
ViewParentCompat.

Change-Id: If0d1f21bea5c187eecc54cac6c9e9bae96337d9b
upport/v4/view/ViewCompat.java
upport/v4/view/ViewParentCompat.java
upport/v4/widget/ExploreByTouchHelper.java
5424d16916b2fb65ff009051e4f9d02584d07b53 06-Jun-2013 Piet Delport <pjdelport@gmail.com> Allow user-customized FragmentTabHost layouts.

This delays the convenience construction of the standard view hierarchy
until just before calling TabHost's setup().

Previously, initFragmentTabHost() would always construct the standard
hierarchy, breaking any other layout supplied by the user.

Bug: https://code.google.com/p/android/issues/detail?id=53230
Change-Id: I90c6d5afd1fa9774f8f079cc825b4f60ac6f7c6f
upport/v4/app/FragmentTabHost.java
7d690eb050d901c7a7b4ebc3896471124ef98f7c 12-Jun-2013 Adam Powell <adamp@google.com> Fix a bug where right side drawers would incorrectly open/close

Make sure that drawers being dragged with no significant velocity open
or close as expected depending on their current offset.

Change-Id: I29e95cd56800035474149b2bce84a54ced57c534
upport/v4/widget/DrawerLayout.java
9c7359057712d741ea450e4a57ca99a02c0d1dc5 08-Jun-2013 Chet Haase <chet@google.com> am e22fcec1: am 12211b27: Merge "ViewPager was not repositioning the PagerTitleStrip properly" into jb-mr2-dev

* commit 'e22fcec1edc1ee18de0cd5bebb8c53b95150425e':
ViewPager was not repositioning the PagerTitleStrip properly
e22fcec1edc1ee18de0cd5bebb8c53b95150425e 08-Jun-2013 Chet Haase <chet@google.com> am 12211b27: Merge "ViewPager was not repositioning the PagerTitleStrip properly" into jb-mr2-dev

* commit '12211b27289ef929810f2d74edcdee80e71b66ed':
ViewPager was not repositioning the PagerTitleStrip properly
c8c0fc23e8ff21166a7699e324426a6a7dc65806 07-Jun-2013 Chet Haase <chet@google.com> ViewPager was not repositioning the PagerTitleStrip properly

Gmail had an artifact where animating the ViewPager in from the right caused
the title strip at the bottom to disappear at the end of the animation.
The problem was that the view pager was being redrawn at the end of the
animation (due to disabling the layer that was being animated), but the
title strip was mis-positioned off the right of the screen.

The root cause was ViewPager's layout process, which was not properly
repositioning the title strip during layout, when the scrollX field
changed.

Issue #9336914 ViewPager title strip not positioned correctly during layout

Change-Id: Idfcb70e2f28b98233fe6cb0e9b20bc2b6582ac1b
upport/v4/view/ViewPager.java
67cae30c5e557e6e1a66dfd761077f77d87b9fec 07-Jun-2013 Adam Powell <adamp@android.com> am 018ec423: am b036748c: am ab996046: Merge "Fix fragment flickering on hiding (support library)"

* commit '018ec423c981c18d1fa4a8ccf3a3883c18aae7a1':
Fix fragment flickering on hiding (support library)
b036748c3e21460cea4e714dfe55f047f3e0ea87 07-Jun-2013 Adam Powell <adamp@android.com> am ab996046: Merge "Fix fragment flickering on hiding (support library)"

* commit 'ab996046e6b317d9744d1ba20bfbdede9ba0f5bb':
Fix fragment flickering on hiding (support library)
495efcad8c8865e3e6f14e4ea3d79cfb1d2410f9 06-Jun-2013 Alexander Mironov <alexander.mironoff@gmail.com> Fix fragment flickering on hiding (support library)

The "loadAnimation" method inside of the "hideFragment" method was called with "enter" argument set to "true". That's clearly a mistake. There is entry for this bug in issue tracker (http://code.google.com/p/android/issues/detail?id=32405)

Change-Id: I826c7c668f223dbf1b3fbd0b82f7084c5657649c
upport/v4/app/FragmentManager.java
0f86ecff5c3a1de3b53e9aede5048203cfa64551 05-Jun-2013 Alan Viverette <alanv@google.com> Disable ViewPager parent interception of touch events when scrolling.

Bug: 8692266
Change-Id: Ideca36bef7ea5bace9426eddd6b190d7ce8e80a7
upport/v4/view/ViewPager.java
148d85f65c0f01be809032d2140c7df6d7275504 31-May-2013 Alan Viverette <alanv@google.com> Expose focused virtual view. Clean up focus handling methods.

Change-Id: Ib771a9668cc4f9ec70a36e6474b48f9f3aa75293
upport/v4/widget/ExploreByTouchHelper.java
6eb3cdf42d5382aef6b6a6afd7c305dbc27885b9 30-May-2013 Alan Viverette <alanv@google.com> Initial commit for ExploreByTouchHelper class.

This helper class simplifies the implementation of accessibility in
custom views that would otherwise need AccessibilityNodeProvider. It
supports single-depth virtual view hierarchies and enforces guidelines
about what properties must be set on accessibility nodes and events.

Additional supporting code has been added to the ViewCompat and
ViewParentCompat.

Change-Id: If0d1f21bea5c187eecc54cac6c9e9bae96337d9b
upport/v4/view/ViewCompat.java
upport/v4/view/ViewParentCompat.java
upport/v4/widget/ExploreByTouchHelper.java
b54b83e50502c5a65c721845d63fe901ddaef252 29-May-2013 Chris Banes <chrisbanes@google.com> am 8258d12e: am e85d95a0: Merge "ActionBarCompat support for ActionBarDrawerToggle" into jb-mr2-dev

* commit '8258d12ea9d0c90a4a0e4df3719f87b292a51f76':
ActionBarCompat support for ActionBarDrawerToggle
e85d95a04fcc59c927ddaede589fab64eac81ab4 29-May-2013 Chris Banes <chrisbanes@google.com> Merge "ActionBarCompat support for ActionBarDrawerToggle" into jb-mr2-dev
fd3f954ead0b0374e0dddba46cb61be3ec7e02e6 29-May-2013 Adam Powell <adamp@google.com> am 240ad6de: am 8bfcfb73: Remove the "experimental" warning on SlidingPaneLayout

* commit '240ad6de0a83d9ac9d411c5453ffab6640bba5ab':
Remove the "experimental" warning on SlidingPaneLayout
8bfcfb73d54e19f4691f109eb8be66aac37c9067 29-May-2013 Adam Powell <adamp@google.com> Remove the "experimental" warning on SlidingPaneLayout

Docs-only change. SPL is shipped in Hangouts and here to stay!

Change-Id: I6893a74d24aba50f7e3afdef2e7d8c3d44e10faf
upport/v4/widget/SlidingPaneLayout.java
99f6afef8eda666bb672e1789cda67440484604d 29-May-2013 Adam Powell <adamp@google.com> am e7200402: am d3de4f6d: Fix a bug in FragmentActivity menu panel preparation

* commit 'e7200402764bf29786dda9a77edac605cb0bf662':
Fix a bug in FragmentActivity menu panel preparation
45d973fcc4c43f5ea00cddd3d9b947d9e8d8fc4e 28-May-2013 Chris Banes <chrisbanes@google.com> ActionBarCompat support for ActionBarDrawerToggle

Bug: 9167781
Change-Id: I927788a093d27e26b8b693766127f1a608d1b540
upport/v4/app/ActionBarDrawerToggle.java
d3de4f6d003d92c2a3c5f449a0d759ab9032d2ff 25-May-2013 Adam Powell <adamp@google.com> Fix a bug in FragmentActivity menu panel preparation

Don't require visible menu items to return true from onPreparePanel.
This disrupts ActionProviders that may manipulate menu item visibility
later or other code that otherwise alters item visibility outside of a
full menu invalidation.

Bug 9129862

Change-Id: I56986cc6d46fc6b250ebb8b0b186be99cc705700
upport/v4/app/FragmentActivity.java
63b42153ba16a936827a0c57cd1443778bf5cde9 24-May-2013 Alan Viverette <alanv@google.com> am 8ad4e1ed: am f803407d: Fix build by using support library methods in support lib.

* commit '8ad4e1ed0e8d4af1e8c5ffba20b5bf81a85ee39f':
Fix build by using support library methods in support lib.
f803407db4a369e3c176798d5318faaacb85e12b 24-May-2013 Alan Viverette <alanv@google.com> Fix build by using support library methods in support lib.

Change-Id: Ia0ac6e337701c94f5bfb36af4298ef6becd0fb4d
upport/v4/widget/SlidingPaneLayout.java
61b7bd48d2154d59e4fb31c9bb27409cc9eecefe 24-May-2013 Alan Viverette <alanv@google.com> am b37301ae: am 080275b0: Merge "Minor accessibility fixes to SlidingPaneLayout." into jb-mr2-dev

* commit 'b37301ae4da2f06e76b37c9f932ee1a2e10f8de2':
Minor accessibility fixes to SlidingPaneLayout.
080275b0c3a6b8f3f7a6880b774e6b0b6ede16a4 24-May-2013 Alan Viverette <alanv@google.com> Merge "Minor accessibility fixes to SlidingPaneLayout." into jb-mr2-dev
5315fbd141b888d8c45f06fd3b6b1e7dc90132a7 22-May-2013 Adam Powell <adamp@google.com> am 356cc6a7: am c6f6c451: Make DrawerLayout and SlidingPaneLayout friendlier to tools.

* commit '356cc6a749ce59bf8b01f98507c4faceabc80731':
Make DrawerLayout and SlidingPaneLayout friendlier to tools.
c6f6c4511593aa49688d5425e2f6e36459076c25 22-May-2013 Adam Powell <adamp@google.com> Make DrawerLayout and SlidingPaneLayout friendlier to tools.

Don't throw exceptions during measurement if isInEditMode.

Change-Id: I38b8e2d9801d074be37ca315ec6206eaed85da1e
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
51e43399398d051db26ecc85d6de34f310e77dbb 21-May-2013 Alan Viverette <alanv@google.com> Minor accessibility fixes to SlidingPaneLayout.

Ensure class name is populated correctly. Only add children that should
be exposed to accessibility and manually set importantForAccessibility
to yes since we can't check the computed value.

BUG: 8871268
Change-Id: I4731c0ce4989bdbee0775fdb7324c23ba0cc2831
upport/v4/widget/SlidingPaneLayout.java
0cca6c864a78e862a4f5046dc31b048e19250eea 20-May-2013 Scott Kennedy <skennedy@google.com> am d77b0c6b: am 9778122c: am 96d5bf8f: am b7345024: am be5d626f: Return true when we toggle the drawer

* commit 'd77b0c6b87fd4d5674bfcf9e4733873ccdee4d16':
Return true when we toggle the drawer
9778122c5445ac11d151329379e9bfc071b4adb8 20-May-2013 Scott Kennedy <skennedy@google.com> am 96d5bf8f: am b7345024: am be5d626f: Return true when we toggle the drawer

* commit '96d5bf8fb15d33bac92e139683e3dc157317ec91':
Return true when we toggle the drawer
96d5bf8fb15d33bac92e139683e3dc157317ec91 20-May-2013 Scott Kennedy <skennedy@google.com> am b7345024: am be5d626f: Return true when we toggle the drawer

* commit 'b73450243520f7ad53b8225dd9ec46597ebf1fe6':
Return true when we toggle the drawer
be5d626f0e91da09f46b82daa84c3d57df196c11 19-May-2013 Scott Kennedy <skennedy@google.com> Return true when we toggle the drawer

The docs say we can check the return value from
ActionBarDrawerToggle#onOptionsItemSelected(MenuItem) to
short-circuit Activity#onOptionsItemSelected(MenuItem), but we were
never returning true.

Change-Id: Ieadc469e65189c27182ed5b28ffb9cd712d06b96
upport/v4/app/ActionBarDrawerToggle.java
6eb996f3f886215a7ee80a50d8ace1a2ae27d869 14-May-2013 Chris Banes <chrisbanes@google.com> am 668a1b49: am 7752709b: Merge "Tidy up Up Navigate for ActionBarActivity" into jb-mr2-dev

* commit '668a1b4989e0758ba8802dec582a48a28663b7e4':
Tidy up Up Navigate for ActionBarActivity
7752709bfb644179c96f7cafa24eeb6cfcc19cc5 14-May-2013 Chris Banes <chrisbanes@google.com> Merge "Tidy up Up Navigate for ActionBarActivity" into jb-mr2-dev
9d986365558489096c6eb54365b095550914b4b4 14-May-2013 Adam Powell <adamp@google.com> am b1e58fa2: am 5b15ae11: am e23fde92: am db2cacd4: am c27e9ab4: Account for offset rounding errors during layout for DrawerLayout

* commit 'b1e58fa20532167593a476559bae44f572f1e533':
Account for offset rounding errors during layout for DrawerLayout
5b15ae11004a7726c9370890689eb540c02df520 14-May-2013 Adam Powell <adamp@google.com> am e23fde92: am db2cacd4: am c27e9ab4: Account for offset rounding errors during layout for DrawerLayout

* commit 'e23fde92215009ed45833c498b6f1008d215ff35':
Account for offset rounding errors during layout for DrawerLayout
e23fde92215009ed45833c498b6f1008d215ff35 14-May-2013 Adam Powell <adamp@google.com> am db2cacd4: am c27e9ab4: Account for offset rounding errors during layout for DrawerLayout

* commit 'db2cacd48c2d9cfaa7a55bbc58b5f49b9c17e8aa':
Account for offset rounding errors during layout for DrawerLayout
c27e9ab4a09e40911d180fa0e25a0011a3adcd71 14-May-2013 Adam Powell <adamp@google.com> Account for offset rounding errors during layout for DrawerLayout

In some cases a layout can occur that would alter the expected
movement patterns of DrawerLayout. Make sure that any movement from
rounding differences is accounted for and any state adjusted.

By updating lp.onScreen during the layout process to take the new real
position of the view into account, this state will be up to date when
computeScroll is called to update other associated drawer state used
later in touch interception, scrim drawing, drawer view visibility,
etc.

Bug 8918177

Change-Id: Ib65a86af448a433cd36bd0d5f49c6697c33a91f3
upport/v4/widget/DrawerLayout.java
6f9952fd5a1dc66c584b26b9062ba6efd69ebcc7 13-May-2013 Chris Banes <chrisbanes@google.com> Tidy up Up Navigate for ActionBarActivity

These came about as part of IOSched testing yesterday.

- Split out the relevant NavUtils calls into seperate
methods allowing apps to override.
- More closely emulate v16's shouldUpRecreateTask() in
base NavUtils
- Adds an interface to TaskStackBuilder which allows
ActionBarActivity to provide the parent intent.

Change-Id: I4e158f6fa9e274f0a38ccfe0a98fc0e7cc4457b9
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/app/TaskStackBuilder.java
7c6f9955c1e756b25b9172884148f09020b98e0e 14-May-2013 Jeff Brown <jeffbrown@google.com> am 1c06007c: am 0a9353ad: Merge "Add media router picker UI." into jb-mr2-dev

* commit '1c06007c391d93ae181fa86aa74ce34f0a272a32':
Add media router picker UI.
11417b1cfde8f1749905f2d735623af9214148af 27-Apr-2013 Jeff Brown <jeffbrown@google.com> Add media router picker UI.

Introduced the concept of a MediaRouteSelector which is the means
by which an application states the route capabilities of routes
that it would like to discover.

Added selectors to the addCallback method along with several
other methods to assist with discovery. Callbacks can specify
flags to perform active scans of routes or to disable filtering
of route events.

Added a workaround to scan for wifi displays on JB MR1.

Refactored the route descriptor objects to use the builder pattern
instead of simply documenting that they should be immutable
since several developers have already tripped over this.

The UI is feature complete but not final.

Bug: 8175766
Change-Id: I54ebb7488222746b0c07292e65b9ded1b9d720fa
upport/v4/graphics/drawable/DrawableCompat.java
fbadda10e0909e4455ae88d72123bedd091da6ed 13-May-2013 Jeff Sharkey <jsharkey@android.com> am 15be842a: am b49cb25e: DO NOT MERGE. Provider to share private files between apps.

* commit '15be842aab7f1c00c71f3386ec06142ff74e0cd8':
DO NOT MERGE. Provider to share private files between apps.
b49cb25e1450ae36d2559e9753c6d5064e530fcc 08-Mar-2013 Jeff Sharkey <jsharkey@android.com> DO NOT MERGE. Provider to share private files between apps.

Apps should generally avoid sending raw filesystem paths across
process boundaries, since the receiving app may not have the same
access as the sender. Instead, apps should send Uris and rely on
platform features like grantUriPermission() to control access.

This provider is a simple implementation that services Uris which
are backed by raw files on disk. It relies on ContentProvider to
enforce the grants, and supports reading, writing, and deleting. It
responds to OpenableColumns and tries answering getType() using
file extensions.

Apps define supported paths in <meta-data> associated with their
<provider> manifest entries.

Bug: 7005318
Change-Id: Iceb4f2ce996221d2d85e009b62c856dcdf5eca14
upport/v4/content/FileProvider.java
0ffb8d3adf489d2218c354fe44aa58518b9e89a2 09-May-2013 Svetoslav <svetoslavganov@google.com> am c6c52b81: am 8abf2b8c: Merge "NPE in ViewPager in accessibility mode." into jb-mr2-dev

* commit 'c6c52b81e86455d722c1ffab9ef393b5775b100d':
NPE in ViewPager in accessibility mode.
ff4d4f9c0f370d6c218d2395304204f46a5261bd 09-May-2013 Jeff Brown <jeffbrown@google.com> am ebdfb44e: am 6e6abe6e: Fix several issues with menu wrappers.

* commit 'ebdfb44e7f84da7470cebfaa5729f8e0ea1b828b':
Fix several issues with menu wrappers.
8abf2b8c814369b10db343119c818adc8eda1a3b 08-May-2013 Svetoslav <svetoslavganov@google.com> Merge "NPE in ViewPager in accessibility mode." into jb-mr2-dev
e4578af7dfd6ae3f85435a569ed8d5107bf20ec3 08-May-2013 Svetoslav <svetoslavganov@google.com> NPE in ViewPager in accessibility mode.

The code that populates an accessibility event in view pager does
not check whether the adapter is not null before referencing it.

bug:8857052

Change-Id: I7df2980e5a43836e48a404c5ba95631e5132774f
upport/v4/view/ViewPager.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
upport/v4/internal/view/SupportMenu.java
upport/v4/internal/view/SupportMenuItem.java
upport/v4/internal/view/SupportSubMenu.java
39fa9116ed451e6af24bc73d3206e9b3a02c2f6a 07-May-2013 Adam Powell <adamp@google.com> am 57730c3e: am 4d43916b: am 2c4ea24c: am cb154e52: am 1b8262b8: Disable MotionEvent splitting for DrawerLayout

* commit '57730c3e950fda604b8d6b54be4b033369d5434d':
Disable MotionEvent splitting for DrawerLayout
b16a5ec8f69bede01e2294768d5a30bc0ef7e679 07-May-2013 Adam Powell <adamp@google.com> am 36f67b38: am 34452b0d: Support ActionProvider functionality from API 16

* commit '36f67b38a157e2e0003fe5f7126db69d1b18c93d':
Support ActionProvider functionality from API 16
4d43916b89d85315e1f344d992325e8ab106fb4e 07-May-2013 Adam Powell <adamp@google.com> am 2c4ea24c: am cb154e52: am 1b8262b8: Disable MotionEvent splitting for DrawerLayout

* commit '2c4ea24c49d222582c7e439e461935f18099886c':
Disable MotionEvent splitting for DrawerLayout
2c4ea24c49d222582c7e439e461935f18099886c 07-May-2013 Adam Powell <adamp@google.com> am cb154e52: am 1b8262b8: Disable MotionEvent splitting for DrawerLayout

* commit 'cb154e5237016ff4119e35cb6bf03f5f84b4707c':
Disable MotionEvent splitting for DrawerLayout
34452b0d1034da026b8a1d6fe2fe4399844379d6 07-May-2013 Adam Powell <adamp@google.com> Support ActionProvider functionality from API 16

Add the API 16 ActionProvider methods regarding visibility changes to
appcompat.

Fix a previously introduced bug inflating ActionProviders.

Change-Id: Ieff63683af4515eaacd0a25fddd168a7e71006cd
upport/v4/view/ActionProvider.java
1b8262b87426b2f766b40d6ab4eaeac296d5c2fe 07-May-2013 Adam Powell <adamp@google.com> Disable MotionEvent splitting for DrawerLayout

Make sure that secondary touches don't interact with content in views
other than the drawer.

Add ViewGroupCompat method for MotionEvent splitting changes

Bug 8839961

Change-Id: Ia833333ef596363d0a3ce951f53f78342aca52aa
upport/v4/view/ViewGroupCompat.java
upport/v4/widget/DrawerLayout.java
b4f512b4e77829b767fc6fe8f09f50a83e8e72c2 06-May-2013 Adam Powell <adamp@google.com> am ad1c9228: am f73a3517: Merge "ViewPager optimization/fix for pathological case" into jb-mr2-dev

* commit 'ad1c922888d340241206a64a8a6b69dccb2a9235':
ViewPager optimization/fix for pathological case
4f4c3a3978997e552c44726fb2862e4461497384 03-May-2013 Adam Powell <adamp@google.com> ViewPager optimization/fix for pathological case

Prune/don't generate pages to fill the desired full width to either
side if the measured width of the pager is 0. This fixes a bug in some
apps that would measure their ViewPager at width 0 in an initial pass
when placed in some layouts, resulting in too many instantiateItem
calls.

Change-Id: I87d036814b53756cac49d0a68ca9e45115f6c3b2
upport/v4/view/ViewPager.java
b570219436de1bd8974c176d2278d6e6552911d4 30-Apr-2013 Adam Powell <adamp@google.com> am 06c9c13a: am 5f89bd12: Merge "API changes for support action bar menus" into jb-mr2-dev

* commit '06c9c13ab166bbe02be9caea9ebb8a9f056067d6':
API changes for support action bar menus
5f89bd12adff5e9484b85fc7a0a34b6ea43486f8 30-Apr-2013 Adam Powell <adamp@google.com> Merge "API changes for support action bar menus" into jb-mr2-dev
8096f6230e639bd17a99d1a2ca6cc0c8aa6d8fe5 29-Apr-2013 Adam Powell <adamp@google.com> am a8773f5b: am 3dcf9a91: am 3c9acef7: am 20248de0: am d0cb2111: Omit dimmed children from accessibility nav in SlidingPaneLayout

* commit 'a8773f5b65fd4cde8f935f1d4eda3e966cda9cd8':
Omit dimmed children from accessibility nav in SlidingPaneLayout
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
upport/v4/internal/view/SupportMenu.java
upport/v4/internal/view/SupportMenuItem.java
upport/v4/view/ActionProvider.java
upport/v4/view/MenuCompat.java
upport/v4/view/MenuItemCompat.java
439affa93803bff0f444a0d6497a3118604637e0 29-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Fix ViewPager touch handling in scrolling parent"
3dcf9a9134f2b612a31ac895accecc796dfa1ca9 26-Apr-2013 Adam Powell <adamp@google.com> am 3c9acef7: am 20248de0: am d0cb2111: Omit dimmed children from accessibility nav in SlidingPaneLayout

* commit '3c9acef73cbf0ec37e0a433561823cf8dfb0f3b8':
Omit dimmed children from accessibility nav in SlidingPaneLayout
3c9acef73cbf0ec37e0a433561823cf8dfb0f3b8 26-Apr-2013 Adam Powell <adamp@google.com> am 20248de0: am d0cb2111: Omit dimmed children from accessibility nav in SlidingPaneLayout

* commit '20248de0e040b75d40518f90865dd2a5b5652c9d':
Omit dimmed children from accessibility nav in SlidingPaneLayout
d0cb2111677748ec19a72e5fe18c8c64a359a751 26-Apr-2013 Adam Powell <adamp@google.com> Omit dimmed children from accessibility nav in SlidingPaneLayout

Bug 8657571

Change-Id: I84be757dfe7d4156b52552ee74e72ad14b396d2d
upport/v4/widget/SlidingPaneLayout.java
b53905fb20d0dbf2221ecead96cbeb95aff7833d 25-Apr-2013 Adam Powell <adamp@google.com> am abf65576: am 61297ad7: am 44267117: am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit 'abf655760d5b608463fe9fcdd70fbe3d7d4ac1e5':
ActionBarDrawerToggle behavior tweak
d47fa15d66611a9485c3688c438b3e41ecfbfd62 25-Apr-2013 Dianne Hackborn <hackbod@google.com> am 390a9718: am e63cab4b: Merge "Remove check for JB MR2 codename." into jb-mr2-dev

* commit '390a97180d1827ca6e87c0ee071ae9a484ffe44c':
Remove check for JB MR2 codename.
61297ad77c65a17ac9293f4d3f6c8f9a1cbfa095 25-Apr-2013 Adam Powell <adamp@google.com> am 44267117: am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit '44267117d61c06c62dff1ef1a6125b5d7135292a':
ActionBarDrawerToggle behavior tweak
44267117d61c06c62dff1ef1a6125b5d7135292a 25-Apr-2013 Adam Powell <adamp@google.com> am 6bfa17e1: am 753e0f10: ActionBarDrawerToggle behavior tweak

* commit '6bfa17e180599f4ad3fb26306af534b998d8ec46':
ActionBarDrawerToggle behavior tweak
e63cab4bbd184338fadcacdebfdb90fd4285f9b6 25-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "Remove check for JB MR2 codename." into jb-mr2-dev
753e0f10af4a3e3820779a825d9004d48412d6a7 25-Apr-2013 Adam Powell <adamp@google.com> ActionBarDrawerToggle behavior tweak

Only open/close the drawer when the indicator is actually enabled.

Bug 8698758

Change-Id: Ic90c48b5c94fea1e0f7931bd9ecdd58827b244b7
upport/v4/app/ActionBarDrawerToggle.java
da69951329e207f5e00d8f0d5ce975d320d61f34 24-Apr-2013 Svetoslav <svetoslavganov@google.com> am 50b8fca6: am 4d7f4a43: Updating AccessibilityServiceInfoCompat to use the new API version.

* commit '50b8fca6304e0fb73133c81320affbf92f496e39':
Updating AccessibilityServiceInfoCompat to use the new API version.
0dcc7b69b13c2de1fcd8e6ca48a6891130d3577c 24-Apr-2013 Dianne Hackborn <hackbod@google.com> Remove check for JB MR2 codename.

Change-Id: I156512ac4f240aa1f42714eca1d55a44417957c6
upport/v4/media/TransportMediator.java
4d7f4a43baed40212e282fb4312875feaf0de55e 24-Apr-2013 Svetoslav <svetoslavganov@google.com> Updating AccessibilityServiceInfoCompat to use the new API version.

bug:8644149

Change-Id: Ie89017d0438e44456e6ef05e42d3481055764d53
upport/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
67ed89e403849120c2df879974ddadaa3013cfee 24-Apr-2013 Adam Powell <adamp@google.com> am 4e719768: am 00db07e1: am d0b85cc7: am 5f8406a0: am f9930189: Fix a parallax/view visibility bug in SlidingPaneLayout

* commit '4e719768e68b0f30a7bef489a452279218ca9240':
Fix a parallax/view visibility bug in SlidingPaneLayout
00db07e1fb0063691cc5b321307ee4d89269e5f8 23-Apr-2013 Adam Powell <adamp@google.com> am d0b85cc7: am 5f8406a0: am f9930189: Fix a parallax/view visibility bug in SlidingPaneLayout

* commit 'd0b85cc73723726aa78f43dcef2c97cdbaa4ee08':
Fix a parallax/view visibility bug in SlidingPaneLayout
d0b85cc73723726aa78f43dcef2c97cdbaa4ee08 23-Apr-2013 Adam Powell <adamp@google.com> am 5f8406a0: am f9930189: Fix a parallax/view visibility bug in SlidingPaneLayout

* commit '5f8406a0f8dddca1560197313d289c2252e80dcf':
Fix a parallax/view visibility bug in SlidingPaneLayout
8d0f7a597faaf961f4aabb7b5b02c776ae9731fe 23-Apr-2013 Svetoslav <svetoslavganov@google.com> am c56481d6: am 8f590dab: Fix broken links in the JavaDoc

* commit 'c56481d6cfbb801a404ec8e26bc94fe8809bcbe1':
Fix broken links in the JavaDoc
e47bcbd2e71e45663923530571ccbee5476383d4 23-Apr-2013 Svetoslav <svetoslavganov@google.com> am c708feb7: am 0e13b4c7: Merge "Making new node id APIs return strings." into jb-mr2-dev

* commit 'c708feb7736d59dace863d9ae6695accc53b409f':
Making new node id APIs return strings.
558d994d8a754a9a519b1cff42c4f8a8c7b44d5d 23-Apr-2013 Adam Powell <adamp@google.com> am 40ae4faf: am 3eca80d2: am 8ce26246: am 5d9f426f: am f4445e06: Fix a layer handling bug in SlidingPaneLayout

* commit '40ae4fafd1e3d48505e00bf3214efc3dc540a178':
Fix a layer handling bug in SlidingPaneLayout
7b7148ac5609b2be8c841789d6a5f3f20ddf90a8 23-Apr-2013 Svetoslav <svetoslavganov@google.com> am e7406c4c: am b67c30af: Merge "Deprecating some APIs that were never meant to be public." into jb-mr2-dev

* commit 'e7406c4c4f51ef55d9192374cc83b4c1eb9332b5':
Deprecating some APIs that were never meant to be public.
b6f75e1a503ade0a88ccf597700dcc33a75295ee 23-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> am af4ccc1a: am 2450f96f: Merge "Fix bug #8656546 API REVIEW: android.text.bidi / android.text" into jb-mr2-dev

* commit 'af4ccc1acad52e61d304dcf372464086691d0a33':
Fix bug #8656546 API REVIEW: android.text.bidi / android.text
9a0f25eee531f318d03d619403223637c353689c 23-Apr-2013 Jeff Brown <jeffbrown@google.com> am f931434d: am 6d25d4c0: Merge "appcompat: Add plumbing for fragment options menus." into jb-mr2-dev

* commit 'f931434d9443c29cc283c51a73a362902185795e':
appcompat: Add plumbing for fragment options menus.
8f590dabd4e7d3fa4abfc74c91640690b63fc45a 23-Apr-2013 Svetoslav <svetoslavganov@google.com> Fix broken links in the JavaDoc

Change-Id: I9bab2f232ebc47459beb608e63fd3f6523994741
upport/v4/view/accessibility/AccessibilityEventCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
f993018935168724fd4972edcf418fae09d81680 23-Apr-2013 Adam Powell <adamp@google.com> Fix a parallax/view visibility bug in SlidingPaneLayout

Take the padded clip region into account when deciding when to set a
covered view to INVISIBLE. This also fixes some accessibility
navigation bugs.

Bug 8684808

Change-Id: I6f2e8e3e83c9a1478e8297cbc7f7efe2289ca840
upport/v4/widget/SlidingPaneLayout.java
0e13b4c7077fd2726abeb1bd111593b5454b003a 23-Apr-2013 Svetoslav <svetoslavganov@google.com> Merge "Making new node id APIs return strings." into jb-mr2-dev
3eca80d2b08059b90aff339829b9ef47c027c6a1 23-Apr-2013 Adam Powell <adamp@google.com> am 8ce26246: am 5d9f426f: am f4445e06: Fix a layer handling bug in SlidingPaneLayout

* commit '8ce2624668e16871ca2f4474d25ad633be62882d':
Fix a layer handling bug in SlidingPaneLayout
8ce2624668e16871ca2f4474d25ad633be62882d 23-Apr-2013 Adam Powell <adamp@google.com> am 5d9f426f: am f4445e06: Fix a layer handling bug in SlidingPaneLayout

* commit '5d9f426f8e9c673ef2f0a6f90234586b23671fe2':
Fix a layer handling bug in SlidingPaneLayout
071eca0f490d88fc51cea8f739780c7c92b920c3 22-Apr-2013 Svetoslav <svetoslavganov@google.com> Making new node id APIs return strings.

The node id does not have to be decorated with spans like spannable
so it makes no sense to have these APIs use anything else but string.

This change update the support library due to the API changes in the
framework.

Framework change:https://googleplex-android-review.googlesource.com/#/c/300355/

bug:8657338

Change-Id: I36de1c0e141de865cf0b754f0d20ab181688566d
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
f4445e06a8490b056cd892c4bc640dfd17905d6c 22-Apr-2013 Adam Powell <adamp@google.com> Fix a layer handling bug in SlidingPaneLayout

It is invalid to disable a hardware layer during drawing; this will
crash on some platform versions.

Bug 8641097

Change-Id: Id234006a5ea719cb525a740a530d9aa95c1705b0
upport/v4/widget/SlidingPaneLayout.java
b67c30af428cf23a2a8d4bfec3403a9bd5566675 22-Apr-2013 Svetoslav <svetoslavganov@google.com> Merge "Deprecating some APIs that were never meant to be public." into jb-mr2-dev
2450f96fe56e015ef037cb409e9dfc299823c94d 20-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #8656546 API REVIEW: android.text.bidi / android.text" into jb-mr2-dev
b37703fef07bb1940fd9d933bb9cc5b6c3959cb2 20-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8656546 API REVIEW: android.text.bidi / android.text

- clean BidiFormatter APIs

Change-Id: I88a49df3d30303d7041100575f3dafd48c0865f9
upport/v4/text/BidiFormatter.java
upport/v4/text/bidi/BidiFormatter.java
6d25d4c095dc89d9549479b91a28878c8d217995 20-Apr-2013 Jeff Brown <jeffbrown@google.com> Merge "appcompat: Add plumbing for fragment options menus." into jb-mr2-dev
d6e17c7a17143b42939d358fc0e25b9202f6fb96 19-Apr-2013 Dianne Hackborn <hackbod@google.com> am 78f0f17b: am 31e6948d: Merge "TransportMediator: handle playback position." into jb-mr2-dev

* commit '78f0f17b9e371cb5d59ba36a928c794480a46b25':
TransportMediator: handle playback position.
31e6948d897c8d6e00326d07f20d8dccccaecf4a 19-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "TransportMediator: handle playback position." into jb-mr2-dev
46cbfa432cc2957d03e5ba944af9d4f8110e4b10 19-Apr-2013 Adam Powell <adamp@google.com> am 6f82dd99: am 39348baa: am 50fddb72: am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit '6f82dd99ff7c5c4d84efe4cc434dfef23fabbc50':
Add ActionBarDrawerToggle
39348baa7409a0ca336955f628a3c1726a83dcfc 19-Apr-2013 Adam Powell <adamp@google.com> am 50fddb72: am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit '50fddb72c23917e121f99e2cc2ec20370ea4a351':
Add ActionBarDrawerToggle
50fddb72c23917e121f99e2cc2ec20370ea4a351 19-Apr-2013 Adam Powell <adamp@google.com> am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit 'bbe02dec387027df443be1e4af733ddcb91e3354':
Add ActionBarDrawerToggle
3a1a7fff9873abbf8097c96f7654a459bf34f223 19-Apr-2013 Jeff Brown <jeffbrown@google.com> appcompat: Add plumbing for fragment options menus.

We make the callbacks available through an interface so that
developers can implement them on any fragment without having
to subclass ActionBarFragment.

The plumbing is mainly transparent to v4 support although we
needed access to a few properties.

Bug: 8661191
Change-Id: I1abce746b7b8443efd406a3e1a4b92c948c678db
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
561018b4abfa410c403e4b323f3c94cdc3080d36 19-Apr-2013 Ying Wang <wangying@google.com> am d4f5ffb4: am b896f201: Merge "Fix build." into jb-mr2-dev

* commit 'd4f5ffb463802e03694a7b36c3975fcae9c48fcb':
Fix build.
9a95c60a9c9fcc7d5ca0f9aeaede854d2a47a824 19-Apr-2013 Ying Wang <wangying@google.com> Fix build.

Change-Id: I4fa24a52c64612cc8658dc3c155f616c3d4f258d
upport/v4/view/ViewPager.java
54fe42a994b1aa1608d23a57a2f55228712e98e7 19-Apr-2013 Dianne Hackborn <hackbod@google.com> TransportMediator: handle playback position.

Update interaction with media controller to report playback
position and handle requests to set the position. Also
update api to use longs for position everywhere.

Change-Id: Ia960cc0443b07b70503d2e08d4943fd5102b809d
upport/v4/media/TransportController.java
upport/v4/media/TransportMediator.java
upport/v4/media/TransportPerformer.java
18d7434b937cd365369e53e93c49f90cc351d35a 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> am 75b4d7d9: am a8c675b4: Merge "Correctly populate VIEW_SCROLLED events sent from ViewPager." into jb-mr2-dev

* commit '75b4d7d9772b7e2385496190d3e261250c87866a':
Correctly populate VIEW_SCROLLED events sent from ViewPager.
a8c675b4848b089e8ea7fcbebb22244880f95cd9 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Correctly populate VIEW_SCROLLED events sent from ViewPager." into jb-mr2-dev
14cca2bfd764d6b3e8ba603f9df9d4e9d2c8dba4 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> am 4d511d21: am 16264b40: Merge "Replacing accessibility service permissions with capability attributes." into jb-mr2-dev

* commit '4d511d21000223f3a3cc4ada071b65d2b5547086':
Replacing accessibility service permissions with capability attributes.
16264b40e7fac33c4f61ca7bf6dac94df1602b8b 19-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> Merge "Replacing accessibility service permissions with capability attributes." into jb-mr2-dev
79f95ce3e660d267831067e514ff455156c4381f 18-Apr-2013 Adam Powell <adamp@google.com> Add ActionBarDrawerToggle

This helper provides an easy way to tie together the functionality of
DrawerLayout and the framework action bar and correctly implement the
design guide behavior for navigation drawers.

Fix a bug with minimum fling velocity in
DrawerLayout/SlidingPaneLayout.

Part of bug 8609454 - code samples for DrawerLayout/SlidingPaneLayout

Change-Id: I293ac33e3898e5dbecdb8aed386318a40f72ca75
upport/v4/app/ActionBarDrawerToggle.java
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
4184a5ee0959c0071eb6eb94878de9c5408d4e5e 16-Apr-2013 Svetoslav <svetoslavganov@google.com> Deprecating some APIs that were never meant to be public.

1. AccessibilityRecordCompat has an internal use constructor that was
leaked in the public APIs which allows passing in an instance of
AccessibilityEvent and manipulating its properties. This constructor
however, takes an object and is not type safe. Now it is deprecated
and there is a asRecord method on AccessibilityEventCompat
allowing to get an AccessibilityRecordComapt for an AccessibilityEvent
and call methods in a backwards compatible fashion.

2. The AccessibilityRecordCompat#getImpl() method was never meant
to be public. Now deprecated.

Note: This is prerequisite to fix the referred bug.

bug:8185409

Change-Id: I4fad757ea4bb8f09350b7c231116ee1e578d8320
upport/v4/view/accessibility/AccessibilityEventCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
23f32662b0e412510094d59c478f1d5370a15244 18-Apr-2013 Chris Banes <chrisbanes@google.com> Fix ViewPager touch handling in scrolling parent

ViewPager at the moment does not handle being in a
vertically scrolling parent well. It's onTouchEvent
sets mIsDragging on every ACTION_DOWN.
This commit fixes that so that mIsDragging is only
set if the ACTION_MOVE is checked against the touch
slop and is in the correct direction.
I also added in a call to
requestDisallowInterceptTouchEvent().

Fixes 8636395.

Change-Id: I3e4d26209708b67b84da1ba8fe460eb45e11a3e2
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/view/ViewPager.java
c7cb4862dbdb52c07ef82bd4fb29ca9efe7756fa 17-Apr-2013 Svetoslav Ganov <svetoslavganov@google.com> Replacing accessibility service permissions with capability attributes.

Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change update the support library since the main change contained
some API changes.

Main change:https://googleplex-android-review.googlesource.com/#/c/298110

bug:8633951

Change-Id: I47344ef2ae9e8227d11cf1705f53b64e25fab65c
upport/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
48b812eb2847fb6a262a1b75e35b371da5a45fa2 18-Apr-2013 Dianne Hackborn <hackbod@google.com> am 6a0f42bb: am 11512669: Merge "Fix build." into jb-mr2-dev

* commit '6a0f42bb195520c9f47911f410bda14efad2d527':
Fix build.
11512669f6e2b1abb61792bbdbbef2f47b0b1494 18-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix build." into jb-mr2-dev
9ee2ff6063726f07853980ce717dc55f0636c4f7 18-Apr-2013 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: I651974ee80275f59630fe591567b61e0fe00c21f
upport/v4/content/WakefulBroadcastReceiver.java
3f2c9ba75d2e90b454ad79cb1a6d55e6c30c887e 18-Apr-2013 Adam Powell <adamp@google.com> am bfdffcfc: am 18ce50f9: am c27d0fe1: am 6acbd1d9: am 1b89ad4d: Build fix

* commit 'bfdffcfce01469a17a4d4470e5f1de0b542fdf1d':
Build fix
738a0aa483d141ae9eb3fd53fa794ef46006f854 18-Apr-2013 Dianne Hackborn <hackbod@google.com> am e360237a: am 731a300d: Merge "Issue #8520788: Add WakefulBroadcastReceiver" into jb-mr2-dev

* commit 'e360237a296997f3f3609ad515d71384356e718e':
Issue #8520788: Add WakefulBroadcastReceiver
8e76029409d05ed6657ed23eef23bfbe86933011 18-Apr-2013 Adam Powell <adamp@google.com> am bee907c8: am 5d334024: am 9c22361f: am d5452545: am 3cf6141d: Tweak accessibility handling for SlidingPaneLayout/DrawerLayout

* commit 'bee907c89f9b39416f26ec1a5e426d2410c5e2c4':
Tweak accessibility handling for SlidingPaneLayout/DrawerLayout
18ce50f9f36b37efbef3302d3bd812089471085d 18-Apr-2013 Adam Powell <adamp@google.com> am c27d0fe1: am 6acbd1d9: am 1b89ad4d: Build fix

* commit 'c27d0fe1547721789fe01cd83b964d71357c9ee7':
Build fix
c27d0fe1547721789fe01cd83b964d71357c9ee7 18-Apr-2013 Adam Powell <adamp@google.com> am 6acbd1d9: am 1b89ad4d: Build fix

* commit '6acbd1d94bf0da38089d7e0e758e7d4216f0856d':
Build fix
1b89ad4dc2ba3dee6deedd329b14d928e6bd0013 18-Apr-2013 Adam Powell <adamp@google.com> Build fix

Remove reference to methods that didn't exist yet in this branch.

Change-Id: Ie8f1735b12ef587748940a80d5bb567e19a4896d
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
731a300d405cabc5f31dc41b157467e0cf346c22 18-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "Issue #8520788: Add WakefulBroadcastReceiver" into jb-mr2-dev
5d334024ec3f4c7a2564c19929052edadbb633e9 18-Apr-2013 Adam Powell <adamp@google.com> am 9c22361f: am d5452545: am 3cf6141d: Tweak accessibility handling for SlidingPaneLayout/DrawerLayout

* commit '9c22361fd32c63162e28608a8c73237900336c03':
Tweak accessibility handling for SlidingPaneLayout/DrawerLayout
9c22361fd32c63162e28608a8c73237900336c03 18-Apr-2013 Adam Powell <adamp@google.com> am d5452545: am 3cf6141d: Tweak accessibility handling for SlidingPaneLayout/DrawerLayout

* commit 'd5452545d2a0badce0f2c9db37df1b6eb7c83047':
Tweak accessibility handling for SlidingPaneLayout/DrawerLayout
3cf6141d516a0a6170823b1bda5c0b6d7500e76c 17-Apr-2013 Adam Powell <adamp@google.com> Tweak accessibility handling for SlidingPaneLayout/DrawerLayout

There isn't an easy way to populate an AccessibilityNodeInfo for just
the current view and prune children on all versions. Approximate it by
selectively copying from a temp node instead.

Bug 8449118

Change-Id: I5d5abb56c27a4cca2607ea8e3dd744105365cbc5
upport/v4/view/ViewCompat.java
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
5831dcb3eeea951273281349285915243bd5a767 16-Apr-2013 Dianne Hackborn <hackbod@google.com> Issue #8520788: Add WakefulBroadcastReceiver

Change-Id: I0593050d426a232cca9fc388c30ecdb2ab60ff9f
upport/v4/content/WakefulBroadcastReceiver.java
854a3d9f34de9d5ef914087699f87a8944e6b87c 17-Apr-2013 Adam Powell <adamp@google.com> am 6ccf4674: am 6801c31b: am ea0e6b17: am a12b5208: am b5a259b3: Fix SlidingPaneLayout crash on < api 11 devices

* commit '6ccf4674455f8dc01416f9181320e4743114f30e':
Fix SlidingPaneLayout crash on < api 11 devices
6801c31b2aad1d5e8119575f5ec9d1c6d0b889f7 17-Apr-2013 Adam Powell <adamp@google.com> am ea0e6b17: am a12b5208: am b5a259b3: Fix SlidingPaneLayout crash on < api 11 devices

* commit 'ea0e6b17386032d1a69abf9d0f89ee5c2f62675e':
Fix SlidingPaneLayout crash on < api 11 devices
ea0e6b17386032d1a69abf9d0f89ee5c2f62675e 17-Apr-2013 Adam Powell <adamp@google.com> am a12b5208: am b5a259b3: Fix SlidingPaneLayout crash on < api 11 devices

* commit 'a12b5208f740f751066945b3e45bbbdfba60cbb8':
Fix SlidingPaneLayout crash on < api 11 devices
b5a259b30fd4646294ac4d7ea00bd041406b07ee 17-Apr-2013 Adam Powell <adamp@google.com> Fix SlidingPaneLayout crash on < api 11 devices

Prevent crashes when a child view returns a null bitmap for a drawing
cache on some devices.

Bug 8400952

Change-Id: I19134729fe65cb79c9230cf4bf6fb71646ee8c28
upport/v4/widget/SlidingPaneLayout.java
109e561bfa6720a7043a28dc265297d915170954 16-Apr-2013 Alan Viverette <alanv@google.com> Correctly populate VIEW_SCROLLED events sent from ViewPager.

Previously, ViewPager sent incorrectly populated VIEW_SCROLLED events
due to logic that forwarded dispatching of all events to the displayed
child page.

BUG: 8185409
Change-Id: Ibc08b55c402809f01d7c5af082713ab17a89a894
upport/v4/view/ViewPager.java
c7c5e7a055cb946338ffef29c5754422f4d81368 13-Apr-2013 Adam Powell <adamp@google.com> am 67c95d18: am bb5bfc6e: am 8b318136: am 70678e0e: am c89f5383: Accessibility support and drawing optimization for SlidingPaneLayout

* commit '67c95d184d5278d796f8fed4dd26f98eff9191b4':
Accessibility support and drawing optimization for SlidingPaneLayout
bb5bfc6ef7c7dcd76f7b4e8144a8380a06483470 13-Apr-2013 Adam Powell <adamp@google.com> am 8b318136: am 70678e0e: am c89f5383: Accessibility support and drawing optimization for SlidingPaneLayout

* commit '8b3181364377a36f86ea75ac3e8e79dad60177e2':
Accessibility support and drawing optimization for SlidingPaneLayout
8b3181364377a36f86ea75ac3e8e79dad60177e2 13-Apr-2013 Adam Powell <adamp@google.com> am 70678e0e: am c89f5383: Accessibility support and drawing optimization for SlidingPaneLayout

* commit '70678e0e9b5296c2994a8e9f38e05c4247d42428':
Accessibility support and drawing optimization for SlidingPaneLayout
c89f53833f1e272d32f7928837f0704fa33be309 13-Apr-2013 Adam Powell <adamp@google.com> Accessibility support and drawing optimization for SlidingPaneLayout

Filter unavailable views from SlidingPaneLayout when propagating
accessibility events. Make sure accessibility services are notified
when the available views for interaction change.

Bug 8449118

Change-Id: Ie458fb07a2f94974392ebd18783b085bb0854e03
upport/v4/widget/SlidingPaneLayout.java
e56c5ae09b8cb1e20fe90ef2bb2b39f6b23f6299 12-Apr-2013 Dianne Hackborn <hackbod@google.com> am ab63f654: am c1b1f5ec: Merge "More TransportMediator documentation." into jb-mr2-dev

* commit 'ab63f654b53d26457112c13d9c1ab594a63a82ed':
More TransportMediator documentation.
c1b1f5ec017aec7e4c856a2df7d7877ab0f91531 12-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "More TransportMediator documentation." into jb-mr2-dev
e3f8e5a462e23399945e8042ddb8025ec8fa33ac 12-Apr-2013 Dianne Hackborn <hackbod@google.com> More TransportMediator documentation.

Change-Id: I9e905384461e0786c7b439776ccdd453cd1b34c0
upport/v4/media/TransportController.java
upport/v4/media/TransportMediator.java
upport/v4/media/TransportPerformer.java
upport/v4/media/TransportStateListener.java
e6ee0d12ad991d1504b842d02b723344a84e0df6 12-Apr-2013 Adam Powell <adamp@google.com> am fdf84438: am e314d393: am be84e304: am e62ed040: am 7d0061d5: Better accessibility support for DrawerLayout

* commit 'fdf84438bd74ab71c6583b489147849a29fe55bd':
Better accessibility support for DrawerLayout
e314d393261d2c126edd609c7f0dd33784488fcd 12-Apr-2013 Adam Powell <adamp@google.com> am be84e304: am e62ed040: am 7d0061d5: Better accessibility support for DrawerLayout

* commit 'be84e30449e3ae1983d32659a2a1f71eed18f41b':
Better accessibility support for DrawerLayout
be84e30449e3ae1983d32659a2a1f71eed18f41b 12-Apr-2013 Adam Powell <adamp@google.com> am e62ed040: am 7d0061d5: Better accessibility support for DrawerLayout

* commit 'e62ed0401ad875e4ad4d2a91a40382ac6f9b91f4':
Better accessibility support for DrawerLayout
7d0061d5605a1ac298837bee21c0d4eb4a34bd4e 12-Apr-2013 Adam Powell <adamp@google.com> Better accessibility support for DrawerLayout

Bug 8502991

Change-Id: I4613d0ff122efab62947f8f74102057a686bae28
upport/v4/widget/DrawerLayout.java
071ffb348a271662d64b800deb9e8b93908bdc33 12-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> am eebe1006: am 57050da5: Fix bug #8599905 Add simple BidiFormatter getInstance() helper API

* commit 'eebe1006298e8f64bc70314cc9d49c87ee0cfb68':
Fix bug #8599905 Add simple BidiFormatter getInstance() helper API
57050da5a4c11fb1dd740599671540cc53b29cf7 12-Apr-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #8599905 Add simple BidiFormatter getInstance() helper API

Change-Id: I1c1795e4462742110c1238993b0601baf8b0d3da
upport/v4/text/bidi/BidiFormatter.java
33791a1074b587cc03fffed45b794603f84b70fb 11-Apr-2013 Adam Powell <adamp@google.com> am ecd12081: am 46857a46: am bd207602: am 30c6d02f: am d44315a5: SlidingPaneLayout cleanup/bugfix

* commit 'ecd1208170742e0e9a02f97f91f734b94b0e5ea5':
SlidingPaneLayout cleanup/bugfix
46857a4620e57144e1b00a79212295adf06f2f4e 11-Apr-2013 Adam Powell <adamp@google.com> am bd207602: am 30c6d02f: am d44315a5: SlidingPaneLayout cleanup/bugfix

* commit 'bd2076020b8d0e40b742df04ed85bf69daa5ff69':
SlidingPaneLayout cleanup/bugfix
bd2076020b8d0e40b742df04ed85bf69daa5ff69 11-Apr-2013 Adam Powell <adamp@google.com> am 30c6d02f: am d44315a5: SlidingPaneLayout cleanup/bugfix

* commit '30c6d02ff6ef5dc346b121ba4a4773a3533e7e56':
SlidingPaneLayout cleanup/bugfix
d44315a54e002b20365189f03a09011f2bf6ba07 11-Apr-2013 Adam Powell <adamp@google.com> SlidingPaneLayout cleanup/bugfix

Clean up some irrelevant code leftover from the ViewDragHelper
refactoring. Make sure first layout tasks happen in the right order.

Bug 8456902

Change-Id: Ic59d0cf8bfe9555c1a95d79d7c0ca006d31132f1
upport/v4/widget/SlidingPaneLayout.java
151fdae633202ed8b1a119d3e60f8e549efa05aa 11-Apr-2013 Adam Powell <adamp@google.com> am 78fa0977: am d1f26324: am 431e74d8: am e533714e: am 58898b63: Fix erroneously shaded panes in SlidingPaneLayout after resizing

* commit '78fa0977c7c7ea4c84438dc1332d9e81d9f5a70a':
Fix erroneously shaded panes in SlidingPaneLayout after resizing
d1f263244ec0b7853b3a95d6e221ddd084705e08 11-Apr-2013 Adam Powell <adamp@google.com> am 431e74d8: am e533714e: am 58898b63: Fix erroneously shaded panes in SlidingPaneLayout after resizing

* commit '431e74d8550085adbb2fdc646fdbfee92da16d00':
Fix erroneously shaded panes in SlidingPaneLayout after resizing
431e74d8550085adbb2fdc646fdbfee92da16d00 11-Apr-2013 Adam Powell <adamp@google.com> am e533714e: am 58898b63: Fix erroneously shaded panes in SlidingPaneLayout after resizing

* commit 'e533714e4f2253d46d1b7fb0a1a3dc19c2529213':
Fix erroneously shaded panes in SlidingPaneLayout after resizing
58898b639b18392580694bc6c902479274331bf2 11-Apr-2013 Adam Powell <adamp@google.com> Fix erroneously shaded panes in SlidingPaneLayout after resizing

Bug 8474517

Change-Id: I586f62e7b06f00036fa90efbdb640bc6058ec85c
upport/v4/widget/SlidingPaneLayout.java
38de6247a1ffeda42f92aa7ffea75d41d56ef58c 10-Apr-2013 Dianne Hackborn <hackbod@google.com> am e43a5cc9: am d14007f1: Merge "Flesh out the transport controller... now transport mediator." into jb-mr2-dev

* commit 'e43a5cc9f89285595ccb24fe26993967698fd0f9':
Flesh out the transport controller... now transport mediator.
d14007f16839b17cf2e81828cf412b218a0a3140 10-Apr-2013 Dianne Hackborn <hackbod@google.com> Merge "Flesh out the transport controller... now transport mediator." into jb-mr2-dev
8c7c4c0409bd93f66fe39c5a5298a94f832be31e 06-Apr-2013 Dianne Hackborn <hackbod@google.com> Flesh out the transport controller... now transport mediator.

This introduces a bunch of formal interfaces to represent the
player and controller sides. The TransportController, now called
TransportMediator, is now the central place responsible for
propagating the interactions between the player and on-screen
controls; as it does this it can also reflect this information
through the remote control client and back from the media button
receiver.

This simplifies code using the class, getting rid of various
connections they would otherwise need to supply.

Change-Id: I36121d96e98267554f044712f3b3b018cdc445bb
upport/v4/media/TransportController.java
upport/v4/media/TransportMediator.java
upport/v4/media/TransportPerformer.java
upport/v4/media/TransportStateListener.java
9403d969122f599f4b05207c09f4aacb9b04f505 10-Apr-2013 Chris Banes <chrisbanes@google.com> am 94432958: am d0203566: Merge "Implement Up Navigation in Compat Action Bar" into jb-mr2-dev

* commit '94432958a2a7232aa733b2c292dc58b5d5604132':
Implement Up Navigation in Compat Action Bar
d0203566f10a220ac9c76dc482319aab47adf96b 10-Apr-2013 Chris Banes <chrisbanes@google.com> Merge "Implement Up Navigation in Compat Action Bar" into jb-mr2-dev
b02ed2a14ec6322eec4781f0b8f2021c0b0742c0 09-Apr-2013 Scott Main <smain@google.com> am 704ca147: am afa2e5d5: am 27bbe343: am 55d43957: am 0e44aa8a: am 9cdb85b0: am 33586fb4: remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.

* commit '704ca14775a4463304c97217959de73979bc2e4c':
remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.
afa2e5d560246bdd3d141a5a4ea6d42cb6e2177c 09-Apr-2013 Scott Main <smain@google.com> am 27bbe343: am 55d43957: am 0e44aa8a: am 9cdb85b0: am 33586fb4: remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.

* commit '27bbe3435b18e5d6a3b8bd0d271afda30f5bac54':
remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.
27bbe3435b18e5d6a3b8bd0d271afda30f5bac54 09-Apr-2013 Scott Main <smain@google.com> am 55d43957: am 0e44aa8a: am 9cdb85b0: am 33586fb4: remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.

* commit '55d43957826992f969a5cc1131c23f393f16931a':
remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.
0e44aa8a7502d4b6b9884eb18e49c655209e12c7 09-Apr-2013 Scott Main <smain@google.com> am 9cdb85b0: am 33586fb4: remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.

* commit '9cdb85b0936d6d1e20626056d01406c755b9cf5d':
remove redundant/confusing links to pager classes. Although the links are technically unique, the links appear as duplicates and the added value is mostly redundant.
33586fb4d8b42d7c65240ffcc269fe10e682b309 09-Apr-2013 Scott Main <smain@google.com> remove redundant/confusing links to pager classes.
Although the links are technically unique, the links appear as
duplicates and the added value is mostly redundant.

Change-Id: I08fc34576a8b5932e6f5f79c8233b2c092b91f19
upport/v4/view/ViewPager.java
dc312ce2aa6c7fff81ef58d76c861a813ef58ac3 09-Apr-2013 Adam Powell <adamp@google.com> am 205dea93: am 74df9909: am c99cb3fc: am 96ded4bf: am 09c38625: Expand DrawerLayout docs

* commit '205dea93b17ea099d661cf0129a3fedf392b9ce5':
Expand DrawerLayout docs
74df99095290a2bc0776b00dcfa7ccb12fa46726 09-Apr-2013 Adam Powell <adamp@google.com> am c99cb3fc: am 96ded4bf: am 09c38625: Expand DrawerLayout docs

* commit 'c99cb3fc2e5c8161109e06a985987c2bb4630f85':
Expand DrawerLayout docs
c99cb3fc2e5c8161109e06a985987c2bb4630f85 09-Apr-2013 Adam Powell <adamp@google.com> am 96ded4bf: am 09c38625: Expand DrawerLayout docs

* commit '96ded4bf9973b1153c57d104ae52c31a0d5d729d':
Expand DrawerLayout docs
09c38625b5400dcda3d872dbe865c867cc02e5eb 09-Apr-2013 Adam Powell <adamp@google.com> Expand DrawerLayout docs

Change-Id: I7a535aef592607705c2eb6c5f338f46749456c62
upport/v4/widget/DrawerLayout.java
08b8ec775034f40a1c24ef99e38490ae3dcdfb0f 08-Apr-2013 Adam Powell <adamp@google.com> am 3ef331ce: am e7862d5c: am 8721af1e: am d83d61f8: am cde27072: Have DrawerLayout proactively cancel touch events during drawer peek

* commit '3ef331cee01e2e5d32d0e8ad0a4941f726b88203':
Have DrawerLayout proactively cancel touch events during drawer peek
e7862d5c2e792f5a03b1c186d85717fbd2f3cb86 08-Apr-2013 Adam Powell <adamp@google.com> am 8721af1e: am d83d61f8: am cde27072: Have DrawerLayout proactively cancel touch events during drawer peek

* commit '8721af1e493a1e2b9930346e6f103e96d1cb2f38':
Have DrawerLayout proactively cancel touch events during drawer peek
8721af1e493a1e2b9930346e6f103e96d1cb2f38 08-Apr-2013 Adam Powell <adamp@google.com> am d83d61f8: am cde27072: Have DrawerLayout proactively cancel touch events during drawer peek

* commit 'd83d61f8cdd22e72627dd4980cf5b32ea03e6500':
Have DrawerLayout proactively cancel touch events during drawer peek
cde2707260e8241ffb816a03cbf5d52c28004b8a 08-Apr-2013 Adam Powell <adamp@google.com> Have DrawerLayout proactively cancel touch events during drawer peek

Send ACTION_CANCEL to any child views when a drawer peek
triggers. This fixes a bug where a very still touch point would not
generate further touch events after an edge touch, causing extra
flashing and initiation of long press actions on the content below.

Change-Id: I1de21270de1a9bc3f614872dce3e8fd594648bde
upport/v4/widget/DrawerLayout.java
51e35e07a00e4b56a1ca330323e69ef9258c4e57 04-Apr-2013 Chris Banes <chrisbanes@google.com> Implement Up Navigation in Compat Action Bar

This commits add ancestral navigation to the compat
action bar. It uses the v4 class NavUtils for the
large part:

- Added support versions of up task creation methods
to ActionBarActivity (onCreateNavigateUpTaskStack, etc)
- Moved menu selected logic out of delegates and into
ActionBarActivity.
- Add finishAffinity shim into v4 support.

Change-Id: I2b937434c5820aca162fdfa5665adc33d957bfb9
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/app/ActivityCompat.java
592280651570f2e6741d79dfac2cd134a065a065 06-Apr-2013 Adam Powell <adamp@google.com> am 21115668: am 58751908: am b836ecbd: am 3d0bbd43: am fe130779: Let apps change the scrim color for DrawerLayout

* commit '21115668506c32b7520f11ac50ad2222803946fe':
Let apps change the scrim color for DrawerLayout
5875190817ae3176aeb2eb670de1ba762094bb2f 06-Apr-2013 Adam Powell <adamp@google.com> am b836ecbd: am 3d0bbd43: am fe130779: Let apps change the scrim color for DrawerLayout

* commit 'b836ecbd9f89a9d830158f63c3285b3305d50406':
Let apps change the scrim color for DrawerLayout
b836ecbd9f89a9d830158f63c3285b3305d50406 06-Apr-2013 Adam Powell <adamp@google.com> am 3d0bbd43: am fe130779: Let apps change the scrim color for DrawerLayout

* commit '3d0bbd43893936d81e1fc4a952ac8244a77ba733':
Let apps change the scrim color for DrawerLayout
fe130779be95af79e875bdbeac7182a424b8b9a6 06-Apr-2013 Adam Powell <adamp@google.com> Let apps change the scrim color for DrawerLayout

Bug 8557927

Change-Id: I769ac0885e635f239787e346f6111526f4e19027
upport/v4/widget/DrawerLayout.java
b16c117660bf68b88e24c0f27f6078bac428718b 05-Apr-2013 Adam Powell <adamp@google.com> am 09a921a5: am 62e0ce5e: am e33b44f3: am 1909ef4f: am 1538310a: Tweak ViewDragHelper\'s edge detection size

* commit '09a921a596f2811673c8cd9723412a9a2189ac9f':
Tweak ViewDragHelper's edge detection size
62e0ce5e7b954bcbf34195ef0d1ce1dc7d6a88a3 05-Apr-2013 Adam Powell <adamp@google.com> am e33b44f3: am 1909ef4f: am 1538310a: Tweak ViewDragHelper\'s edge detection size

* commit 'e33b44f322eddb0cd8a1dc7fc4e5b5e42b2f3155':
Tweak ViewDragHelper's edge detection size
43d6e2ad95dd9b86ef50a5011ce60839c27babdc 05-Apr-2013 Dianne Hackborn <hackbod@google.com> am ef31a545: am 58a09b51: Merge "TransportController now helps with managing play state." into jb-mr2-dev

* commit 'ef31a54569fc84ae350511ed971fcd408cc8c1bd':
TransportController now helps with managing play state.
e33b44f322eddb0cd8a1dc7fc4e5b5e42b2f3155 05-Apr-2013 Adam Powell <adamp@google.com> am 1909ef4f: am 1538310a: Tweak ViewDragHelper\'s edge detection size

* commit '1909ef4f9143a4384387f2893bfd7808d4afc5fe':
Tweak ViewDragHelper's edge detection size
1538310a6c51ee7cbebc151df16798aa65f57f07 05-Apr-2013 Adam Powell <adamp@google.com> Tweak ViewDragHelper's edge detection size

Make it a little harder to grab DrawerLayout drawers by mistake.

Bug 8496395

Change-Id: Id9e1dd9c6c34b3be3dc9b40ac6a7422bb82393d7
upport/v4/widget/ViewDragHelper.java
c76d76a0d92a9dca5c91c68b86666d403ac0fd3c 05-Apr-2013 Dianne Hackborn <hackbod@google.com> TransportController now helps with managing play state.

Play state takes care of grabbing audio focus, and it lets
you know when you lose audio focus.

Change-Id: I565d93bcba0dbf06a4885a42a008d54dec92b8c4
upport/v4/media/TransportController.java
414e10ae686e7b6ad950bf862b544ed4f76920dc 04-Apr-2013 Dianne Hackborn <hackbod@google.com> am e90a4876: am 8abe1abb: Merge "Move media button handling to API demo." into jb-mr2-dev

* commit 'e90a4876a82101e9662a01a8616292684440d6f2':
Move media button handling to API demo.
edc0529cf10bc820e04cdd6a85a39856f9233313 04-Apr-2013 Dianne Hackborn <hackbod@google.com> Move media button handling to API demo.

It was dumb to have this as a convenience class in the support
library, since any real implementation is going to do its own
thing and needs to keep this in sync with other aspects of its
state.

Change-Id: Ibfa6795d735bd46ce3c3918be2cc6db8103e799e
upport/v4/media/TransportController.java
e0fb02cde73acb3f002448dc18430c26bf298575 04-Apr-2013 Adam Powell <adamp@google.com> am 97c41866: am 33d3e019: am c93e8d03: am 5a50b1ce: am 1732720a: Add a short delay for drawer peeking in DrawerLayout

* commit '97c41866a5f4f6e6ef150a37e1605d846f0c5367':
Add a short delay for drawer peeking in DrawerLayout
33d3e019dbcf4b9c0b440c5b5a66da60fbfbcc8a 03-Apr-2013 Adam Powell <adamp@google.com> am c93e8d03: am 5a50b1ce: am 1732720a: Add a short delay for drawer peeking in DrawerLayout

* commit 'c93e8d03544f903de80d7c77bd35450c98670cd6':
Add a short delay for drawer peeking in DrawerLayout
c93e8d03544f903de80d7c77bd35450c98670cd6 03-Apr-2013 Adam Powell <adamp@google.com> am 5a50b1ce: am 1732720a: Add a short delay for drawer peeking in DrawerLayout

* commit '5a50b1ce79077fa6fc69bc35ec78e38b74a307ab':
Add a short delay for drawer peeking in DrawerLayout
1732720ad57fe6d01392cd06551f1a25cff0333c 03-Apr-2013 Adam Powell <adamp@google.com> Add a short delay for drawer peeking in DrawerLayout

Don't have a drawer peek right away, have a short delay to account for
other UI affordances that may be placed a bit too close to the
drawer's edge.

Add support methods to ViewDragHelper to check if any pointer has
crossed the helper's touch slop.

Add support methods to ViewDragHelper to check if an edge was touched.

Change-Id: I872612376c091deb21914c8aa43ce39a31aa4210
upport/v4/widget/DrawerLayout.java
upport/v4/widget/ViewDragHelper.java
c7ec8f6531f55def36e6d516d1687a69e55e7168 27-Mar-2013 Adam Powell <adamp@google.com> am c8500fcb: am 659fdbfb: am cb44c552: am 074d53b9: am ea7b10f4: Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout

* commit 'c8500fcbce618b9fecd55ba5ad2bf1cc64e970dd':
Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout
659fdbfb0be2d45058cc662148406f8fbb7070c0 27-Mar-2013 Adam Powell <adamp@google.com> am cb44c552: am 074d53b9: am ea7b10f4: Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout

* commit 'cb44c55258fd987d7be126690b3831a116ab90ce':
Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout
cb44c55258fd987d7be126690b3831a116ab90ce 27-Mar-2013 Adam Powell <adamp@google.com> am 074d53b9: am ea7b10f4: Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout

* commit '074d53b96ee82ed007db651bb9827faf50c3a309':
Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout
ea7b10f4d5531713506e98c8093e7aab811f21f3 27-Mar-2013 Adam Powell <adamp@google.com> Tweak sensitivity/touch handling for ViewDragHelper/DrawerLayout

Add ViewDragHelper API to determine the size of an edge and have
DrawerLayout use it for its peek distance.

Make edge locking optional, controlled by the ViewDragHelper callback.

Remove DrawerLayout's fake-out for children calling
requestDisallowInterceptTouchEvent.

Stop locking edges in DrawerLayout; any edge touch can now initiate an
edge drag.

Change-Id: I42a953e8dad0f608503e009142d5dc79e791c220
upport/v4/widget/DrawerLayout.java
upport/v4/widget/ViewDragHelper.java
8c8a6b344e1b7753b551c31bdc2040e781d4a7fc 27-Mar-2013 Adam Powell <adamp@google.com> am 9bfc9338: am 0275f6f6: am fa762298: am 2b295949: am f1452d17: Fix ViewPager child drawing order sorting

* commit '9bfc933864299683a5f3cc5c33599f42a621b79e':
Fix ViewPager child drawing order sorting
0275f6f67f2b0b9cca75a4b425609c8cd6287b47 27-Mar-2013 Adam Powell <adamp@google.com> am fa762298: am 2b295949: am f1452d17: Fix ViewPager child drawing order sorting

* commit 'fa7622989446c8064da7f26473e3ec5dbd1211c8':
Fix ViewPager child drawing order sorting
fa7622989446c8064da7f26473e3ec5dbd1211c8 26-Mar-2013 Adam Powell <adamp@google.com> am 2b295949: am f1452d17: Fix ViewPager child drawing order sorting

* commit '2b29594906a1e5f0e7b124400012bdfff87103ad':
Fix ViewPager child drawing order sorting
f1452d17be15651c6047ec4eb7ff5892538e8265 26-Mar-2013 Adam Powell <adamp@google.com> Fix ViewPager child drawing order sorting

Fix a bug where ViewPager would not obtain its internal list of
children sorted for drawing order in time to actually draw.

Bug 8481031

Change-Id: I171f956504ef1a60be9925b88d06b97bbcdae476
upport/v4/view/ViewPager.java
fa7b13fea8f984aa9625cd150c7443255dd8dcb7 26-Mar-2013 Adam Powell <adamp@google.com> am 5d9328e6: am 27939be3: am 3f19089c: am 81523db0: am 31dac59d: Add some debug logging for a strange edge case in ViewPager

* commit '5d9328e662e6cc0af308bc98a5fff4235dc7581e':
Add some debug logging for a strange edge case in ViewPager
27939be3015e3f28a14f2886490f270e0e558561 26-Mar-2013 Adam Powell <adamp@google.com> am 3f19089c: am 81523db0: am 31dac59d: Add some debug logging for a strange edge case in ViewPager

* commit '3f19089c005b1dde4dc8acf42b8a09bc1d879d19':
Add some debug logging for a strange edge case in ViewPager
3f19089c005b1dde4dc8acf42b8a09bc1d879d19 26-Mar-2013 Adam Powell <adamp@google.com> am 81523db0: am 31dac59d: Add some debug logging for a strange edge case in ViewPager

* commit '81523db07a5d7560edf1133c74e8c8d374dbcd97':
Add some debug logging for a strange edge case in ViewPager
31dac59d77ff5c1e1ae2c425fa5fc939c6ec15cd 26-Mar-2013 Adam Powell <adamp@google.com> Add some debug logging for a strange edge case in ViewPager

Monkey tests are reporting issues during focus search when we try to
offset a rect between the parent and child, that we're assuming a view
is a child when it is not. Add some logging to help diagnose.

Bug 6418084

Change-Id: Ie08931cbcf8165fe0d20d3c61858c5f32c603b2c
upport/v4/view/ViewPager.java
ff5c0760196d97588e02c0a33b02c60b19a06a0f 23-Mar-2013 Dianne Hackborn <hackbod@google.com> am 899f8722: am 94adc997: Merge "Add new TransportController helper class." into jb-mr2-dev

* commit '899f872201a03d50a8c3091b3a0edd289970af7a':
Add new TransportController helper class.
94adc9975295ab4addc869bb95d5c4f1358f2443 23-Mar-2013 Dianne Hackborn <hackbod@google.com> Merge "Add new TransportController helper class." into jb-mr2-dev
c9dfa6378fe5efffa207f68ecb49500f5374803b 22-Mar-2013 Adam Powell <adamp@google.com> am 4bb4297b: am 6e348ebc: am 08d12dbc: am b9a3a1b2: am fd5162a6: Tune ViewDragHelper edge detection

* commit '4bb4297bd86120305ee5f1f5b9e1bb7eed1aebf6':
Tune ViewDragHelper edge detection
6e348ebc71989ec551cef44e64c14ce3813ff564 22-Mar-2013 Adam Powell <adamp@google.com> am 08d12dbc: am b9a3a1b2: am fd5162a6: Tune ViewDragHelper edge detection

* commit '08d12dbc8339bd4c3c375560316787794f8c73cb':
Tune ViewDragHelper edge detection
08d12dbc8339bd4c3c375560316787794f8c73cb 22-Mar-2013 Adam Powell <adamp@google.com> am b9a3a1b2: am fd5162a6: Tune ViewDragHelper edge detection

* commit 'b9a3a1b2d2d082323e993f0c79aad969eb8e6d75':
Tune ViewDragHelper edge detection
fd5162a69e607f9199a502574c7486eb4e695e09 22-Mar-2013 Adam Powell <adamp@google.com> Tune ViewDragHelper edge detection

Fix a bug where edges were getting erroneously locked.

Allow a wider arc for edge drags.

Change-Id: Icf5bb8acaf274239490760891469e9f4957b129f
upport/v4/widget/DrawerLayout.java
upport/v4/widget/ViewDragHelper.java
d3a70800e5f2cc2855d53ebea82fb7568affe02a 22-Mar-2013 Dianne Hackborn <hackbod@google.com> Add new TransportController helper class.

This is for media apps to receive transport key events
while they have input focus.

Change-Id: Id4d68b7e0c33b11b1295abe89619729c18691516
upport/v4/media/TransportController.java
upport/v4/view/KeyEventCompat.java
2cd0ff177f509c1374f16f97e4f169a65870f23a 21-Mar-2013 Adam Powell <adamp@google.com> am bab612ec: am 2af9924f: am d0c7cc24: am afa88a69: am acc82321: Be stricter about detecting DrawerLayout/ViewDragHelper edge drags

* commit 'bab612ec4574c3006223b2e18b423a043b281425':
Be stricter about detecting DrawerLayout/ViewDragHelper edge drags
2af9924f549ed8a507e53922db321777bd133132 21-Mar-2013 Adam Powell <adamp@google.com> am d0c7cc24: am afa88a69: am acc82321: Be stricter about detecting DrawerLayout/ViewDragHelper edge drags

* commit 'd0c7cc249cc77753afa119f49521dd55f658371c':
Be stricter about detecting DrawerLayout/ViewDragHelper edge drags
d0c7cc249cc77753afa119f49521dd55f658371c 21-Mar-2013 Adam Powell <adamp@google.com> am afa88a69: am acc82321: Be stricter about detecting DrawerLayout/ViewDragHelper edge drags

* commit 'afa88a696204700b92dfe0087fa3f2422f31252c':
Be stricter about detecting DrawerLayout/ViewDragHelper edge drags
acc82321ad119706485db342eaa12b225fa9b667 21-Mar-2013 Adam Powell <adamp@google.com> Be stricter about detecting DrawerLayout/ViewDragHelper edge drags

Only begin an edge drag when a more intentional/telegraphed drag is
detected.

Bug 8423727

Change-Id: I9ccdde7ad9e20beda7ff988a3d3f73c447ef7f36
upport/v4/widget/DrawerLayout.java
upport/v4/widget/ViewDragHelper.java
e832f2cd99eab8905664294b18d557f2aa96eaae 21-Mar-2013 Jeff Brown <jeffbrown@google.com> am dd6f0dc4: am e6072e2d: Clean up action bar support library.

* commit 'dd6f0dc418e595f04669415df3d7e4a2487c9c94':
Clean up action bar support library.
7a48378df40975e3b07b4ae5710863a7d6df0c36 21-Mar-2013 Jeff Brown <jeffbrown@google.com> am 6d4f0472: am b507e525: Move support library media router to v7 package.

* commit '6d4f0472b6a5291f6ab3b1b772be3c8525e2c33e':
Move support library media router to v7 package.
5565f83a45955399ab158c58de34f53460dc614d 21-Mar-2013 Jeff Brown <jeffbrown@google.com> resolved conflicts for merge of ac1777e1 to master

Change-Id: I76faee11167913299d6e5ce91de250c8712a76d6
e6072e2d918169bd827cf7431347fb648124c227 21-Mar-2013 Jeff Brown <jeffbrown@google.com> Clean up action bar support library.

Small initial refactoring. More to come.

Added a SearchActionProvider to make it easy to embed
SearchViewCompat within a support library action bar.

Bug: 8175766
Change-Id: I4ddb16d8fce5d638a76027446128f7462c2095ce
upport/v4/app/FragmentActivity.java
upport/v4/view/WindowCompat.java
b507e525a61ed761eecfc2eaaf19af7e8db5dca5 20-Mar-2013 Jeff Brown <jeffbrown@google.com> Move support library media router to v7 package.

Resolved some TODOs related to missing resources.

Bug: 8175766
Change-Id: I57632d0a961de58a5dd53e889b4fd39832b5fba0
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
upport/v4/media/MediaRouteProviderService.java
upport/v4/media/MediaRouter.java
upport/v4/media/MediaStreamMetadata.java
upport/v4/media/RegisteredMediaRouteProvider.java
upport/v4/media/RegisteredMediaRouteProviderWatcher.java
upport/v4/media/SystemMediaRouteProvider.java
da10fdd1400ecfd8d7f2e55651dd528d0614dfc5 19-Mar-2013 Jeff Brown <jeffbrown@google.com> Move appcompat library to v7 package.

Moved most of the options menu related functionality out of v4
support lib into appcompat where it belongs. These two libraries
have very different design philosophies and it is important that
they remain untangled.

The support action bar options menu is broken by this change but
will be fixed in later patches after some refactoring to more
fully express the facade-like nature of the appcompat library.

Collapsed the appcompat eclair, honeycomb and ics folders into
one src folder because the layering did not make any sense.
All of these folders were providing portions of the API.
The layering will be reconstructed and improved in later patches.

Moved implementation types into an internal package within appcompat
to prevent them from leaking into the API.

Changed the base package name to android.support.v7, similar
to the gridlayout support lib.

Bug: 8175766
Change-Id: I538cbe08310e63e96a2a9fed0b8636eeda530f2c
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/view/ActionProvider.java
upport/v4/view/Menu.java
upport/v4/view/MenuInflater.java
upport/v4/view/MenuItem.java
upport/v4/view/SubMenu.java
3025056470c03a74c1e5972c6b81faaac8944054 19-Mar-2013 Adam Powell <adamp@google.com> am 3a23cddb: am 5408c26a: am 1da44e93: am 09eeecdb: am 00ca2532: Support layout_margin* on DrawerLayout children

* commit '3a23cddbfb63cfd7a86c1a664f1ac17074d0ed54':
Support layout_margin* on DrawerLayout children
5408c26a1dae949761257cce44f7e8572ab13d29 19-Mar-2013 Adam Powell <adamp@google.com> am 1da44e93: am 09eeecdb: am 00ca2532: Support layout_margin* on DrawerLayout children

* commit '1da44e9373262e6fa0a872a5c875065901369363':
Support layout_margin* on DrawerLayout children
1da44e9373262e6fa0a872a5c875065901369363 19-Mar-2013 Adam Powell <adamp@google.com> am 09eeecdb: am 00ca2532: Support layout_margin* on DrawerLayout children

* commit '09eeecdbcd452a7c1f9849d820a8203b59fafc95':
Support layout_margin* on DrawerLayout children
00ca2532981fbd705f947a637ffd967a8d6f733b 19-Mar-2013 Adam Powell <adamp@google.com> Support layout_margin* on DrawerLayout children

Child views of DrawerLayout now support margins. This allows
applications to offset both content or drawer views as needed.

Left and right margins are not permitted on drawer views and will be
ignored.

Vertical layout_gravity settings on drawer views are now supported as
well as drawer views with a height less than the full height of the
DrawerLayout.

Apps should note that introducing a top/bottom margin for a drawer
view will be less efficient in terms of fill rate than a drawer that
spans the full height.

Change-Id: Ia1a595ec50fa853039fa0ca287e4e3cf1e287047
upport/v4/widget/DrawerLayout.java
1dd4d0fe760af82f7a253f75b09e9d99080bc59c 19-Mar-2013 Adam Powell <adamp@google.com> am ff120832: am 43f49d2f: am 69da6c44: am 97ceaf4b: am 8e01d24e: Save DrawerLayout lock state as instance state

* commit 'ff1208327a5faf4056cc541f52ecb2bc42bc26d7':
Save DrawerLayout lock state as instance state
43f49d2f0b9ec6ef1c072183d9cedc3723164d40 19-Mar-2013 Adam Powell <adamp@google.com> am 69da6c44: am 97ceaf4b: am 8e01d24e: Save DrawerLayout lock state as instance state

* commit '69da6c445a659248d1019cc82d391c570dc039f5':
Save DrawerLayout lock state as instance state
69da6c445a659248d1019cc82d391c570dc039f5 19-Mar-2013 Adam Powell <adamp@google.com> am 97ceaf4b: am 8e01d24e: Save DrawerLayout lock state as instance state

* commit '97ceaf4baddb9630f0235c791ad50a9084407407':
Save DrawerLayout lock state as instance state
8e01d24e718d603974182cd48f648369c07edec1 19-Mar-2013 Adam Powell <adamp@google.com> Save DrawerLayout lock state as instance state

As the open/closed state of a drawer is saved across instance state
save/restore, lock state is now also saved as one is often influenced
by the other. Apps should take care to manage this state effectively.

Change-Id: I6a3f5d0831ed1f21543c880f7f592ff9a347149d
upport/v4/widget/DrawerLayout.java
f6d7cf787dfa0f7d14a74609d409919b140061d0 19-Mar-2013 Adam Powell <adamp@google.com> am e88f0308: am 61b69805: am 724a35bb: am 1170fe17: am 0492ea23: Locking drawers for DrawerLayout

* commit 'e88f030876ed575ea1c70e280e3af52b79ef5d5e':
Locking drawers for DrawerLayout
61b698055b689041f234ec536ae7e81d3acaff56 19-Mar-2013 Adam Powell <adamp@google.com> am 724a35bb: am 1170fe17: am 0492ea23: Locking drawers for DrawerLayout

* commit '724a35bb84ea22ada779235c161299e34a93987f':
Locking drawers for DrawerLayout
724a35bb84ea22ada779235c161299e34a93987f 19-Mar-2013 Adam Powell <adamp@google.com> am 1170fe17: am 0492ea23: Locking drawers for DrawerLayout

* commit '1170fe1736cd097120668fb5a5fedf18c605a5b8':
Locking drawers for DrawerLayout
0492ea23e32dbf509a7613d29e5791fdd44b2135 16-Mar-2013 Adam Powell <adamp@google.com> Locking drawers for DrawerLayout

Add DrawerLayout methods for locking sliding drawers either open or
closed.

Drawers may be unlocked, locked closed or locked open. When a drawer
is locked it may not be opened or closed from its locked state via
touch or the back button in the case of locked open drawers.

Change-Id: Idbda928c490778f69c480da0bebc2efeb1f76dc7
upport/v4/widget/DrawerLayout.java
25067cab93f60a8f2d2af6bfea2eb0cbccb6386a 17-Mar-2013 Adam Powell <adamp@google.com> am a2d2d29a: am 6fc582a2: am 32c70b7a: am c12f546a: am 72c7316b: Fix SlidingPaneLayout erroneous dimming after resize

* commit 'a2d2d29a3dae38dbdcf24868dcd20630b58994a0':
Fix SlidingPaneLayout erroneous dimming after resize
6fc582a25595f40f5c8a7ca181fe0fe1348894c6 17-Mar-2013 Adam Powell <adamp@google.com> am 32c70b7a: am c12f546a: am 72c7316b: Fix SlidingPaneLayout erroneous dimming after resize

* commit '32c70b7a53868774985f0edbf35608666d0fd2fb':
Fix SlidingPaneLayout erroneous dimming after resize
32c70b7a53868774985f0edbf35608666d0fd2fb 17-Mar-2013 Adam Powell <adamp@google.com> am c12f546a: am 72c7316b: Fix SlidingPaneLayout erroneous dimming after resize

* commit 'c12f546a5f024950f2c1c2395cc1506bdee6819b':
Fix SlidingPaneLayout erroneous dimming after resize
72c7316b081c3134f7b0566f703dfee7c970eade 16-Mar-2013 Adam Powell <adamp@google.com> Fix SlidingPaneLayout erroneous dimming after resize

Fix a bug where the preserved open state wasn't being tracked properly
in all cases. Also prevent performing extra work when the width hasn't
changed.

Bug 8396728

Change-Id: If48fe537e2eb1f4bbd35b7970e9e8ed68af3613c
upport/v4/widget/SlidingPaneLayout.java
e23b3710c413d05eaf3bbd4c33f0ae177458e149 16-Mar-2013 Dianne Hackborn <hackbod@google.com> am 9f9f5980: am 0c413646: Merge "Fix a bug where we could lose a loader content change." into jb-mr2-dev

* commit '9f9f5980b7bfac5f75dbe86ff56e66e08640fe5f':
Fix a bug where we could lose a loader content change.
0c413646a132f01920f679638d84c968a749ef61 16-Mar-2013 Dianne Hackborn <hackbod@google.com> Merge "Fix a bug where we could lose a loader content change." into jb-mr2-dev
1855ba2ab6eec723d08b46c609f68bd89ae32022 15-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Fix Conflict with ActionBarSherlock (DO NOT MERGE)" into jb-mr2-dev
9a81c69ba10f8599dbb42e3d2db2209f37854be8 15-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Move support Menu interfaces + callbacks to v4 (DO NOT MERGE)" into jb-mr2-dev
712036dc13531d46a0064be5055a52bb999454a0 15-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Propogate support menu callbacks to Fragments (DO NOT MERGE)" into jb-mr2-dev
847bab48ffd5cb62bc06465d7a4c60a016f5a2b9 01-Mar-2013 Chris Banes <chrisbanes@google.com> Fix Conflict with ActionBarSherlock (DO NOT MERGE)

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

This should be reverted before launch!

Change-Id: I25812a81130484053fbe97df13fc2bf5b9b5a340
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/app/FragmentActivity.java
e0f27d39b0a4f0ef30ef6446e7b675279961cc94 28-Feb-2013 Chris Banes <chrisbanes@google.com> Move support Menu interfaces + callbacks to v4 (DO NOT MERGE)

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: I952ce78a378e8ec3b990f5c285a44c7fc4807f0c
Signed-off-by: Chris Banes <chrisbanes@google.com>
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/view/ActionProvider.java
upport/v4/view/Menu.java
upport/v4/view/MenuInflater.java
upport/v4/view/MenuItem.java
upport/v4/view/SubMenu.java
5f1309fe533f644638155e79d50e23060191bf59 20-Feb-2013 Chris Banes <chrisbanes@google.com> Propogate support menu callbacks to Fragments (DO NOT MERGE)

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: I591ca163762431cae9a4988cd89e0711d6b5ff21
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
c7503847d63e3483a374a14bcd1edf313a415c21 15-Mar-2013 Adam Powell <adamp@google.com> am a0642e86: am 830dafeb: am ab7b5ad5: am 349316fd: am 8bc268e9: Fix DrawerLayout crash in touch handling

* commit 'a0642e86f6936624c45b7da80b7da3aff7494d1e':
Fix DrawerLayout crash in touch handling
830dafeb756fb9a336cea2e443809d1233fa1b05 15-Mar-2013 Adam Powell <adamp@google.com> am ab7b5ad5: am 349316fd: am 8bc268e9: Fix DrawerLayout crash in touch handling

* commit 'ab7b5ad5062058c277fdfb8bfedb505ea7c11b63':
Fix DrawerLayout crash in touch handling
ab7b5ad5062058c277fdfb8bfedb505ea7c11b63 15-Mar-2013 Adam Powell <adamp@google.com> am 349316fd: am 8bc268e9: Fix DrawerLayout crash in touch handling

* commit '349316fdd86173753a88083ca593c7751eb9c71b':
Fix DrawerLayout crash in touch handling
8bc268e9c40e4ae375a0d65dc1293dccc541186f 15-Mar-2013 Adam Powell <adamp@google.com> Fix DrawerLayout crash in touch handling

Fix a bug in DrawerLayout that could crash if no child was found under
the active touch point.

Bug 8388714

Change-Id: Ida540bf6d2bab7dbb0323f077f3e2fd355a757d4
upport/v4/widget/DrawerLayout.java
80a0a3a33e3f6c27da4681a4f02eb2c6aae1fd40 15-Mar-2013 Dianne Hackborn <hackbod@google.com> Fix a bug where we could lose a loader content change.

If AsyncTaskLoader starts a background update due to a
content change, and that update is cancelled, we drop the
data when it finally arrives and forget that the content changed.
If we later come back to the loader, we then end up showing
stale data because we don't know that we still need to update
due to the old content change.

This change adds a couple new APIs to Loader to deal with the
time between when you ask for whether there is a content change
and finally either commit the data or cancel the update.
AsyncTaskLoader is changed to make use of this so that it doesn't
lose changes.

Change-Id: I431f55fff985baf653f217228895b855462b49fb
upport/v4/content/AsyncTaskLoader.java
upport/v4/content/Loader.java
a5c01bb84f11262390fa62d23542484ea003ead8 14-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 6eb4c674: am c92d6082: Improve code for Support Library BidiFormatter

* commit '6eb4c674e8fe743368a768310589b134e216334e':
Improve code for Support Library BidiFormatter
c92d608279e5716a176e142abcd5e1b2148a0680 14-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Improve code for Support Library BidiFormatter

- follow variables naming conventions

Change-Id: I759032c40abeaa748a4056370c0f80a5bf2a1e71
upport/v4/text/TextUtilsCompat.java
upport/v4/text/bidi/BidiFormatter.java
da0ba4ee64b64974c90b6202252930450fe32d9d 14-Mar-2013 Scott Kennedy <skennedy@google.com> am f3ca32f5: am de2eb627: Remove a method

* commit 'f3ca32f53803ec416f0b8f81dd3205c643ec812d':
Remove a method
de2eb627f0c4cb79c78e4d91ae7086d2c5e67eec 13-Mar-2013 Scott Kennedy <skennedy@google.com> Remove a method

It was only being called in one location, and the parameter was being
ignored.

Matches Ia853dd8d3898ac3e4c4b2fb3a51d103844b57ca1 in frameworks/base

Change-Id: Ic5de51b0e26e340e1ff850d5ba83e24dff648bbc
upport/v4/content/CursorLoader.java
16bbe772c06562031a99278830ec65c23a3dd0f8 14-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> am 68ba5de5: am 77f6bada: Add BidiFormatter to the Support Library v4

* commit '68ba5de585946171430cf52e8c52087e581daf69':
Add BidiFormatter to the Support Library v4
77f6bada6f88acea9025afce3eb0127d45411798 09-Mar-2013 Fabrice Di Meglio <fdimeglio@google.com> Add BidiFormatter to the Support Library v4

See bug #8185319 Need to put Android BidiFormatter into the Support Library

Change-Id: Ia7af551f503d895514b81a3a4065323a05ed7341
upport/v4/text/ICUCompat.java
upport/v4/text/TextDirectionHeuristicCompat.java
upport/v4/text/TextDirectionHeuristicsCompat.java
upport/v4/text/TextUtilsCompat.java
upport/v4/text/bidi/BidiFormatter.java
3693ea36384057f5037ead21d5cf0319461c15e4 13-Mar-2013 Jeff Brown <jeffbrown@google.com> am e5084724: am fa326a46: Add support for media route provider services.

* commit 'e5084724d141681add31272666753c7191405251':
Add support for media route provider services.
3bc920ccf334b813905e7517954ad6ea57189077 13-Mar-2013 Jeff Brown <jeffbrown@google.com> am 5508afd5: am 77feec77: Merge "Revert "Add support for media route provider services."" into jb-mr2-dev

* commit '5508afd5cb40343de53e9b461dbaccbca70668a0':
Revert "Add support for media route provider services."
c4b24b21ebd9fd83e670aaa2ccca6d82e220cefd 13-Mar-2013 Jeff Brown <jeffbrown@google.com> am bfb76892: am 365fbcc5: Merge "Add support for media route provider services." into jb-mr2-dev

* commit 'bfb76892e5d760983cacd40846e2c9f86e5a551d':
Add support for media route provider services.
fa326a4649d9d0e8113e315f6c8251fe686abce4 08-Mar-2013 Jeff Brown <jeffbrown@google.com> Add support for media route provider services.

Media route provider services are services that publish media routes
to applications and to the system. The registered media route
provider enumerates the installed services, connects to them,
and listens for route updates.

As part of this change, extended media route to use a set of
media route control intent filters to describe its capabilities
instead of just one. This is necessary for matching uri-based
media control intents such as ACTION_PLAY.

Added support for routes with icons.

Added support for querying information about the provider of
each route and the list of all available providers.

Fixed a bug in the system media route provider that resulted
in duplicate routes being created.

Ensure that routes are notified as being unselected before
being notifies as being removed. The invariant here is that
an application should only perceive a route to be selected
between the time it was added / enabled and the time it
was removed / disabled.

Change-Id: If1a81ace4ef17643f219f7fed06a80855dc9a7e1
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
upport/v4/media/MediaRouteProviderService.java
upport/v4/media/MediaRouter.java
upport/v4/media/RegisteredMediaRouteProvider.java
upport/v4/media/RegisteredMediaRouteProviderWatcher.java
upport/v4/media/SystemMediaRouteProvider.java
77feec77553367778cdc8f9e78a71585ac63e038 13-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Revert "Add support for media route provider services."" into jb-mr2-dev
f3e4a6059d110137519d2d0042cf5dd680eddba1 13-Mar-2013 Jeff Brown <jeffbrown@google.com> Revert "Add support for media route provider services."

This reverts commit 0995047fb295da9c1d4e8270bd727a1ee997951e

Change-Id: I572448f3f8c6e6270123b10ea2150d54f8ccc41f
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
upport/v4/media/MediaRouteProviderService.java
upport/v4/media/MediaRouter.java
upport/v4/media/RegisteredMediaRouteProvider.java
upport/v4/media/RegisteredMediaRouteProviderWatcher.java
upport/v4/media/SystemMediaRouteProvider.java
365fbcc5a3de661d41cff8b7e26b35e5a3dcaa73 13-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Add support for media route provider services." into jb-mr2-dev
e349347a36b3baac920cf260a741dc70a60d6c59 12-Mar-2013 Adam Powell <adamp@google.com> am 13ee9c21: am bebdbfc8: am 2a258b58: am 5e52d5ef: am 89e17886: SlidingPaneLayout features, ViewDragHelper bugfixes

* commit '13ee9c219fa1fd47a2440c61648ee564f2eae7df':
SlidingPaneLayout features, ViewDragHelper bugfixes
bebdbfc8dadb3328dc46c32df954a93b9470ee9f 12-Mar-2013 Adam Powell <adamp@google.com> am 2a258b58: am 5e52d5ef: am 89e17886: SlidingPaneLayout features, ViewDragHelper bugfixes

* commit '2a258b58d11e824896d4ee217ea17f4dd22a48fa':
SlidingPaneLayout features, ViewDragHelper bugfixes
2a258b58d11e824896d4ee217ea17f4dd22a48fa 12-Mar-2013 Adam Powell <adamp@google.com> am 5e52d5ef: am 89e17886: SlidingPaneLayout features, ViewDragHelper bugfixes

* commit '5e52d5efa93b7ae9405f6a63fc5d6910ea7f7885':
SlidingPaneLayout features, ViewDragHelper bugfixes
89e17886e6149bddfdb08a242c9e88889596419c 12-Mar-2013 Adam Powell <adamp@google.com> SlidingPaneLayout features, ViewDragHelper bugfixes

Make SlidingPaneLayout handle initial pre-layout state changes,
resizing and state save/restoration properly. Calling
openPane/closePane before first layout will cause animation to be
skipped. Open/closed state is now saved as instance state. When all
panes fit, interacting with a pane either by touch or focus will cause
that pane to be in view if a resize or state save/restore occurs.

Bug 8341136

Fix a bug where a slop check should fail instead of throwing.

Bug 8368837

Change-Id: I2e75213517d5f3f955650795d65bbff6fe7c054e
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
11c1376dd332d1bff7732b3fbe232aa1c916bedb 12-Mar-2013 Jeff Sharkey <jsharkey@android.com> am f85e2a3e: am 3a24c8e3: Merge "Provider to share private files between apps." into jb-mr2-dev

* commit 'f85e2a3e1f4ef267fdcf8759b09925becdaa53c5':
Provider to share private files between apps.
3a24c8e31611a85085a7d261328ff9da811b694b 12-Mar-2013 Jeff Sharkey <jsharkey@android.com> Merge "Provider to share private files between apps." into jb-mr2-dev
0995047fb295da9c1d4e8270bd727a1ee997951e 08-Mar-2013 Jeff Brown <jeffbrown@google.com> Add support for media route provider services.

Media route provider services are services that publish media routes
to applications and to the system. The registered media route
provider enumerates the installed services, connects to them,
and listens for route updates.

As part of this change, extended media route to use a set of
media route control intent filters to describe its capabilities
instead of just one. This is necessary for matching uri-based
media control intents such as ACTION_PLAY.

Added support for routes with icons.

Change-Id: I8f00fac27914662bec3df0e5a212e81a9d306081
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
upport/v4/media/MediaRouteProviderService.java
upport/v4/media/MediaRouter.java
upport/v4/media/RegisteredMediaRouteProvider.java
upport/v4/media/RegisteredMediaRouteProviderWatcher.java
upport/v4/media/SystemMediaRouteProvider.java
bfc1b02cd3495e81ef716f2679cc747c1d74a924 09-Mar-2013 Adam Powell <adamp@google.com> am ceacc80b: am a055a849: am e6213039: am 1e66a9eb: am 57902cff: DrawerLayout polish features

* commit 'ceacc80bcda7029bc109c3c2e21779c2f9791abc':
DrawerLayout polish features
a055a849fe13d4008fad60d6df6e0529f4827cf6 09-Mar-2013 Adam Powell <adamp@google.com> am e6213039: am 1e66a9eb: am 57902cff: DrawerLayout polish features

* commit 'e62130393b79d2bb36a0175457247b736bf3ac9b':
DrawerLayout polish features
e62130393b79d2bb36a0175457247b736bf3ac9b 09-Mar-2013 Adam Powell <adamp@google.com> am 1e66a9eb: am 57902cff: DrawerLayout polish features

* commit '1e66a9eb98ea261ba3b5beaebb3e67444094d14d':
DrawerLayout polish features
57902cff6c54c245feea589b06d12dba8f1a2a24 09-Mar-2013 Adam Powell <adamp@google.com> DrawerLayout polish features

If openDrawer/closeDrawer is called before first layout, the initial
layout will position the drawer in that configuration and no animation
will play.

Implement instance state save/restore. A drawer that was open will
remain open unless acted upon by an outside force.

Change-Id: I673f2e3c710713703b507b19e1650450a7b5b17c
upport/v4/widget/DrawerLayout.java
32e2ace071e496f5240863eaf7a5333407cbe19c 08-Mar-2013 Adam Powell <adamp@google.com> am 5c8fa186: am c74a2681: am 74586dad: am 0c8486c1: am 29836199: Prevent strange falsing on SlidingPaneLayout

* commit '5c8fa186b808a602e63e4946928e8092beb2c365':
Prevent strange falsing on SlidingPaneLayout
c74a268113feee13f6b7a24b51a4e14fb4036155 08-Mar-2013 Adam Powell <adamp@google.com> am 74586dad: am 0c8486c1: am 29836199: Prevent strange falsing on SlidingPaneLayout

* commit '74586dad1b12166ef20673181086b335dc67c802':
Prevent strange falsing on SlidingPaneLayout
74586dad1b12166ef20673181086b335dc67c802 08-Mar-2013 Adam Powell <adamp@google.com> am 0c8486c1: am 29836199: Prevent strange falsing on SlidingPaneLayout

* commit '0c8486c19d4f1b2c0ad7650bf5a4cc95edb44462':
Prevent strange falsing on SlidingPaneLayout
29836199390f71d05b15eedb487c1f7465776f1d 08-Mar-2013 Adam Powell <adamp@google.com> Prevent strange falsing on SlidingPaneLayout

Make sure that SlidingPaneLayout isn't overly greedy with events.

Change-Id: Id89e72af44dd169018264858d25b4c2a75bfbb4a
upport/v4/widget/SlidingPaneLayout.java
10c0b4d1105912764affc7272b4ab9f492056ef3 08-Mar-2013 Adam Powell <adamp@google.com> am e2af9daf: am eae2e228: am 1795f1ee: am 11a7e59f: am 79982691: Fix crash caused by ViewDragHelper

* commit 'e2af9dafe4893f743fd16586a37d8f7f15861ddb':
Fix crash caused by ViewDragHelper
eae2e2281cb9fda7c4d56075c8dda5c35d3f74cd 08-Mar-2013 Adam Powell <adamp@google.com> am 1795f1ee: am 11a7e59f: am 79982691: Fix crash caused by ViewDragHelper

* commit '1795f1ee603c81b2af750c39f3047668fc7d75a6':
Fix crash caused by ViewDragHelper
1795f1ee603c81b2af750c39f3047668fc7d75a6 08-Mar-2013 Adam Powell <adamp@google.com> am 11a7e59f: am 79982691: Fix crash caused by ViewDragHelper

* commit '11a7e59f5983d8b43f851d9d41b35df4338d7cce':
Fix crash caused by ViewDragHelper
79982691769837348314818a3b5e0bc1625c74e9 08-Mar-2013 Adam Powell <adamp@google.com> Fix crash caused by ViewDragHelper

Make sure we have a valid view to try to capture before attempting a
slop check.

Bug 8342106

Change-Id: Ibb20c12b2a2e6ce950d3e2e978960e33788f2b2d
upport/v4/widget/ViewDragHelper.java
cdafda9f0228e8cb160a7c873d130dea4bbfea7c 08-Mar-2013 Jeff Sharkey <jsharkey@android.com> Provider to share private files between apps.

Apps should generally avoid sending raw filesystem paths across
process boundaries, since the receiving app may not have the same
access as the sender. Instead, apps should send Uris and rely on
platform features like grantUriPermission() to control access.

This provider is a simple implementation that services Uris which
are backed by raw files on disk. It relies on ContentProvider to
enforce the grants, and supports reading, writing, and deleting. It
responds to OpenableColumns and tries answering getType() using
file extensions.

Apps define supported paths in <meta-data> associated with their
<provider> manifest entries.

Bug: 7005318
Change-Id: Iceb4f2ce996221d2d85e009b62c856dcdf5eca14
upport/v4/content/FileProvider.java
6190a6cd3f0601f47eb43d78009f988e08e0e9a2 08-Mar-2013 Chet Haase <chet@google.com> Fix build due to bad link references in javadocs

(cherry picked from commit a308916a8ee35b799b03b9e8c87e8fad571a984b)

Change-Id: I585283acc05d366955b365f168db75643869da88
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
a308916a8ee35b799b03b9e8c87e8fad571a984b 08-Mar-2013 Chet Haase <chet@google.com> Fix build due to bad link references in javadocs

Change-Id: I00a0eec9d07f456bd7779fd9aa72c723a5eddd3b
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
f485644d3e70e56c300c5a2ee3a1faf3357b0dfe 08-Mar-2013 Jeff Brown <jeffbrown@google.com> am 4da48c41: am 1acd189b: Merge "Add media router and display manager to support library." into jb-mr2-dev

* commit '4da48c41d99903f4405e53b5e5dc5b5f059064bd':
Add media router and display manager to support library.
1acd189be01cbe07b17a32c83d4b190a658f401f 08-Mar-2013 Jeff Brown <jeffbrown@google.com> Merge "Add media router and display manager to support library." into jb-mr2-dev
bd930d7225c96d7d3aacc6092cb92d3e448425dd 08-Mar-2013 Adam Powell <adamp@google.com> am 38ce97c7: am 04772b30: am f653cedd: am ebb6ac58: am 791f31bb: Make DrawerLayout automatically close drawers on back button press

* commit '38ce97c7e7aafdca2cfc5b196be65e2e01db4257':
Make DrawerLayout automatically close drawers on back button press
04772b3092ec2ea798ee022496f2d1ed27a0a56c 08-Mar-2013 Adam Powell <adamp@google.com> am f653cedd: am ebb6ac58: am 791f31bb: Make DrawerLayout automatically close drawers on back button press

* commit 'f653cedd24efed40c9330504ffb4e62051e80539':
Make DrawerLayout automatically close drawers on back button press
f653cedd24efed40c9330504ffb4e62051e80539 08-Mar-2013 Adam Powell <adamp@google.com> am ebb6ac58: am 791f31bb: Make DrawerLayout automatically close drawers on back button press

* commit 'ebb6ac583b1aa6f4dc398b07626c186c5eea5112':
Make DrawerLayout automatically close drawers on back button press
791f31bbba40b8b51694a1b2cdc804f360786ed1 08-Mar-2013 Adam Powell <adamp@google.com> Make DrawerLayout automatically close drawers on back button press

DrawerLayout is now focusable in touch mode to facilitate this.

Also add KeyEventCompat tracking method shims.

Change-Id: I3e8619ae593db8d3be0a8e04c57869cb2833528a
upport/v4/view/KeyEventCompat.java
upport/v4/widget/DrawerLayout.java
c21f57ed68b81a77167f1df000b0e272e1598bc0 08-Mar-2013 Jeff Brown <jeffbrown@google.com> Add media router and display manager to support library.

The support library MediaRouter API is somewhat different from
the framework's existing MediaRouter API. It is designed to
be simpler and easier to extend.

In the new MediaRouter, routes are published by MediaRouteProviders.
MediaRouteProviders replace the concept of UserRoutes.
The built-in SystemMediaRouteProvider publishes the default
system routes and interoperates with the framework MediaRouter.

Each route now declares its capabilities and behaviors by way
of MediaControlIntents. The type of the route (live audio,
live video, or remote playback) is specified by the categories
of media control intents that the route supports. A route
may support any number of custom provider-defined media control
intent categories that provide access to specialized features.

The old concepts of route categories and route groups have
been removed. Route providers are now responsible for implementing
the route grouping and configuration through some UI of their
own that is not managed by the media router.

This patch does not include support for route icon drawables,
the new route picker UI or route provider services. These features
will be added in follow on patches.

Change-Id: I10cf078917d053a916254a5aa9d208b8cfd341ea
upport/v4/hardware/display/DisplayManagerCompat.java
upport/v4/media/MediaControlIntent.java
upport/v4/media/MediaRouteProvider.java
upport/v4/media/MediaRouter.java
upport/v4/media/MediaStreamMetadata.java
upport/v4/media/SystemMediaRouteProvider.java
88e572d7360501bae6d0451cd0b8923bf64353c5 07-Mar-2013 Adam Powell <adamp@google.com> am 33d095c3: am 85b312de: am b3294eed: am 95f9ce58: am 32a53a67: DrawerLayout touch behavior tuning

* commit '33d095c3d6b2b4e1c1473141227459de7d9276c6':
DrawerLayout touch behavior tuning
85b312ded5be5639e73c320c50d893db5f80c125 07-Mar-2013 Adam Powell <adamp@google.com> am b3294eed: am 95f9ce58: am 32a53a67: DrawerLayout touch behavior tuning

* commit 'b3294eed173196a92301a7a126d28f14435a8f9f':
DrawerLayout touch behavior tuning
b3294eed173196a92301a7a126d28f14435a8f9f 07-Mar-2013 Adam Powell <adamp@google.com> am 95f9ce58: am 32a53a67: DrawerLayout touch behavior tuning

* commit '95f9ce5845e6d012667c5c351b8528957545eab8':
DrawerLayout touch behavior tuning
32a53a670d1f6ff07454135a22e970f2154260dc 07-Mar-2013 Adam Powell <adamp@google.com> DrawerLayout touch behavior tuning

Don't respect requestDisallowInterceptTouchEvent(true) if a peek is
currently in progress, to allow the user to finish pulling out the
peeking drawer. (This may or may not work out well in practice, but
let's try it.)

Fix a bug where touch distance truncation errors were being
unnecessarily accounted for.

Change-Id: Ic6de9befb58fd3b9741eb33add5088566f63ebcf
upport/v4/widget/DrawerLayout.java
upport/v4/widget/ViewDragHelper.java
049b1c0d7403aec7e4a6b1b5655672cb60f12fc7 07-Mar-2013 Adam Powell <adamp@google.com> am 4d3f0f4d: am 65c3f741: am cc78de19: am a64a48ea: am b562d856: DrawerLayout features/bugfixes/tuning/optimization

* commit '4d3f0f4d28e86189d98b4dbba28305b33cb4100b':
DrawerLayout features/bugfixes/tuning/optimization
65c3f741461ceaaa6107ee7fcb7082950ffd6b41 07-Mar-2013 Adam Powell <adamp@google.com> am cc78de19: am a64a48ea: am b562d856: DrawerLayout features/bugfixes/tuning/optimization

* commit 'cc78de19167194167d304275a04cfacd8e2fef5c':
DrawerLayout features/bugfixes/tuning/optimization
cc78de19167194167d304275a04cfacd8e2fef5c 07-Mar-2013 Adam Powell <adamp@google.com> am a64a48ea: am b562d856: DrawerLayout features/bugfixes/tuning/optimization

* commit 'a64a48ea14472182e0136b6781c7a273821bf64d':
DrawerLayout features/bugfixes/tuning/optimization
b562d856f6ff58b7fc421a3b0cd1e0e089b994ab 07-Mar-2013 Adam Powell <adamp@google.com> DrawerLayout features/bugfixes/tuning/optimization

Add the ability to draw shadows on the edges of drawers.

Further optimize drawing (or not drawing) of drawers. Clip the content
view if an area is covered by an opaque drawer.

Mark offscreen drawer views as invisible.

Fix a bug where an edge touch would peek (and thereby close) a drawer.

Change-Id: I6ae12ee9d7118aa3209aeb93ead86ca5c9292f82
upport/v4/widget/DrawerLayout.java
17ff46f15afa53d8ffa9448d4a74dc8b005a4e85 06-Mar-2013 Adam Powell <adamp@google.com> am 20dc317a: am 67bdfd32: am c56a7bbf: am 7cdbb89c: am 471f0f4e: Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code

* commit '20dc317a0a939da67db25808df7fabc387d44f3f':
Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code
67bdfd32b2fcf6374364d65bd882f709f45fad36 06-Mar-2013 Adam Powell <adamp@google.com> am c56a7bbf: am 7cdbb89c: am 471f0f4e: Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code

* commit 'c56a7bbf134252754de49494f69c3da07ecc1d0b':
Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code
c56a7bbf134252754de49494f69c3da07ecc1d0b 06-Mar-2013 Adam Powell <adamp@google.com> am 7cdbb89c: am 471f0f4e: Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code

* commit '7cdbb89cd7e4cc192058c7db86a01b099d05ca3f':
Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code
471f0f4e84c7d1f96e48fb26713f246d69c3241f 06-Mar-2013 Adam Powell <adamp@google.com> Fix minor SlidingPaneLayout/ViewDragHelper bugs; remove dead code

Fix a bug where animations in progress wouldn't stop properly when a
relayout causes the layout to no longer be slideable.

Bug 8323761

Fix a bug in ViewDragHelper#isViewUnder. (Herp derp <> are hard)

Bug 8324172

Change-Id: Ia4b8d40277ba8384ce71eb39485ec3a215261bfc
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
98e4e82df0c121fc34367c4c9f4f47d182ef8ef5 06-Mar-2013 Adam Powell <adamp@google.com> am 187cdca8: am 2bd07b26: am 46d3a42c: am 5544eac9: am 1fbad11a: Quick fix for a ViewDragHelper touch bug

* commit '187cdca84d170ce4a0ab3c1cef7b2301b57da2f0':
Quick fix for a ViewDragHelper touch bug
7e65320e02f68cdfcc5111e5e2b7d3d59cc176aa 06-Mar-2013 Adam Powell <adamp@google.com> am c712c7cd: am a8c0ba3a: am 167d0187: am 962c4343: am 1d26501f: Initial DrawerLayout implementation

* commit 'c712c7cd0704f3afb124c63fd9e8d05e89ee7881':
Initial DrawerLayout implementation
2bd07b268277cce006978760bd28fc963486b58c 06-Mar-2013 Adam Powell <adamp@google.com> am 46d3a42c: am 5544eac9: am 1fbad11a: Quick fix for a ViewDragHelper touch bug

* commit '46d3a42ca8652f7f25dc6173f7cc126c0f6b22b3':
Quick fix for a ViewDragHelper touch bug
46d3a42ca8652f7f25dc6173f7cc126c0f6b22b3 06-Mar-2013 Adam Powell <adamp@google.com> am 5544eac9: am 1fbad11a: Quick fix for a ViewDragHelper touch bug

* commit '5544eac98af174c13e93308a5e3bab7c318882bb':
Quick fix for a ViewDragHelper touch bug
1fbad11af8f178d9fcee85dabe7cd8f24d2bc9a2 06-Mar-2013 Adam Powell <adamp@google.com> Quick fix for a ViewDragHelper touch bug

Use the proper backward compatible mechanism for extracting pointer
index/action codes.

Change-Id: I5ed567ef270b669652eaf61a7bdfa9ad0c451236
upport/v4/widget/ViewDragHelper.java
a8c0ba3a5a7157ffbf78703475ddb2e6f219ad24 06-Mar-2013 Adam Powell <adamp@google.com> am 167d0187: am 962c4343: am 1d26501f: Initial DrawerLayout implementation

* commit '167d0187f0a5a2e6c0b942739330e3b86f9f85fa':
Initial DrawerLayout implementation
167d0187f0a5a2e6c0b942739330e3b86f9f85fa 06-Mar-2013 Adam Powell <adamp@google.com> am 962c4343: am 1d26501f: Initial DrawerLayout implementation

* commit '962c4343fe72745b5f6cb5f22a41c1129dfb1fd1':
Initial DrawerLayout implementation
1d26501f0c8e9f3577f651938a03f6b3a1a672c7 01-Mar-2013 Adam Powell <adamp@google.com> Initial DrawerLayout implementation

Add new UI toolkit compat shims to support bidi resolution:
* GravityCompat
* ViewCompat layout direction methods

Add DrawerLayout, making use of ViewDragHelper.

Fix some bugs in ViewDragHelper and tweak the API.

Change-Id: I56103ed155b83d16b80dba7d4c3054bb63fd8ea7
upport/v4/view/GravityCompat.java
upport/v4/view/ViewCompat.java
upport/v4/widget/DrawerLayout.java
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
d8402b0fabde689f1d4887d606c75013c2452a67 05-Mar-2013 Adam Powell <adamp@google.com> am 25f5a070: am 5f86984b: am 2a589516: am 9b8d1242: am 6580cf4b: Fix ViewDragHelper/SlidingPaneLayout bugs

* commit '25f5a070bfeb2cc453a748bcd17042ee9908a49d':
Fix ViewDragHelper/SlidingPaneLayout bugs
5f86984b6bf2b136f57fb203ab4f29dc7a60277e 05-Mar-2013 Adam Powell <adamp@google.com> am 2a589516: am 9b8d1242: am 6580cf4b: Fix ViewDragHelper/SlidingPaneLayout bugs

* commit '2a5895160fa86c5a7c09588c1c08b6752a597226':
Fix ViewDragHelper/SlidingPaneLayout bugs
2a5895160fa86c5a7c09588c1c08b6752a597226 05-Mar-2013 Adam Powell <adamp@google.com> am 9b8d1242: am 6580cf4b: Fix ViewDragHelper/SlidingPaneLayout bugs

* commit '9b8d12425dc8cd4ab9dd5a548ba3a5b3261b0b1d':
Fix ViewDragHelper/SlidingPaneLayout bugs
6580cf4b7e74a2a017ed95b0dc50155b9995edeb 02-Mar-2013 Adam Powell <adamp@google.com> Fix ViewDragHelper/SlidingPaneLayout bugs

Fix an overzealous and buggy edge drag detector. Tune animation
timing. Make sure that captured views become un-captured.

Change-Id: Ib2122082fdbab12256743760995b148717c664bd
upport/v4/widget/ScrollerCompat.java
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
c1e87ac17c772ee3c5fd3b3f08321226e2c7ffa4 01-Mar-2013 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>
upport/v4/app/FragmentManager.java
8ae0391b222937994c3a5762f290ad64aa768baf 01-Mar-2013 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>
upport/v4/app/FragmentActivity.java
461b48b4588ac21b97aa40553f04222c2c0344e7 28-Feb-2013 Chris Banes <chrisbanes@google.com> 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>
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/view/ActionProvider.java
upport/v4/view/Menu.java
upport/v4/view/MenuInflater.java
upport/v4/view/MenuItem.java
upport/v4/view/SubMenu.java
0dd27ec5700297958b4d312131434c0420c4e2dd 01-Mar-2013 Adam Powell <adamp@google.com> am e2a8c471: am 607f7583: am c30e9f8d: am 3f50aafe: Fix SlidingPaneLayout dim threshold calculation

* commit 'e2a8c471e341b87448e38bff85c8937025f178c7':
Fix SlidingPaneLayout dim threshold calculation
e2a8c471e341b87448e38bff85c8937025f178c7 01-Mar-2013 Adam Powell <adamp@google.com> am 607f7583: am c30e9f8d: am 3f50aafe: Fix SlidingPaneLayout dim threshold calculation

* commit '607f7583619aa14c42cf9ca51cce9b608f02ba8a':
Fix SlidingPaneLayout dim threshold calculation
607f7583619aa14c42cf9ca51cce9b608f02ba8a 01-Mar-2013 Adam Powell <adamp@google.com> am c30e9f8d: am 3f50aafe: Fix SlidingPaneLayout dim threshold calculation

* commit 'c30e9f8d71de3c5e2509a624f650af4ef07d3991':
Fix SlidingPaneLayout dim threshold calculation
3f50aafe43ea3c7d1c09fbd7afa87bf7453beb18 01-Mar-2013 Adam Powell <adamp@google.com> Fix SlidingPaneLayout dim threshold calculation

Bug 8178354

Change-Id: I4fc5e0a872a0697633ecc9f87208f4df2a96388e
upport/v4/widget/SlidingPaneLayout.java
5307443fb855b936fe85db140fe132e8b7fb58af 28-Feb-2013 Adam Powell <adamp@google.com> am c9b1613a: am 4d3b5a07: am 5e2013a3: am b9e34c7d: Make ScrollerCompat public/expand it

* commit 'c9b1613aff016e8e29200b2426d24f801c0c6a9b':
Make ScrollerCompat public/expand it
c9b1613aff016e8e29200b2426d24f801c0c6a9b 28-Feb-2013 Adam Powell <adamp@google.com> am 4d3b5a07: am 5e2013a3: am b9e34c7d: Make ScrollerCompat public/expand it

* commit '4d3b5a07dcf56187f85bff9a004817cc0b815961':
Make ScrollerCompat public/expand it
4d3b5a07dcf56187f85bff9a004817cc0b815961 28-Feb-2013 Adam Powell <adamp@google.com> am 5e2013a3: am b9e34c7d: Make ScrollerCompat public/expand it

* commit '5e2013a32cb6f9d1cf102c1331a5c1a8c1a6730b':
Make ScrollerCompat public/expand it
b9e34c7d443082d5ee2b90a0e6788523d8df0df1 28-Feb-2013 Adam Powell <adamp@google.com> Make ScrollerCompat public/expand it

ScrollerCompat is now available for all of your
scrolling-compatibility needs! It will automatically select Scroller
or OverScroller as the internal implementation as appropriate for the
underlying platform version.

Extra OverScroller methods are no-ops on devices that do not support
them.

Change-Id: I0536327eddb3ef75ccae3fb76609bff2f75976d9
upport/v4/widget/ScrollerCompat.java
0b2a9d7e19326fad5792501c8bf6212e22615e4b 28-Feb-2013 Adam Powell <adamp@google.com> am 20b97817: am c04bbbd7: am 77ac1399: am c56ba65d: Factor ViewDragHelper out from SlidingPaneLayout

* commit '20b97817bdcee7aed1374664b86d376a9dcb9d86':
Factor ViewDragHelper out from SlidingPaneLayout
ffe0b0cac90bf1f7cc8b5e4adca9364ca9adc7a4 20-Feb-2013 Chris Banes <chrisbanes@google.com> 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
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
20b97817bdcee7aed1374664b86d376a9dcb9d86 28-Feb-2013 Adam Powell <adamp@google.com> am c04bbbd7: am 77ac1399: am c56ba65d: Factor ViewDragHelper out from SlidingPaneLayout

* commit 'c04bbbd704789218eb0d26b74586f45db2f220a0':
Factor ViewDragHelper out from SlidingPaneLayout
c04bbbd704789218eb0d26b74586f45db2f220a0 28-Feb-2013 Adam Powell <adamp@google.com> am 77ac1399: am c56ba65d: Factor ViewDragHelper out from SlidingPaneLayout

* commit '77ac13995db727bcbd5abcb427852c3c2d48e255':
Factor ViewDragHelper out from SlidingPaneLayout
c56ba65d20be8742ff717907a3a2cd81dd0e5f3c 25-Feb-2013 Adam Powell <adamp@google.com> Factor ViewDragHelper out from SlidingPaneLayout

Prepare ViewDragHelper to be a solid common component for dragging
views around within a custom parent view.

Implement SlidingPaneLayout in terms of ViewDragHelper.

Change-Id: Id30804b879766a87cbadf5dc59f5b7b69b12010e
upport/v4/widget/ScrollerCompat.java
upport/v4/widget/SlidingPaneLayout.java
upport/v4/widget/ViewDragHelper.java
7445e6650a79b2c70d11d2185534e47595bc7563 15-Feb-2013 Adam Powell <adamp@google.com> am 58c4787b: am 93325a5e: am f48af331: Fix missing onSingleTapConfirmed calls in GestureDetectorCompat

* commit '58c4787b4902d11fbe330fa0d4128b9b0298b858':
Fix missing onSingleTapConfirmed calls in GestureDetectorCompat
58c4787b4902d11fbe330fa0d4128b9b0298b858 15-Feb-2013 Adam Powell <adamp@google.com> am 93325a5e: am f48af331: Fix missing onSingleTapConfirmed calls in GestureDetectorCompat

* commit '93325a5eff7807f20fa969f8157cc33ce0279f95':
Fix missing onSingleTapConfirmed calls in GestureDetectorCompat
f48af3312a4f63d8ce232fe7476932c0201774d9 15-Feb-2013 Adam Powell <adamp@google.com> Fix missing onSingleTapConfirmed calls in GestureDetectorCompat

Eliminate the short period of time between the tap timeout and long
press causing onSingleTapConfirmed not to be dispatched when apps
expect.

Raise the API version where the detector backport will be used so that
API 17 apps will benefit from this change.

Bug 8124095

Change-Id: I4de4ba662f81dbd84cc92706223b33d27a4bc1f2
upport/v4/view/GestureDetectorCompat.java
1896d4b0817113a7ee263b83daf5d81f661588ef 15-Feb-2013 Adam Powell <adamp@google.com> am c7c0666b: am bfb679da: am 1e43161e: SlidingPaneLayout tweaks, fixes and optimizations

# Via Android Git Automerger (2) and Adam Powell (1)
* commit 'c7c0666b61ed23ce6913776c4dfab3e4a7bec6cf':
SlidingPaneLayout tweaks, fixes and optimizations
c7c0666b61ed23ce6913776c4dfab3e4a7bec6cf 15-Feb-2013 Adam Powell <adamp@google.com> am bfb679da: am 1e43161e: SlidingPaneLayout tweaks, fixes and optimizations

# Via Adam Powell (1) and Android Git Automerger (1)
* commit 'bfb679da9f752dcab602ebc86ba8dca7a5f0b6b7':
SlidingPaneLayout tweaks, fixes and optimizations
1e43161e9e1f1dc10637a68d5c2304c1f95c9c46 15-Feb-2013 Adam Powell <adamp@google.com> SlidingPaneLayout tweaks, fixes and optimizations

* Always draw the shadow between panes, regardless of whether or not
one will slide.

* Clip the overlapped child view against the slider to avoid extra
overdraw.

* Make the default open/close animation duration a little bit longer.

* End the scroll operation as soon as the final position is reached,
even if the official duration would linger a bit.

Change-Id: I982a12d3f322733e7231f70019a6996014f9504c
upport/v4/widget/SlidingPaneLayout.java
094899e485a7b67e0c6c5f1055444598b1f9ce9d 12-Feb-2013 Adam Powell <adamp@google.com> am 1304aa94: am 042c7cd2: am 199a13cf: Throw exception if PagerAdapters are modified without notifyDataSetChanged

# Via Android Git Automerger (2) and Adam Powell (1)
* commit '1304aa9430bef5f11672f530f62116b00c34be9a':
Throw exception if PagerAdapters are modified without notifyDataSetChanged
1304aa9430bef5f11672f530f62116b00c34be9a 12-Feb-2013 Adam Powell <adamp@google.com> am 042c7cd2: am 199a13cf: Throw exception if PagerAdapters are modified without notifyDataSetChanged

# Via Adam Powell (1) and Android Git Automerger (1)
* commit '042c7cd2a81817cdf01f6459beed5880f9aaf3ff':
Throw exception if PagerAdapters are modified without notifyDataSetChanged
199a13cf79b43494ea381a91ee67f0da1f1d10de 12-Feb-2013 Adam Powell <adamp@google.com> Throw exception if PagerAdapters are modified without notifyDataSetChanged

ViewPager is all grown up! Fail as fast as we can if we detect that
the adapter has changed without telling us.

Change-Id: Ic48435c8437f4b0ecd38bfb66923c3c834136950
upport/v4/view/ViewPager.java
38e848cab6e6d50c45b443c2f3d09eb412698734 08-Feb-2013 Adam Powell <adamp@google.com> am b0b9bbc9: am ae607047: am 29d4f2a8: Merge "Allow tweaking SlidingPaneLayout fade colors/behavior" into jb-mr1.1-ub-dev

# Via Android Git Automerger (2) and others
* commit 'b0b9bbc93e1b3418207babf6811c081831def42b':
Allow tweaking SlidingPaneLayout fade colors/behavior
b0b9bbc93e1b3418207babf6811c081831def42b 08-Feb-2013 Adam Powell <adamp@google.com> am ae607047: am 29d4f2a8: Merge "Allow tweaking SlidingPaneLayout fade colors/behavior" into jb-mr1.1-ub-dev

# Via Adam Powell (1) and others
* commit 'ae607047b082c42ddc3ddba37e8598e98074f103':
Allow tweaking SlidingPaneLayout fade colors/behavior
29d4f2a8f43cee089d7bd919e0e6985521f02968 08-Feb-2013 Adam Powell <adamp@google.com> Merge "Allow tweaking SlidingPaneLayout fade colors/behavior" into jb-mr1.1-ub-dev
81e2f002d1b4ebf2d951eb9f239858b8a9481a24 08-Feb-2013 Adam Powell <adamp@google.com> Allow tweaking SlidingPaneLayout fade colors/behavior

The methods setSliderFadeColor and setCoveredFadeColor now allow the
developer to configure the fading colors used for each pane. A value
of 0 (fully transparent black) may be used to disable color filters
for that pane.

Change-Id: Ibd667752c140a8ebfd71e8be90578beb4aacab04
upport/v4/widget/SlidingPaneLayout.java
4a7420aa5bf8974446284ced17928baeee7cd1bd 08-Feb-2013 Adam Powell <adamp@google.com> am b83e059e: am ec0f9b59: am 94a8e450: Merge "Increase base duration of SlidingPaneLayout programmatic scrolling" into jb-mr1.1-ub-dev

# Via Android Git Automerger (2) and others
* commit 'b83e059ee6fcb0e4e81acaf07fc8dd61533bf46b':
Increase base duration of SlidingPaneLayout programmatic scrolling
b83e059ee6fcb0e4e81acaf07fc8dd61533bf46b 08-Feb-2013 Adam Powell <adamp@google.com> am ec0f9b59: am 94a8e450: Merge "Increase base duration of SlidingPaneLayout programmatic scrolling" into jb-mr1.1-ub-dev

# Via Adam Powell (1) and others
* commit 'ec0f9b59c28d40fe1347337f7672f816b0b25f71':
Increase base duration of SlidingPaneLayout programmatic scrolling
94a8e450dcf88fd3e7328806d34ef12790ca13e1 08-Feb-2013 Adam Powell <adamp@google.com> Merge "Increase base duration of SlidingPaneLayout programmatic scrolling" into jb-mr1.1-ub-dev
25960879b469f037614b1ff04c8b0d0739523fc3 08-Feb-2013 Adam Powell <adamp@google.com> Increase base duration of SlidingPaneLayout programmatic scrolling

Don't open/close the sliding pane quite so fast.

Bug 8156144

Change-Id: Iff89efb48f82b7882bdf3ebc560c24e942b449e1
upport/v4/widget/SlidingPaneLayout.java
1ad61b390cca3d71ac8281138af142eb6c2f0307 08-Feb-2013 Adam Powell <adamp@google.com> am 3727cc09: am d2212801: am 3c273907: Merge "Don\'t hide SlidingPaneLayout shadows if things don\'t slide" into jb-mr1.1-ub-dev

# Via Android Git Automerger (2) and others
* commit '3727cc09ed4c616e460f4359d8cd095f01bd0136':
Don't hide SlidingPaneLayout shadows if things don't slide
3727cc09ed4c616e460f4359d8cd095f01bd0136 08-Feb-2013 Adam Powell <adamp@google.com> am d2212801: am 3c273907: Merge "Don\'t hide SlidingPaneLayout shadows if things don\'t slide" into jb-mr1.1-ub-dev

# Via Adam Powell (1) and others
* commit 'd2212801cdedec01cd0c8c11ed3531112f6f1d30':
Don't hide SlidingPaneLayout shadows if things don't slide
3c2739074aa3f09b03bd276cbccc1198677006a6 08-Feb-2013 Adam Powell <adamp@google.com> Merge "Don't hide SlidingPaneLayout shadows if things don't slide" into jb-mr1.1-ub-dev
3783c4b814bf70711fc4d674e9c7fbc34b1e5a83 08-Feb-2013 Adam Powell <adamp@google.com> Don't hide SlidingPaneLayout shadows if things don't slide

UX change; provided shadows should be drawn regardless of whether or
not the panes fit together without sliding.

Bug 8156151

Change-Id: Iecee767fbc5cde0078f7f8a84f5cefa6b74f6c13
upport/v4/widget/SlidingPaneLayout.java
635c29b8371397209e07a7dc39f1f84b1712a17c 08-Feb-2013 Adam Powell <adamp@google.com> am 2ef37cfa: am b07fd80f: am d7346782: Merge "SlidingPaneLayout layout stability fixes" into jb-mr1.1-ub-dev

# Via Android Git Automerger (2) and others
* commit '2ef37cfa24bc07588a5c969cbe00c17e0b27da04':
SlidingPaneLayout layout stability fixes
2ef37cfa24bc07588a5c969cbe00c17e0b27da04 08-Feb-2013 Adam Powell <adamp@google.com> am b07fd80f: am d7346782: Merge "SlidingPaneLayout layout stability fixes" into jb-mr1.1-ub-dev

# Via Adam Powell (1) and others
* commit 'b07fd80f5c211e9839192276d684ecde713190e5':
SlidingPaneLayout layout stability fixes
d7346782caa25cfffa5573b72f5fce3124f214dd 08-Feb-2013 Adam Powell <adamp@google.com> Merge "SlidingPaneLayout layout stability fixes" into jb-mr1.1-ub-dev
06506fed3ad33981810ac780bb8c1779e759dcfa 08-Feb-2013 Adam Powell <adamp@google.com> SlidingPaneLayout layout stability fixes

Fix some bugs around SlidingPaneLayout triggering a layout during a
drag.

Change-Id: I86852f5e11c59b9a3f19e196947bffa09e969206
upport/v4/widget/SlidingPaneLayout.java
209f272d4af29e4994426fb3f3ef2d5781270ec2 08-Feb-2013 Dake Gu <dake@google.com> am 3337f221: am 43af83be: am 860155ee: ViewPager: handle focus direction properly

# Via Android Git Automerger (2) and Dake Gu (1)
* commit '3337f221afc8755ef78f9e345566f6e55fa4d0aa':
ViewPager: handle focus direction properly
3337f221afc8755ef78f9e345566f6e55fa4d0aa 08-Feb-2013 Dake Gu <dake@google.com> am 43af83be: am 860155ee: ViewPager: handle focus direction properly

# Via Android Git Automerger (1) and Dake Gu (1)
* commit '43af83be83fb417fe1aaaec8d460e406313e9f9d':
ViewPager: handle focus direction properly
860155ee7a4c7968f3cbe1d8dbb0c8a35f9fec2d 07-Feb-2013 Dake Gu <dake@google.com> ViewPager: handle focus direction properly

When pageLeft() creates a new page, use FOCUS_LEFT to find the proper
child to focus on.

Change-Id: Ie124823b22759fac9351ddf64196fb1e3a9c752f
upport/v4/view/ViewPager.java
885afc30ec1a5c5e248c41c0ed8c747bff9d3507 07-Feb-2013 Jeffrey Brown <jeffbrown@android.com> am 0ae098d0: am edb2ce86: Merge "Clear loaders array after they are destroyed."

# By Roman Mazur
# Via Android Git Automerger (1) and others
* commit '0ae098d0ccd89af6780d934df570e8e4a4c91002':
Clear loaders array after they are destroyed.
0ae098d0ccd89af6780d934df570e8e4a4c91002 07-Feb-2013 Jeffrey Brown <jeffbrown@android.com> am edb2ce86: Merge "Clear loaders array after they are destroyed."

# By Roman Mazur
# Via Gerrit Code Review (1) and Roman Mazur (1)
* commit 'edb2ce86c2d08e3381dc62f0ffc95bc115afba5a':
Clear loaders array after they are destroyed.
edb2ce86c2d08e3381dc62f0ffc95bc115afba5a 07-Feb-2013 Jeffrey Brown <jeffbrown@android.com> Merge "Clear loaders array after they are destroyed."
0fc5bd7644f7563f7b59bd1017df9c938857e794 05-Feb-2013 Svetoslav <svetoslavganov@google.com> Updating support lib v4 with new accessibility APIs.

1. Adding support for the new APIs for getting/setting the
view id of the AccessibilityNodeInfo's source.

2. Adding toString() APIs to AccessibilityNodeInfo to workaround
a framework issue where we throw an exception if one of the
node actions is not known for the current platform version.
Unfortunately the exception throwing code is already shipped
and clients should use the support lib to avoid crashing.

3. Adding new constants from AccessibilityServiceInfo to the
corresponding support class.

bug:8131980

Change-Id: I7ec484800c2adf8c1d6f49ffeeed551ff5e6ad26
upport/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
0648a0bacd1a0f6576963993ca458f196cd92eac 04-Feb-2013 Adam Powell <adamp@google.com> am 5f5ee5b6: am 9c35da04: am ee3f0ffb: SlidingPaneLayout features

# Via Android Git Automerger (2) and Adam Powell (1)
* commit '5f5ee5b6e2ca785c5e37e60c42f41caa1a60e548':
SlidingPaneLayout features
ee3f0ffb0199e295cbf48aa1a61c8ae7056526ab 01-Feb-2013 Adam Powell <adamp@google.com> SlidingPaneLayout features

Add support for shadows between panes and dimming both panes.

Change-Id: I7b24436a81e59c03fb09edfc27fdc7b11a84f8c5
upport/v4/widget/SlidingPaneLayout.java
7e68bcde16b5ad2fbb1c2b972c0f99741a67e582 30-Jan-2013 Adam Powell <adamp@google.com> am 73db3796: am d49e971f: am 44fc1398: Make ViewPager scroll to the current item after deferred populate

# Via Android Git Automerger (2) and Adam Powell (1)
* commit '73db37962049c4fc32eaec6c41905365fbe5ff26':
Make ViewPager scroll to the current item after deferred populate
44fc13985aed09d1fda3fdf2fd900ec13720a5df 30-Jan-2013 Adam Powell <adamp@google.com> Make ViewPager scroll to the current item after deferred populate

We defer the initial populate and setCurrentItem calls to first layout
when applicable. Make sure that we're scrolled so that the page is
visible in this case.

Bug 7974296

Change-Id: I4435a16cad325bd5c788082b553c184395ebdad1
upport/v4/view/ViewPager.java
4ba94ce2e78dac516d97e5633db81f43d4236673 29-Jan-2013 Adam Powell <adamp@google.com> am caf5ba49: am 2a8dbefa: am ad9696cf: Fix some layout bugs with SlidingPaneLayout

# Via Android Git Automerger (2) and Adam Powell (1)
* commit 'caf5ba494ad6b45298998cfa82c59af5521510a6':
Fix some layout bugs with SlidingPaneLayout
ad9696cf0da9b65c4a52f00fe5adaa17b99a05ca 29-Jan-2013 Adam Powell <adamp@google.com> Fix some layout bugs with SlidingPaneLayout

When combined with a ListView, using View#layout to move a view's
frame around could mistakenly clear the layout request bit, confusing
things quite effectively. Use the View#offset* method to move it
around instead.

Change-Id: Icc3c9303809ebddc9b1e60fd2fea5d3d0f8ca090
upport/v4/widget/SlidingPaneLayout.java
0224590df2cb31b9449676d7a90f385d6bb11ddc 28-Jan-2013 Adam Cohen <adamcohen@google.com> am 3ef43c0f: am addfb977: am fba5d142: Making registering and unregistering DataSetObservable on PagerAdapter public

# Via Android Git Automerger (2) and Adam Cohen (1)
* commit '3ef43c0fe477cfed04cac55eb3c65013c38f7574':
Making registering and unregistering DataSetObservable on PagerAdapter public
fba5d14230cf87eb238050b4a1ebe457a85dc0b6 26-Jan-2013 Adam Cohen <adamcohen@google.com> Making registering and unregistering DataSetObservable on PagerAdapter public

Change-Id: Ie3beb0704177d8c25a6d632e1059b366027d3207
upport/v4/view/PagerAdapter.java
a3a81cbf15b40b0e617c36cd8683af97794e7f2c 24-Jan-2013 Adam Powell <adamp@google.com> am 34f641b8: am fb897e1c: Manually cherry-pick patch skipped by automerger

# Via Adam Powell (1) and Android Git Automerger (1)
* commit '34f641b8a265301212282fa066d0bd4cb2a459e9':
Manually cherry-pick patch skipped by automerger
fb897e1cdec9b60517bb07f8c54f330275a6c281 16-Jan-2013 Adam Powell <adamp@google.com> Manually cherry-pick patch skipped by automerger

am 0bb301ec: Remove cruft from ViewPager

* commit '0bb301ec35dcaf2ea9c2010790d7eadb1918b8cb':
Remove cruft from ViewPager

Conflicts:
v4/java/android/support/v4/view/ViewPager.java

Change-Id: Iaa705fa1eb8dea55a4161dc52b1a6633f6d1c13d
upport/v4/view/ViewPager.java
a20bbdbf66ca21c8fc10973fb66cafe4018c023a 16-Jan-2013 Adam Powell <adamp@google.com> am 0bb301ec: Remove cruft from ViewPager

* commit '0bb301ec35dcaf2ea9c2010790d7eadb1918b8cb':
Remove cruft from ViewPager
0bb301ec35dcaf2ea9c2010790d7eadb1918b8cb 11-Jan-2013 Adam Powell <adamp@google.com> Remove cruft from ViewPager

Change-Id: I9ea9d5469db97188b85a375edc5f38cc7e9bddac
upport/v4/view/ViewPager.java
5a32bd661bd26d706dcb419515226e4785194425 10-Jan-2013 Adam Powell <adamp@google.com> resolved conflicts for merge of 4093b897 to master

Change-Id: I2d1d51613bb2cb0d91e5d96f76d11d8bde8fd7e4
2f501abba7b39b3cc4299b6844ce51385eb479e3 08-Jan-2013 Adam Powell <adamp@google.com> am 0eefe9ad: Simplify implementation of SlidingPaneLayout

* commit '0eefe9ad0819b223006533cbc79a35d66684af32':
Simplify implementation of SlidingPaneLayout
0eefe9ad0819b223006533cbc79a35d66684af32 18-Dec-2012 Adam Powell <adamp@google.com> Simplify implementation of SlidingPaneLayout

Cut features that aren't needed. Fix some bogus invalidation problems.

Also cherry-pick dependency dc56c78a7e:

Have SlidingPaneLayout respect GONE children

Don't measure or layout a child view that is GONE. Ignore parallax
settings if nothing can slide.
upport/v4/widget/SlidingPaneLayout.java
309812085426ca169ee9f8ce4151f18498e7369b 04-Jan-2013 Roman Nurik <romannurik@google.com> am f30d5b70: am cd4e583f: am 49714d66: Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.

* commit 'f30d5b705415175b017f3750e55a157c07d5ae41':
Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.
cd4e583f9065875f7ed0a5bafff2413a38189ca1 04-Jan-2013 Roman Nurik <romannurik@google.com> am 49714d66: Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.

* commit '49714d665f839c4804a17eea129092f8b472926d':
Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.
49714d665f839c4804a17eea129092f8b472926d 04-Jan-2013 Roman Nurik <romannurik@google.com> Add missing NotificationCompat.BigPictureStyle.bigLargeIcon method.

Bug 7599054

Change-Id: I6691d4ca6ba3520962ba7a4dd9ae3978066a8f39
upport/v4/app/NotificationCompat.java
1cb19c94c1fb2cbd55747149d1a1e35d60cefa7d 18-Dec-2012 The Android Automerger <android-build@android.com> am 3199a907: keep history after reset

* commit '3199a907e0f45c09f3fa05a9a7fae7ec9f1b56a9':
6a5642de021e573f3981d863923161db1e60f326 18-Dec-2012 Adam Powell <adamp@google.com> am d267c93c: Fix a bug that could cause ViewPager to select the wrong page

* commit 'd267c93c774c51addeb3cc6bfa64d729ce238d54':
Fix a bug that could cause ViewPager to select the wrong page
dc56c78a7e2d06c9aabd3e90448c81671d8c05b1 18-Dec-2012 Adam Powell <adamp@google.com> Have SlidingPaneLayout respect GONE children

Don't measure or layout a child view that is GONE. Ignore parallax
settings if nothing can slide.

Change-Id: I0138b01dfd878ddc37aa9197078308a52606ed18
upport/v4/widget/SlidingPaneLayout.java
e1d2480ed2e1f7dae94ef6fa21f07ece51846f2f 17-Dec-2012 Adam Powell <adamp@google.com> am 7780b0a3: am fc07ed20: am d267c93c: Fix a bug that could cause ViewPager to select the wrong page

* commit '7780b0a37447fb0e91f034ac4f9947c5415c801e':
Fix a bug that could cause ViewPager to select the wrong page
7780b0a37447fb0e91f034ac4f9947c5415c801e 17-Dec-2012 Adam Powell <adamp@google.com> am fc07ed20: am d267c93c: Fix a bug that could cause ViewPager to select the wrong page

* commit 'fc07ed20f2b9231abf0f885678c80b5b76b76eb3':
Fix a bug that could cause ViewPager to select the wrong page
fc07ed20f2b9231abf0f885678c80b5b76b76eb3 17-Dec-2012 Adam Powell <adamp@google.com> am d267c93c: Fix a bug that could cause ViewPager to select the wrong page

* commit 'd267c93c774c51addeb3cc6bfa64d729ce238d54':
Fix a bug that could cause ViewPager to select the wrong page
d267c93c774c51addeb3cc6bfa64d729ce238d54 17-Dec-2012 Adam Powell <adamp@google.com> Fix a bug that could cause ViewPager to select the wrong page

Change-Id: If9cf9bed7ee2a932be0666cdca38be748e600a63
upport/v4/view/ViewPager.java
9236f275892648cb06fe01da6196994f14cd56cc 14-Dec-2012 Adam Powell <adamp@google.com> am 0f1e7f18: am 76a83388: am 16991ca8: Tweak ViewPager behavior for more DWIM goodness

* commit '0f1e7f18cfe2033b23cd0495633eb352928d99ac':
Tweak ViewPager behavior for more DWIM goodness
0f1e7f18cfe2033b23cd0495633eb352928d99ac 14-Dec-2012 Adam Powell <adamp@google.com> am 76a83388: am 16991ca8: Tweak ViewPager behavior for more DWIM goodness

* commit '76a83388cc7a878f51a052d2345d097ef42e2ad1':
Tweak ViewPager behavior for more DWIM goodness
76a83388cc7a878f51a052d2345d097ef42e2ad1 14-Dec-2012 Adam Powell <adamp@google.com> am 16991ca8: Tweak ViewPager behavior for more DWIM goodness

* commit '16991ca86a49023bf6eb47b4e215bb1f2209de6d':
Tweak ViewPager behavior for more DWIM goodness
16991ca86a49023bf6eb47b4e215bb1f2209de6d 14-Dec-2012 Adam Powell <adamp@google.com> Tweak ViewPager behavior for more DWIM goodness

* Enforce a more deliberate motion in the direction of paging to begin
paging

* Use a pumped-up minimum velocity threshold for flinging to next page

* Bias dropped paging (below velocity threshold) toward staying on the
current page

Bug 7726180

Change-Id: Ie38f77d1a52a7152e86a6b9c40b0941e24138532
upport/v4/view/ViewPager.java
01cb45afa8d4a1a3f1139f14c66c11e1954e1020 13-Dec-2012 Adam Powell <adamp@google.com> Merge "SlidingPaneLayout features"
6debd2bbcae1cd285d2e21db633998b7801f9f40 04-Dec-2012 Adam Powell <adamp@google.com> SlidingPaneLayout features

Add setLayerPaint to ViewCompat

Add support for margins and parallax to SlidingPaneLayout

Change-Id: Iddc44ba42d5021ded524e5c9835e5416e3f61867
upport/v4/view/ViewCompat.java
upport/v4/widget/SlidingPaneLayout.java
fdd9223ac2d8fc0c7a74a076c1cd4defc7acf499 12-Dec-2012 Adam Powell <adamp@google.com> Fix for ViewPager population error on first layout

Before first layout, ViewPager doesn't have enough information to
properly instantiate enough pages to fill at least the offscreen page
count pages width worth of content to either side. (Width is needed.)

Defer this initial population when setting an adapter and a few other
cases. Also avoid additional calls to populate when they aren't
needed/will be redundant.

Bug 7724771

Change-Id: I8cc565c9f3f40e9466e756625716a3d07583ffd6
upport/v4/view/ViewPager.java
6a52bca0d3aaca1abb9601c1cb808dc93d5ff747 12-Dec-2012 Adam Powell <adamp@android.com> am f086fd33: am 2008690a: Merge "Add compatibility implementation of ActivityOptions and start activity."

* commit 'f086fd33c03d16c62f161bc9abca8fdeba8487ae':
Add compatibility implementation of ActivityOptions and start activity.
f086fd33c03d16c62f161bc9abca8fdeba8487ae 12-Dec-2012 Adam Powell <adamp@android.com> am 2008690a: Merge "Add compatibility implementation of ActivityOptions and start activity."

* commit '2008690a1097b1f6aabf702e3f1700c06f57d141':
Add compatibility implementation of ActivityOptions and start activity.
2008690a1097b1f6aabf702e3f1700c06f57d141 12-Dec-2012 Adam Powell <adamp@android.com> Merge "Add compatibility implementation of ActivityOptions and start activity."
3a96487b54eca412f51ad00b8f8096055e94dcbb 13-Jul-2012 Jake Wharton <jakewharton@gmail.com> Add compatibility implementation of ActivityOptions and start activity.

This will allow for constructing ActivityOptions and starting an activity
using them in a backwards-compatible way. The implementation is only used
on API 16 and newer. On platforms prior to API 16 the traditional
startActivity and startActivityForResult methods are used.

Change-Id: I86c0df28dadc391b340303d448c70a25d33a76de
upport/v4/app/ActivityCompat.java
upport/v4/app/ActivityOptionsCompat.java
def2fb3f51b05d0ba07476fb53e6c186ec1d46aa 08-Dec-2012 Dianne Hackborn <hackbod@google.com> am 506f1fb8: am 64c0f2e5: am 71249413: Fix build.

* commit '506f1fb84b693330c93296ab65a85fd9eeb5c0e2':
Fix build.
64c0f2e555c9bff891f78060e36bf719fe46792d 08-Dec-2012 Dianne Hackborn <hackbod@google.com> am 71249413: Fix build.

* commit '71249413434c56006d2cb5d689198a2814c8e6b7':
Fix build.
71249413434c56006d2cb5d689198a2814c8e6b7 08-Dec-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Idaddd9a8e972c0a7b3b430bc636b617642b32fe4
upport/v4/widget/SearchViewCompat.java
0496b2a881669d41ca8dff730913920fa596ba43 07-Dec-2012 Dianne Hackborn <hackbod@google.com> am 3fb07dfb: am c509e6d7: am ab85436a: Merge "SDK only: improve SearchViewCompat" into jb-mr1.1-dev

* commit '3fb07dfb7f6ff8fa670d6fd38fa40bc1a0d1bc6a':
SDK only: improve SearchViewCompat
c509e6d78339b349714a09c2de63c4b0a2e34036 07-Dec-2012 Dianne Hackborn <hackbod@google.com> am ab85436a: Merge "SDK only: improve SearchViewCompat" into jb-mr1.1-dev

* commit 'ab85436af72bb621d7619398b9482d1427687dab':
SDK only: improve SearchViewCompat
44e3a52be44809a8018fb170e3130cc0ae164366 06-Dec-2012 Dianne Hackborn <hackbod@google.com> SDK only: improve SearchViewCompat

There is an issue with SearchView where if you use back to dismiss
it, the search text does not get cleared. This change fixes it in
the support library by overriding the callback about the action
view being collapsed to also clear the search text. (Note that this
will only be fixed in API 14 or later since this callback doesn't
exist on earlier versions.)

Also add a bunch of additional methods for performing API calls
on the SearchView.

Change-Id: I97241f165eb6076329ff7108c4596da72d02cb6c
upport/v4/widget/SearchViewCompat.java
68844d51ea75fe78388b56db77b2ffd1982b0034 29-Nov-2012 Chet Haase <chet@google.com> am f3e204d8: am 493d7132: am 37a7c5d2: Fix use of removeView() during layout

* commit 'f3e204d8cd615a98e29ce749531928d3400db960':
Fix use of removeView() during layout
493d713246b40d9fe67d5a8ad84e12d3f44905a9 29-Nov-2012 Chet Haase <chet@google.com> am 37a7c5d2: Fix use of removeView() during layout

* commit '37a7c5d234e23a4a3290bc75b064b355870e2622':
Fix use of removeView() during layout
37a7c5d234e23a4a3290bc75b064b355870e2622 26-Nov-2012 Chet Haase <chet@google.com> Fix use of removeView() during layout

Align removeView() with addView() to make sure we call the proper
*inLayout() version when we're currently undergoing layout. Calling
requestLayout() during layout considered hamrful.

Change-Id: Ie0207b32f452be03444de9b42b2aaa0eff49d788
upport/v4/view/ViewPager.java
bd7ba9ee07d9a5cb573f272ba0cef2368a1a54c2 27-Nov-2012 The Android Open Source Project <initial-contribution@android.com> Merge jb-mr1-dev into aosp/master - do not merge

Change-Id: I1bc3bdb524dffa351664c756742e1bbdc622a8b7
26ede9823f507da5be5784b75c5fc4e6169426f5 14-Nov-2012 Joe Malin <jmalin@google.com> am 752b5e48: am e950e1c4: am 0675f15e: am ad651749: am b6ede974: am 884c97b0: Javadoc: API level support for NotificationCompat

* commit '752b5e48607bce6b28469f1019c54a704ef359b4':
Javadoc: API level support for NotificationCompat
e950e1c4e80505c45def87faf9bc49177a95f499 14-Nov-2012 Joe Malin <jmalin@google.com> am 0675f15e: am ad651749: am b6ede974: am 884c97b0: Javadoc: API level support for NotificationCompat

* commit '0675f15e3f81c42e2195ddb6e0c2ce91b587ae80':
Javadoc: API level support for NotificationCompat
ad6517496e738508d572df4e26c683744f2fda9c 14-Nov-2012 Joe Malin <jmalin@google.com> am b6ede974: am 884c97b0: Javadoc: API level support for NotificationCompat

* commit 'b6ede974d61e9ad0804955e4dce560d3988baaf5':
Javadoc: API level support for NotificationCompat
b6ede974d61e9ad0804955e4dce560d3988baaf5 14-Nov-2012 Joe Malin <jmalin@google.com> am 884c97b0: Javadoc: API level support for NotificationCompat

* commit '884c97b0015a71381bc2a534438b2a0e7e7abd6a':
Javadoc: API level support for NotificationCompat
5c10c89b02f4668131a1435e4e6d7c72cc383be4 09-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am 279d16a9: am a86ff2d3: am c6e1bcb2: am 215e3168: Updating the support library to user SDK version integer.

* commit '279d16a993d23c94d9fa5bfa667ac65a4b48acd4':
Updating the support library to user SDK version integer.
a86ff2d3b746eb935a6a674de43e0b1de17cecdd 08-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> am c6e1bcb2: am 215e3168: Updating the support library to user SDK version integer.

* commit 'c6e1bcb2506f8cc97febb2cdc61dde297d2edb5a':
Updating the support library to user SDK version integer.
215e3168c4d2171531295532b5c80861925c97c8 07-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Updating the support library to user SDK version integer.

1. Now that we have defined the SDK verion to 17 the MR1 specific
implementation of ViewCompat should be chosen based on the
SDK version number instead of the code name.

bug:7170582

Change-Id: I7f9c64b3765a96e3bf5d45465d93b60bc66f6992
upport/v4/view/ViewCompat.java
884c97b0015a71381bc2a534438b2a0e7e7abd6a 13-Oct-2012 Joe Malin <jmalin@google.com> Javadoc: API level support for NotificationCompat

Change-Id: I64e66dcef9041cad980ea022b21c5672744b1567
upport/v4/app/NotificationCompat.java
0e2575ae97ccb986e9d32a57c9e4c44b3c1aa20e 16-Oct-2012 Adam Koch <akoch@google.com> ShareCompat: protect against getAction() returning null.

Change-Id: Ic877b7eac3cb0685a68a348b6f66953f4f4e5561
upport/v4/app/ShareCompat.java
9413b262674086b9260f30429176ecbfcadd9cdc 12-Oct-2012 Adam Powell <adamp@google.com> am 3044b9c4: DO NOT MERGE - Hide SlidingPaneLayout

* commit '3044b9c40c175eea2c405221886f76e47298af76':
DO NOT MERGE - Hide SlidingPaneLayout
3044b9c40c175eea2c405221886f76e47298af76 12-Oct-2012 Adam Powell <adamp@google.com> DO NOT MERGE - Hide SlidingPaneLayout

SlidingPaneLayout isn't ready for consumption just yet; remove it for
the upcoming release.

Change-Id: Ib48e5edf5c55b8b1dfbe5ad18a7022c869717210
upport/v4/widget/SlidingPaneLayout.java
5ef9bdec7eca31c537284c3c8687b043fe8f7276 10-Oct-2012 Adam Powell <adamp@google.com> am 661eaf55: Properly respect padding when drawing PagerTabStrip\'s underline.

* commit '661eaf5536d7c5648ca977ae9c806d235783db5c':
Properly respect padding when drawing PagerTabStrip's underline.
661eaf5536d7c5648ca977ae9c806d235783db5c 10-Oct-2012 Adam Powell <adamp@google.com> Properly respect padding when drawing PagerTabStrip's underline.

Bug 7323241

Change-Id: I8236e8d0dbc8c5f90a46190011326c812f0effa5
upport/v4/view/PagerTabStrip.java
866f6f6646e8de62ca6abb01a45fca43f4caf2ba 10-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> am 71d54737: Fix bug #7297028 Settings app crash when swiping between Downloaded / Running / All for Apps

* commit '71d54737b6d60ec99799aabdf9b48d2da26d8ccb':
Fix bug #7297028 Settings app crash when swiping between Downloaded / Running / All for Apps
71d54737b6d60ec99799aabdf9b48d2da26d8ccb 09-Oct-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7297028 Settings app crash when swiping between Downloaded / Running / All for Apps

- fix draw invariant for ViewPager (you cannot layout during drawing)
- add more logging

Change-Id: Ibfc38a16b40b8c63b0ecbf9b423d8867c28b66ed
upport/v4/view/ViewPager.java
143e211e051154f664882455ca89d6888a8a4c51 04-Oct-2012 Philip Milne <pmilne@google.com> am a862399a: Fix for bug 7000638: ISE crash in Gmail.

* commit 'a862399a9f738aa7e14012bc30491627f9dc6bef':
Fix for bug 7000638: ISE crash in Gmail.
a862399a9f738aa7e14012bc30491627f9dc6bef 03-Oct-2012 Philip Milne <pmilne@google.com> Fix for bug 7000638: ISE crash in Gmail.

Change-Id: Id3ad574065508e4d0de07e670c3c9e43e26fd2b5
upport/v4/view/ViewPager.java
1836102f0931bc5187f3ae9d71ab61e869dcfd70 02-Oct-2012 Dianne Hackborn <hackbod@google.com> am 4ccc001f: Maybe fix issue #7132432: com.android.vending: java.lang.IllegalStateException...

* commit '4ccc001f3f883190ac8d900c4f69d71fda94690e':
Maybe fix issue #7132432: com.android.vending: java.lang.IllegalStateException...
b83c02f94b45868aa3f14016747639bbd2ced185 15-Sep-2012 Roman Mazur <mazur.roman@gmail.com> Clear loaders array after they are destroyed.

Here is the story.
There is a bug. Decision about retaining state is made when
onRetainNonConfigurationInstance is called after onStop. I mean
doRetain() method is called in this case only. But it's possible that
activity is recreated because of a configuration change happening much
further after it was stopped. E. g. start an activity, navigate to
another from it (stopping the current), rotate the screen, press back.
In this case loaders are destroyed, not retained despite the
configuration change nature of activity recreation.
Well, let it be... But loaders are destroyed (reset), and at the same
time their instances are still in that sparse array. As a result,
instance of the destroyed loader is used again when new activity
starts. The loader reloads its data (since it was previously reset)
but cannot deliver it to a callback since LoaderInfo.mDestroyed is
true.

So, I do not see any reason mLoaders array is not cleared after all
the loaders are destroyed. If it is cleared, everything should work
well. A new loader will be created, it will load data and deliver to
a callback.

Btw, retain logic should be reconsidered to avoid the situation when
loaders are reset in case of the navigation described above.

Change-Id: Ia577caecbacb226a3ce525a01a66283efb6ba754
upport/v4/app/LoaderManager.java
4ccc001f3f883190ac8d900c4f69d71fda94690e 02-Oct-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #7132432: com.android.vending: java.lang.IllegalStateException...

...Can not perform this action after onSaveInstanceState at...
...android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1300)

ActivityFragment should clear the flag that state is saved when it
receives onNewIntent(). This can happen before the activity is
resumed, so we may not have cleared it yet. Also need to do the same
thing for onActivityResult().

Change-Id: Ied35e09cdf0196bb17d309bf5f2c04d3d480c9f6
upport/v4/app/FragmentActivity.java
e0d4884d24adff8d1e590ef50652941d8ed29d9b 27-Sep-2012 Dianne Hackborn <hackbod@google.com> am 3a757101: Work on issue #7232641: ISE crash when rotating phone in label list mode

* commit '3a7571011a8f2c2e2685c4e3e7a6fa46673ee7ea':
Work on issue #7232641: ISE crash when rotating phone in label list mode
3a7571011a8f2c2e2685c4e3e7a6fa46673ee7ea 27-Sep-2012 Dianne Hackborn <hackbod@google.com> Work on issue #7232641: ISE crash when rotating phone in label list mode

This doesn't fix the problem; I think it is an app problem. It does
improve a bunch of the debugging to help better identify what is going
on, and introduces some checks when adding a fragment to fail
immediately if we are getting into a state when a fragment is going to
be in the added list multiple times (which is pretty much guaranteed
to lead to a failure at some point in the future).

Change-Id: Idac978eb6bd2bd38d54e50532907c40b264ac300
upport/v4/app/BackStackRecord.java
upport/v4/app/FragmentManager.java
2b4833e73102c14bef831c28c35435447d9c65c5 26-Sep-2012 Dianne Hackborn <hackbod@google.com> am 5ee9c1da: Merge "Fix how fragment/tab interaction works to avoid list view state loss." into jb-mr1-dev

* commit '5ee9c1da21b5d357f35ce8a92d6ccfe4e67f9a87':
Fix how fragment/tab interaction works to avoid list view state loss.
74c671b3b67000bf16b4865a8d361344310dccbe 26-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix how fragment/tab interaction works to avoid list view state loss.

The implementation of FragmentTabHost would cause us to toggle between
the default and selected tab fragments when restoring our state.
Because of an issue in ListView (fixed by another change), this would
cause us to lose the state because ListView tripped over itself if
you asked it to save its state immediately after restoring it. We
are now more careful about switching fragments, so we don't run in to
this problem at least in most cases.

Also pull over framework change to not let inactive fragments be
more than CREATED.

Bug #7232088: ListView saved state being lost in some cases

Change-Id: Id9f20c207409d2479ff8bce8ed5b0553510cdd63
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTabHost.java
2e5796951e40a565f38f006d9a880d1d42deec9a 25-Sep-2012 Adam Powell <adamp@google.com> am e68f24ca: Refactoring in ViewPager for more descriptive names

* commit 'e68f24ca44991e124882736d9e97e72191582d73':
Refactoring in ViewPager for more descriptive names
e68f24ca44991e124882736d9e97e72191582d73 25-Sep-2012 Adam Powell <adamp@google.com> Refactoring in ViewPager for more descriptive names

Change-Id: Ibf937811706281e3123a88ba774383cf5c842862
upport/v4/view/ViewPager.java
c8ec6b2c5f8ee35114b6a6e82e8e6b6eeac65cf2 25-Sep-2012 Adam Powell <adamp@google.com> am bea2fc73: Supply the full set of make* methods in IntentCompat

* commit 'bea2fc73637a1d59eb5face20006a27df6893042':
Supply the full set of make* methods in IntentCompat
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/IntentCompat.java
13a7ea3794cc9335c59b63317a646cd7730aaccf 25-Sep-2012 Adam Powell <adamp@google.com> am f19cb1f3: Port TaskStackBuilder fixes and features from frameworks/base

* commit 'f19cb1f3facdb9f90ef1b26537ff303eaa3db77d':
Port TaskStackBuilder fixes and features from frameworks/base
f19cb1f3facdb9f90ef1b26537ff303eaa3db77d 17-Sep-2012 Adam Powell <adamp@google.com> Port TaskStackBuilder fixes and features from frameworks/base

Bug 6457058

Change-Id: Ibc519e1b0ef10b2fb37992d68dfc92953f0355a5
upport/v4/app/NavUtils.java
upport/v4/app/TaskStackBuilder.java
upport/v4/content/IntentCompat.java
9eca85318f7035b76fc66e9516233fb58be36e8a 24-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am 0af001b9: This is revert of a reverted patch to wait for some build system changes.

* commit '0af001b9e0d173f6b9836e66539bf764b897c36f':
This is revert of a reverted patch to wait for some build system changes.
94cd2b67bc7f0ce6305bc20fe4ca1d37a03d8dae 24-Sep-2012 Baligh Uddin <baligh@google.com> am 636b46ae: Merge "Revert "This is revert of a reverted patch to wait for some build system changes."" into jb-mr1-dev

* commit '636b46ae504464e894b2ba1b28d0ce98f754319b':
Revert "This is revert of a reverted patch to wait for some build system changes."
0af001b9e0d173f6b9836e66539bf764b897c36f 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> This is revert of a reverted patch to wait for some build system changes.

This reverts commit 83df688ed22cdc90e7eae83e13ddf1b3ba378947

Change-Id: Ia81d72ea349d603a022287963eb41c0e1c1d41a6
upport/v4/view/ViewCompat.java
636b46ae504464e894b2ba1b28d0ce98f754319b 22-Sep-2012 Baligh Uddin <baligh@google.com> Merge "Revert "This is revert of a reverted patch to wait for some build system changes."" into jb-mr1-dev
96c8829c8bfb5f6651cc06b4c19a6b27cf67e0e4 22-Sep-2012 Baligh Uddin <baligh@google.com> Revert "This is revert of a reverted patch to wait for some build system changes."

Broken Build.

This reverts commit f959f51d9eafa48a08e43e694b58f289315c119e

Change-Id: If21cdaa4560282bf1bd12691a4ee174aeb3244ab
upport/v4/view/ViewCompat.java
7b178e348fb3066c1321c9a84c7915aad82fb2e0 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> am a0390c9a: Merge "This is revert of a reverted patch to wait for some build system changes." into jb-mr1-dev

* commit 'a0390c9a88260deea354a9ef155603ffaee118dd':
This is revert of a reverted patch to wait for some build system changes.
d26667ced52aa4c5aac3497d34f2ac476adcae4a 22-Sep-2012 Adam Powell <adamp@google.com> am 5d6251c6: Track which PagerAdapter a PagerTitleStrip is watching

* commit '5d6251c65f890a57aa9929eb6aacae2d8b917ec9':
Track which PagerAdapter a PagerTitleStrip is watching
a0390c9a88260deea354a9ef155603ffaee118dd 22-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "This is revert of a reverted patch to wait for some build system changes." into jb-mr1-dev
f959f51d9eafa48a08e43e694b58f289315c119e 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> This is revert of a reverted patch to wait for some build system changes.

This reverts commit 83df688ed22cdc90e7eae83e13ddf1b3ba378947

Change-Id: I4dad0ccf1d2bb03dbfe73bc9e123266bcbe19136
upport/v4/view/ViewCompat.java
5ebeec308cbefa2ca44c4cb56ea17eca9fc6904e 21-Sep-2012 Adam Powell <adamp@google.com> am c1c799c9: Merge "Add GestureDetectorCompat" into jb-mr1-dev

* commit 'c1c799c97ce39a184b0c58811e53e983d291b3d6':
Add GestureDetectorCompat
5d6251c65f890a57aa9929eb6aacae2d8b917ec9 21-Sep-2012 Adam Powell <adamp@google.com> Track which PagerAdapter a PagerTitleStrip is watching

Avoid a bug where a PagerAdapter's data set observer could be attached
multiple times.

Bug 7192394

Change-Id: Id100a2f2e512baf84ffc0b5afd09c1df46e8a05f
upport/v4/view/PagerTitleStrip.java
1ce805e30800bf2852fa5421b7277a18e089ee31 20-Sep-2012 Adam Powell <adamp@google.com> Add GestureDetectorCompat

This class offers the new focal point-based scrolling from Jellybean
MR1 to all platform versions.

Change-Id: I6856ff93ecef094b8a1eadebb29b146e7d10ba65
upport/v4/view/GestureDetectorCompat.java
upport/v4/view/MotionEventCompat.java
cd698f72d280038c0aa128c1052a1f3efe8c9d20 18-Sep-2012 Casey Burkhardt <caseyburkhardt@google.com> am b0479627: Adds new AccessibilityEvent types to the support lib.

* commit 'b047962755c59a9855328ed273bae33a0663e21a':
Adds new AccessibilityEvent types to the support lib.
b047962755c59a9855328ed273bae33a0663e21a 17-Sep-2012 Casey Burkhardt <caseyburkhardt@google.com> Adds new AccessibilityEvent types to the support lib.

Change-Id: I2fe82efb45d6c8d5cc24065aec783079b714fd8e
upport/v4/view/accessibility/AccessibilityEventCompat.java
becb552984e4693c87f5f0ae38b6ebf4f719b740 14-Sep-2012 Dake Gu <dake@google.com> ViewPager: fixed paddingLeft/paddingRight handling

This effort is to show children correctly when "clipToPadding=false",

In current code, the child is measured excluding paddingLeft and paddingRight.
But there are couple other places that didn't take padding into consideration.
This CL fixed the issue.

This is a high risk change, don't merge into jb-mr1-dev.

Change-Id: I0a9413ded88c999a37abbeecaec7a352d1922ac8
upport/v4/view/ViewPager.java
64f49357df06a29f989f688379451024a178bcd8 16-Sep-2012 Adam Powell <adamp@google.com> Handle "windup" motion in ViewPager

Change-Id: I8f59080aa07c520c85e3fc4cc02aeebd8e4a4942
upport/v4/view/ViewPager.java
83df688ed22cdc90e7eae83e13ddf1b3ba378947 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Temporary revert until unbunded builds are configured porperly to either use a prebuilt of the framework and the support lib or none.

Revert "Compatibility support for new accessibility APIs in View."

This reverts commit 7cf0b33a31b57e78a06214a43f580598e0f35031

Change-Id: I47e7e625eaf65e70a37bcf30751953ac2d2b2000
upport/v4/view/ViewCompat.java
7cf0b33a31b57e78a06214a43f580598e0f35031 13-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Compatibility support for new accessibility APIs in View.

1. For accessibility purposes it is important to be able to associate
a view with content with a view that labels it. For example, if
an accessibility service knows that a TextView is associated with
an EditText, it can provide much richer feedback.

This change adds compatibilityt support for the APIs for setting
a view to be the label for another one and setting the label for
a view, i.e. the reverse association.

bug:5016937

Change-Id: I54ea51f6e6ff46447c8f4d64383cb88f62d99812
upport/v4/view/ViewCompat.java
0adacc1aa313d757ae1c517152cef838e0f35c13 09-Sep-2012 Dianne Hackborn <hackbod@google.com> Nested fragments.

Change-Id: I2cfd30fda55320796c8eec738f5b9b592ea2c29c
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTabHost.java
upport/v4/app/LoaderManager.java
26357884984cfbe99c8f18c72dd3259827494cd0 29-Aug-2012 Chris Wren <cwren@android.com> am be5b75c3: am 080df8ff: Use correct version code for ICS, and update doc strings.

* commit 'be5b75c3aa3b730f5ce00adbacce52b2faa4adb2':
Use correct version code for ICS, and update doc strings.
be5b75c3aa3b730f5ce00adbacce52b2faa4adb2 29-Aug-2012 Chris Wren <cwren@android.com> am 080df8ff: Use correct version code for ICS, and update doc strings.

* commit '080df8ffb0920eccb300baa39180eb956a000a53':
Use correct version code for ICS, and update doc strings.
080df8ffb0920eccb300baa39180eb956a000a53 28-Aug-2012 Chris Wren <cwren@android.com> Use correct version code for ICS, and update doc strings.

Bug: 7047253
Bug: 6964458
Change-Id: I22e2e66ca8f54e4b757fb5e11363ed28dd20aa9e
upport/v4/app/NotificationCompat.java
4d968c973a826b3e027319ea18dfe26a3394d837 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 667f1a6b: am 0d77aae0: Merge "PagerTitleStrip flicker fix, take 2"

* commit '667f1a6bd325c56dcbe9426d2e737bb7b56c383b':
PagerTitleStrip flicker fix, take 2
667f1a6bd325c56dcbe9426d2e737bb7b56c383b 24-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 0d77aae0: Merge "PagerTitleStrip flicker fix, take 2"

* commit '0d77aae0c1c8da2e44468387047cffc7c34fdda3':
PagerTitleStrip flicker fix, take 2
7b5296b51c07a9f69d051e3f3f85a5cfb92ac2e8 24-Aug-2012 Adam Powell <adamp@android.com> am 8652269d: am b3d3b57a: Merge "Fix PagerTitleStrip positioning during layout"

* commit '8652269dd0439313f1f046231affe4ee84b563cb':
Fix PagerTitleStrip positioning during layout
40f36156156b6aedaf47e65f403212136c7cd7b9 24-Aug-2012 Adam Powell <adamp@google.com> PagerTitleStrip flicker fix, take 2

Change-Id: I2681d4ce0d00cb1f8b881af6777448239bf7b0e7
upport/v4/view/PagerTitleStrip.java
8652269dd0439313f1f046231affe4ee84b563cb 24-Aug-2012 Adam Powell <adamp@android.com> am b3d3b57a: Merge "Fix PagerTitleStrip positioning during layout"

* commit 'b3d3b57a3f4bff9400187ea1767162ebc4c0557d':
Fix PagerTitleStrip positioning during layout
4295e22421c26dd4f24cc0780a594d08a74a5cca 23-Aug-2012 Adam Powell <adamp@google.com> Fix PagerTitleStrip positioning during layout

Alternative patch for the proposed fix at
https://android-review.googlesource.com/#/c/41811/

Preserve the correct titles when offset by more than 50% of a page
during a layout pass.

Change-Id: If9bbd5ce957ce6229bfea5eb7b8bcfef1e1a14b5
upport/v4/view/PagerTitleStrip.java
13fb2b96fa8464e7b8514c57e1ad5ea782b3a52c 18-Aug-2012 Dianne Hackborn <hackbod@google.com> Improved fragment manager debugging.

Now dump the activity state for every exception thrown where this
may be of interest. FragmentActivity now dumps a summary of its
view hierarchy state.

Change-Id: Id34509cac3912a78c0e9d35e2b72a8b2779ea336
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
ec9fb2522d42d1ff73ddffa12b318d925c10ab18 15-Aug-2012 Dianne Hackborn <hackbod@google.com> Add more debug info when a container view ID can't be found.

Change-Id: Ifbeefdbf13c941dd5d051f25d9f47a43c76738f3
upport/v4/app/FragmentManager.java
d5e609a825a32049f519b7bd23a1caad8aaee088 12-Aug-2012 Jeff Sharkey <jsharkey@android.com> Utility to read NetworkInfo from broadcast.

Correctly asks ConnectivityManager directly, instead of using the
potentially-stale EXTRA_NETWORK_INFO from the broadcast.

Bug: 6936247
Change-Id: I2c8b10cf86296e210cb45a2338961e8c17d205d6
upport/v4/net/ConnectivityManagerCompat.java
cc1cad0588e86d568b9467aa2669c2160af46503 10-Aug-2012 Adam Powell <adamp@google.com> Fix an issue with text clipping in PagerTitleStrip on adapter change

Bug 6963866

Change-Id: Ife1f2e0ff7d53b73b8f68de6acaf56e79801c8f2
upport/v4/view/PagerTitleStrip.java
694ac8922081bdbbd016fed52bbcaef1af7e8f35 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am 7ae9d85a: am bf7974e4: Merge "Set the user-visible hint on fragments in FragmentStatePagerAdapter"

* commit '7ae9d85ac7ebc4c9005264b28c934b2befd6e21c':
Set the user-visible hint on fragments in FragmentStatePagerAdapter
7ae9d85ac7ebc4c9005264b28c934b2befd6e21c 08-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am bf7974e4: Merge "Set the user-visible hint on fragments in FragmentStatePagerAdapter"

* commit 'bf7974e46b008ffa4a16c61386735c4817d343aa':
Set the user-visible hint on fragments in FragmentStatePagerAdapter
fd0bd8336ced5879d3aaa8d96195ba8dce5b5dac 03-Aug-2012 Adam Powell <adamp@google.com> Fix documentation link for PagerAdapter deprecated method

Bug 5675287

Change-Id: Ibc3aafb55f63712a7338ce809f451092420a8c25
upport/v4/view/PagerAdapter.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/ViewCompat.java
upport/v4/widget/SlidingPaneLayout.java
a0441abe092963a283bd87332dae26950a6c912a 01-Aug-2012 Chris Wren <cwren@android.com> am c859696c: am b41a2137: Add missing docs to notification style rebuilder functions.

* commit 'c859696c906067f80504863f727a24caf5699282':
Add missing docs to notification style rebuilder functions.
c63b3d14c8a0be5978ae42bea240c320084b9899 01-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Add trimToSize() to public API." into jb-mr1-dev
e00e7889dd8eb9389f7dff0f054e3e811b264a77 28-Jul-2012 Jeff Sharkey <jsharkey@android.com> Add trimToSize() to public API.

Bug: 6602490
Bug: http://code.google.com/p/android/issues/detail?id=35349
Change-Id: Idc51226b0aea55ba4a22067626975c98e30a58c1
upport/v4/util/LruCache.java
c859696c906067f80504863f727a24caf5699282 01-Aug-2012 Chris Wren <cwren@android.com> am b41a2137: Add missing docs to notification style rebuilder functions.

* commit 'b41a213761ff07de2fcfdaf16790fdcca1a1ee1b':
Add missing docs to notification style rebuilder functions.
b41a213761ff07de2fcfdaf16790fdcca1a1ee1b 01-Aug-2012 Chris Wren <cwren@android.com> Add missing docs to notification style rebuilder functions.

Bug: 6914726
Change-Id: I4b76316dcbfa66b49ec032c57669f33f86b71c2a
upport/v4/app/NotificationCompat.java
b87fe4a348db4e64876052619036232749e70d9f 01-Aug-2012 Dianne Hackborn <hackbod@google.com> Support lib version of AtomicFile.

Change-Id: I9c4437f52119c5f8c4167fde977830bf2829014f
upport/v4/util/AtomicFile.java
6d6186b9a2503200844febe1b8ba083206c7cbcd 28-Jul-2012 Veeti Paananen <veeti.paananen@rojekti.fi> Set the user-visible hint on fragments in FragmentStatePagerAdapter

Unlike FragmentPagerAdapter, FragmentStatePagerAdapter did not set
the user-visible hint on fragments when they were paged. This
commit fixes the inconsistency.

Change-Id: I8098279ee398dfcd37f999e67688d7cb591f9d65
Signed-off-by: Veeti Paananen <veeti.paananen@rojekti.fi>
upport/v4/app/FragmentStatePagerAdapter.java
7e464c3f9ff67d08c61f1c7a57dee0532c3c9449 25-Jul-2012 Adam Powell <adamp@google.com> Fix child drawing order for ViewPager when a PageTransformer is present

Change-Id: I9eb4edc89f75c5bb3827e1254495ae7cef0172f4
upport/v4/view/ViewPager.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/ViewCompat.java
upport/v4/view/ViewPager.java
0d4ffdf13a16b1ce2f3bc458002374cdd25663c3 19-Jul-2012 alanv <alanv@google.com> Add performAccessibilityAction() to ViewCompat

Change-Id: Ic3d295eee8515564d42c9db19407aa85922132c7
upport/v4/view/ViewCompat.java
a33ad03c4911b876d596ce42231ffd108091ca79 09-Jul-2012 Chris Wren <cwren@android.com> am f0217589: Add v16 Notification APIs to NotificationCompat.

* commit 'f021758934b35e3b842c6799344531d7ea2969da':
Add v16 Notification APIs to NotificationCompat.
f021758934b35e3b842c6799344531d7ea2969da 29-Jun-2012 Chris Wren <cwren@android.com> Add v16 Notification APIs to NotificationCompat.

As before, we attempt to expose the superset of all
Notification.Builder APIs; where features from the newer
APIs apply to the API level available, we support that
behavior, otherwise we drop it.

This change also has some minor documentation updates that
should be mirrored in the framework.

Bug: 6316809
Change-Id: Ie57625e8bbecae87139f06007b6edd36deee95b1
upport/v4/app/NotificationCompat.java
0992caa8f0d8e6a9a0e41bebdc776053399212bf 20-Jun-2012 Dianne Hackborn <hackbod@google.com> am 464b6f3c: Fix issue #6675499: java.lang.RuntimeException: Unable to start...

* commit '464b6f3c93dda03359ec2d37c8205065922f2994':
Fix issue #6675499: java.lang.RuntimeException: Unable to start...
464b6f3c93dda03359ec2d37c8205065922f2994 20-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6675499: java.lang.RuntimeException: Unable to start...

...activity ComponentInfo{com.google.android.gm/
com.google.android.gm.ui.MailActivityGmail}: java.lang.NullPointerException

There were a number of places in FragmentManagerImpl where we were
not dealing with mAdded being null. In the original implementation,
mAdded would almost always be null if mActive is null. As we have
added features, this has become a less strong guarantee (and it actually
was never completely guaranteed), but there are a lot of places where
we would check for mActive being non-null and assume this meant
mAdded is non-null.

Fix these to correctly check for mAdded.

Bug: 6675499
Change-Id: I9d8284a1e1dd88fb9a6b75ddd9afac79e344fff3
upport/v4/app/FragmentManager.java
dba06d14e28974e9b4fd63df76fa425c0e0cd4f2 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am e51e5bb5: Updating the support lib due to hiden API.

* commit 'e51e5bb5127788c605cc2e0cb2a57a6cddaa065a':
Updating the support lib due to hiden API.
83fe8c0756d8cc36a80ab4e22c6b7cb0ba65e94d 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> am 76ca3a4a: Update the support lib due to hidden APIs.

* commit '76ca3a4abf437c04003bacff72491409f8898a18':
Update the support lib due to hidden APIs.
e51e5bb5127788c605cc2e0cb2a57a6cddaa065a 18-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Updating the support lib due to hiden API.

1. The API for finding accessibility focus in a virtual
tree exposed via an AccessibilityNodeProvider is now
hidden and will eventually go away. This change removes
it from the support lib.

bug:6675330

Change-Id: I45f775dc775741db89a9d2b4edfe4bcf8decd526
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
76ca3a4abf437c04003bacff72491409f8898a18 15-Jun-2012 Svetoslav Ganov <svetoslavganov@google.com> Update the support lib due to hidden APIs.

1. We have hiddent the APIs for accessiiblity focus search since
it wull be perfomred by the client and we need to updates the
support lib.

bug:6675330

Change-Id: I6ae75844868c06dac31c852ea80fdec7b6bac150
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
59fc960234723be0d6cde5241497d5fba00c002d 12-Jun-2012 Adam Powell <adamp@google.com> am 575e098d: Allow TaskStackBuilder to be used from a Service

* commit '575e098da5bc16ff8b95ca080284253fd206fe12':
Allow TaskStackBuilder to be used from a Service
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/ActivityCompat.java
upport/v4/app/TaskStackBuilder.java
upport/v4/content/ContextCompat.java
c066da5e9de16dae63e036fb6823274e06ab68a6 12-Jun-2012 Dianne Hackborn <hackbod@android.com> am e8ef959d: am 4a7e12af: Merge "Fix for restarting loader manager after orientation change"

* commit 'e8ef959d85ef556bc4ba0acd2dfc433a9b019877':
Fix for restarting loader manager after orientation change
e8ef959d85ef556bc4ba0acd2dfc433a9b019877 12-Jun-2012 Dianne Hackborn <hackbod@android.com> am 4a7e12af: Merge "Fix for restarting loader manager after orientation change"

* commit '4a7e12af4ec095c3a53bb8481d8d92f63157c3b7':
Fix for restarting loader manager after orientation change
4a7e12af4ec095c3a53bb8481d8d92f63157c3b7 12-Jun-2012 Dianne Hackborn <hackbod@android.com> Merge "Fix for restarting loader manager after orientation change"
efea2e772645ccd2d0de3e92fa8382d5444eab11 07-Jun-2012 Adam Powell <adamp@google.com> Error check in ViewPager

Change-Id: Ic8fe905bc0520d1028ef3e1bdae9b34da990105e
upport/v4/view/ViewPager.java
c39c85b69e624950ce447b836e1f4dfa38d90680 05-Jun-2012 Adam Powell <adamp@google.com> Merge "Fix keyboard navigation in ViewPager" into jb-dev
dd24aab287e08428b20270b9f12921af13fbd72b 05-Jun-2012 Adam Powell <adamp@google.com> Fix keyboard navigation in ViewPager

Fix a bug where next focusable views were not being detected properly.

Bug 5832688

Change-Id: I3a2019075413ece912efd2d182e4008373d55526
upport/v4/view/ViewPager.java
5506618c80a292ac275d8b0c1046b446c7f58836 05-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6584942 IllegalStateException: Failure saving state...

...active SuggestFragment{419494f0} has cleared index: -1

There were issues when the same fragment was removed and then
added again before completely finishing the remove (such as due
to a running animation).

Two fixes:

- Now when you call FragmentTransaction.replace() and are replacing
a fragment with the same fragment, this becomes a no-op, to avoid
visual artifacts in the transition and bad states.
- When we are moving the fragment state up and it is currently
animating away to the INITIALIZED state, we could end up making
the fragment inactive as part of the cleanup. In this case it
shouldn't be made inactive; we just need to initialize it but
keep it active since we are going to continue to use it.

Bug: 6584942
Change-Id: I4c37a8e48b115feb0892ef0eb92316d7aeba7b1b
upport/v4/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
6e7700ca575523895f8ebc5696e3e57aeccf30c0 04-Jun-2012 Adam Powell <adamp@google.com> ViewPager shouldn't drop motion that was detected during intercept

Fix an issue where a large motion that triggered touch interception
and scrolling would not scroll the view. This can happen if the app
is being particularly unresponsive at the time and MotionEvents are
batched.

Change-Id: Ib350e75f6d83da81df11e3c7e618184f414ab670
upport/v4/view/ViewPager.java
8d3dd8427b57f463f0d4959c0ad8796008472caa 04-Jun-2012 Adam Powell <adamp@google.com> Fix some ViewPager positioning and title strip bugs

Bug 6589201 - fix some bugs with page offsets when page margins and
the pager's size change. ItemInfo#offset always holds the offset with
the margins already taken into account; don't double-count them.

Bug 6596152 - PagerTitleStrip shouldn't ask the adapter for a title
for an item index that is out of range.

Allow users to "catch" the pager properly after a fling without
resetting position to the nearest page.

More consistent/reliable tracking of scroll settling state.

Use VelocityTracker properly when handing off between
onInterceptTouchEvent/onTouchEvent

Get rid of some dodgy rounding fudges.

Change-Id: If22ab6b8b3de7dd3a8863032e10e59e5eda06f21
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
1b913519b1c03b084779851e81db2e1a11eb0b0d 31-May-2012 Dianne Hackborn <hackbod@google.com> Working on issue #6561352: java.lang.RuntimeException: Unable to start...

...activity ComponentInfo{com.google.android.googlequicksearchbox
/com.google.android.googlequicksearchbox.SearchActivity}

Add check for a situation where we are saving the state of a
fragment with a -1 index, and fail early in that case with more
debug information.

Change-Id: I175b2d5a1f47934497f28dd3a2d95b3351159743
upport/v4/app/FragmentManager.java
1e37da8d4fbd23a4440f32eba784520dc7a03265 21-May-2012 Adam Powell <adamp@google.com> Fix bugs in PagerTabStrip/PagerTitleStrip

* Make textAllCaps work on ICS+. (Dumb transformation methods...)

* Fix a bug where a layout pass would draw one frame where the strip
titles were out of alignment.

* Make PagerTabStrip draw a full-width underline if no background is
set or if explicitly instructed.

* Give PagerTabStrip a minimum width of 32dp for touchability.

* Touching anywhere to the left or right of the currently selected
tab will move next/prev.

Change-Id: Idf58d3d0dc9c11b770d61b2ea6cc6494fd4a5103
upport/v4/view/PagerTabStrip.java
upport/v4/view/PagerTitleStrip.java
a56d6faa9df608aaa2907864669800abb68acec7 16-May-2012 Adam Powell <adamp@google.com> Perform rounding in a more predictable way when drawing ViewPager margin
drawables

Prevent extra unwanted borders along the sides of pages when a margin
drawable is set.

Bug 6422166

Change-Id: I6b04b5591feafa5447fd5bb587f9b71bdc069fe1
upport/v4/view/ViewPager.java
14ba5479d819563497dc1505703c261088fedcc6 16-May-2012 Dianne Hackborn <hackbod@google.com> Merge "Follow changes in framework." into jb-dev
be2c79d9a5439922030d2a3846c81c61f0e16912 16-May-2012 Dianne Hackborn <hackbod@google.com> Follow changes in framework.

Change-Id: I424a6e8f4b8b50d421c56bb018beab1063ba2cef
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
b1d4cb28db8b08974b651665bf4d1a7926c17b9c 15-May-2012 alanv <alanv@google.com> Update accessibility classes in support library for JellyBean.

Change-Id: I8b1f633cb177222c03b8cfd20ba4b88953f0137c
upport/v4/view/accessibility/AccessibilityEventCompat.java
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
989cd2fb6badb029b74cf4c88bbf74b1d912bdca 16-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Fix the build - for real.

Change-Id: I35944a181ed1454303c2fc401b8e9b4a5f869554
upport/v4/view/AccessibilityDelegateCompat.java
e13cf48dc33e3865794d145ae8f4daed0bb2274b 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build

Change-Id: Ib820c2f6ba097c9554afcd9622453ac8c266d66d
upport/v4/view/ViewCompat.java
25121559b53b9f6c7ef7159203d42e11b9aee281 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding support for accessibility scroll actions to ViewPager.

1. We have added scroll actions in JellyBean and this patch
adds supports for such to the ViewPager in a backwards
compatible manner.

2. Added the required accessibility API to the support library
to implement the above functionality.

bug:5932640

Change-Id: I569af5622914f7463daefdd74d55d807d273bfb5
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
66957a1e997dde850701ee96a3aa7b7c1444d67f 15-May-2012 Adam Powell <adamp@google.com> Work around an ICS ActionProvider bug for ShareCompat

ICS had a bug where MenuItems that were not originally created with a
submenu would not properly be configured with one even if an
ActionProvider reported having a submenu. This has been fixed for JB,
but work around it for ShareCompat#configureMenuItem when running on
ICS.

Bug 6493376

Change-Id: I2b76872d5b82d713bbd98f6e92812fe0400fb848
upport/v4/app/ShareCompat.java
b0296b498c2e2e37d5b1c2880aba62809f855b9b 14-May-2012 Adam Powell <adamp@google.com> Merge "Add PagerTabStrip" into jb-dev
24cc55cb5775a71ff144a3588003fa8e52951c7d 14-May-2012 Adam Powell <adamp@google.com> Add PagerTabStrip

PagerTabStrip is the snazzier, more stylish cousin of PagerTitleStrip.
Like PagerTitleStrip, PagerTabStrip displays the previous, current,
and next page titles. Unlike PagerTitleStrip, PagerTabStrip allows the
previous and next titles to be focused and tapped to switch pages, and
also presents a colored under-bar highlighting the current page title.

Bug 6284709

Change-Id: I8a9488c37653cac508ac21d957d2d47835306459
upport/v4/view/PagerTabStrip.java
upport/v4/view/PagerTitleStrip.java
8acc3d79aebb4392bc05665fdbe48cd4908c215e 13-May-2012 Adam Powell <adamp@google.com> Merge "Add paging gutters to ViewPager." into jb-dev
ec2534d288a1d26a69b5088379e6290e741a7ad4 13-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Update the API version checks in the support lib." into jb-dev
f3ed7c56e6c409d27c60f7d74c026906593c21d4 13-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Update the API version checks in the support lib.

1. Since the API version has been finalized this change
updates the SDk version checks to use the JellyBean
verson number.

bug:5947249

Change-Id: I1011f76612f95ceef179acd0b8ab258c055a8369
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
8f19b17dbc34bfc7e5caacbf83a7099e5cb5a47c 13-May-2012 Adam Powell <adamp@google.com> Add paging gutters to ViewPager.

With the new Android Design guidelines, conforming apps pair tabs with
a ViewPager to easily move between tabbed content. However taken to
its natural conclusion this limits the types of content that can be
placed into a tab. Unbounded scrolling content such as a map suddenly
cannot be used, since there is no way to reach the "edge" of that
content in order to start paging. In addition, bounded but very wide
horizontally scrolling content can make paging cumbersome.

Enter paging gutters.

A gutter is defined as the 16dp space along the left and right edges
of a ViewPager, or 10% of the available horizontal space, whichever is
smaller. If the user begins a drag within a gutter, the pager will
take over and allow the user to switch pages without reaching the edge
of horizontally scrolling content. This provides a default "edge
swipe" navigation that may be used in any ViewPager regardless of
content.

Bug 6486971

Change-Id: I27a393445e7d379204b42fd3751acd4c1b4fa69a
upport/v4/view/ViewPager.java
d84ef6c972b75c0ddeee88db2d66d40fff7519a8 13-May-2012 Adam Powell <adamp@google.com> Fix a ViewPager bug repopulating after a data set change that removed
items.

Bug 6484624

Change-Id: Ibeee22e75ca77786f5b80fcbd601b8ad976fb636
upport/v4/view/ViewPager.java
70e96ebf69f91da84681a6263b3862c63d53ab11 11-May-2012 alanv <alanv@google.com> Update AccessibilityNodeInfoCompat for JellyBean.

Also ensures that non-null wrapper is always used and fixes compiler warnings.

Bug: 6469473
Change-Id: I2029ae87d5525a54d26a559b8304f04fd39144f6
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
1e300b0aca2f34bfe65885c5405044cfe5585224 10-May-2012 Adam Powell <adamp@google.com> ViewPager fix. Oops.

Change-Id: Ie7213d05b0ad6b54cf4e3585590c3a12f92c97a2
upport/v4/view/ViewPager.java
1a1c2acbc15f8bc9dba05d09dcb18e340474e1c6 10-May-2012 Adam Powell <adamp@google.com> ViewPager data set change fixes

Clean up ViewPager data set change operations a bit and update
FragmentPagerAdapter to allow for items changing positions within the
adapter during a data set change.

Bug 6347192

Change-Id: Ib0aaa31190fca561f9b2c6c94f37e0b5eb1d1e90
upport/v4/app/FragmentPagerAdapter.java
upport/v4/view/ViewPager.java
5f6568e7e269783e2668527461878cadfbe65215 10-May-2012 Adam Powell <adamp@google.com> ViewPager size changes

Fix some bugs that happen when ViewPagers change size that could
cause pages to become misaligned.

Bug 6335994

Change-Id: Iada902dea1436858b902d2d85c81418a179af5a9
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
4338f5e2f60c50ac90ebab9a1b1209d3f8298757 04-May-2012 Katherine Kuan <katherinekuan@google.com> Merge "Remove StaggeredGridView from support library and move to ex folder" into jb-dev
82971b1050c50d3be5b2cbc285c74076e6763892 03-May-2012 Adam Powell <adamp@google.com> Bugfix for PagerTitleStrip#onDetachedFromWindow

Protect against weird cases where the view may have erroneously
received bad/mismatched calls to onDetached/onAttached

Bug 6407068

Change-Id: Ifcdf63f6bb5ecaa18164f6b2c198fea7199348f1
upport/v4/view/PagerTitleStrip.java
0306ebc908d5dcf148aa319a9734b419eacb23b5 02-May-2012 Adam Powell <adamp@google.com> TaskStackBuilder API changes

Reflect JB framework API changes in TaskStackBuilder. Old names for
some methods have been deprecated.

Change-Id: I8ca7000bc29150757561955ba02a8461fae4ae1e
upport/v4/app/ActivityCompat.java
upport/v4/app/TaskStackBuilder.java
b54e36f277c74881f85f6ab399431b1c8d9ef35c 01-May-2012 Katherine Kuan <katherinekuan@google.com> Remove StaggeredGridView from support library and move to ex folder

Move to frameworks/ex folder because this is still under
development. (See I7e16023292f83ff09c394a0b3927d175dac37789)

Change-Id: I71d72eac81b9e5012687841d37bcdb8799f4f396
upport/v4/widget/StaggeredGridView.java
430eb135c8a5415b532a686bb514f9711dc932d7 24-Apr-2012 Christopher Tate <ctate@android.com> am c39b171a: am eb685054: am 271504db: Merge "Do not dispatch context selection events to non-visible fragments."

* commit 'c39b171a8b10ffc1bd06dd5251595d0050d3951d':
Do not dispatch context selection events to non-visible fragments.
cf0160d23e02e26e975188c2509cd3b936dec8a1 24-Apr-2012 Christopher Tate <ctate@android.com> am 95fc5568: am 2d0e9339: am ea518a34: Merge "Fix potential NPE when saving fragment state."

* commit '95fc5568079ef4628087abb6504566b27ef31b8d':
Fix potential NPE when saving fragment state.
12924cf8019d4a584bcc6cd5f1bab7f993aaaf65 24-Apr-2012 Christopher Tate <ctate@android.com> am e3f47c95: am f618142e: am 72bf9301: Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."

* commit 'e3f47c956a1806fd174b54a5900bbb54be188746':
Fix NPE in `onActivityResult` when target fragment no longer exists.
57ff0548ba991652576d81adaaa8baf4c028de39 24-Apr-2012 Adam Powell <adamp@google.com> Modify NavUtils to use Jellybean up navigation functionality when
available.

Change-Id: If1e237e75e70d01583893503a1fa0ad300206b92
upport/v4/app/NavUtils.java
d16944cf0ad052b56562a56886fed92afbb9b09f 21-Apr-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build.

Change-Id: Ib81d1c559e067facd6db63d5fbbef5bc3528e55b
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
5d79c2b6211936177817f2492816c1dba76dac3e 20-Apr-2012 Jeff Sharkey <jsharkey@android.com> Surface isActiveNetworkMetered() API.

Uses new JellyBean API to determine if active network is metered,
otherwise infers based on network types available to the SDK version.

Bug: 3001465
Change-Id: I2b88cc327cee970a94f4d046bb8e017b03c0cb7e
upport/v4/net/ConnectivityManagerCompat.java
eb685054a762cf975b86386543f96a174441c5f9 19-Apr-2012 Christopher Tate <ctate@android.com> am 271504db: Merge "Do not dispatch context selection events to non-visible fragments."

* commit '271504dbdf494dc87a2a96ff5d108c75a3389143':
Do not dispatch context selection events to non-visible fragments.
2d0e93395dc1eb868fbc45e47ae32880f97c96f6 19-Apr-2012 Christopher Tate <ctate@android.com> am ea518a34: Merge "Fix potential NPE when saving fragment state."

* commit 'ea518a3420d87c99f28bba47d13ebef727e4564f':
Fix potential NPE when saving fragment state.
f618142e643c0ab795923ab5ba8b0fe62ee08201 19-Apr-2012 Christopher Tate <ctate@android.com> am 72bf9301: Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."

* commit '72bf9301f2914d15c6432dbe1c68e2a930f33c17':
Fix NPE in `onActivityResult` when target fragment no longer exists.
271504dbdf494dc87a2a96ff5d108c75a3389143 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Do not dispatch context selection events to non-visible fragments."
ea518a3420d87c99f28bba47d13ebef727e4564f 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Fix potential NPE when saving fragment state."
72bf9301f2914d15c6432dbe1c68e2a930f33c17 19-Apr-2012 Christopher Tate <ctate@android.com> Merge "Fix NPE in `onActivityResult` when target fragment no longer exists."
37c1509886a7897163f70f4645c08ddf0b41632d 14-Apr-2012 Adam Powell <adamp@google.com> Add EXTRA_HTML_TEXT methods to ShareCompat.

Change-Id: I7475a70c7ed54e9e624b9a4cafb338b069323987
upport/v4/app/ShareCompat.java
200e3384b06670f660b283a5715a331be6d85fd3 14-Apr-2012 Adam Powell <adamp@google.com> Add constant for EXTRA_HTML_TEXT to IntentCompat

Change-Id: I88eccd8662751c0ad4b34d0e9b0ae09d1f291aec
upport/v4/content/IntentCompat.java
b469af6dc2f8cda4020a78fb4582c1483089fd6e 12-Apr-2012 Adam Powell <adamp@google.com> Post invalidations on the animation tick if available for
StaggeredGridView/ViewPager.

Fix interaction with nested scrolling in ViewPager.

Finish settling a ViewPager that is close enough to the end of a fling
when touched.

Change-Id: Ia68be871c92cdb448d4030fdc4b806c78ea69c1a
upport/v4/view/ViewPager.java
upport/v4/widget/StaggeredGridView.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/ViewCompat.java
ebc55e37f09dcb8233a22b1cb3889cfd225fa43b 06-Apr-2012 Adam Powell <adamp@google.com> DO NOT MERGE Fix a bug in TaskStackBuilder where task stack
PendingIntents would not clear tasks properly.

Cherry-pick from master

Change-Id: I75588830b1c7fb632ffc2409bcba0d4f07b90c36
upport/v4/app/TaskStackBuilder.java
77e2f963d4bcac5e0a4704cd4ea684b04735053e 02-Apr-2012 Katherine Kuan <katherinekuan@google.com> Reset item tops and bottoms for StaggeredGridView

When the StaggeredGridView is going to display
a completely new set of data, offer a reset method
so item top and bottom information is cleared.

Fix NPE when adapter notifyDataSetChanged() is
called.

Bug: 6282841
Change-Id: If1aee80358e32420d2b3a0d4e48ede39002d650a
upport/v4/widget/StaggeredGridView.java
56a1f598b89d0e65dbd2a2678b66a43f5b7638c2 06-Apr-2012 Adam Powell <adamp@google.com> Fix a bug in TaskStackBuilder where task stack PendingIntents would
not clear tasks properly.

Change-Id: I75588830b1c7fb632ffc2409bcba0d4f07b90c36
upport/v4/app/TaskStackBuilder.java
6b96c2a5aecbb56116667959e43489966e02ff73 30-Mar-2012 Jeff Sharkey <jsharkey@android.com> Add ICS TrafficStats features to v4 support.

Change-Id: I7a31ed15ba0093609f0d1df040c83fcc753d4267
upport/v4/net/TrafficStatsCompat.java
25df93b813befb678835eb040c8158bb5aa8fe8d 20-Mar-2012 Adam Powell <adamp@google.com> Fix a bug with changing the column count in StaggeredGridView.

Change-Id: I7aa6544e03e4c7426c96a906f7c78b91d2e8ebb6
upport/v4/widget/StaggeredGridView.java
121dba12686f0ff01cfe348c43a4f6f0edc18477 20-Mar-2012 Adam Powell <adamp@google.com> Properly handle top padding in StaggeredGridView while freshly populating items.

Change-Id: I6aa920320217017bc8720a4170739aee06b17537
upport/v4/widget/StaggeredGridView.java
346e2f2390f0d743fd10e7d01a015df6b32292cd 28-Feb-2012 Adam Powell <adamp@google.com> StaggeredGridView and supporting functionality

Stable IDs are not yet supported.

Move/rename HCSparseArray => SparseArrayCompat; make it public.

Add some new features to ViewCompat.

Add ScrollerCompat; leave it package-private for now as it needs
a reasonable fallback implementation for new methods.

Change-Id: I87d6952ef2c7748a40558759372a2525d6a52cf0
upport/v4/app/FragmentActivity.java
upport/v4/app/HCSparseArray.java
upport/v4/app/LoaderManager.java
upport/v4/util/SparseArrayCompat.java
upport/v4/widget/ScrollerCompat.java
upport/v4/widget/StaggeredGridView.java
dfe1d8aad64614e7f38f724e2c7658ecdad1d0f9 12-Mar-2012 Adam Powell <adamp@google.com> am 1d365108: am c41467a3: am 97b3c54f: Make FragmentActivity#supportInvalidateOptionsMenu public.

* commit '1d3651083b1999aad82841ca65fba375d68cb9ec':
Make FragmentActivity#supportInvalidateOptionsMenu public.
97b3c54fa1e1d75a87fd2429606c615894953946 12-Mar-2012 Adam Powell <adamp@google.com> Make FragmentActivity#supportInvalidateOptionsMenu public.

Change-Id: I0c9f3b76d9b7af67ab62bcd0f9c2af8f75e29222
upport/v4/app/FragmentActivity.java
0ca0ca39bbf3dfaa572d3d8950d11590d59eb9fb 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fixing a nit in comments."
e350edbd81af058201ac1b5dbe6631dafaffdadb 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing a nit in comments.

Change-Id: Iaed6ccf03bb4ab9d543ee7938c492f1a989cafb1
upport/v4/view/MotionEventCompat.java
c2f245960832cb84591ba0051875e5a6adbf28ec 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding missing APIs to the support v4 library."
dc5487a46b75572fa9120b22e89487c0178ff0a0 03-Mar-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding missing APIs to the support v4 library.

1. Added hover up and down motion event types in
MotionEventCompat.

2. Added a missing static modifier in AccessibilityManagerCompat.

bug:6020124
bug:6014412

Change-Id: I41e9562d4a09162d7bf940481a7525558a1771aa
upport/v4/view/MotionEventCompat.java
upport/v4/view/accessibility/AccessibilityManagerCompat.java
c95beb648f59c89c6bd7b0eed0a8b266a1b287e2 28-Feb-2012 Adam Powell <adamp@google.com> Add transient state APIs to ViewCompat

Change-Id: I84b5e82f1a7b79cd18474a2cdd78400cc2ac3e0a
upport/v4/view/ViewCompat.java
e70a95f70708c0168154c6753864cbbfc78c649f 24-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityManagerCompat missing isTouchExplorationEnabled().

1. All the plumbing was there but the method was not added
to AccessibilityManagerCompat.

bug:6014412

Change-Id: Iac697f4df1f6e29b5f54d3b259669e7b926e44fe
upport/v4/view/accessibility/AccessibilityManagerCompat.java
aad8fc95423d79f9fa5b3d653ef7571fb15d6d69 14-Feb-2012 Adam Powell <adamp@google.com> am ebdf461e: am c3e2b220: am 7ac4b376: Don\'t have ShareCompat.IntentBuilder start for result by default.

* commit 'ebdf461e16789dd4e146f2b2adb4c1d8a75bfa07':
Don't have ShareCompat.IntentBuilder start for result by default.
60bf1f5414ba04fe4c1f248c652382ad92ceb38d 13-Feb-2012 Adam Powell <adamp@google.com> am a7046d93: am c82ddd1c: am 82c3b869: Merge "Add app navigation helper code to the support library." into ics-mr1

* commit 'a7046d93b798a47d42e14f638468cc65ba090d73':
Add app navigation helper code to the support library.
7ac4b376371e890eb19838249e6749f64d707ad2 13-Feb-2012 Adam Powell <adamp@google.com> Don't have ShareCompat.IntentBuilder start for result by default.

Change-Id: Ib8d93c9323baf09c09b447050c63fe8047fae40f
upport/v4/app/ShareCompat.java
34e62e6e9f3355cf04f26e341c9c813ad2c70fef 13-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding missing accessibility APIs to the support library."
3a137cd495b313a047b5e800d02a925dea707fa0 11-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding missing accessibility APIs to the support library.

1. Several accessibility methods added in JellyBean were
not provided in the support library.

2. Fixing a bug of calling incorrect method with close name.

bug:5972986
bug:5979087

Change-Id: I4a95adc58f73cca12cdaa31232ae253fa077eebb
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
97b687d492c63a6a016f420835d5457d8b4b55b1 10-Feb-2012 Dianne Hackborn <hackbod@google.com> Add support lib LongSparseArray.

Change-Id: Id23cd3207a779de65c0822169b1742eee600cf79
upport/v4/util/LongSparseArray.java
4783095cc69fa85e484132337526c94d42d41c43 08-Feb-2012 Adam Powell <adamp@google.com> Fix a bug when a ViewPager adapter is set to null during scrolling.

Related to bug 5979875

Change-Id: I8b013d2704bcaf39a2c78fabf42716814c944275
upport/v4/view/ViewPager.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/ActivityCompat.java
upport/v4/app/NavUtils.java
upport/v4/app/NotificationCompat.java
upport/v4/app/TaskStackBuilder.java
upport/v4/content/IntentCompat.java
ac4078687ff889e804b198bf5748e611bbb0fa30 12-Dec-2011 Adam Powell <adamp@google.com> DO NOT MERGE - Add ShareCompat to the support library.

ShareCompat provides some extra extensions to the
ACTION_SEND/ACTION_SEND_MULTIPLE Intent protocol for sharing content
between applications.

ShareCompat.IntentBuilder is a helper that can construct sharing
intents with the proper metadata for sharing content.

ShareCompat.IntentReader is a helper for parsing the data shared by a
sharing intent.

Either of these helpers may be used in isolation. Extra data will be
added to communicate the package and activity info about the app
sharing the content, and the receiving app can make use of that data
whether it was supplied through startActivityForResult or extra
metadata added by ShareCompat.IntentBuilder.

ShareCompat.configureMenuItem can set up a MenuItem for sharing
depending on what UI capabilities are available on the current
platform version.

Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I74be64d9f70162e5d9ed833551856ddaadc24992
upport/v4/app/ActivityCompat.java
upport/v4/app/ShareCompat.java
efd500c1dc94cca913d5d714544dd0e7019858aa 05-Feb-2012 Matthias Huber <hubermat.android@gmail.com> Fix for restarting loader manager after orientation change

After an orientation change, the recreated FragmentActivity creates a new
LoaderManagerImpl. Unfortunately this new LoaderManagerImpl does not get
started in onStart(), so loaders cease to load after the orientation change.
The bugfix simply starts the newly created mLoaderManager in onStart().

Change-Id: I35ebc338aad42fb699cd11f742edc7d999df8390
upport/v4/app/FragmentActivity.java
45ddb90bd461bb05579b770caa22db4214e5646a 02-Feb-2012 Adam Powell <adamp@google.com> Merge "Pin the last page to the right edge of a ViewPager."
51b768815df5a122c4545066ede7299ce3c58b36 02-Feb-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding APIs for using AccessibilityNodeProvider to android-support-v4."
31bb17f88734747206586eeb3eb57123e3cc2434 01-Feb-2012 Adam Powell <adamp@google.com> Pin the last page to the right edge of a ViewPager.

Change-Id: I7e8fbe783b711a9dd57c76f259f20962d9c3dede
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewPager.java
956b013dfda37760b0232ed6d448900a546d2903 31-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding APIs for using AccessibilityNodeProvider to android-support-v4.

1. AccessibilityNodeProvider APIs enable a View to report a virtual
sub-tree rooted at it. Adding APIs that enable using that facility
in a backwards compatible fashion.

bug:5940165

Change-Id: I441762f4f943d5e0d149c114f974c992be4df20d
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/ViewCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityNodeProviderCompat.java
2c9657f7b1eabf9bdbaf348d206a76cc7f0a4400 01-Feb-2012 Dianne Hackborn <hackbod@google.com> Add callback to perform operations when fragments are resumed.

Change-Id: I4f903ffb88a3e1140b72285100a6c8decbf2a580
upport/v4/app/FragmentActivity.java
6bd60735de55d6621a4dffb0f6f4494decda484a 31-Jan-2012 Adam Powell <adamp@google.com> Fix bug 5918316 - bad offset calculation in ViewPager

Change-Id: Iec682c088d2173100eb65a902e1b34a88a2ff692
upport/v4/view/ViewPager.java
10718a81aa21f03d0879eb0585844c546ea3c4d3 31-Jan-2012 Adam Powell <adamp@google.com> Merge "Update v4 DialogFragment to match recent core Android framework changes."
f5e0db756dc5d612059bb387698897f92b406e56 31-Jan-2012 Adam Powell <adamp@google.com> Merge "Bug 5718838 - NPE in ViewPager#pageScrolled"
ad079a869adf67a87a2721342de27970a3ba1844 31-Jan-2012 Adam Powell <adamp@google.com> Bug 5718838 - NPE in ViewPager#pageScrolled

Change-Id: Idac5c3947267de6b4660ddce2453c6ca70f09369
upport/v4/view/ViewPager.java
c64858f808c159a8b144d22e3168459074cdc181 31-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing issues with accessibility APIs in the support-v4 library.

1. AccessibilityRecordCompat#getSource() was not implemented
correctly. If the internal implementation returns null
then this method should also do so for consistency.

2. AccessibilityNodeInfoCompat#getParent() and getChild()
making incorrect recursive call and also not returning null
if the internal implementation does so.

3. get/setMaxScrollX and get/setMaxScrollY now exposed for
devices running MR1.

bug:5920810
bug:5920093
bug:5913803

Change-Id: I74d73491ec7640f3074b0a6f094430f877ecf6ec
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
ee8bdae679a94a9be65204b96d9352c4afb58a93 30-Jan-2012 Adam Powell <adamp@google.com> Update v4 DialogFragment to match recent core Android framework changes.

This fixes some stability issues with double-dismissing and adds API support
for dismissing allowing state loss.

Fixes bug 5689305

Change-Id: I398290ea8af7cb07a5b19a50fbdf9ba194693a13
upport/v4/app/DialogFragment.java
73df5d38da5c66eca9dfdb93de9c17d8e9e6c6d6 29-Jan-2012 Omari Stephens <xsdg@android.com> Revert " Fixing issues with accessibility APIs in the support-v4 library."

This reverts commit bf0a90aac4fb0392d975887eb1cbe8f55827d91f.

To fix build
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
bf0a90aac4fb0392d975887eb1cbe8f55827d91f 28-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing issues with accessibility APIs in the support-v4 library.

1. AccessibilityRecordCompat#getSource() was not implemented
correctly. If the internal implementation returns null
then this method should also do so for consistency.

2. AccessibilityNodeInfoCompat#getParent() and getChild()
making incorrect recursive call and also not returning null
if the internal implementation does so.

3. get/setMaxScrollX and get/setMaxScrollY now exposed for
devices running MR1.

bug:5920810
bug:5920093
bug:5913803

Change-Id: Iffaf34d16e463933b55f8cf6d79d21918aa1145b
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
8650b2be627ebfe5b2625fae69624652ce0d7de0 24-Jan-2012 Adam Powell <adamp@google.com> Make sure sharing intents constructed with ShareCompat helpers set
Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET.

Change-Id: I3c002850fe04da72b4b18610e36382ccae87b919
upport/v4/app/ShareCompat.java
8205f0588fe605821216e4b9fe2c26709c4db8be 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Fix NPE in `onActivityResult` when target fragment no longer exists.

If an activity result comes in which originated from a fragment that
can no longer be found an attempt is still made to call a method
on the instance. The check for null already existed to produce a
logging statement but the subsequent method call was not placed
into an `else` result in the attempt to call being made every time.

Change-Id: I0378d516a16e511a6195608243c049b1cb50a8c8
upport/v4/app/FragmentActivity.java
f4c0cf637ba73374a206cec26c09d4dfa4c1a364 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Fix potential NPE when saving fragment state.

If a fragment's saved view state is null and the user
visible hint is true then the `result` bundle will have
never been initialized to a value resulting in a
`NullPointerException`.

Change-Id: I8ba585bc6b9298841490d64bc22a8219cd261adb
upport/v4/app/FragmentManager.java
3af7ac0c50606fabc975b5f2b8576cfe3212d65d 19-Jan-2012 Jake Wharton <jakewharton@gmail.com> Do not dispatch context selection events to non-visible fragments.

When used in a `ViewPager`, fragments that are present on the adjacent,
cached pages will receive context selection dispatches which, depending
on your fragment contents, can be difficult to determine whether or not
the event truly originated from your view.

By using the visible hint we restrict dispatching to only those fragments
which are marked as being visible. Since the fragment pager adapter
updates this setting properly most implementations will be afforded this
fix without any change required. If the user is implementing their own
adapter they likely already understand the implications of these cached
fragments and the reponsibility for updating the boolean falls to them.

Change-Id: Ie6a72c1c82c2784774373670007b6f5948fe16da
upport/v4/app/FragmentManager.java
0f034dc2c69044597a91649b8c073ae5e98a2f25 11-Jan-2012 Adam Powell <adamp@google.com> Fix fake dragging in ViewPager

Change-Id: Iac73e4d71d97a1975761e6691b821881e4fbf1de
upport/v4/view/ViewPager.java
14ad84e85a8c09b016a621f0f0017594e0d7864b 12-Dec-2011 Adam Powell <adamp@google.com> Add ShareCompat to the support library.

ShareCompat provides some extra extensions to the
ACTION_SEND/ACTION_SEND_MULTIPLE Intent protocol for sharing content
between applications.

ShareCompat.IntentBuilder is a helper that can construct sharing
intents with the proper metadata for sharing content.

ShareCompat.IntentReader is a helper for parsing the data shared by a
sharing intent.

Either of these helpers may be used in isolation. Extra data will be
added to communicate the package and activity info about the app
sharing the content, and the receiving app can make use of that data
whether it was supplied through startActivityForResult or extra
metadata added by ShareCompat.IntentBuilder.

ShareCompat.configureMenuItem can set up a MenuItem for sharing
depending on what UI capabilities are available on the current
platform version.

Change-Id: If211591e9c44a4c467b0d7333c54114f6361928b
upport/v4/app/ActivityCompat.java
upport/v4/app/ShareCompat.java
3d9e557a9a9152db585264987d64f81fa86c73b5 13-Dec-2011 Dianne Hackborn <hackbod@google.com> resolved conflicts for merge of 402ac589 to master

Change-Id: I65c0a15f5a2c91d386138bf6b522d6859dbcad76
7dc96cc2410f551eefaa973ddc144146ad72d1ec 13-Dec-2011 Dianne Hackborn <hackbod@google.com> SDK only: fix up support documentation and visibility.

Now that the support library appears in the SDK documentation,
it is worth cleaning up some of its java docs.

Change-Id: I63d4d04be8ee69abf9385597fddbddcaa030477f
upport/v4/accessibilityservice/package.html
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentPagerAdapter.java
upport/v4/app/FragmentStatePagerAdapter.java
upport/v4/app/HCSparseArray.java
upport/v4/app/NoSaveStateFrameLayout.java
upport/v4/app/package.html
upport/v4/content/Loader.java
upport/v4/content/ModernAsyncTask.java
upport/v4/content/package.html
upport/v4/content/pm/package.html
upport/v4/database/package.html
upport/v4/os/package.html
upport/v4/util/LruCache.java
upport/v4/util/package.html
upport/v4/view/ViewPager.java
upport/v4/view/package.html
upport/v4/widget/package.html
91eec7fd0b6ffdbb44cd13777950552f74f654e6 02-Dec-2011 Adam Powell <adamp@google.com> ViewPager bugfixes and API clarifications

Bug 5701216 - ViewPager resizing. Don't try to resume a current
scroll position if we don't have any active items.

Treat a new adapter as a new first layout when setting the current
item; if the pager hasn't had first layout with the new adapter yet
setting a current item should not animate.

Change-Id: Iecb01b5422301f679b5e3d108ee3baa94e3a8364
upport/v4/view/ViewPager.java
23b42ec742c2047d6bb9b364c9609e6e0af13b9d 01-Dec-2011 Adam Powell <adamp@google.com> Support vertical gravity on PagerTitleStrip

Bug 5687387

Also have the text components baseline align and fix a few other small
issues.

Change-Id: I9dcf34c6f2f9ff7f881c4870838b916071054b0b
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
552468d2a1e3cbf74f3a6dcbb68fe079aed56cf9 30-Nov-2011 Adam Powell <adamp@google.com> Fix some PagerTitleStrip bugs

Bug 5686735 - Bad constant used for setPrimaryAlpha in constructor
Bug 5687434 - textSize xml attribute ignored

Change-Id: Ife2d1e3ef0b7cd238b7de7b6d20d3c91e449f2f3
upport/v4/view/PagerTitleStrip.java
a4a06a94df00575480d789b60ea25ce59184df1f 22-Nov-2011 Adam Powell <adamp@google.com> Add variable-width pages to ViewPager.

Override PagerAdapter#getPageWidth. Default implementation returns
1.0.

Add more programmatic configuration settings to PagerTitleStrip:
* setTextSpacing
* setNonPrimaryAlpha
* setTextColor
* setTextSize

Change-Id: Ic05be8059e5b87523225e92dc906940c95349f76
upport/v4/view/PagerAdapter.java
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
eb04ff63310bcbd76fb5b06b7a82c728ef7bbe08 18-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Fix the build" into ics-mr1
7a01f352fa0fe92cfd786ced85129dcc5531c087 18-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Fix the build

Change-Id: I893e149ed4c586d88a71dba49abe47d4e3572985
upport/v4/app/FragmentStatePagerAdapter.java
eea7fd60f1417d822bee31140c25c249787f1096 18-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Add the support libraries to the platform documentation (support libs)." into ics-mr1
035f6aa81bbb439d2aa20dcd2eac4459a76d561e 10-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5547745 - Use Launcher Workspace style for ViewPager fling
behavior

Change-Id: Ib3fd7875bd951685830e1c28329894ae6f9d02ae
upport/v4/view/ViewPager.java
0574ca37da4619afe4e26753f5a1b4de314b6565 17-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Add the support libraries to the platform documentation (support libs).

Updated the support libraries' documentation.

bug:5629339

Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
upport/v4/accessibilityservice/AccessibilityServiceInfoCompat.java
upport/v4/accessibilityservice/package.html
upport/v4/android/accessibilityservice/AccessibilityServiceInfoCompat.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentStatePagerAdapter.java
upport/v4/app/FragmentTransaction.java
upport/v4/app/HCSparseArray.java
upport/v4/app/NoSaveStateFrameLayout.java
upport/v4/app/ServiceCompat.java
upport/v4/app/package.html
upport/v4/content/AsyncTaskLoader.java
upport/v4/content/CursorLoader.java
upport/v4/content/IntentCompat.java
upport/v4/content/ModernAsyncTask.java
upport/v4/content/package.html
upport/v4/content/pm/ActivityInfoCompat.java
upport/v4/content/pm/package.html
upport/v4/database/DatabaseUtilsCompat.java
upport/v4/database/package.html
upport/v4/os/ParcelableCompat.java
upport/v4/os/package.html
upport/v4/util/DebugUtils.java
upport/v4/util/LogWriter.java
upport/v4/util/TimeUtils.java
upport/v4/util/package.html
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/KeyEventCompat.java
upport/v4/view/MenuCompat.java
upport/v4/view/MenuItemCompat.java
upport/v4/view/MotionEventCompat.java
upport/v4/view/PagerAdapter.java
upport/v4/view/PagerTitleStrip.java
upport/v4/view/VelocityTrackerCompat.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewConfigurationCompat.java
upport/v4/view/ViewGroupCompat.java
upport/v4/view/accessibility/AccessibilityEventCompat.java
upport/v4/view/accessibility/AccessibilityManagerCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
upport/v4/view/accessibility/package.html
upport/v4/view/package.html
upport/v4/widget/CursorFilter.java
upport/v4/widget/EdgeEffectCompat.java
upport/v4/widget/SearchViewCompat.java
upport/v4/widget/package.html
583d8a1ff64c7c59dd4e11759f3d8e994ce878d9 17-Nov-2011 Adam Powell <adamp@google.com> Bug 5327146 - ViewPager API tweaks and docs

PagerAdapter previously took View instances as parameters to several
of its methods leading to lots of casting to ViewGroup in adapter
implementations.

Change these to take ViewGroups. Default implementation calls through
to deprecated stubs with the existing signatures, allowing current
adapters to keep working unmodified.

Add some documentation to PagerAdapter to explain how adapters should
be implemented and the basic mechanics behind ViewPager.

Change-Id: If18a3e4d18a0f84b781518833a23184832808838
upport/v4/app/FragmentPagerAdapter.java
upport/v4/app/FragmentStatePagerAdapter.java
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewPager.java
fe32563fd610767a2d3eea8dbd96e6bae87739d5 15-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing a comment in SearchViewCompat

Change-Id: I6553390cc7ec906acf5af14bac3478d0193f89b1
upport/v4/widget/SearchViewCompat.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/app/ServiceCompat.java
upport/v4/content/IntentCompat.java
upport/v4/content/pm/ActivityInfoCompat.java
upport/v4/database/DatabaseUtilsCompat.java
upport/v4/view/MenuCompat.java
upport/v4/view/MenuItemCompat.java
upport/v4/widget/SearchViewCompat.java
5de8804b248eebaf7c29113ec80a0dff3a03c97a 09-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5570272 - Monkeys, older devices, and ViewPager

The focus finder had a bug handling FOCUS_FORWARD and FOCUS_BACKWARD
before Android 3.0. Ignore the tab key on those devices.

Change-Id: I68cc5dd09392e794498181d92eee7e790198515d
upport/v4/view/ViewPager.java
79398eaefea45e61d839cf4e0534f0eafee70a09 07-Nov-2011 Adam Powell <adamp@google.com> Change the "start deferred" fragment API to "user visible hint" -
Support lib edition

Allow a fragment to set a hint of whether or not it is currently user
visible. This will be used implicitly to defer the start of fragments
that are not user visible until the loaders for visible fragments have
run. This hint defaults to true.

Modify FragmentPagerAdapter to use the new APIs both in
frameworks/base and here.

Change-Id: Idb5bce8a9ddf484186942555cd3c581d833eba7c
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPagerAdapter.java
6cafd27a3c89dfed10d7e226dc6168307513d4a6 02-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5557267 - [ViewPager] non-primary fragments unnecessary
stopped if "defer start" is enabled

Only revise the target state in moveToState if it would cross the
stopped/started boundary.

Change-Id: I7d0ad66668729ee12c43dcf1635b270a7d0a48b7
upport/v4/app/FragmentManager.java
a7aea206661d601755bfac4165092d9130cba2bc 02-Nov-2011 Adam Powell <adamp@google.com> Fix bug 5521154 - changing adapters in ViewPagers with title strips

Don't remove decorative views from a ViewPager when an adapter is
set to null.

Change-Id: Icf44aabf18adbd67fe156bcf48636418d9911aff
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
1199ae7067cdf8cf3eb30c057a61ae71a0aea1e5 31-Oct-2011 Adam Powell <adamp@google.com> Bug 5535639 - Monkeys mad at FragmentManager

Also check for starting deferred start fragments when a loader is
destroyed.

Change-Id: I58c80708f96afa2943ca1e2cae077f7ac52a064d
upport/v4/app/FragmentManager.java
upport/v4/app/LoaderManager.java
abc968f1eba800c34a4008deb43b015da5d23a5f 26-Oct-2011 Adam Powell <adamp@google.com> Defer starting fragments in FragmentPagerAdapter for offscreen pages.

Add FragmentCompatICSMR1 to work with deferring fragment starts.

Fix some slightly dodgy layout behavior in ViewPager when extra child
views are present.

Add deferred start feature to support library fragment/loader
framework.

Change-Id: Ied454a6f3e11024eafc970ed9d091788c2d80bab
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPagerAdapter.java
upport/v4/app/LoaderManager.java
upport/v4/view/ViewPager.java
862ffa0efd58922b8ec119bf6fa6695c316423f7 25-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5512616 - monkeying with measurement

Fix a ViewPager bug where a stale value was being used when measuring
child views and angering the monkeys.

Change-Id: Ib8cf4827dfab3ccddd879dbedac4b631e489aa3b
upport/v4/view/ViewPager.java
3ce9274ccb8034c1787415c77307bbda36071bdd 25-Oct-2011 Adam Powell <adamp@google.com> DO NOT MERGE - cherry-pick Fix a bug where ViewPager scroll direction
could be unpredictable.

Make ViewPager track velocity before touch interception occurs so that
the distance traveled to cross the slop threshold is properly
accounted for.

Change-Id: I2946784ab6c492d248697b5dd7d121f501d484c7
upport/v4/view/ViewPager.java
1ccb8bcb79557d861de7f271c13e2fd8e54e012a 24-Oct-2011 Adam Powell <adamp@google.com> DO NOT MERGE - cherry-pick Fix bug 5504575 - ViewPager marks fragments
as decor on rotation

ViewPager should be less zealous about marking child views as decor,
specifically when fragment restoration is involved outside of pager
population. Introduce an interface that custom views can implement to
become decor by default. Leave it package-private for now.

Change-Id: Ib08eb1396824966e4324d6345bd3a33dd329a6e6
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
ccbf4f960fbe595d61b4f54d644cb8f090d19eaa 21-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am d9ed2f88: Merge "Accessibility API in the compat lib should return empty lists and NPE in AccessibilityDelegateCompat." into ics-mr0

* commit 'd9ed2f88439b967a46f91681333bd627d9c64e57':
Accessibility API in the compat lib should return empty lists and NPE in AccessibilityDelegateCompat.
d9ed2f88439b967a46f91681333bd627d9c64e57 21-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "Accessibility API in the compat lib should return empty lists and NPE in AccessibilityDelegateCompat." into ics-mr0
f9c2277244722eca88c784b9cfdcc78df7f94781 21-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Accessibility API in the compat lib should return empty lists and NPE in AccessibilityDelegateCompat.

NOTE: This change does *not* effect the ssytem, rather only the SDK.

bug:5494103

Change-Id: I6e7f85e4cb1ea4e84239188ddfc09794018e432c
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/accessibility/AccessibilityManagerCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
34c06baaec4db746c96721347961c0c30040bdd5 21-Oct-2011 Adam Powell <adamp@google.com> Merge "Title strips for ViewPager"
8fffe01871be1806a1bdefa1f7213b660fcf5ac0 17-Oct-2011 Adam Powell <adamp@google.com> Title strips for ViewPager

Add non-interactive title strips to ViewPager. This includes the
following moving parts:

* Extra decorative view support for ViewPager. Decorative views may be
supplied as child views of a pager in XML layout.

* Some package-private plumbing for communication without disturbing
any pager callbacks that apps may be using.

* The addition of PagerAdapter#getPageTitle to supply title strings
for pages. (Defaults to no title for each page.)

* The view PagerTitleStrip, to be added as a child of ViewPager.
The developer can supply textAppearance/textSize/textColor etc.
as well as layout sizing and gravity information this way.

Change-Id: Id28d7f1ed996869f3f60bf99252340308f292d19
upport/v4/view/PagerAdapter.java
upport/v4/view/PagerTitleStrip.java
upport/v4/view/ViewPager.java
b07fe5a82be8d4b0264c18cb853e90e7c31720bd 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am 18e702a3: Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0

* commit '18e702a3797a29c17f33c3ee3acd38dd1c1f78f1':
AccessibilityServiceInfo does not report properly the feedback type.
18e702a3797a29c17f33c3ee3acd38dd1c1f78f1 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Merge "AccessibilityServiceInfo does not report properly the feedback type." into ics-mr0
1295792da760a6baca24d95f2a7975eec1c2b08a 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityServiceInfo does not report properly the feedback type.

Since the feedback type is an integer the bits of which correspond to a given
feedback type, the AccessibilityNodeInfoCompat#feedbackTypeToString should return a
string representation of all feedback types. The current implementation
incorrectly assumes that the argument had only one flag set. Note that this
is a new ICS API and we would like to have this fixed.

bug:5486933

Change-Id: Id6299968d82c8f9916a52938c0d5bda1f57d3f96
upport/v4/android/accessibilityservice/AccessibilityServiceInfoCompat.java
32bcf22c77120c0614e3ae99f4a91cbb46ca9b5d 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> am f59ea22d: Class cast exception in the android support v4 library

* commit 'f59ea22d4af49aaebf9a712d39e756f77d9d7790':
Class cast exception in the android support v4 library
f59ea22d4af49aaebf9a712d39e756f77d9d7790 20-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Class cast exception in the android support v4 library

The AccessibilityNodeInfo passed to AccessibilityNodeInfoCompatIcs#onInitialzieAccessibilityNodeInfo
is not the right class. Instead the wrapped implementation the wrapper is passed.

bug:5486248

Change-Id: Iddb19000ab6e120d31fee6ad63c9b3db9d7e7ec8
upport/v4/view/AccessibilityDelegateCompat.java
9508e3e642f5093e3181b4d5a3777bd84eedbcc6 17-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5469634 - ViewPager doesn't call startUpdate/finishUpdate for
dataSetChanged()

Change-Id: I164be97312afe280a1dafbf47a8838a0e0e978d9
upport/v4/view/ViewPager.java
9648c538bac4f04145c118cc41168d1d7a536312 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding the new accessibility APIs to the v4 support library.

This change adds support for the new accessibility APIs in ICS
and does not affect the system, rather only the SDK.

bug:5445057

Change-Id: Ifc3790287bf224eb7489f6c325ce8cf7ce619a1d
upport/v4/android/accessibilityservice/AccessibilityServiceInfoCompat.java
upport/v4/view/AccessibilityDelegateCompat.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewGroupCompat.java
upport/v4/view/accessibility/AccessibilityEventCompat.java
upport/v4/view/accessibility/AccessibilityManagerCompat.java
upport/v4/view/accessibility/AccessibilityNodeInfoCompat.java
upport/v4/view/accessibility/AccessibilityRecordCompat.java
4fb2aa8fb492e12ed48daa4f025e0bfac00a2514 11-Oct-2011 Adam Powell <adamp@google.com> Fix bug 5440070 - ViewPager crashes on Donut

Emulate pointer id/index behavior for pointer id/index 0 when only
a single pointer is available.

Change-Id: I023b8a96e1857425f39bfb03536da5e4f8e02ba1
upport/v4/view/MotionEventCompat.java
1cbf48f28f6ef523af2a4aafa98c5437964cb48a 11-Oct-2011 Adam Powell <adamp@google.com> Bug 5278437 - Tweak ViewPager fling physics

Make ViewPager behave more like the launcher workspace.

Change-Id: Id3c6e34709f091e31a0210cdc88276e89f7842aa
upport/v4/view/ViewPager.java
c286d5c93640e82c649888b7e5045801581e4d6c 10-Oct-2011 Dianne Hackborn <hackbod@google.com> Calling close() outside of the main thread breaks stuff.

No safe way to fix at this point.

Change-Id: Ic1b1d3f5fb0ec8ce9659444c50bc2744fad2745d
upport/v4/content/CursorLoader.java
upport/v4/database/CursorHelper.java
8a2ca60963f77938e1a611f2342ad043dc9467cf 09-Oct-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5418999: [From My Phone] - ANR when navigating back from OneUp view

Close cursor asynchronously.

Change-Id: I03694d16ef919bfad868b5ce2a16f5b6d8572ba0
upport/v4/content/CursorLoader.java
upport/v4/content/ModernAsyncTask.java
upport/v4/database/CursorHelper.java
390dc3748e6dea81760eb1773d55fcbd42976388 29-Sep-2011 Evan Millar <emillar@google.com> Fix onPageScrolled() parameters when page margin set.

Change-Id: If9f0c6fd22afc4d17797b099e8db80ab5a3430ad
upport/v4/view/ViewPager.java
329da4d5431ae7923279b56b45b84e70c52f8eee 26-Sep-2011 Adam Powell <adamp@google.com> Add support for margins between pages in a ViewPager.

Apps may also supply an optional Drawable that will fill the margin
between pages.

Change-Id: I83ac0ff4fabf6bb7fb4a8c17e84d6908190e60dd
upport/v4/view/ViewPager.java
29a6184d74279156a9297dc67398712fb047fdc0 19-Sep-2011 Adam Powell <adamp@google.com> Bug 5300610 - Swiping between pages of a ViewPager can be slow

Add setOffscreenPageLimit to ViewPager. This allows apps to specify
how many pages will be kept active to either side of the current page.

Normally this is not needed, but the pathological case for ViewPager
is an adapter with a fixed set of 3 pages when this limit is set to 1.
Every swipe from an edge will page in the furthest item, forcing it to
relayout. setOffscreenPageLimit allows these apps to keep more pages
active and skip extra layout passes.

Change-Id: I319181ce354b9004f1b7a26cbfd0c1c399cb293f
upport/v4/view/ViewPager.java
f98be2efe67cf4ce160d7ea0b1fba5b46c92a01b 16-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5244365 - Don't populate a ViewPager in onAttachedToWindow

This can result in multiple calls to onAttachedToWindow on child
views; one originating from the addView call and the second from the
continuing dispatch of onAttachedToWindow to the ViewGroup's children.

Change-Id: Iab15a5b222fd2f12c9e92d046df131695759df0b
upport/v4/view/ViewPager.java
b07179708a404260c65814b0ff14702eef189c01 16-Sep-2011 Dianne Hackborn <hackbod@google.com> Add API for FragmentActivity to retain custom non config instance data.

Change-Id: I62360c2a277423867ebae3e031cde331b32441e6
upport/v4/app/FragmentActivity.java
efd6fc3b965239397c398f3b6fcbf1c9e66864ca 07-Sep-2011 Adam Powell <adamp@google.com> Remove requestChildRectangleOnScreen from ViewPager

This caused some unintended consequences around editable TextViews in
particular, plus it doesn't make a lot of sense for a view in a side
page to be able to steal pager focus so easily.

Fixes bug 5245437

Change-Id: Id9605c3d1d0bc449becd9a11a41d8bf0f6509488
upport/v4/view/ViewPager.java
560114f591be31d0fb73c26a1ee1cc0a15184aba 03-Sep-2011 Adam Powell <adamp@google.com> Make ViewPager aware of EdgeEffect on ICS devices.

Add EdgeEffectCompat for apps that also want to selectively show the
ICS-style edge effect.

Add ViewCompat methods for checking/changing over scroll modes on GB+

Change-Id: If0de62c389c9eaef4593f2321ee99787b13b2418
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
upport/v4/widget/EdgeEffectCompat.java
218c1e661578e2a17928f7dbb590b43d1c79aeb7 02-Sep-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5238823, #5100340 and #5249654.

5238823: java.lang.NullPointerException at...
...android.support.v4.view.ViewPager.pageRight(ViewPager.java:1335)

5100340 Leaking reallyStopped in FragmentActivity

5249654 ViewPager resets focus on layout when descendant of...
...fragment.getView() is focusable (FragmentPagerAdapter bug)

Also there was a bug in the "really stopped" thing that was
previously introduced -- fragments wouldn't stop their loaders
until hitting that state, but they wouldn't go into that state
if the fragment was deactivated or put on the back stack without
the containing activity really stopping.

To fix this, we now implement the really stop facility as
an actual state, using the ACTIVITY_CREATED state, so that we
can know when to do the really stop for both cases.

Change-Id: Ia9bd55f41ad30c3ce07f99b6ac6d9113b15fe46d
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/view/ViewPager.java
3040c142491acd4a09e7d0add073be0067aec2d5 02-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5248444 - ViewPager reported scroll state out of sync for some
fake drags

Change-Id: I3801a624137506763470110e622da125f12775d2
upport/v4/view/ViewPager.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/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPagerAdapter.java
upport/v4/app/FragmentStatePagerAdapter.java
upport/v4/view/KeyEventCompat.java
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
481243c175651c5de0741ab9390eb10f5b024d98 28-Aug-2011 Adam Powell <adamp@google.com> Improve ViewPager accessibility and focus behavior.

Change-Id: I2b0847f2a02c894b2d7de3ca978636347151a649
upport/v4/view/ViewPager.java
b743165c9f754c5503d4d056f263f7a328cafca6 13-Aug-2011 Minh Pham <phamm@google.com> Fix bug in ViewPager

- If the current adapter has less than 3 items, then we need to repopulate even when the current item doesn't change.
Bug: 5160404

Change-Id: I12cb747b8d99c07266f3ceaeeb4d2e3c3292594d
upport/v4/view/ViewPager.java
4e6647fe2551985f33407acd712a4942b090207a 08-Aug-2011 Dianne Hackborn <hackbod@google.com> Clear saved state after it is no longer needed.

Change-Id: I1b452808f53758e2bf1cbf97a32d870280a14bba
upport/v4/app/FragmentManager.java
66c0e6a0a5fd20c66b6c86133b8bd91fe303e430 04-Aug-2011 Minh Pham <phamm@google.com> Fix bug when changing position

- mItems has the assumption that its items are sorted by position. This assumption might be break when onDataSetChanged()
Bug: 5085158

Change-Id: I54e25916414def7acdb05e35ef8e9fa8a1155186
upport/v4/view/ViewPager.java
e4f7ceb9d58cf72df003eb1f8df24681d6e73eb5 03-Aug-2011 Minh Pham <phamm@google.com> Merge "Make canScroll protected"
cf2312ee850d26c9d1a2413c996d41397e816fb5 03-Aug-2011 Minh Pham <phamm@google.com> Make canScroll protected

- This allows apps to override canScroll with special case and can enable swiping wide content works on pre-ICS devices.
- Minor cleanup
Change-Id: I9f03619ee603a7618d15bc30b1ac1996859668d6
upport/v4/view/ViewPager.java
fbabff99ccbcb576c713991c5db5dec21a0d0ce0 02-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5085211: Leaked cursors in Loaders

It looks like canceling of async tasks on froyo behaves differently
than newer platforms. To deal with this, we'll just have our own
impl of the async task engine in the support library for use on those
older platforms.

It would be nice to switch to the built-in AsyncTask when running on
newer versions of the platform... not sure the best way to do that,
though.

Change-Id: Ic2209c83033b76f12be5ceee0809f4fc57af7026
upport/v4/content/AsyncTaskLoader.java
upport/v4/content/CursorLoader.java
upport/v4/content/ModernAsyncTask.java
df6f1393f73a488ba2661b28d3d88a5ac19c4ea2 26-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5063010: Loaders don't seem to be properly...

...retained with compatibility library

Also we never implemented the full custom animation stuff in the support
lib. Now it is there.

Change-Id: I25b410752fdc3e7ae876802fdc8d7a62e4b07236
upport/v4/app/BackStackRecord.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentTransaction.java
e8b402b00c0cbdac050c349a5fc89c34580f3185 22-Jul-2011 Dianne Hackborn <hackbod@google.com> Fix issue #5054723: java.lang.NullPointerException at...

...android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1284)

Make sure to commit all pending actions before completing the destroy.

Change-Id: I9e88cbfef5f96d63876023b897b44b8999aa8042
upport/v4/app/FragmentManager.java
053e500a0e25cabf53139f57dc474a0b28751b91 19-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5042520 - bug in ViewPager orientation changes

Change-Id: I260798ea0f3d7798021b7a4ab58e15767d9227c3
upport/v4/view/ViewPager.java
9bc74aa50cd69dbd1d813102718c8dbf94c42aba 18-Jul-2011 Adam Powell <adamp@google.com> Fix bug 5022052 - handle ViewPager size changes when an animation is
in progress.

Change-Id: Ibc5a432790f830a755cb1aa8be67a45100445fe6
upport/v4/view/ViewPager.java
9f491519261135d9de50b60c2182755ccb665bf5 17-Jul-2011 Jeff Sharkey <jsharkey@android.com> Release strong Fragment references after exec.

When finished with a Runnable transaction in execPendingActions(),
release the strong reference so that Fragment can be GC'ed.

Bug: 3117761

Change-Id: I6b546eeaa8e4783009ae27f2bab5ccecb28337fb
upport/v4/app/FragmentManager.java
97d6e631c6a0f698ae6fb249617f1596cb9c1cf1 28-Jun-2011 Adam Powell <adamp@google.com> Fix bug 4966082 - provide options to select a new page in a ViewPager
without smooth scroll.

* Any setCurrentItem calls before the first layout after being
attached to a window will be immediate. This lets apps set up an
initial state.

* Add a setCurrentItem overload that can optionally skip the smooth
scroll.

Change-Id: Ic7c592c450bbd333785665a95b2f204d1618c120
upport/v4/view/ViewPager.java
3083afddf1baabb57e801d2aa7d9c59e8b1e1c19 24-Jun-2011 Dianne Hackborn <hackbod@google.com> Add LocalBroadcastManager.

Change-Id: If85b20489eeefcb12c0e0161e329a11a457644d4
upport/v4/content/LocalBroadcastManager.java
69b7a33f67a5577ceb2bd43ff389d89b592f85b1 17-Jun-2011 Adam Powell <adamp@google.com> Add fake dragging to ViewPager.

A fake drag lets an application simulate (or delegate) a touch drag on
the ViewPager. This makes it easier to implement other widgets that
scroll alongside the pager in parallax while letting the pager control
the overall motion and fling behavior.

Change-Id: Id75d4d15171493fb66503fb77c7827cc9eea5b4b
upport/v4/view/ViewPager.java
871a68b5daafd810623d680207652f87eb2d11cc 17-Jun-2011 Minh Pham <phamm@google.com> Reset scroll position when clear state

- Scroll to (0, 0) when setting adapter to null.
Bug: 4690349

Change-Id: Ia06d079b86491696d7509385e08ce7d1227177b1
upport/v4/view/ViewPager.java
87de5dae70791508a2e77a2fa3f6d63237a0638e 16-Jun-2011 Dianne Hackborn <hackbod@google.com> am 1d14e69b: Remove this old class. Only impacts SDK, not system image.

* commit '1d14e69b622aac46d309c95356b625db741178ad':
Remove this old class. Only impacts SDK, not system image.
bd4398ce660db91dabde5db1e87890d5df0b0823 16-Jun-2011 Makoto Onuki <omakoto@google.com> Add ViewaPager.getCurrentItem

Change-Id: I9ae744e2ed081866589b6ad8f3767e199b2dd148
upport/v4/view/ViewPager.java
0d6d2990ddacd3f419879149137f09a30c061436 16-Jun-2011 Minh Pham <phamm@google.com> Cleanup ViewPager when switch adapter

- Destroy all items in the old adapter
- Clear the internal list of items
- remove all views

Change-Id: I9608b03bd2b2fcb1949f8c7c2d59d49914d27508
upport/v4/view/ViewPager.java
1d14e69b622aac46d309c95356b625db741178ad 16-Jun-2011 Dianne Hackborn <hackbod@google.com> Remove this old class. Only impacts SDK, not system image.

Change-Id: Icdf8dcb0bb038e36ce07a5a38588084afd615053
upport/v4/app/FragmentPager.java
388026a7c2dc75f106e60cbfbe655f5fb8b8200e 16-Jun-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. Only impacts SDK. Integrate from master.

ViewPager tweaks and API changes

Listener now receives item selected events when the pager believes the
current item has changed rather than strictly at the end of the
animation.

Scroll state change events are now fired when the pager is idle,
dragging, or settling into place.

Multitouch scrolling does not allow the pager to be dragged beyond
active elements.

Change-Id: Idc0ad261ca2959f6b322e8e1381205da92317a44
upport/v4/view/ViewPager.java
47dc57337c13a2760ea3512ad84d6aa9f24ccd28 16-Jun-2011 Adam Powell <adamp@google.com> ViewPager tweaks and API changes

Listener now receives item selected events when the pager believes the
current item has changed rather than strictly at the end of the
animation.

Scroll state change events are now fired when the pager is idle,
dragging, or settling into place.

Multitouch scrolling does not allow the pager to be dragged beyond
active elements.

Change-Id: I135452b78ffed94260a5e7537da43211dda7eb5c
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
863b881007c8cef34d3532b0ecfa87f51fc64b6a 15-Jun-2011 Makoto Onuki <omakoto@google.com> Merge "Fix NPE in ViewPager.onSaveInstanceState"
4b691aa3666be2cd5115c3375e7c23667e70fb15 15-Jun-2011 Dianne Hackborn <hackbod@google.com> am 2c4b5dbf: Merge in fixes from main platform.

* commit '2c4b5dbfee5232bcbbcb74b84ce9147b62a9d789':
Merge in fixes from main platform.
2c4b5dbfee5232bcbbcb74b84ce9147b62a9d789 15-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge in fixes from main platform.

Change-Id: I8e63b6990022869aa033d4672018d6585355bf76
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
677ada6ea45f3889fb5118e85a3aa706f99e4d72 15-Jun-2011 Makoto Onuki <omakoto@google.com> Fix NPE in ViewPager.onSaveInstanceState

Change-Id: Ifee62477291f970873b5fdeba8336800d1b8643e
upport/v4/view/ViewPager.java
40b7fc22b275a582ea07876df7a5f893b3a76381 14-Jun-2011 Adam Powell <adamp@google.com> Merge "Add support for horizontal scrolling within a ViewPager (ICS-only)"
bc889e39e279fcf8c3d35fc11d8052c002eddf38 14-Jun-2011 Adam Powell <adamp@google.com> Add support for horizontal scrolling within a ViewPager (ICS-only)

Change-Id: I7ceb2eb65536a2dc7a9323202c1999071cae237a
upport/v4/view/ViewCompat.java
upport/v4/view/ViewPager.java
da0cc3de85b613680f0ecdf00ec9e9137f810731 14-Jun-2011 Dianne Hackborn <hackbod@google.com> am f81fd8c3: Finally implement progress indicator for ListFragment.

* commit 'f81fd8c39e5ca44a4adb2fb45f9b382305842d87':
Finally implement progress indicator for ListFragment.
db8fdb2c5b6573af5e788f3f76ec6867920415b3 14-Jun-2011 Dianne Hackborn <hackbod@google.com> am 9c53b844: Update to follow fixes from platform.

* commit '9c53b844bd525e6a04e17291efc38713893074cd':
Update to follow fixes from platform.
4a1dddb5304bcdd8e52fb9876f64b52d0079a4d7 13-Jun-2011 Dianne Hackborn <hackbod@google.com> Merge "DO NOT MERGE: Cherry pick from master -- Add ViewPager features." into honeycomb-mr2
b097e1498ee2c8bb6265ef948dbea45a1e51ef84 11-Jun-2011 Adam Powell <adamp@google.com> DO NOT MERGE: Cherry pick from master -- Add ViewPager features.

Support changing data sets in a ViewPager adapter.

Add listener interface to respond to scrolling.

Change-Id: I8adb7be59217df1b46c4a1afa99e4da8cc0d34ea
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewPager.java
f81fd8c39e5ca44a4adb2fb45f9b382305842d87 13-Jun-2011 Dianne Hackborn <hackbod@google.com> Finally implement progress indicator for ListFragment.

Change-Id: I09452c0345285b39c4741dbfcf611718f2447b21
upport/v4/app/ListFragment.java
9c53b844bd525e6a04e17291efc38713893074cd 13-Jun-2011 Dianne Hackborn <hackbod@google.com> Update to follow fixes from platform.

Change-Id: I9918b084426c62a60581e3ac6e69a48e51b7cc9b
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/app/ListFragment.java
upport/v4/app/LoaderManager.java
3661ad6c9143d58f741568f940f77ca9d38dec47 11-Jun-2011 Adam Powell <adamp@google.com> Add ViewPager features.

Support changing data sets in a ViewPager adapter.

Add listener interface to respond to scrolling.

Change-Id: Ib048d938e5721f379a446842d1bd7e80b923627d
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewPager.java
a91d020da0f7cf4057ebfb221b53e606467a7241 07-Jun-2011 Dianne Hackborn <hackbod@google.com> am 5c163708: Move PagerView down to the v4 support lib.

* commit '5c1637087453de15e31861f073eae5133c4e9f7b':
Move PagerView down to the v4 support lib.
5c1637087453de15e31861f073eae5133c4e9f7b 06-Jun-2011 Dianne Hackborn <hackbod@google.com> Move PagerView down to the v4 support lib.

Adds in standard adapters for using PagerView with the fragment support library.

Also bring in the most recent HC fragment API and impl changes so that the support
lib matches it.

Change-Id: Id8a590378b8c544a92df4f3c11af323c930aa5fd
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPager.java
upport/v4/app/FragmentPagerAdapter.java
upport/v4/app/FragmentStatePagerAdapter.java
upport/v4/os/ParcelableCompat.java
upport/v4/view/PagerAdapter.java
upport/v4/view/ViewPager.java
c7e8b0039d1666bafb43ceb47c04a97ed7ef0dcd 04-Jun-2011 Dianne Hackborn <hackbod@google.com> am ea2c91b0: New super-spiffier ViewPager class.

* commit 'ea2c91b0198855073983b4a8437aa71cbd83872f':
New super-spiffier ViewPager class.
ea2c91b0198855073983b4a8437aa71cbd83872f 03-Jun-2011 Dianne Hackborn <hackbod@google.com> New super-spiffier ViewPager class.

Replaces FragmentPager. But spiffier. Like I said.

Change-Id: I8a61a2bb613c8efcb95bf458e968e4a35d156491
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
715a71e5f73cbc33f307cbd3625db8f889a05c1a 20-Apr-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE: From master -- Remove some white space.

Change-Id: Ibbcf5400fb7b521c7737fcca98e5b2c86e267fe7
upport/v4/app/FragmentManager.java
e4417c91a0bb2fba42a0aaa99edcca1b238af21a 05-Apr-2011 Dianne Hackborn <hackbod@google.com> DO NOT MERGE. Integrate support work from master.

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.

Tweak view save/restore state so it will play well with list views.

We need to restore the state *after* the adapter has been set;
setting the adapter clears the state. To do this, we move the
state restore from immediately after the view is created to after
we call Fragment.onActivityAttached().

Also introduced a new Fragment.onViewCreated() callback which is
nice for fragments that want to do some setup after onCreateView()
but allow for subclasses to override that method. (ListFragment
I'm looking at you.)
upport/v4/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPager.java
upport/v4/app/FragmentTransaction.java
upport/v4/app/ListFragment.java
upport/v4/view/MotionEventCompat.java
upport/v4/view/VelocityTrackerCompat.java
upport/v4/view/ViewConfigurationCompat.java
9af3080815137213b12730149fd75338255e9328 20-Apr-2011 Dianne Hackborn <hackbod@google.com> Remove some white space.

Change-Id: I36192a9af52e0dcfd7acc214039539b5bf551ddf
upport/v4/app/FragmentManager.java
fc546a4bbfbf1ace0729ec3eca9d69020a7d57dd 15-Apr-2011 Dianne Hackborn <hackbod@google.com> Tweak view save/restore state so it will play well with list views.

We need to restore the state *after* the adapter has been set;
setting the adapter clears the state. To do this, we move the
state restore from immediately after the view is created to after
we call Fragment.onActivityAttached().

Also introduced a new Fragment.onViewCreated() callback which is
nice for fragments that want to do some setup after onCreateView()
but allow for subclasses to override that method. (ListFragment
I'm looking at you.)

Change-Id: Ib06d7b0208306f2e4a807917a5c1d99415d31203
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/ListFragment.java
4f55b122ba30dac3af0ebc9a48f1a43c55025d42 08-Apr-2011 Joe Onorato <joeo@google.com> Remove the deprecated things from Config.java. These havent been working since before 1.0.

Change-Id: I5fa9222153478891c9baaa9c8070654a8a9ac003
upport/v4/widget/CursorAdapter.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/app/BackStackRecord.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentPager.java
upport/v4/app/FragmentTransaction.java
upport/v4/view/MotionEventCompat.java
upport/v4/view/VelocityTrackerCompat.java
upport/v4/view/ViewConfigurationCompat.java
c66d5ea8b9f22420230a9997bc357be0f595d887 18-Mar-2011 Jesse Wilson <jessewilson@google.com> Merge "Use the Honeycomb MR1 API level." into honeycomb-mr1
2f57cb1149f4ff23de0c8b926b893412704d3d35 18-Mar-2011 Jesse Wilson <jessewilson@google.com> Use the Honeycomb MR1 API level.

Change-Id: I599b482f864d98a3f638792c2d86c302ffcad53b
http://b/4128214
upport/v4/util/LruCache.java
3137d1472f1de9eac2e9a5dbe5b8d91282b24e66 10-Mar-2011 Dianne Hackborn <hackbod@google.com> Fix issue #4081614: Fragment.onActivityResult() broken in support lib

Change-Id: Ie21b8e63b3bf8bf7ed75a68604c7d352f9402e07
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
9277b9e4419c1f0b5236d9b573a7cc0b23d56402 09-Mar-2011 Dianne Hackborn <hackbod@google.com> Implement fragment animations.

I forgot to finish the implementation of this in the support library.
Currently the standard animations are very hard-coded to look the
same as HC.

Also bring over my MR1 fix to onInflate().

Change-Id: Ib584e158bb691986d912aea5fd3004b8b2da7a6a
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
8e63c6994ea91c4a9ab3e68a60fcf6de7aab5565 26-Feb-2011 Jesse Wilson <jessewilson@google.com> Fix break where I'm using a libcore-internal method.

Change-Id: Ie198786f3e273a7ff6777b920ab40acc5c51b836
http://b/3461302
upport/v4/util/LruCache.java
a87be984a409450f8e697bd5009d2aa9ccebbea6 26-Feb-2011 Jesse Wilson <jessewilson@google.com> Update LruCache to match latest code in frameworks/base

Change-Id: Ia7d033d2f77db671956cb5a83c42e90a8fb61967
http://b/3461302
upport/v4/util/LruCache.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/FragmentActivity.java
upport/v4/view/MenuCompat.java
795b97d901e1793dac5c3e67d43c96a758fec388 18-Feb-2011 Jesse Wilson <jessewilson@google.com> Make Honeycomb MR1's LruCache available to Android 1.6+

Change-Id: I8309c022cec5a4824f7c325af921de82525e9459
http://b/3184897
upport/v4/util/LruCache.java
681a6fb06bdedb8661a68a1b9e34727b6059aa39 14-Feb-2011 Dianne Hackborn <hackbod@google.com> Finish remaining key implementation.

Change-Id: Idb10f45bc109e57966dd2abdf446e60c5fd32aec
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
cba2e2c881e8e16ea5025b564c94320174d65f01 08-Feb-2011 Dianne Hackborn <hackbod@google.com> First checkin!

Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
upport/v4/app/BackStackRecord.java
upport/v4/app/DialogFragment.java
upport/v4/app/Fragment.java
upport/v4/app/FragmentActivity.java
upport/v4/app/FragmentManager.java
upport/v4/app/FragmentTransaction.java
upport/v4/app/HCSparseArray.java
upport/v4/app/ListFragment.java
upport/v4/app/LoaderManager.java
upport/v4/app/NoSaveStateFrameLayout.java
upport/v4/app/SuperNotCalledException.java
upport/v4/content/AsyncTaskLoader.java
upport/v4/content/CursorLoader.java
upport/v4/content/Loader.java
upport/v4/util/DebugUtils.java
upport/v4/util/LogWriter.java
upport/v4/util/TimeUtils.java
upport/v4/widget/CursorAdapter.java
upport/v4/widget/CursorFilter.java
upport/v4/widget/ResourceCursorAdapter.java
upport/v4/widget/SimpleCursorAdapter.java