4fefed2b5ee5cb8e473be2e36743bbc93a3d7a27 |
|
03-May-2018 |
Selim Cinek <cinek@google.com> |
Changed the way the ellipsizing of text is measured This also fixed the paddings for the bigtext layout by remeasuring it after the initial measure. Test: runtest systemui Change-Id: I4b974645606691e6faf2b99b8e52c791e69ee6ea Fixes: 79111092
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
1c72fa0249c364143d0818d129b6dc7f70054752 |
|
23-Apr-2018 |
Selim Cinek <cinek@google.com> |
Cleaned up the paddings of the messaging layout and smart replies Refactored the code such that the reply icon's inset was substracted from the overall paddings to make all of them consistent. This will also help in the future as we don't have to update those paddings manually anymore. Test: test all sorts of combinations with Notify Change-Id: I8c6c9951bc73c88d95cb443c8e618c7adca7ebd3 Fixes: 78441535
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
384804b42deaa7a679f8afbb0c7c69cf4aa68f06 |
|
18-Apr-2018 |
Selim Cinek <cinek@google.com> |
Split the reply icon permanently from the right icon Previously these would overlap, but they are now completely separate. Test: ensure that all notification styles still work with the new affordance. Change-Id: I16f5f863b4afac27494a4a7615631bca240ca532 Fixes: 72750728
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.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/ImageFloatingTextView.java
|
5caf5a690f7db72912120c310d4002b69f7ead50 |
|
23-Aug-2017 |
Roozbeh Pournader <roozbeh@google.com> |
Use fallback-based line spacing in TextView etc In TextView and Switch, version-gate the use of setUseLineSpacingFromFallbacks() to apps targeting Android P and later for backward compatibility. In internal widgets, ImageFloatingTextView and SubtitleView, always turn it on, since there is no backward compatibility concerns. Bug: 28963299 Test: bit CtsWidgetTestCases:android.widget.cts.CheckedTextViewTest Test: bit CtsWidgetTestCases:android.widget.cts.EditTextTest Test: bit CtsWidgetTestCases:android.widget.cts.SwitchTest Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest Test: bit FrameworksCoreTests:android.widget.TextViewTest Change-Id: Icfe4e71ba26bbc6755ba12ddab72e6bf20b3ce25
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
47ec33918b4d0e4bccfb6c0fd0750b03d899cadd |
|
10-Jul-2017 |
Selim Cinek <cinek@google.com> |
Using transformation method in the ImageFloatingTextView Otherwise things like singleline and password don't work. Test: runtest -x core/tests/coretests/src/com/android/internal/widget/ImageFloatingTextViewTest.java Change-Id: I9d7d13c038be38319e6516715137789f612a43f7 Fixes: 36713596
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
6ce7cf7cda93b930fbab4f74c4582d84bd1f9d98 |
|
12-May-2017 |
Selim Cinek <cinek@google.com> |
Fixed broken coretests The MessagingLinearLayout and the ImageFloatingTextView tests were broken. Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/widget/MessagingLinearLayoutTest.java Test: runtest -x frameworks/base/core/tests/coretests/src/com/android/internal/widget/ImageFloatingTextViewTest.java Change-Id: Ife32b600e2082400a8ee2f86310a51fd88c1b80c Fixes: 38182087
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
9281e5e1c4675a156cd5d5ab794b6b71e5ea0787 |
|
09-Mar-2017 |
Selim Cinek <cinek@google.com> |
Better messaging style wrapping Messaging style is now not dropping previous messages anymore if they don't fit completely. Instead we are truncating it. Test: send various text messages, observe nice layout Fixes: 35944700 Change-Id: I0a08b06bf7624ee62e81bfd384721c8458c9c9d4
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
64aed1a21bfbf0ffbc75b20c67232174995e8803 |
|
08-Feb-2017 |
Selim Cinek <cinek@google.com> |
Improved collapsed messaging notifications Previously the messaging layout was working on a fixed Height, which didn't scale well as we were now using it also in the collapsed version. For big text notifications, the view would be clipped ugly, since we were using a fixed number of lines. Instead we're now calculating this dynamically. Fixes: 35126759 Test: runtest systemui Change-Id: Ie3736d807d7a162ee51ad65794bf2f1cfb2248be
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
62be439d26a9e0748d4626bed8ffa117e39764a2 |
|
05-Dec-2016 |
Adrian Roos <roosa@google.com> |
Notifications: Fix bad layout for long texts Fixes a bug where the max lines restriction was not properly passed to ImageFloatingTextView's layout, causing the TextView to improperly apply bottom padding. Change-Id: Ibe07515866a4599047712a0482332ed4430c9056 Test: runtest -x core/tests/coretests/src/com/android/internal/widget/ImageFloatingTextViewTest.java Fixes: 32658499 Bug: 32658499
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
dd8611fc5a374220b3c2b07814dd072d3fe73cca |
|
16-Sep-2016 |
dongwan0605.kim <dongwan0605.kim@lge.com> |
Fix RTL issue of ImageFloatingTextView Sometimes, makeSingleLayout() can be invoked before layout direction is resolved. When not resolved, it indents in LTR layout although it should be RTL. So, to guarantee the exact indenting, we should re-build the text layout when the layout direction is changed. Test: manual - Test BigTextStyle notifications with LargeIcon under RTL configurations. Fixes: 31633875 Change-Id: Idc6c5d7d41632cb9e1b70d9c67c13852e3f25023
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
37878683fff58ea6f902377abc0b44b9246e6292 |
|
02-May-2016 |
Selim Cinek <cinek@google.com> |
Fixed a bug where the image and the text were overlapping If a notification was updated with an image, the layout could stay the old one. Change-Id: Ic012193e79acf14551801e5e2b704ab9519b9c50 Fixes: 28315999
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
c1a80b08f08cfb038625cec537390705d16db3f5 |
|
05-Apr-2016 |
Adrian Roos <roosa@google.com> |
Notification MessagingStyle: Add handset views Bug: 27250207 Change-Id: I499cf2beaeeb34f0f189815fc0911f3b8954bd50
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
98199ae4c979ea1cac62eb9871649d6ec1dd159f |
|
03-Mar-2016 |
Selim Cinek <cinek@google.com> |
Fixed that the bigtext nofitication had slightly different padding The reason was that we're using a different textview there which uses a SimpleLayout. This is now changed to also use the same one. Bug: 27436418 Change-Id: I7e6dd503e09cf69ba8ed5bb6dd07fc79ee519cd3
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|
4fb12d3f8ebf20f2d6db519f7f91cfa625edf566 |
|
20-Nov-2015 |
Selim Cinek <cinek@google.com> |
Made the bigtext now nicely float around the image If there is an image instead of applying the same margin everywhere, the text now floats around the image. Change-Id: I87f9ca9f51fb270b0732a99374544381bd1fc4e0
/frameworks/base/core/java/com/android/internal/widget/ImageFloatingTextView.java
|