summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authoryoshiki iguchi <yoshiki@google.com>2018-01-10 20:31:17 +0900
committeryoshiki iguchi <yoshiki@google.com>2018-01-30 17:56:49 +0900
commit78db3d0b0fd4bcae0ec92913e2b39491bffa409b (patch)
treec1683dd685c5d79e5e55857379d520c2930430ff /tools/aapt2/java/JavaClassGenerator_test.cpp
parent8a972cf38091f36e98a522743216998c4915d24e (diff)
Split HeadsUpManager implementation to HeadsUpManagerPhone
This CL splits HeadsUpManager with the basic functionality and the phone (and car) related implementation. The former code leaves in HeadsUpManager class, and the later code is moved to separated HeadsUpManagerPhone class. This contains the following minor changes: - Move the utility static methods to HeadsUpUtil class. - Chanege the return types of HeadsUpManager#getAllEntries() and HeadsUpManager#getTopEntry() from Collection<HeadsUpEntry> to Stream<NotificationData.Entry>. - Add a private method: HeadsUpManagerPhone#getTopHeadsUpEntry() - Make the mPluse propertes boolean instead of Collection in AmbientState and NotificationStackScrollLayout classes. - Unify removeAllHeadsUpEntries() and releaseAllImmediately(), since they do same thing. - Move getTopHeadsUpPinnedHeight method from HeadsUpManager to NotificationStackScrollLayout class, since only this class uses it. - Add a simple test. Bug: 63874929 Bug: 62602530 Test: Compile and ran "runtest systemui" Change-Id: I3e5160803b9cdf1a164339557528ace0d35f8187
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions