History log of /frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
df1710dc6e36e26bb3fb9ccd8f447e04d11c2a42 06-Dec-2016 Ned Burns <pixel@google.com> Modify SwipeDismissLayout to perform its own exit animation am: 7d6cb913de am: f9566827f2
am: 768f62aac1

Change-Id: Ibe1a8b9a7cf71b715ae7d4e0157b5cdf1d52e81d
7d6cb913de9b51dba0bae79e527b7d4fe79eb35d 02-Dec-2016 Ned Burns <pixel@google.com> Modify SwipeDismissLayout to perform its own exit animation

Instead of relying on the window animation system, in the special
case of a swipe-dismiss, disable any default window exit animation
and perform a custom animation. This bypasses some bugs in the
window animator codebase and allows us to have a nice "rebound"
animation if the user doesn't swipe far/fast enough to trigger a
dismiss.

Bug: 33041168
Change-Id: Ied45700d35a59950bacef1ba0650eaa5bc60fadb
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
237ee66bd976c06a3e4654faeb1927ce3996aead 29-Jul-2016 Chong Zhang <chz@google.com> Merge \\\"Cleanup mAnimatingExit flag before maybeUpdateTransitToWallpaper()\\\" into nyc-mr1-dev am: f84d9f91ce am: 68a518c49a
am: 5d0649a35e

Change-Id: I2ce986ce8e998c9a63bb1ac743ed9bcdfe754c4e
a6aea9876e81523316d7d4513f59c08555db74a6 27-Jul-2016 Andrii Kulian <akulian@google.com> Don't delay child pressed state in freeform mode

DecorCaptionView is used in app view hierarchy in freeform mode
and it inherits default ViewGroup#shouldDelayChildPressedState
implementation, which returns true by default for compatibility
reasons.
This results in touch not delivered to child views in some cases
until there is movement or up action. E.g. touch on SeekBar will
not change the position of control instantly in freeform, while
it does in other modes.
This CL disables delaying child pressed state for DecorCaptionView.

Bug: 30037893
Change-Id: I4917143610b6c0d404d2395670de9525c10f2a6c
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
a6cfcb3e43a94ae70815bacb4c1d3ba0fa859a81 27-Apr-2016 Vladislav Kaznacheev <kaznacheev@google.com> Grab a window with mouse click and move (no long tap).

Currently a long tap is required. Click and drag is sufficient for mouse.
Also cleaned up some dead code.

Bug: 28428053
Change-Id: I678bdcedd74cc4bd3dfd3668b14cc8124c76bec7
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
933076d80561751618f462b26309ce9e4c3ff3bf 30-Mar-2016 Andrii Kulian <akulian@google.com> Refactor usages of Picture In Picture and Multi Window (1/4)

Bug: 27365860
Change-Id: I1590e430a12ceb84cb83da295e0bf7e4378fea96
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
411c06fbf9040f20778de1ae612e6ab5d6a5a3d4 07-Jan-2016 Filip Gruszczynski <gruszczy@google.com> Only allow activities to move to full screen stack.

We allowed activities to move to any stack, but that's too much
freedom. Instead we only allow them to move from freeform stack to a
fullscreen stack.

Change-Id: I04de9bbf18cf4431d7bd34d6c727de82802661ef
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
3dec081967db3c0e906ff272d632618e260b6413 09-Dec-2015 Filip Gruszczynski <gruszczy@google.com> Remaining APIs for freeform window caption.

The APIs are:
* setting a listener for the area of the caption where we display
control buttons; this is intended for apps that overlay the caption on
their content, so they don't display the content in that area and clash
with the buttons;
* specifying the color pallete of controls in the caption; by default we
try to infer the best color from the theme (dark buttons for light theme
and vice versa), but in case we get it wrong, we allow the developer to
overwrite it;
* specifying the caption background during the resizing; by default we
try to infer a good color from the theme, but in case we do it wrong, we
allow the developer to overwrite this.

The CL also includes merging of layouts decor_caption_dark and
decor_caption_light into a single one. Not only it reduces code
duplication, but also is necessary for allowing adjustment of the
controls color pallete after the layout was created.

Bug: 25486369
Bug: 25818398

Change-Id: Ib87fe849b07df341893ec7873982bf7ab932f6d5
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
a33bdf372cf045aa55db841307c64d30a50ab60d 20-Nov-2015 Filip Gruszczynski <gruszczy@google.com> 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
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
63250651ca4656fc1b9e9ffb9c48d481df80454d 18-Nov-2015 Filip Gruszczynski <gruszczy@google.com> API for overlaying app content over decor caption in freeform windows.

Bug: 25486369

Change-Id: I8fba30dd690d9f0ccc48149f57ce254286b0c2ae
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java
62a91d67cee99998c941c76ad1a61acf1bb40b77 18-Nov-2015 Wale Ogunwale <ogunwale@google.com> Renamed NonClientDecorView to DecorCaptionView

DecorCaptionView better describes what it does now which is to
display the caption area and control buttons within it.

Change-Id: I6b641d6b117bb8f03656bff93702fc093160851d
/frameworks/base/core/java/com/android/internal/widget/DecorCaptionView.java