| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL makes the PeopleSpaceActivity screenshot testable by extracting
a ViewModel and ViewBinder out of it. See ag/19289788 for the associated
screenshot tests.
Note that I tried to change the code inflating and updating the View as
less as possible, to avoid introducing bugs. Once this CL and the
associated screenshots are submitted, I will go ahead and refactor this
code even more. This CL is meant to be an example of the kind of
refactoring required to make a UI screenshot testable, so I tried to not
make it too big.
Bug: 238993727
Test: atest PeopleSpaceScreenshotTest
Change-Id: Ib792bd5da41c9e8bdab6cba7108a249bab10ebd2
|
| |
|
|
|
|
|
| |
Test: PeopleTileViewHelperTest
Fixes: 211345973
Change-Id: I20aa6781d46459e0ad3d1321198083f3f9a292f4
Merged-In: I20aa6781d46459e0ad3d1321198083f3f9a292f4
|
| |
|
|
|
|
| |
Bug: 201682172
Test: Manual
Change-Id: Id19f1bdabbfa0c203052f63245f0f4ede462429a
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
RTL handling broke long name handling for LTR. This logic works for both RTL & LTR.
Test: locally
Fixes: 193269905
Change-Id: I2abcfea4849066fe56be7a8d5659809169748e21
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
By deferring resolution of the Uri to Launcher, we risk a
SecurityException. This is extremely important to avoid as if we the
SecurityException is thrown, we can no longer make any updates to the
widget.
Bug: 192986188
Test: locally with Signal
Change-Id: I5421ff5494b405ab9d48afd678fd72dc570a655b
|
| |/
|
|
|
|
| |
Bug: 189908609
Test: PeopleTileViewHelperTest and local
Change-Id: I5b00dfdb8aa04b84aa71d37adfbd06f134bcf5a9
|
| |
|
|
|
|
|
|
| |
Align DND layouts better with status/empty layouts.
Fixes: 187384903, 182920218, 189896324, 189906264
Test: PeopleTileViewHelperTest
Change-Id: Id806de7e2d8e4a55982b8cb2a48de53730bcc04a
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Bug: 183966288
Test: locally
Change-Id: Ie49eb8d81ce79634de9dac82b9933c916e156a38
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I9eb5f6a5d6c3dd0d6b476e97c70192682a4a61a8
Test: manual
Bug: 188905255
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I46a8359ffd4b462add31f5cecce70ff05870db6f
Bug: 183084949
Test: PeopleBackupHelperTest, PeopleSpaceWidgetManagerTest..
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| | |
Change-Id: Ice86fcfc8d08f34c9f06959aa161d02172664421
Test: manual
Bug: 188905255
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This ensures the correct size measuring for rotation and for devices
with multiple screens.
Fix: 183966288
Test: verified locally
Change-Id: I5d2bf55ad779a535a8b69917672192018ba11dbc
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
Also, add missing theme values to the dnd suppressed layouts
For the resize handles to use the different corner radius,
android.R.id.background needs to be used for the clipped background
View.
Bug: 180580427
Test: verified locally
Change-Id: I466003d1b5b37226f28ef146a62ce5fd5102188c
|
| |
|
|
|
|
| |
Bug: 189459297
Test: verified locally
Change-Id: I21bf30e37f0fd7111f0eb04e1256e9dc186850eb
|
| |
|
|
|
|
|
|
| |
Update contacts query to include Birthdays stored without a year value.
Fixes: 188880741, 184006507
Test: local
Change-Id: I9af2801a06a3f1f021b0b2775709a2a495a19003
|
| |
|
|
|
|
|
| |
Bug: 190496101
Fixes: 188900924, 189147129
Test: PeopleSpaceWidgetManagerTest, local
Change-Id: Idc1cd72d698d4eccea0ea2dca9bcbada58463e87
|
| |
|
|
|
|
|
| |
Test: locally tried LTR
Bug: 190498032
Fixes: 189092212, 187526637
Change-Id: I8816ade464b12104c6cce37cc723753bef470f1f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Clears binder identity before scheduling status expiry to avoid
SecurityException crash.
- Fixes duplicate "days days" on last interaction.
- Allows the "name" to wrap lines on 2x1 if there is no last interaciton
time showing.
- Update story ring to correct colors
Bug: 183084168
Fixes: 189095017, 180839900
Test: PeopleTileViewHelperTest
Change-Id: I7adc3d6608ffe8c3626b03f411650271de10cb8b
|
| |
|
|
|
|
|
|
|
| |
Padding, color, and dynamic text resizing. See full details in
b/183084168.
Bug: 185131475, 183084168, 1804014433
Test: PeopleTileViewHelperTest
Change-Id: Ie6a4da771b9735ccce7b0549acfea4c17231d915
|
| |
|
|
|
|
| |
Bug: 180113387, 182891880, 185894289
Test: PeopleTileViewHelperTest
Change-Id: If5e246207fa34f27ad103971b32018f2c7863931
|
| |
|
|
|
|
|
|
|
| |
Add debug logging as well, and mimic the same logic in
PeopleSpaceWidgetManager to avoid the extra Binder call
Bug: 182195735
Test: DataManagerTest
Change-Id: I4d042e26d00f421a24203cc659fb3a376f9df033
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Listen and respond to changes in state on background thread. Store in-memory to avoid
requerying frequently
Test: PeopleSpaceWidgetManagerTest, PeopleTileViewHelperTest,
PeopleSpaceUtilsTest
Bug: 182891880
Change-Id: Id0142b02bb549275c77d8940cda4eb1f0bf4e947
Change-Id: I65712a7a43d8956499533689fe77afbeeac5bd6e
|
| |
|
|
|
|
| |
Change-Id: Ie88ad8482e0dcd6b5f1640827fe71b9d9137cf0c
Test: manual and PeopleTileViewHelperTest
Bug: 184741504
|
| |
|
|
|
|
| |
Change-Id: I4e4ff94e3452f3eb74bf8d7af2969e0ce2d3ac91
Test: manual and people/
Bug: 183084944
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Change-Id: I94d99467b1d40bc629406eb6a5bce8a1a78dd0a4
Test: manual
Bug: 186127384
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| | |
Change-Id: If5409e98f9e5a9bca4fea111af3a463bdf86324b
Test: manual
Bug: 185916268
|
| |/
|
|
|
|
| |
Change-Id: Idb12d332ec971db0879499251b272761c6328444
Bug: 183382000
Test: manual
|
| |
|
|
|
|
| |
Change-Id: If072e43e1c827ebbf7250f832b969118df81755a
Test: manual
Bug: 183382000
|
| |
|
|
|
|
|
|
|
|
| |
Remove last chatted to for 1 day and under
Try to adaptively add more outer padding to 2x1 with a max of 16dp
Let small layout match parent height
Test: PeopleSpaceUtilsTest
Bug: 184606325, 182471248, 185138047
Change-Id: I08a305dacf2b249475ffe0231f0412e694c2922a
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Change-Id: Ib0e60b2aa613a515a5371694fae933e122c1666d
Bug: 184022942
Test: locally
|
| |/
|
|
|
|
| |
Change-Id: I0a57c6311fdc6a93efb3ff8ba459a7ebce981321
Test: manual and PeopleTileViewHelperTest
Bug: 184229123
|
| |
|
|
|
|
| |
Change-Id: I485b6a994e41f19dd9a2ec49ee87ee2db686bb3d
Test: manual
Bug: 183721209
|
| |
|
|
|
|
| |
Change-Id: I4a93cfe263fe3486d1a83587606c7661089e6cd3
Test: manual
Bug: 183382000
|
| |
|
|
|
|
| |
Change-Id: I85b262dda92227cbea2672d9725bda163a5bb42a
Test: manual
Bug: 183382000
|
|
|
Expand text to best-fit the layout by calculating maxLines for medium
and large layout.
Bug: 182377480
Test: PeopleSpaceUtils
Change-Id: I980ef776dfdf6e3007b8761ec7e1db3ec5fe5b7d
|