diff options
| author | 2023-11-03 15:39:20 +0100 | |
|---|---|---|
| committer | 2023-11-06 17:15:10 +0100 | |
| commit | 1e2fb5a7f7144b01e6353d9e3184b596c0fd48bb (patch) | |
| tree | 8ddf5445ef84ff2683ba2d740c2ea7243c91f296 /libs/androidfw/FileStream.cpp | |
| parent | 7a17d7899945f400a7ad67b3ebd51ecf18a88e08 (diff) | |
Re-structure StackScrollerDecorView.
This is not a behavior change, just moving some code around and renaming
some things to make them more readable and consistent.
More specifically:
- re-ordering methods a bit so that related ones are in the same place,
and the order and parameter naming is consistent
- renamed things that were called Runnable without actually being a
runnable, and turned a couple of consumers into methods for simplicity
- made isSecondaryVisible/setSecondaryVisible protected, because it
tends to be confusing when you don't know what the secondary view
actually is (e.g. in the footer, it's the Clear all button); it makes
sense for the child class to define these methods more clearly
Bug: 293167744
Test: presubmit + manually checked that the footer view, empty shade and
silent section behave normally
Flag: NONE
Change-Id: I3b7d70a97472493fc00a741848e0aa36e62edc88
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions