• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/java/android/support/v4/widget/
History log of /frameworks/support/v4/java/android/support/v4/widget/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0a13063f56de4a369ee20e62494dcdda9e37f966 30-Jul-2015 Alan Viverette <alanv@google.com> Fully hide DrawerLayout focusability from accessibility

Bug: 22391492
Change-Id: Id8dc49806687f74ea000eb1f03ab0b0ba3fe8117
rawerLayout.java
517e7cec06688011bbb8ecd3820efb9c26ce57fb 15-Jul-2015 Jun Mukai <mukai@google.com> Merge "Make focusable rules respect the drawer status." into mnc-dev
ec2139270829c55b0c50c62612306c18b8c0b98b 14-Jul-2015 Chris Banes <chrisbanes@google.com> am 1629c7c8: Merge "Allow vertical dragging of AppBarLayout" into lmp-mr1-ub-dev

* commit '1629c7c8561372ec8a97df983edad01e0657b1d9':
Allow vertical dragging of AppBarLayout
080abff1400d6461206a6dc367411115590abda9 14-Jul-2015 Adam Powell <adamp@google.com> Remove prerelease codename checks

Bug 20692412

Change-Id: I96adcd887d45ca07a6175a62ccb601a8fcee6458
ompoundButtonCompat.java
d4c72f08279df548fbc4d556fe1a8b3500fafdbc 15-Jun-2015 Chris Banes <chrisbanes@google.com> Allow vertical dragging of AppBarLayout

Also fixed onStopNestedScroll() not being called
from NestedScrollView and RecyclerView

BUG: 21843568
BUG: 20679299

Change-Id: I1b19d7cae2db403ede30fc9116ea05aace586b3b
estedScrollView.java
fedd8cbd0fd3f6a62dabffa3970db2d3373d8db8 25-Jun-2015 Jun Mukai <mukai@google.com> Make focusable rules respect the drawer status.

It looks like DrawerLayout doesn't customize the focusability of
its descendants, therefore the focus can moves into the normal
views under the scrim.

Bug: 19896393
Bug: 19242230
Change-Id: I9712bce6a8ee17ec8b4f7d521fdf283f1d8e3c03
rawerLayout.java
621e41e02c0664afd4e358dfe166d6fb71e471c9 03-Jun-2015 Doris Liu <tianliu@google.com> Fix DrawerLayout shadow for RTL mode

This CL has done the following:
1) Keep track of the shadow drawables set for each gravity, and
resolve the drawable based on the current layout direction and
drawer gravity on the go
2) For API 21 and above, set a default (non-zero) elevation to the
drawer for the drawer shadow, instead of using user provided
shadow drawables, and provide setters and getters for developers
to change drawer elevation.
3) Add getLayoutDirection and setLayoutDirection in DrawableCompat
4) In the case where an auto-mirrored drawable, change the drawable
layout direction in the drawable resolution phase.

Bug: 19426883

Change-Id: Ib08e9d4f59ba94cd5618d651a4a4172b66af6570
rawerLayout.java
2510f71afde9cd99446d4192cd587a63b127f287 20-May-2015 Mindy Pereira <mindyp@google.com> am 5248110a: Don\'t accepted nested scroll when the view is disabled

* commit '5248110ab1283d3494322b26ecd04a87f2fabfeb':
Don't accepted nested scroll when the view is disabled
5248110ab1283d3494322b26ecd04a87f2fabfeb 19-May-2015 Mindy Pereira <mindyp@google.com> Don't accepted nested scroll when the view is disabled

Fixes b/21304829 SwipeRefreshLayout setEnabled(false)
doesn't prevent the animation

Change-Id: I964f01f3b1f7a0ee51eeb15d16a8c7eda9bc0207
wipeRefreshLayout.java
02bfd177be58170b568d30192a7772f62ed2ba88 19-May-2015 Chris Banes <chrisbanes@google.com> am 9cd0b5fa: Merge "Make SwipeRefreshLayout play nice with AppBarLayout" into lmp-mr1-ub-dev

* commit '9cd0b5fa3e1b7b8365cc54574d1e317314ac6dd9':
Make SwipeRefreshLayout play nice with AppBarLayout
359e30274ccef5f95130ac09a7bd593d8e18bb92 17-May-2015 Chris Banes <chrisbanes@google.com> Make SwipeRefreshLayout play nice with AppBarLayout

It currently does not act as a NestedScrollingChild,
meaning that any events it recieves are not dispatched
up to it's parent. This CL makes SwipeRefreshLayout
act as a child, dispatching events up as necessary.

Change-Id: Ie4fb5e7c5d648e96e8bcb1ef9cd093ffa231bd52
wipeRefreshLayout.java
8239e1925bdd20ccd96ed65fa7ac80a1a4dc9073 15-May-2015 Chris Banes <chrisbanes@google.com> Merge "AppCompatWidgets, now with added pixie dust." into mnc-dev
5a9a08c6eeca0d3ae94237335d7c22003e4b4e41 14-May-2015 Mindy Pereira <mindyp@google.com> am b24be3ba: Merge "Implement nested scrolling support in SwipeRefreshLayout" into lmp-mr1-ub-dev

* commit 'b24be3ba82c7a4c062e9f8a07e070f614c143be3':
Implement nested scrolling support in SwipeRefreshLayout
091b0f935e68ce9bfecc2422e60eada33fa3b09c 06-May-2015 Chris Banes <chrisbanes@google.com> AppCompatWidgets, now with added pixie dust.

This CL moves a lot of the internal code for apply background
tints to a central helper class. This allows us to have one place
to add/fix things. This has enabled an easier implementation of
reading the backgroundTint and backgroundTintMode attributes.

With that, our CompoundButton implementations have followed in
the same vain with a new helper class, reading of the new
buttonTint and buttonTintMode attributes, with a v4 shim to allow
dynamic setting.

Also tidied up the javadoc on each class too so that developers
know what they're getting from each class, and fixed an NPE in
the AutoCompleteTextView classes.

BUG: 19037149
BUG: 21102590

Change-Id: Ice097ed44e1253e5799bbe9ab30285912617b4dc
ompoundButtonCompat.java
da1b0a00654a315d645b941cf3a4cd2a746fe405 14-May-2015 Mindy Pereira <mindyp@google.com> Implement nested scrolling support in SwipeRefreshLayout

Fixes b/20861279 enabled nested scrolling for SwipeRefreshLayout

Change-Id: I1172496b4ff0a880bb3cf3125e6927cd376baf60
wipeRefreshLayout.java
4e9e5b70068c4952966ff6bb6ea91b4f37833df3 11-May-2015 Mindy Pereira <mindyp@google.com> am 7a8a4dd3: Merge "Merge anti aliasing patch" into lmp-mr1-ub-dev

* commit '7a8a4dd36cc06f5539269e711a34aa771d06367a':
Merge anti aliasing patch
7a8a4dd36cc06f5539269e711a34aa771d06367a 11-May-2015 Mindy Pereira <mindyp@google.com> Merge "Merge anti aliasing patch" into lmp-mr1-ub-dev
ea99405618cdb24bef1d35604bd8811e7c377077 11-May-2015 Mindy Pereira <mindyp@google.com> Merge anti aliasing patch

MaterialBackgroundDrawable.setBackgroundColor() allows for an indicator ring
to be drawn of the specified color. The Paint used to draw this ring was
not antialiased causing a pretty rough looking circle to be shown.

Externally reported issue:
https://code.google.com/p/android/issues/detail?id=170739
Change-Id: Ifc77c050b261628653a936ce1472b9383144bd5e
aterialProgressDrawable.java
c89a68ed243c7808e44d83a1a56f1e2642ba231b 06-May-2015 Mindy Pereira <mindyp@google.com> am 3f3c3423: Merge "Updates to the spinner for swipe to refresh to match final spec" into lmp-mr1-ub-dev

* commit '3f3c3423c24e571f27631d39d74b932990ffce6a':
Updates to the spinner for swipe to refresh to match final spec
f69198df1dccd6c44bca38ac85aa0faaa035d7d6 22-Apr-2015 Mindy Pereira <mindyp@google.com> Updates to the spinner for swipe to refresh to match final spec

fixes b/20093451 Pull-to-refresh: Color transition should happen linearly
over the last 1/4 of the expand/collapse
fixes b/20087836 Pull-to-refresh: Rotation is too slow

Change-Id: I0a96b6dc2588646f2bc4b67e8e101b7d512a578a
aterialProgressDrawable.java
322f8748f9d8de6f79345f660c859f163ad363b7 14-Apr-2015 Chris Banes <chrisbanes@google.com> Add window layout type calls to PopupWindowCompat

BUG: 20172711

Change-Id: Iacffdf908b98739770f13665732d7755b14b9a25
opupWindowCompat.java
e036150d53c4ac1ea3486d849311224e2f4da19b 04-Apr-2015 Yigit Boyar <yboyar@google.com> am 184adf5b: Merge "Fix EdgeEffect behavior for RecyclerView" into lmp-mr1-ub-dev

* commit '184adf5bea56436ec2ac9d7364575a25b0a35db5':
Fix EdgeEffect behavior for RecyclerView
f5554348a132e821416ee0b2e2718045fc363c33 03-Apr-2015 Yigit Boyar <yboyar@google.com> Fix EdgeEffect behavior for RecyclerView

This CL also fixes the EdgeEffectCompat implementation which was
not using the Lollipop version.

Bug: 18721866
Change-Id: I0f59e71027ec60fbe26043fffe37cdccb5dcfa30
dgeEffectCompat.java
65ffbe2a9aad39871ca5a3c85db07be05ea3fc03 13-Mar-2015 Chris Banes <chrisbanes@google.com> am 911970bb: am 51c19d26: am b7f9224b: Snackbar

* commit '911970bb8a1337d240e1f87e8c9d969bb99cea90':
Snackbar
b7f9224b1495db47eb8fd813b5912250e900770a 09-Jan-2015 Chris Banes <chrisbanes@google.com> Snackbar

Also added a new default swipe-to-dismiss behavior
and hooked it up. Also hooked up the Snackbar
to the Floating Action Buttons.

Change-Id: I717d4db5d34b6c17a2afabe5a3bc2c79fcee4233
iewDragHelper.java
70acb0c19be3831a2080e4f902324de16bfbf62e 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate support library with @ColorInt, @CallSuper, etc

Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
rawerLayout.java
lidingPaneLayout.java
wipeRefreshLayout.java
a098fa841194c3229a119398ce372a7f6d800690 02-Mar-2015 Chris Banes <chrisbanes@google.com> am d6fd2749: am 386c3120: am 56a22a55: Merge "Fix AlertDialog extending to screen width" into lmp-mr1-ub-dev

* commit 'd6fd274923be4e3d38b8b651c8a2f0ef321e90b7':
Fix AlertDialog extending to screen width
41c3dc66312394771e0cb147713e124ecd445055 26-Feb-2015 Chris Banes <chrisbanes@google.com> Fix AlertDialog extending to screen width

Needed to use Space rather a View, so I've moved over
GridLayout's Space impl to v4 and deprecated the v7 one.

BUG: 19509863
Change-Id: I427844f139eed7123324881d11b6054e2ec3f416
pace.java
f6a201aaad218a0ee66a9479b16b012a3fd108ea 14-Feb-2015 Alan Viverette <alanv@google.com> Clear focus from previously focused view in EBT helper

Change-Id: Ie0c8bc5901897d4aeb671e76ee7775c1b75182e6
xploreByTouchHelper.java
e06c9b9db020326166a5591c0483c03377418437 02-Feb-2015 Yuichi Araki <yaraki@google.com> am d3da39bb: am 2b9dabda: Merge "Initial implementation of NavigationDrawer" into lmp-mr1-ub-dev

* commit 'd3da39bbe4b007d3ee2dadd318d55b0e06697b89':
Initial implementation of NavigationDrawer
2b9dabdaa86bda59678063fd024af8f65d612dc7 02-Feb-2015 Yuichi Araki <yaraki@google.com> Merge "Initial implementation of NavigationDrawer" into lmp-mr1-ub-dev
e3e4a0039b2a598fc9a57c3cd501cc02ba454eb1 30-Jan-2015 Adam Powell <adamp@google.com> am 61dd0254: am 3ff3a50e: Merge "Nested scrolling: android-support-v4 edition" into lmp-mr1-ub-dev

* commit '61dd02546d1c195ddc891f3b6f9da85ec4e3d07a':
Nested scrolling: android-support-v4 edition
3ff3a50e5057fe904c3fe9df292de3a6111fe8ec 30-Jan-2015 Adam Powell <adamp@google.com> Merge "Nested scrolling: android-support-v4 edition" into lmp-mr1-ub-dev
31a49efe2adb59e31611f6871895a3243d835127 30-Jan-2015 Yuichi Araki <yaraki@google.com> Initial implementation of NavigationDrawer

NavigationDrawer can be used inside DrawerLayout (support-v4) to provide
navigation menu. The menu can be populated by XML.

This is just a starting point. It still misses a lot of major features,
including marking current item, account switcher API, and pinning items.

This chnage also adds android.support.v4.widget.TextViewCompat with
setCompoundDrawablesRelative* methods.

This reverts commit e34464da9acbbf5891651addc0983d2d920f5be4.

Change-Id: I54cd343be90588cb1735189deb2100552240fde8
extViewCompat.java
1fcce4485ef99aca928ebfb877859c5ecd47716c 01-Nov-2014 Adam Powell <adamp@google.com> Nested scrolling: android-support-v4 edition

Implement the nested scrolling patterns from Android 5.0 Lollipop for
use on older platform versions.

Custom nested scrolling child views should implement the new interface
NestedScrollingChild. These views can instantiate a
NestedScrollingChildHelper and delegate overridden interface and
View/ViewGroup methods to the helper methods of the same name. The
helper will manage associated state and behavior.

Similarly, custom nested scrolling ViewGroups should implement
NestedScrollingParent and create a NestedScrollingParentHelper,
delegating methods of the same name to the helper.

Nested scrolling methods should be invoked via the
ViewCompat/ViewParentCompat shims. These shims will delegate to the
proper implementation for both framework and support views that allow
nested scrolling.

Now with bonus NestedScrollView!

Bug 18195379

Change-Id: Ia125816875a9caf19baab545a65b9404240c8d8b
dgeEffectCompat.java
estedScrollView.java
02a27e6a640f57d55984ab31b814048507e73352 30-Jan-2015 Yuichi Araki <yaraki@google.com> am bd3ea239: am 9ea42dba: Merge "Revert "Initial implementation of NavigationDrawer"" into lmp-mr1-ub-dev

* commit 'bd3ea23910845c29f3d49cc3b241ff352f9fb120':
Revert "Initial implementation of NavigationDrawer"
e34464da9acbbf5891651addc0983d2d920f5be4 30-Jan-2015 Yuichi Araki <yaraki@google.com> Revert "Initial implementation of NavigationDrawer"

This reverts commit d4bea8be0627dac53fb5907f1f64dddf6147d55e.

Change-Id: Ic36cd74dbd8c0ba9b66fd65b096f60a1957011e9
extViewCompat.java
0653d5d75dd78048ec9db434bd0f969ef7168645 30-Jan-2015 Yuichi Araki <yaraki@google.com> am fa07fd94: am c501eb8f: Merge "Initial implementation of NavigationDrawer" into lmp-mr1-ub-dev

* commit 'fa07fd94fa1e3acb8c77b75fbcf603766dd525c3':
Initial implementation of NavigationDrawer
d4bea8be0627dac53fb5907f1f64dddf6147d55e 14-Jan-2015 Yuichi Araki <yaraki@google.com> Initial implementation of NavigationDrawer

NavigationDrawer can be used inside DrawerLayout (support-v4) to provide
navigation menu. The menu can be populated by XML.

This is just a starting point. It still misses a lot of major features,
including marking current item, account switcher API, and pinning items.

This chnage also adds android.support.v4.widget.TextViewCompat with
setCompoundDrawablesRelative* methods.

Change-Id: Ife8e39de2e2938d246713bb8cd486489be92cd6a
extViewCompat.java
12d8b3f36c7b503221185b44791822e59e690966 20-Jan-2015 Alan Viverette <alanv@google.com> Update ExploreByTouchHelper docs

Bug: 18963161
Change-Id: Ifc6d92d218400726241bd7334959d151ce2cb139
xploreByTouchHelper.java
4eaf6152697a48e1206c9aa9af07c6f7db5bef81 13-Jan-2015 Chris Banes <chrisbanes@google.com> am ff060f83: am a6694505: Merge "Add Material animation curves to support-v4" into lmp-mr1-ub-dev

* commit 'ff060f835079e59aa3d491eb670eb524511ea7f4':
Add Material animation curves to support-v4
a6694505df76367fa16fdbab09eb79072cbc90bf 12-Jan-2015 Chris Banes <chrisbanes@google.com> Merge "Add Material animation curves to support-v4" into lmp-mr1-ub-dev
ccbfbe099d67cbc04a233e3bb4a13a8196681dc5 09-Jan-2015 Scott Kennedy <skennedy@google.com> am 962160de: am 25aba069: Merge "Invalidate DrawerLayout when the status bar background changes" into lmp-mr1-ub-dev

* commit '962160de09e1ce332efd04d5712f685a5719da35':
Invalidate DrawerLayout when the status bar background changes
25aba069f30cffb66b66a8f0468741af4963b62d 09-Jan-2015 Scott Kennedy <skennedy@google.com> Merge "Invalidate DrawerLayout when the status bar background changes" into lmp-mr1-ub-dev
44918a92e1d66a01a03063e2c5e68b2570f64b03 08-Jan-2015 Chris Banes <chrisbanes@google.com> Use the new PopupWindow overlap anchor methods

Allows developers to set one style attribute and AppCompat
will then forward it on to the framework impl.

BUG: 18245054
Change-Id: I3cf2e2224d0420e80342e162ad01be1fb4f3cc18
opupWindowCompat.java
7c2e72c6d0a01e42d8039a09116bc35326d8acfb 07-Jan-2015 Chris Banes <chrisbanes@google.com> Add Material animation curves to support-v4

Also remove the pkg-private BakedBezierInterpolator
and move usage to the new implementation.

BUG: 16152622

Change-Id: If6c6f55fba19e6fc691ee48961ab762f942b320c
akedBezierInterpolator.java
wipeProgressBar.java
f9b9ce76405345744bd57482d21c35a657836f87 12-Dec-2014 Yigit Boyar <yboyar@google.com> Make SwipeRefreshLayout RecyclerView compatible

This CL introduces a ScrollingView interface which makes computeScroll**
methods public so that we can calculate canScrollVertically|Horizontally
prior to API 14.

Bug: 18680011
Change-Id: If89ce3947d6638e38ab82b1c0e65303f38b3dbb5
wipeRefreshLayout.java
cbfb6c6ffc411f1f9d302570341993bd9929ee1a 03-Dec-2014 Scott Kennedy <skennedy@google.com> Invalidate DrawerLayout when the status bar background changes

Change-Id: Ia1047751fdd2c06899e76108d242e74500761486
rawerLayout.java
d2f68007428ed6785adcf572d47ed0f8c5c99556 26-Nov-2014 Alan Viverette <alanv@google.com> Send window state change when DrawerLayout is opened

BUG: 18513382
Change-Id: I247aa2b1cf8c2099d1f3f871119e7882ff9b6e28
rawerLayout.java
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
rawerLayout.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
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
ircleImageView.java
wipeRefreshLayout.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
rawerLayout.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
iewDragHelper.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
aterialProgressDrawable.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
aterialProgressDrawable.java
wipeRefreshLayout.java
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
wipeRefreshLayout.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
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
wipeRefreshLayout.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
wipeRefreshLayout.java
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
rawerLayout.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
rawerLayout.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
aterialProgressDrawable.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
wipeRefreshLayout.java
99cb2bbfcd84bdc2e89a5a2d11b6b69132169ea6 18-Sep-2014 Adam Powell <adamp@google.com> Make DrawerLayout system UI flag manipulation less excitable

Bug 17566894

Change-Id: I4ba990b79d1584fa4974e2225db53056a86dafe5
rawerLayout.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
rawerLayout.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
aterialProgressDrawable.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
wipeRefreshLayout.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
rawerLayout.java
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
wipeRefreshLayout.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
wipeRefreshLayout.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
wipeRefreshLayout.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
ircleImageView.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
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
aterialProgressDrawable.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
wipeRefreshLayout.java
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
wipeRefreshLayout.java
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
wipeRefreshLayout.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
ircleImageView.java
aterialProgressDrawable.java
wipeRefreshLayout.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
ircleImageView.java
aterialProgressDrawable.java
wipeRefreshLayout.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
wipeRefreshLayout.java
89f34518c40724982169b713591e97a73a3a3f6a 23-Aug-2014 Yigit Boyar <yboyar@google.com> Merge "Change DrawerLayout's focus strategy to favor children" into lmp-dev
4a069be655204ec079c03a09157e5d4ec223a0f7 22-Aug-2014 Yigit Boyar <yboyar@google.com> Change DrawerLayout's focus strategy to favor children

Bug: 14218164
Change-Id: Id7bd110679b738bd86bae444b6d8c54fe458b787
rawerLayout.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
iewDragHelper.java
a542f3edbeaa094489ea3ac1504f03b58d3badff 20-Aug-2014 Mindy Pereira <mindyp@google.com> Merge "Multiple visual and animation polish updates to the SwipeRefreshLayout" 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
aterialProgressDrawable.java
wipeRefreshLayout.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
rawerLayout.java
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
iewDragHelper.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
iewDragHelper.java
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
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
ircleImageView.java
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
wipeRefreshLayout.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
wipeRefreshLayout.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
opupWindowCompat.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
aterialProgressDrawable.java
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.java
b3115149a1b8bae074cbce6cb9a42da1e662d377 18-Jul-2014 Andrew Sapperstein <asapperstein@google.com> Revert "Material design style swipe to refresh"

This reverts commit 2c5b547f947f9256b991489bc7d5cbbf09f8a51d.

Change-Id: If67777aabd56565be6748cda5ac5134bf67d7385
aterialProgressDrawable.java
wipeRefreshLayout.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
aterialProgressDrawable.java
wipeRefreshLayout.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
iewDragHelper.java
cd9978cdf0c3852189fb881846db6569d43f5598 18-Jun-2014 Alan Viverette <alanv@google.com> Update explore-by-touch helper getVirtualViewAt docs

BUG: 13387906
Change-Id: Ib7852fe2543b0337ed02771fb6363cbe8b042d38
xploreByTouchHelper.java
5dc9e705fad3b6a0e0ceedb8cb8cee9e6716802f 12-Jun-2014 Alan Viverette <alanv@google.com> Only invalidate the SwipeProgressBar region within its parent

BUG: 15452577
Change-Id: I061aeb8ea75e258a41dd8054c31b56f8022c8c58
wipeProgressBar.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
rawerLayout.java
48e3efd2e7bc8057212d3936a239838ecf6e40a9 20-May-2014 Yigit Boyar <yboyar@google.com> Remove Chaser from ScrollCompat

Change-Id: I348f6886eef0ebfb872b183d6ed9ebe67761db0f
crollerCompat.java
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.
7099553551ccfc346e22843e0541ed4393c9c4ed 07-May-2014 fafaisland <fafaisland@google.com> Fix the bug that SlidingPaneLayout doesn't fling correctly
in RTL direction.

Change-Id: I44af1e793b6c4042b199ef1dba2112a0861e9af3
lidingPaneLayout.java
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"
ca9e92293ff32b4a8a15513b0a7afe42c127cdb7 06-May-2014 Andrew Flynn <flynn@google.com> Revert "Separate scroll and swipe views in SwipeRefreshLayout"

This reverts commit cb084a5eea8cc641096fc288cb7156e0bb866d81.

Change-Id: If8606bea02389900832a68bc84144c9e552797c4
wipeProgressBar.java
wipeRefreshLayout.java
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
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
wipeProgressBar.java
wipeRefreshLayout.java
4ad0efc06631e6e35d8ced424c36438bf5827569 30-Apr-2014 Yigit Boyar <yboyar@google.com> Ensure scroller chaser does not abort prematurely

Bug: 14429848
Change-Id: I88438612f7d0950d6ae1b6cbe5e2e301361723a9
crollerCompat.java
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
crollerCompat.java
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
rawerLayout.java
lidingPaneLayout.java
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
lidingPaneLayout.java
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.
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
rawerLayout.java
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
istViewAutoScrollHelper.java
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
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
wipeRefreshLayout.java
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
wipeRefreshLayout.java
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
wipeRefreshLayout.java
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
rawerLayout.java
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
rawerLayout.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
526ba1382e61845ef23bf27d300883dea0966af5 16-Jan-2014 Alan Viverette <alanv@google.com> Add title API to DrawerLayout, use for accessibility events

BUG: 12460402
Change-Id: Ia2f6e2b941ea944218c405e1ec580765a5e1f78f
rawerLayout.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
rawerLayout.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
crollerCompat.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
wipeRefreshLayout.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
wipeProgressBar.java
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
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
wipeRefreshLayout.java
15c82d4f2e51e2f741a5c1c7fbb39ef649ef658e 20-Nov-2013 Mindy Pereira <mindyp@google.com> am b97473c6: Merge "SwipeRefreshWidget" into klp-ub-dev

* commit 'b97473c6483d67d88a241dbba135d875ffa069fc':
SwipeRefreshWidget
e9a361cf082bf8fbe908d1abfdc327209ec01d82 07-Nov-2013 Mindy Pereira <mindyp@google.com> SwipeRefreshWidget

Change-Id: I4f9c03796075b144d97ab38e978d0f4230f3bd78
akedBezierInterpolator.java
wipeProgressBar.java
wipeRefreshLayout.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
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
lidingPaneLayout.java
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
lidingPaneLayout.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()
d6edbe712f21ea4924ab9fb49ebd8c94d1e03884 21-Oct-2013 Alan Viverette <alanv@google.com> Fix drawer layout's approximation of addChildrenForAccessibility()

BUG: 11276477
Change-Id: I0dbd94ab8cc15baddd87f751c787404e009c1d12
rawerLayout.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
istPopupWindowCompat.java
opupMenuCompat.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
utoScrollHelper.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
utoScrollHelper.java
istViewAutoScrollHelper.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>
lidingPaneLayout.java
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
utoScrollHelper.java
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
utoScrollHelper.java
istViewAutoScrollHelper.java
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
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
rawerLayout.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
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
rawerLayout.java
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
ontentLoadingProgressBar.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
utoScrollHelper.java
istViewAutoScrollHelper.java
9cd2175b027caefba06503c316fca48404688b8a 20-Jul-2013 Adam Powell <adamp@google.com> am 56861380: am 86559d86: Tuning for DrawerLayout

* commit '568613807deaeef969410efa14d0ffac58724031':
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
rawerLayout.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
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
lidingPaneLayout.java
f3da45870bbf026b207b3bc65840d5325bde44d7 18-Jun-2013 Alan Viverette <alanv@google.com> DO NOT MERGE. Expose focused virtual view. Clean up focus handling methods.

Change-Id: Ib771a9668cc4f9ec70a36e6474b48f9f3aa75293
xploreByTouchHelper.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
xploreByTouchHelper.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
rawerLayout.java
148d85f65c0f01be809032d2140c7df6d7275504 31-May-2013 Alan Viverette <alanv@google.com> Expose focused virtual view. Clean up focus handling methods.

Change-Id: Ib771a9668cc4f9ec70a36e6474b48f9f3aa75293
xploreByTouchHelper.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
xploreByTouchHelper.java
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
lidingPaneLayout.java
f803407db4a369e3c176798d5318faaacb85e12b 24-May-2013 Alan Viverette <alanv@google.com> Fix build by using support library methods in support lib.

Change-Id: Ia0ac6e337701c94f5bfb36af4298ef6becd0fb4d
lidingPaneLayout.java
080275b0c3a6b8f3f7a6880b774e6b0b6ede16a4 24-May-2013 Alan Viverette <alanv@google.com> Merge "Minor accessibility fixes to SlidingPaneLayout." into jb-mr2-dev
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
rawerLayout.java
lidingPaneLayout.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
lidingPaneLayout.java
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
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
rawerLayout.java
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
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
rawerLayout.java
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
d0cb2111677748ec19a72e5fe18c8c64a359a751 26-Apr-2013 Adam Powell <adamp@google.com> Omit dimmed children from accessibility nav in SlidingPaneLayout

Bug 8657571

Change-Id: I84be757dfe7d4156b52552ee74e72ad14b396d2d
lidingPaneLayout.java
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
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
lidingPaneLayout.java
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
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
lidingPaneLayout.java
39348baa7409a0ca336955f628a3c1726a83dcfc 19-Apr-2013 Adam Powell <adamp@google.com> am 50fddb72: am bbe02dec: am 79f95ce3: Add ActionBarDrawerToggle

* commit '50fddb72c23917e121f99e2cc2ec20370ea4a351':
Add ActionBarDrawerToggle
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
rawerLayout.java
lidingPaneLayout.java
iewDragHelper.java
18ce50f9f36b37efbef3302d3bd812089471085d 18-Apr-2013 Adam Powell <adamp@google.com> am c27d0fe1: am 6acbd1d9: am 1b89ad4d: Build fix

* commit 'c27d0fe1547721789fe01cd83b964d71357c9ee7':
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
rawerLayout.java
lidingPaneLayout.java
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
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
rawerLayout.java
lidingPaneLayout.java
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
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
lidingPaneLayout.java
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
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
lidingPaneLayout.java
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
7d0061d5605a1ac298837bee21c0d4eb4a34bd4e 12-Apr-2013 Adam Powell <adamp@google.com> Better accessibility support for DrawerLayout

Bug 8502991

Change-Id: I4613d0ff122efab62947f8f74102057a686bae28
rawerLayout.java
46857a4620e57144e1b00a79212295adf06f2f4e 11-Apr-2013 Adam Powell <adamp@google.com> am bd207602: am 30c6d02f: am d44315a5: SlidingPaneLayout cleanup/bugfix

* commit 'bd2076020b8d0e40b742df04ed85bf69daa5ff69':
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
lidingPaneLayout.java
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
58898b639b18392580694bc6c902479274331bf2 11-Apr-2013 Adam Powell <adamp@google.com> Fix erroneously shaded panes in SlidingPaneLayout after resizing

Bug 8474517

Change-Id: I586f62e7b06f00036fa90efbdb640bc6058ec85c
lidingPaneLayout.java
74df99095290a2bc0776b00dcfa7ccb12fa46726 09-Apr-2013 Adam Powell <adamp@google.com> am c99cb3fc: am 96ded4bf: am 09c38625: Expand DrawerLayout docs

* commit 'c99cb3fc2e5c8161109e06a985987c2bb4630f85':
Expand DrawerLayout docs
09c38625b5400dcda3d872dbe865c867cc02e5eb 09-Apr-2013 Adam Powell <adamp@google.com> Expand DrawerLayout docs

Change-Id: I7a535aef592607705c2eb6c5f338f46749456c62
rawerLayout.java
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
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
rawerLayout.java
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
fe130779be95af79e875bdbeac7182a424b8b9a6 06-Apr-2013 Adam Powell <adamp@google.com> Let apps change the scrim color for DrawerLayout

Bug 8557927

Change-Id: I769ac0885e635f239787e346f6111526f4e19027
rawerLayout.java
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
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
iewDragHelper.java
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
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
rawerLayout.java
iewDragHelper.java
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
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
rawerLayout.java
iewDragHelper.java
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
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
rawerLayout.java
iewDragHelper.java
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
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
rawerLayout.java
iewDragHelper.java
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
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
rawerLayout.java
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
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
rawerLayout.java
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
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
rawerLayout.java
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
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
lidingPaneLayout.java
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
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
rawerLayout.java
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
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
lidingPaneLayout.java
iewDragHelper.java
a055a849fe13d4008fad60d6df6e0529f4827cf6 09-Mar-2013 Adam Powell <adamp@google.com> am e6213039: am 1e66a9eb: am 57902cff: DrawerLayout polish features

* commit 'e62130393b79d2bb36a0175457247b736bf3ac9b':
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
rawerLayout.java
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
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
lidingPaneLayout.java
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
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
iewDragHelper.java
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
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
rawerLayout.java
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
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
rawerLayout.java
iewDragHelper.java
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
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
rawerLayout.java
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
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
lidingPaneLayout.java
iewDragHelper.java
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
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
iewDragHelper.java
a8c0ba3a5a7157ffbf78703475ddb2e6f219ad24 06-Mar-2013 Adam Powell <adamp@google.com> am 167d0187: am 962c4343: am 1d26501f: Initial DrawerLayout implementation

* commit '167d0187f0a5a2e6c0b942739330e3b86f9f85fa':
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
rawerLayout.java
lidingPaneLayout.java
iewDragHelper.java
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
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
crollerCompat.java
lidingPaneLayout.java
iewDragHelper.java
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
3f50aafe43ea3c7d1c09fbd7afa87bf7453beb18 01-Mar-2013 Adam Powell <adamp@google.com> Fix SlidingPaneLayout dim threshold calculation

Bug 8178354

Change-Id: I4fc5e0a872a0697633ecc9f87208f4df2a96388e
lidingPaneLayout.java
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
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
crollerCompat.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
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
crollerCompat.java
lidingPaneLayout.java
iewDragHelper.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
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
lidingPaneLayout.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
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
lidingPaneLayout.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
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
lidingPaneLayout.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
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
lidingPaneLayout.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
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
lidingPaneLayout.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
lidingPaneLayout.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
lidingPaneLayout.java
5a32bd661bd26d706dcb419515226e4785194425 10-Jan-2013 Adam Powell <adamp@google.com> resolved conflicts for merge of 4093b897 to master

Change-Id: I2d1d51613bb2cb0d91e5d96f76d11d8bde8fd7e4
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.
lidingPaneLayout.java
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
lidingPaneLayout.java
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
lidingPaneLayout.java
def2fb3f51b05d0ba07476fb53e6c186ec1d46aa 08-Dec-2012 Dianne Hackborn <hackbod@google.com> am 506f1fb8: am 64c0f2e5: am 71249413: Fix build.

* commit '506f1fb84b693330c93296ab65a85fd9eeb5c0e2':
Fix build.
71249413434c56006d2cb5d689198a2814c8e6b7 08-Dec-2012 Dianne Hackborn <hackbod@google.com> Fix build.

Change-Id: Idaddd9a8e972c0a7b3b430bc636b617642b32fe4
earchViewCompat.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
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
earchViewCompat.java
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
lidingPaneLayout.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
lidingPaneLayout.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
taggeredGridView.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
taggeredGridView.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
taggeredGridView.java
25df93b813befb678835eb040c8158bb5aa8fe8d 20-Mar-2012 Adam Powell <adamp@google.com> Fix a bug with changing the column count in StaggeredGridView.

Change-Id: I7aa6544e03e4c7426c96a906f7c78b91d2e8ebb6
taggeredGridView.java
121dba12686f0ff01cfe348c43a4f6f0edc18477 20-Mar-2012 Adam Powell <adamp@google.com> Properly handle top padding in StaggeredGridView while freshly populating items.

Change-Id: I6aa920320217017bc8720a4170739aee06b17537
taggeredGridView.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
crollerCompat.java
taggeredGridView.java
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
ackage.html
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
ursorFilter.java
dgeEffectCompat.java
earchViewCompat.java
ackage.html
fe32563fd610767a2d3eea8dbd96e6bae87739d5 15-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Fixing a comment in SearchViewCompat

Change-Id: I6553390cc7ec906acf5af14bac3478d0193f89b1
earchViewCompat.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
earchViewCompat.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
dgeEffectCompat.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
ursorAdapter.java
cba2e2c881e8e16ea5025b564c94320174d65f01 08-Feb-2011 Dianne Hackborn <hackbod@google.com> First checkin!

Change-Id: Ib09737c48a144dd778efe4750452d74ac8265a29
ursorAdapter.java
ursorFilter.java
esourceCursorAdapter.java
impleCursorAdapter.java