altosui/telegps: Reduce CPU time needed for flight displays
authorKeith Packard <keithp@keithp.com>
Thu, 12 Jun 2014 21:12:08 +0000 (14:12 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 12 Jun 2014 21:12:08 +0000 (14:12 -0700)
commit8044eb8e23366e91c741060939baff5137f841c7
tree82d8676369d840051b91a462859a3883bb678a80
parente00ffe6ab6197ab48ba8ce3cf71a197f7215649f
altosui/telegps: Reduce CPU time needed for flight displays

Don't update displays which aren't shown; track hierarchy changes to
trigger display from most recent state data.

Don't update values which haven't changed; remember previous values
and compare with new before updating widget contents.

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/AltosAscent.java
altosui/AltosDescent.java
altosui/AltosFlightStatus.java
altosui/AltosIgnitor.java
altosui/AltosLanded.java
altosui/AltosPad.java
altosuilib/AltosInfoTable.java
altosuilib/AltosUIMapView.java
telegps/TeleGPSInfo.java
telegps/TeleGPSStatus.java