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
|
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
|