• Home
  • History
  • Annotate
  • only in /frameworks/support/v4/api21/android/support/v4/view/
History log of /frameworks/support/v4/api21/android/support/v4/view/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8aaf50bd7d713dafc358e6215111e7b0a43ecc82 08-Jun-2015 Maxim Bogatov <maximbogatov@google.com> Add missing methods to AccessibilityNodeInfoCompat.
Add AccessibilityWindowInfoCompat class.

b/20350202

Change-Id: I54ea61ab02f3aa706713ef8639d8072e026f759c
ccessibility/AccessibilityNodeInfoCompatApi21.java
ccessibility/AccessibilityWindowInfoCompatApi21.java
10850534c9e2949857133437cf1cd9af82721ab1 19-Apr-2015 Adam Powell <adamp@google.com> Work around a framework bug setting LayoutInflater.Factory2

Prior to commit 630c077463fecaa8eb1015865770f2c05c514ade in
frameworks/base there was a platform bug starting at API 11 (fixed in
API 21) that would cause a Factory2 not to be set properly on a
LayoutInflater obtained via the LayoutInflater#cloneInContext method.

The intended behavior was to merge the old Factory/Factory2 with the
new one set on the cloned LayoutInflater. Precedence is given to the
new Factory/Factory2, but if the new factory returns null, the old one
is used. The bug would cause the merge to be correct for Factory, but
not Factory2.

Now that AppCompat uses Factory2, this matters. Without this
workaround, nested fragment inflation for android-support-v4 fragments
is broken and nested fragments are inflated into the
FragmentActivity's FragmentManager instead of the parent Fragment's
child FragmentManager.

Bug 20343535

Change-Id: Ib9cd690725b365ad40d4a6cf12c1e6dc6c0089fd
ayoutInflaterCompatLollipop.java
e322b8bcc717dfd663677ed5cb59c6d1c3cb27af 09-Apr-2015 Chris Banes <chrisbanes@google.com> Add translationZ/Z methods to ViewPropertyAnimatorCompat

Change-Id: I4dc730cd845c1ebda7da8d3437888f27f5ebfa91
iewPropertyAnimatorCompatLollipop.java
376f90c159c74a267a5b5e13a5d71273980a72df 20-Mar-2015 Justin Klaassen <justinklaassen@google.com> Create v4 PathInterpolatorCompat (v2)

PathInterpolatorCompat uses PathInterpolator on API 21+, and provides an
alternative implementation to support API 4+. PathInterpolatorCompatIMPL
computes the interpolation along an arbitrary path using a linear
sample-based approximation. Note the interpolated values may differ
slightly from the framework PathInterpolator which uses an arc-based
approximation.

Change-Id: I7f8e8b8663140e6a12fabd45696daff087a13c44
nimation/PathInterpolatorCompatApi21.java
c5b63021dfda1dd155775a0b4845c5ca3c70b1b0 07-Feb-2015 Chris Banes <chrisbanes@google.com> TextInputLayout - a wrapper around EditText

Currently it implements the floating label
pattern and error message handling.

Change-Id: I65132d06e0eef71f671594c3bb39633e9f89a0da
ccessibility/AccessibilityNodeInfoCompatApi21.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
iewCompatLollipop.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
iewCompatApi21.java
iewCompatLollipop.java
iewGroupCompatApi21.java
iewGroupCompatLollipop.java
iewParentCompatLollipop.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
iewCompatApi21.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
iewCompatApi21.java
2e8572c7a0f35ca607038064d47d7f683ebed4ef 25-Nov-2014 Maxim Bogatov <maximbogatov@google.com> adding isImportantForAccessibility() to ViewCompat

bug: 18255648 - ViewCompat should have isImportantForAccessibility
Change-Id: Ieb3effd3488cb4821be9fc51d84ca6d99225093f
iewCompatApi21.java
84ef4490e42b960ea375630f9cc37246af9c571b 29-Oct-2014 Svetoslav <svetoslavganov@google.com> Add support APIs to add custom actions.

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

Change-Id: Ifb2bd523c3b15313a1998a44166668eb85cc53cf
ccessibility/AccessibilityNodeInfoCompatApi21.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
iewCompatApi21.java
indowInsetsCompatApi21.java
a910619e83d0052e1d81aa5fe532821a2f99d76c 09-Sep-2014 Yigit Boyar <yboyar@google.com> Add a11y support for RecyclerView

Bug: 17411052
Change-Id: I9ef93f0bb072e190d6017ee991e6d2c0ab119a62
ccessibility/AccessibilityNodeInfoCompatApi21.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
iewCompatApi21.java
0bf2af5f2d3034e7c8e4aadb076d258122906e1d 11-Jul-2014 Dake Gu <dake@google.com> add transtiionName, transitionGroup to ViewCompat/ViewGroupCompat

Change-Id: I520a7d8a37b51c6f0421386b8766a36d52dcac9b
iewCompatApi21.java
iewGroupCompatApi21.java
389a2e54dda92632fc0004c17323ae4e5a249277 03-Jun-2014 Kristian Monsen <kristianm@google.com> Adding getActionList to the support library

Change-Id: Ic317d437986375f4d75f54cefaf9e0ed75c4a5f6
ccessibility/AccessibilityNodeInfoCompatApi21.java