History log of /frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ac2329c1caf354d98c0288bf677bf43371eea6cb 06-Jun-2015 Doris Liu <tianliu@google.com> Fix unresolved tag

Bug: 21665354
Change-Id: Id4ffe131eff256de6052028b8a1e6160cca668a9
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
03526560f132021f8fd7290259762ab362d4d567 28-May-2015 Doris Liu <tianliu@google.com> Support Lib: Set a HW layer for Fragment alpha animation

Change-Id: I477c410f7b932e7a9d737f85fa33bef0ba7c02e8
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
8bfc13aa27c414b549679a3f0418205851dc38c6 28-May-2015 Doris Liu <tianliu@google.com> Revert "Support Lib: Set a HW layer for Fragment alpha animation"

This reverts commit 064fb71370836a8b16f021695127c043dca8c7c4.

Change-Id: I25710f34646b2b6e0815e421ba4f8d7103a5bc29
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
064fb71370836a8b16f021695127c043dca8c7c4 13-May-2015 Doris Liu <tianliu@google.com> Support Lib: Set a HW layer for Fragment alpha animation

This CL sets a HW layer for alpha animation to reduce the amount of
overdraw.

Bug: 8554227
Change-Id: Iae19ff370ed0e33614eeb520fe22aae98a0b89b1
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
1b156df4bd290453baf0afb8fd27c13247470293 19-May-2015 Dake Gu <dake@google.com> am abcad49d: Merge "v4: add apis for set/get clipBounds" into lmp-mr1-ub-dev

* commit 'abcad49d37c80f23f49cd340958b4696dd73719f':
v4: add apis for set/get clipBounds
6484522a0b7b9c0895098b44fc6cf5b6d9cbef57 16-May-2015 Dake Gu <dake@google.com> v4: add apis for set/get clipBounds

Change-Id: I28e1aa501e617ab9a010818d0f99c357defd77b1
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
4ef3b3400174790d6d060c08c25e3f429e68de62 05-May-2015 Chris Banes <chrisbanes@google.com> am 46762cc1: Merge "Nested Scrolling support for RecyclerView" into lmp-mr1-ub-dev

* commit '46762cc1d7e8ab8a12fc8804d0641d54b710881d':
Nested Scrolling support for RecyclerView
46762cc1d7e8ab8a12fc8804d0641d54b710881d 05-May-2015 Chris Banes <chrisbanes@google.com> Merge "Nested Scrolling support for RecyclerView" into lmp-mr1-ub-dev
f129f1b050d2542a91fe8175eac30183beb07b41 20-Apr-2015 Chris Banes <chrisbanes@google.com> Nested Scrolling support for RecyclerView

Also fixed annotation for ViewCompat's overscroll

BUG: 20334660

Change-Id: Iafa2f52f63d9aa9d5c8ce10b5e8bf108c1407a12
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
0e4289d8af2b80828e4f68f77a9dbafa24319d48 05-May-2015 Chris Banes <chrisbanes@google.com> am 959ed6af: Merge "Add ViewCompat.isAttachedToWindow()" into lmp-mr1-ub-dev

* commit '959ed6af05f77e9924fc908176c733d6e3260c8e':
Add ViewCompat.isAttachedToWindow()
f6610f183f0afe6e392dea804474f722d82083fd 04-May-2015 Chris Banes <chrisbanes@google.com> Add ViewCompat.isAttachedToWindow()

BUG: 20695142
Change-Id: Ibdff3d24721e9ed94de9c00813fe9528a734267d
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
c005695ca3e01efb3c3486f5cb6bf1e7fb21995c 09-Apr-2015 Chris Banes <chrisbanes@google.com> resolved conflicts for merge of 73a0c3c7 to master

Change-Id: I1652150b1499db455f1eee8d8743d2f7f7bb6fcc
a6a508b2296730ca6954aaebcca52a9962a5cb55 11-Mar-2015 Chris Banes <chrisbanes@google.com> AppBarLayout

There is still a few things missing for this, such as elevation
and fling support. I'll add these in a later CL.

Change-Id: Ie6d6d24a39a21bcd640f09c9da07ec2f6c1f4bb4
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
70acb0c19be3831a2080e4f902324de16bfbf62e 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate support library with @ColorInt, @CallSuper, etc

Change-Id: Ifa25a628f89a07d3903cd71eb1c3639297fdf722
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
a966c6cda6a3aa562fcfdb842b6c6b35bdd6a3dc 05-Feb-2015 Adam Powell <adamp@google.com> CoordinatorLayout

CoordinatorLayout is meant to be like a super-powered FrameLayout with
three major additional capabilities:

* Aligning views relative to other views arbitrarily nested within
other siblings (e.g. floating action buttons aligning to one edge of
a content pane)

* Aligning views relative to keylines defining horizontal positioning

* Defining pluggable interaction behaviors from layout xml

This patch implements the first two features and some of the initial
plumbing for the third.

Change-Id: I9c368d298cd35ff507ce5c8449a572fbfe9e5da7
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
f91071ff037056101389f2cbfc5fadb0229a36a7 05-Feb-2015 Chris Banes <chrisbanes@google.com> Fix SwitchCompat animating unnecessarily

BUG: 19283952
Change-Id: I66f64d57505e3fa90f6c5395b356f457bb0f43ff
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
3040adc60c191aca58e34a01428db628604924c5 18-Nov-2014 Chris Banes <chrisbanes@google.com> Fix Window Insets for certain SYSTEM_UI flags

This is caused by the actual Window's decor
intercepting the window insets and applying them
itself. This means that we no longer need to handle
the insets ourselves in certain instances.

BUG: 18052816

Change-Id: I857d4d31ba4c9240aa094fb2aa314d1842fb7cb8
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
a5f106fbd09335ae504c39b1ee1e0caa3f1238e3 16-Dec-2014 Chris Banes <chrisbanes@google.com> Move tinted background Drawable handling to the View level

This allows us to workaround an issue where setting a background
will wipe out all user specified padding. Instead, let the View
use it's own Drawable and handle the tint state changes.

BUG: 17810829
Change-Id: Ic94a4359e76c0a2e8066a0ed3b286d966d4b4178
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
fd1eb27a3700de31507de34fd1bcc51830fe876c 24-Oct-2014 Chris Banes <chrisbanes@google.com> Backport android:theme functionality for all Views

Also make the tinted widgets public so that developers
can extend from them.

BUG: 18367946
BUG: 18112118

Change-Id: Id47e21e960f3539304f0c1c023eebdff6c429c8d
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
2e8572c7a0f35ca607038064d47d7f683ebed4ef 25-Nov-2014 Maxim Bogatov <maximbogatov@google.com> adding isImportantForAccessibility() to ViewCompat

bug: 18255648 - ViewCompat should have isImportantForAccessibility
Change-Id: Ieb3effd3488cb4821be9fc51d84ca6d99225093f
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
ed27de5fc41d9318c81591e4a483902d9ecb851a 28-Oct-2014 Chris Banes <chrisbanes@google.com> Merge "Update ShareActionProvider to match Lollipop's" into lmp-mr1-dev
8c9ce11dec24a32f438406286404be7ac294011d 22-Oct-2014 Chris Banes <chrisbanes@google.com> Fix Window Insets again

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

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

BUG: 16370059
Change-Id: I1e0013bd9344ccda3751972109b389097d4f7a23
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
d392c8cae159a3a9a416200f4e117634bdbf064e 09-Oct-2014 Yigit Boyar <yboyar@google.com> Clear accessibility delegete from recycled views

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

Bug: 17739472

Change-Id: I45c5895342f33fa485daae178ad508bda0fb4f68
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
5e63ab9505a3a4d11374cbbec418c1aba921409d 07-Oct-2014 Chris Banes <chrisbanes@google.com> Remove the intermediary ViewGroup for support-v4 fragments

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

BUG: 17901056
Change-Id: I7b3cb130943f8f0e9ab7c910f86f5d711bd42f7a
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
ea4f700ac38424954c56df5138ff794def50b019 23-Sep-2014 Chris Banes <chrisbanes@google.com> Properly handle window inset changes on L

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

BUG: 17608376

Change-Id: I59411d6b364f2da22a1b187b206b8f47e25bf38b
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
bc7c32772fbc966091181ce7fa933ca4083679ac 22-Sep-2014 Adam Powell <adamp@google.com> Jump drawables to current state when rebinding ActionMenuView

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

Also add ViewCompat#jumpDrawablesToCurrentState to support this.

Bug 17592051

Change-Id: I8227af59d7b80a5a2d2f91aca7d0f17257fb6101
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
03230ff759c8b14885d626037bda64c21353dc6f 11-Sep-2014 Yigit Boyar <yboyar@google.com> Merge "Add a11y support for RecyclerView" into lmp-dev
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
bb3bde43f526bd40bed541da6c8256d0dde328a4 29-Jul-2014 Mindy Pereira <mindyp@google.com> Fix doc build

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

Use safer mechanism for drawing the progress spinner on top

Change-Id: Ib88857169b3d4cea4e742c882beb1acf6fcb2488
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
f633e9521802aeadfea1aec5724348b8eafd1b1d 11-Jul-2014 Dake Gu <dake@google.com> ViewCompat public methods should be static

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

Change-Id: I520a7d8a37b51c6f0421386b8766a36d52dcac9b
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
d7d27e9ebe5c7325e67e1a8af265378bd2056cad 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

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

Change-Id: I4fa8686f54c8bfa2ba29c399eea112d33f71689c
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
b1bfdf4c03d1b25959c5818805b997020f7ed085 15-May-2014 Chet Haase <chet@google.com> Revert "Add animations to RecyclerView"

This reverts commit 33b18903168c177d65e3c2ef7398c1b2ca0c826f.

Change-Id: I41664a375f9fc5fa878481b90cd2e61aad17f739
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
33b18903168c177d65e3c2ef7398c1b2ca0c826f 28-Feb-2014 Chet Haase <chet@google.com> Add animations to RecyclerView

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

Change-Id: If70c09e7af168ce5963c785b5886a18c87a7dc98
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
f2b93981846ce21a06b6a92a5a6ba70a29c345ed 18-Apr-2014 Adam Powell <adamp@google.com> Give RecyclerView LayoutManagers control over measurement

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

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

Change-Id: Ic7b95f85520d31191f663f6cf3e96880468e20a2
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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.
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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
c096ad1894f1a4543e703ddc9d279fbd3b596c53 06-Mar-2014 Adam Powell <adamp@google.com> More RecyclerView API additions

* findViewHolderForChildUnder() becomes findChildViewUnder()

* Have findChildViewUnder() respect translationX/Y properties

* getChildViewHolder() becomes public

* LayoutManager gets onAddFocusables to override default
ViewGroup#addFocusables behavior

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

Change-Id: Id7e79167fbe68bdbeac6e0cd09c90202b493f4df
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
a6613ed42e0dee0cac3da01f5450e2d61c270b52 27-Jan-2014 Adam Powell <adamp@google.com> API refinements for RecyclerView

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

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

Change-Id: Ie17541401cd1f6f1933205a8e6a5c6f3d66d3afb
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
e096e4c526feeb64833b5a75649ec36d75d7cbbf 23-Jan-2014 Adam Powell <adamp@google.com> RecyclerView bugfixes and API revisions

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

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

Add additional bidi helpers to ViewCompat.

Change-Id: I6ad6e0464796fb4c475cb796d630e51ca85d84ab
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
086e7db1ab6ef49b4b7974c471b70f81b2d13aef 04-Oct-2013 Alan Viverette <alanv@google.com> Add live region APIs to support library

Change-Id: I01a857e58be5e9cf5e9ed600425ab1b76d4878f0
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
b5b909e4544fd4d1d0bdf445b8588a7233d5c71f 03-Oct-2013 Alan Viverette <alanv@google.com> Add NO_BLOCK_DESCENDANTS a11y importance mode to support lib

BUG: 11031947
Change-Id: I458f7986376d66c5a18171795584b01b8b45b833
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
b12ba0547b2fad1c4dfc12dec36c5e7893974e67 28-Aug-2013 Adam Powell <adamp@google.com> Fix compatibility support for v7/gridlayout

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

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

Change-Id: I5dd965b9c4282c47964bfd1d481e3a62725cca38
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
215e3168c4d2171531295532b5c80861925c97c8 07-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Updating the support library to user SDK version integer.

1. Now that we have defined the SDK verion to 17 the MR1 specific
implementation of ViewCompat should be chosen based on the
SDK version number instead of the code name.

bug:7170582

Change-Id: I7f9c64b3765a96e3bf5d45465d93b60bc66f6992
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
0af001b9e0d173f6b9836e66539bf764b897c36f 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> This is revert of a reverted patch to wait for some build system changes.

This reverts commit 83df688ed22cdc90e7eae83e13ddf1b3ba378947

Change-Id: Ia81d72ea349d603a022287963eb41c0e1c1d41a6
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
96c8829c8bfb5f6651cc06b4c19a6b27cf67e0e4 22-Sep-2012 Baligh Uddin <baligh@google.com> Revert "This is revert of a reverted patch to wait for some build system changes."

Broken Build.

This reverts commit f959f51d9eafa48a08e43e694b58f289315c119e

Change-Id: If21cdaa4560282bf1bd12691a4ee174aeb3244ab
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
f959f51d9eafa48a08e43e694b58f289315c119e 21-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> This is revert of a reverted patch to wait for some build system changes.

This reverts commit 83df688ed22cdc90e7eae83e13ddf1b3ba378947

Change-Id: I4dad0ccf1d2bb03dbfe73bc9e123266bcbe19136
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
83df688ed22cdc90e7eae83e13ddf1b3ba378947 14-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Temporary revert until unbunded builds are configured porperly to either use a prebuilt of the framework and the support lib or none.

Revert "Compatibility support for new accessibility APIs in View."

This reverts commit 7cf0b33a31b57e78a06214a43f580598e0f35031

Change-Id: I47e7e625eaf65e70a37bcf30751953ac2d2b2000
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
7cf0b33a31b57e78a06214a43f580598e0f35031 13-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Compatibility support for new accessibility APIs in View.

1. For accessibility purposes it is important to be able to associate
a view with content with a view that labels it. For example, if
an accessibility service knows that a TextView is associated with
an EditText, it can provide much richer feedback.

This change adds compatibilityt support for the APIs for setting
a view to be the label for another one and setting the label for
a view, i.e. the reverse association.

bug:5016937

Change-Id: I54ea51f6e6ff46447c8f4d64383cb88f62d99812
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
8a0c51a3d438802df28612e02fdf0cc8fab06ddb 24-Jul-2012 Adam Powell <adamp@google.com> Add PageTransformers to ViewPager

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

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

Change-Id: Icdcb7bf92ad4adb9d14e36c6048f7f5dd455437b
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
0d4ffdf13a16b1ce2f3bc458002374cdd25663c3 19-Jul-2012 alanv <alanv@google.com> Add performAccessibilityAction() to ViewCompat

Change-Id: Ic3d295eee8515564d42c9db19407aa85922132c7
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
e13cf48dc33e3865794d145ae8f4daed0bb2274b 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Fixing the build

Change-Id: Ib820c2f6ba097c9554afcd9622453ac8c266d66d
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
25121559b53b9f6c7ef7159203d42e11b9aee281 15-May-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding support for accessibility scroll actions to ViewPager.

1. We have added scroll actions in JellyBean and this patch
adds supports for such to the ViewPager in a backwards
compatible manner.

2. Added the required accessibility API to the support library
to implement the above functionality.

bug:5932640

Change-Id: I569af5622914f7463daefdd74d55d807d273bfb5
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
ec03704fbb4f0217d4c274d1c6cf56e6ea4dcfbd 12-Apr-2012 Adam Powell <adamp@google.com> Add support for postOnAnimation View methods for JB.

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

Change-Id: I807a1cbe82111a29e9459de0892f253348717c7b
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
c95beb648f59c89c6bd7b0eed0a8b266a1b287e2 28-Feb-2012 Adam Powell <adamp@google.com> Add transient state APIs to ViewCompat

Change-Id: I84b5e82f1a7b79cd18474a2cdd78400cc2ac3e0a
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
956b013dfda37760b0232ed6d448900a546d2903 31-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding APIs for using AccessibilityNodeProvider to android-support-v4.

1. AccessibilityNodeProvider APIs enable a View to report a virtual
sub-tree rooted at it. Adding APIs that enable using that facility
in a backwards compatible fashion.

bug:5940165

Change-Id: I441762f4f943d5e0d149c114f974c992be4df20d
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
0574ca37da4619afe4e26753f5a1b4de314b6565 17-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Add the support libraries to the platform documentation (support libs).

Updated the support libraries' documentation.

bug:5629339

Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
9648c538bac4f04145c118cc41168d1d7a536312 11-Oct-2011 Svetoslav Ganov <svetoslavganov@google.com> Adding the new accessibility APIs to the v4 support library.

This change adds support for the new accessibility APIs in ICS
and does not affect the system, rather only the SDK.

bug:5445057

Change-Id: Ifc3790287bf224eb7489f6c325ce8cf7ce619a1d
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.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
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
2a4d8518f36346ea25a22a736453ff28f2954165 30-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issues 5158104 and 4981556 (fragment problems)

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

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

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

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

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

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

Change-Id: I280269ac64079d171e9c899ea1cff7e80246c924
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
47dc57337c13a2760ea3512ad84d6aa9f24ccd28 16-Jun-2011 Adam Powell <adamp@google.com> ViewPager tweaks and API changes

Listener now receives item selected events when the pager believes the
current item has changed rather than strictly at the end of the
animation.

Scroll state change events are now fired when the pager is idle,
dragging, or settling into place.

Multitouch scrolling does not allow the pager to be dragged beyond
active elements.

Change-Id: I135452b78ffed94260a5e7537da43211dda7eb5c
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java
bc889e39e279fcf8c3d35fc11d8052c002eddf38 14-Jun-2011 Adam Powell <adamp@google.com> Add support for horizontal scrolling within a ViewPager (ICS-only)

Change-Id: I7ceb2eb65536a2dc7a9323202c1999071cae237a
/frameworks/support/v4/java/android/support/v4/view/ViewCompat.java