OSDN Git Service

Handling touch events on the caption.
authorFilip Gruszczynski <gruszczy@google.com>
Fri, 20 Nov 2015 02:22:16 +0000 (18:22 -0800)
committerFilip Gruszczynski <gruszczy@google.com>
Fri, 20 Nov 2015 21:25:24 +0000 (13:25 -0800)
commita33bdf372cf045aa55db841307c64d30a50ab60d
treef8562072528178a38590bbb999b86c76256f9b4e
parentb2d8e4f0f365f03268b0ef4e6d135ab9e11abf92
Handling touch events on the caption.

We need a more sophisticated touch handling to support overlaying the
caption. The touch events need to be routed in following order:
close/maximize buttons, application content, caption dragging.

Bug: 25486369
Change-Id: I9d4e971fb055c217c0bd83f0490fb42a5c22e93b
core/java/android/view/ViewGroup.java
core/java/com/android/internal/widget/DecorCaptionView.java