Lines Matching refs:location
27 import android.location.LocationManager;
41 * A controller to manage changes of location related states and update the views accordingly.
44 // The name of the placeholder corresponding to the location request status icon.
67 // Register to listen for changes in location settings.
77 // Examine the current location state and initialize the status view.
83 * Add a callback to listen for changes in location settings.
95 * Enable or disable location in settings.
97 * <p>This will attempt to enable/disable every type of location setting
101 * If the user doesn't accept, network location won't be enabled.
111 // When enabling location, a user consent dialog will pop up, and the
122 * Returns true if location isn't disabled in settings.
134 * Returns true if the current user is restricted from using location.
143 * Returns true if there currently exist active high power location requests.
173 // Updates the status view based on the current state of location requests.
183 // Reads the active location requests and updates the status view if necessary.