Searched refs:refreshDisplay (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DSettingsActivity.java62 // Sets refreshDisplay to true so that when the user returns to the main
64 NetworkActivity.refreshDisplay = true;
H A DNetworkActivity.java75 public static boolean refreshDisplay = true; field in class:NetworkActivity
108 // Only loads the page if refreshDisplay is true. Otherwise, keeps previous
113 if (refreshDisplay) {
300 // If device has its Wi-Fi connection, sets refreshDisplay
303 refreshDisplay = true;
307 // (which by process of elimination would be mobile), sets refreshDisplay to true.
309 refreshDisplay = true;
314 // Sets refreshDisplay to false.
316 refreshDisplay = false;

Completed in 465 milliseconds