History log of /frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f68af9b1716342bf67476864a142b1ec8b5df0b6 25-May-2018 Selim Cinek <cinek@google.com> Fixed the animations of Messaging Layout, leading to overlaps

The animations could go wild at times, leading to overlapping
messages and ugly renderings. This improves the animations
overall and fixes those cases.

Test: add messages, observe animations
Fixes: 78114531
Fixes: 80409521
Change-Id: I6f21b87706ccc2e85f1edbd9489e4bf7e686d7d8
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
ce8794fbbc49baf2777eb9d078890cbf28c890d5 24-May-2018 Selim Cinek <cinek@google.com> Fixed the behavior of group conversations when targeting P

Fixes an issue where the group conversation heuristic was still
applied even when the app is targeting P. We're now following
the isGroupConversation completely and only do the migration
for apps targeting < P.

Change-Id: I471d58e8a8f5e6270f0dcce8691d08a2bdd1c582
Fixes: 78450835
Test: add messaging notification, observe correct display
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
4552368cdff7046dc2c6107f2f62737225980c95 02-May-2018 Tony Huang <tonyychuang@google.com> Fix odd avatar when message sender is a number

When sender symbol is number or special-char, use person avatar icon
with sendor name color tint.

Fixes: 73551742
Test: manual use different sender name and send message notification
Change-Id: I5e3080efc834bf09c1dae93ef8af06cf3df4d22d
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
14d035c969c59907763c56c6ab69ac3b3268f808 02-May-2018 Kenny Guy <kennyguy@google.com> Fix colorized messaging layout and smart replies.

Modify messaging style and smart replies view to
cope with colorized backgrounds.

Bug: 78928664
Bug: 77927019
Test: atest SystemUITests (with patch from ag/3992401)
Test: visual - see bug for screenshots

Change-Id: Iee66931574fb48d0340986bf520532f798ef59fc
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
f45ca9b6c1c881f011782f9d9ebeee151552cd4c 04-May-2018 Selim Cinek <cinek@google.com> Fixed the historic messaging experience

The historic message groups are now also gone,
not just the messages

Change-Id: Ib7a454809425c18f5c2fd5905b3dae9ec5ec846f
Fixes: 72556979
Test: visually, add historic messages, observe group is gone too
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
1110fd776de0cb2478faa812446e7f5e556b4c1c 01-May-2018 Selim Cinek <cinek@google.com> Fixed the messaging clipping for RTL languages

Because in landscape the width is bigger than the height,
our clipping logic was wrong and clipped off most of the
text.

Test: add messaging style notification, switch to RTL, landscape, observe normal clipping
Change-Id: I8c74a8405280047f8b2a08ecdf3f37b0fbeeec62
Fixes: 73895612
Fixes: 78606052
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
a0f6de8ab2d78445fe0259ef0f5f00e25a3f7d19 06-Apr-2018 Kenny Guy <kennyguy@google.com> Add spinner for smart replies.

Add a spinner to MessagingGroup that is enabled
when the user has clicked on a smart reply.

Bug: 73607490
Test: atest SystemUiTests

Change-Id: I4d892c19b5df2b443761819929a83f016967e217
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
9acd673c0deb2652a55c52b9b80515d84b1945dc 24-Mar-2018 Selim Cinek <cinek@google.com> Migrated the Person class to its own file

Because we are expecting usage of Person across
other surfaces, we migrate the class out
of he Notification class which is already incredibly
huge.

Test: Migrated existing cts test
Change-Id: Ia487ae7965b5ca2b016245d21faa63e3b4628344
Fixes: 75980526
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
85d0e6edd20f6dab6d25f9f475ee462bef85ba98 24-Mar-2018 Selim Cinek <cinek@google.com> Ensured that the reply icon isn't showing on HUNS

Change-Id: I227547237afc53095e792c96b019bb717c213b1c
Fixes: 76112268
Test: runtest systemui
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
7199ed910e2c84d17f755b2449e532af47e50a78 26-Jan-2018 Selim Cinek <cinek@google.com> Implemented support for inline images

Messaging Style always had API support to
display images, but they were never shown.
We are now displaying images inline

Bug: 63708826
Test: send messages with an image
Change-Id: I50c835b19f4846cb2cbfb17e9805eacffd9ec6b3
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
2dd3e72ac0333724f2d9c7cf46a2606746d2c218 19-Jan-2018 Selim Cinek <cinek@google.com> Fixed Messaging style with empty senders

Empty senders were treaded badly before, leading to empty
space and a bad layout. Now the conversation title is taken
as the name of the other sender.

Bug: 63708826
Test: add message with empty senders, observe layout
Change-Id: I6d3ce84c421ddbcd55260f34e8ff5bf46437c2b6
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
1397ea3b910d0981dc4bf91016a78af8fcec08bf 17-Jan-2018 Selim Cinek <cinek@google.com> Improved the experience when sending multiple messages

MessagingStyle wasn't properly picking up the remote input history,
but it was just ignored.
In addition was the display of 1to1 conversations wrong in that case.

Bug: 63708826
Test: manual add notification with MessagingStyle, reply.
Change-Id: I32141ecfb7dce948930de2477157f0fcddf7ba52
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
afeed29bdc80bd4c7542e1177e418a3bfb6682d8 13-Dec-2017 Selim Cinek <cinek@google.com> Changing messaging style and overall visual adoption

The messaging style is changed to a bubble-less design.
In addition are we also updating a few spacings in
order for it to look nicer / more balanced.

Test: manual
Change-Id: I43326bd8a23cd1f1d5964d2d6740fde99d29c7e4
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
cb8b985e5b14013ef903c8cd77c272e305b68633 16-Dec-2017 Selim Cinek <cinek@google.com> Improved the MessagingStyle API with Person

The Person API is now properly used in Messaging
Style, allowing access to it's icon.

Bug: 63708826
Test: runtest -x tests/app/src/android/app/cts/NotificationTest.java
Change-Id: I11d4e69c2253ed7bc5e5b8bf8b60ab96719b3e64
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
1d6b50eccf3b608a34a2a92f46c7ee8b8641e0e4 28-Oct-2017 Selim Cinek <cinek@google.com> Improved the messaging transformation

The messaging layout now transforms smoothly between
the different views.

Test: manual, send messages really fast, expand, collapse
Bug: 63708826
Change-Id: I79da4092eb03fb41a1963b566602386b25141192
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
d3809996af29764776fe069406f85756e53c7eac 28-Oct-2017 Selim Cinek <cinek@google.com> Implemented animations for messaging changes

The animations for new messages coming in are now happening
more smoothly. They have proper appear and disappear
animations.

Test: manual, add new messages, observe animations
Bug: 63708826
Change-Id: I714e976cfee5c0a2c5187a5c3146a7530739f312
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java
88188f2d62dd334e6457eff3a2de24252e98ec2b 20-Sep-2017 Selim Cinek <cinek@google.com> Redesigned the messaging style

The layout now looks much more recognizable
as a messaging template and enables us to
prepare for more useful functionality.

Test: Send messages and observe display
Bug: 63708826
Change-Id: I896b3692a1e84976e8fd37cf37611ddb1d358fb9
/frameworks/base/core/java/com/android/internal/widget/MessagingLayout.java