9d854ef36f06c53ffcc74a24e05e596000725a76 |
|
14-Jul-2017 |
Rajeev Kumar <rajekumar@google.com> |
Recycle TypedArray in UsageView. Test: make RunSettingsRoboTests -j40 Change-Id: I8bcc40678d4cc493297b09cd5635c5342c969096
/packages/apps/Settings/src/com/android/settings/graph/UsageView.java
|
c57ceaaa8cfc033bb397eab7af0b4359befbef52 |
|
07-Jun-2017 |
Alex Kulesza <kulesza@google.com> |
Implement general projection curve support for UsageGraph. Previously, projections were hard-coded in UsageGraph as lines from the last known point to the corner of the graph. This change replaces that with support for arbitrary projection curves. Logic for hiding/showing the projection is now gone; if the client does not want a projection, it simply does not supply one. There are two active clients of this code: the data usage graph and the battery usage graph. The data graph does not use projections and is essentially unchanged. The battery graph now implements its linear extrapolation directly in BatteryInfo. Bug: 38400320 Test: make SettingsUnitTests SettingsGoogleUnitTests Test: manual (screenshots in comments) Change-Id: I754e66f6b18ecb8b936143399f8e9e3368fc1ce4
/packages/apps/Settings/src/com/android/settings/graph/UsageView.java
|
c661098ab8e278c57f1ad1a9adb8f1bbd80a81a5 |
|
03-Jun-2017 |
Alex Kulesza <kulesza@google.com> |
Move UsageGraph from SettingsLib to Settings. In preparation for modifying the graph code to show detailed projections (see bug), this change moves it into Settings along with related tests and resources. Bug: 38400320 Test: manual, make SettingsUnitTests, make SettingsGoogleUnitTests Change-Id: I88e5336c15827727b3427e29b10954bba9cfba7d
/packages/apps/Settings/src/com/android/settings/graph/UsageView.java
|