/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusionEngine.java | 45 private static final String GPS = LocationManager.GPS_PROVIDER; field in FusionEngine 74 mStats.put(GPS, new ProviderStats()); in FusionEngine() 160 disableProvider(GPS); in updateRequirements() 188 enableProvider(GPS, gpsInterval); in updateRequirements() 190 disableProvider(GPS); in updateRequirements() 264 if (GPS.equals(location.getProvider())) { in onLocationChanged() 290 s.append(" ").append(mStats.get(GPS)).append('\n'); in dump()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 277 final String GPS = LocationManager.GPS_PROVIDER; in setGpsLocation() local 279 GPS.equals(value) || in setGpsLocation() 280 value.startsWith(GPS + ",") || in setGpsLocation() 281 value.endsWith("," + GPS) || in setGpsLocation() 282 value.contains("," + GPS + ","); in setGpsLocation() 284 mContext.getContentResolver(), GPS, enabled); in setGpsLocation() local
|
/frameworks/base/docs/html/training/articles/ |
D | wear-location-detection.jd | 13 <li><a href="#DetectGPS">Detect On-Board GPS</a></li> 37 <p>Some wearable devices include a GPS sensor that can retrieve location data without another 41 device loses connection with its paired device and does not have a built-in GPS sensor.</p> 213 <h2 id="DetectGPS">Detect On-Board GPS</h2> 215 <p>Not all wearables have a GPS sensor. If your user goes out for a run and leaves their phone at 220 <p>To determine whether your Android Wear device has a built-in GPS sensor, use the 222 method. The following code detects whether the device has built-in GPS when you start an activity: 232 Log.d(TAG, "This hardware doesn't have GPS."); 250 onboard GPS sensor, loss of location data occurs when the device loses its tethered data connection. 254 device does not have a GPS sensor, you should detect the loss of that connection, warn the user, and [all …]
|
/frameworks/base/docs/html-intl/intl/ru/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
D | pausing.jd | 73 GPS) или других ресурсов, влияющих на время работы аккумулятора во время паузы и не
|
/frameworks/base/docs/html-intl/intl/ja/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
D | pausing.jd | 72 <li>放送用レシーバーなどのシステム リソース、(GPS
|
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
D | pausing.jd | 72 <li>釋放系統資源,例如廣播接收器、感應器 (如 GPS) 的控點,或釋放在您的應用行為顯示暫停時可能影響電池使用壽命 (且使用者不再需要) 的資源。
|
/frameworks/base/docs/html-intl/intl/ko/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
D | pausing.jd | 72 <li>브로드캐스트 리시버와 같은 시스템 리소스, GPS와
|
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/ |
D | hardware.jd | 20 …TV のハードウェアは、他の Android 端末とは大きく異なります。TV には、タッチスクリーン、カメラ、GPS 受信機など、他の Android 端末でよく使われるハードウェア機能がありませ… 85 <td>GPS</td> 231 <h4 id="no-gps">GPS</h4> 234 …TV は据え付けタイプの室内用端末であり、全地球測位システム(GPS)の受信機を内蔵していません。アプリが位置情報を使用している場合、TV 端末のセットアップ時に郵便番号などの静的なロケーション …
|
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
D | pausing.jd | 72 <li>释放系统资源,比如广播接收器、传感器手柄(比如 GPS) 或当您的Activity暂停且用户不需要它们时仍然可能影响电池寿命的任何其他资源。
|
/frameworks/base/docs/html/guide/topics/location/ |
D | strategies.jd | 51 utilize GPS and Android's Network Location Provider to acquire the user location. Although 52 GPS is most accurate, it only works outdoors, it quickly consumes battery power, and doesn't return 56 location in your application, you can use both GPS and the Network Location Provider, or just 68 <p>GPS, Cell-ID, and Wi-Fi can each provide a clue to users location. Determining which to use 136 <p>To request location updates from the GPS provider, 138 location updates from both the GPS and the Network Location Provider by calling {@link 212 // Or, use GPS location data: 331 <p>A smaller window in which you listen for location updates means less interaction with GPS and 346 you might choose to use only the Network Location Provider or only GPS, instead of both. Interacting 407 <p class="note"><strong>Note:</strong> Providing mock location data is injected as GPS location [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SensorPowerCalculator.java | 46 case BatteryStats.Uid.Sensor.GPS: in calculateApp()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | index.jd | 4 … the device to add rich location and motion capabilities to your app, from GPS or network location…
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/essentials/quality/ |
D | tablets.jd | 271 …<li>许多平板电脑都装有 GPS 传感器,但大多数用户在跑步时通常不会带着平板电脑。如果手机应用中提供的某项功能可让用户在跑步时通过手机记录 GPS 路线,就无需在平板电脑上也提供这项功能,因为… 347 例如,如果应用通常使用 GPS 设置地理位置,但设备不支持 GPS,那么此应用可以让用户手动设置地理位置。应用可以在运行时检查设备硬件功能并根据需要执行相应处理。
|
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/googleplay/quality/ |
D | tablets.jd | 393 <li>许多平板电脑都装有 GPS 传感器,但大多数用户在跑步时通常不会带着平板电脑。 394 如果手机应用中提供的某项功能可让用户在跑步时通过手机记录 GPS 路线,就无需在平板电脑上也提供这项功能,因为此用例没有吸引力。 512 例如,如果应用通常使用 GPS 设置地理位置,但设备不支持 GPS,那么此应用可以让用户手动设置地理位置。
|
/frameworks/base/docs/html-intl/intl/zh-tw/distribute/googleplay/quality/ |
D | tablets.jd | 292 …<li>許多平板電腦具有 GPS 感應器,但是多數使用者在駕車時通常不會攜帶平板電腦。若使用者藉由您電話應用程式提供的功能,可以在攜帶電話時記錄其駕車的 GPS 路線,則應用程式不需要在平板電腦上… 368 例如,若應用程式通常使用 GPS 來設定位置,但是裝置上不支援 GPS,則應用程式可以讓使用者改為手動設定位置。應用程式可以在執行階段檢查裝置硬體功能,並視需要進行處理。
|
/frameworks/base/docs/html-intl/intl/ko/distribute/googleplay/quality/ |
D | tablets.jd | 393 <li>대부분의 태블릿에 GPS 센서가 있지만 일반적으로 대부분의 사용자는 달릴 때 태블릿을 휴대하지 않습니다. 394 휴대폰을 휴대한 사용자가 달릴 때 GPS 추적을 기록할 수 있는 앱의 기능이 태블릿에서는 꼭 필요하지는 않으므로 제공할 필요가 없습니다. 512 예를 들어, 앱이 위치를 설정하기 위해 정상적으로 GPS를 사용하지만 장치에서 GPS가 지원되지 않는 경우 앱에서 사용자가 수동으로 위치를 설정하도록 할 수 있습니다.
|
/frameworks/base/docs/html-intl/intl/ja/distribute/googleplay/quality/ |
D | tablets.jd | 292 …<li>多くのタブレットに GPS センサーが搭載されていますが、ほとんどのユーザーは、通常、走りながらタブレットを携行することはありません。電話アプリに、ユーザーが電話を携行しているときに走った… 368 …たとえば、アプリがロケーションの設定に通常は GPS を使用する場合で GPS がデバイスでサポートされていない場合、代わりにアプリでユーザーがロケーションを手動で設定する場合があります。アプリは…
|
/frameworks/base/docs/html/training/basics/activity-lifecycle/ |
D | stopping.jd | 159 // so this is where we should make sure that GPS is enabled 165 // Create a dialog here that requests the user to enable GPS, and use an intent 167 // to take the user to the Settings screen to enable GPS when they click "OK"
|
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/activity-lifecycle/ |
D | stopping.jd | 157 // so this is where we should make sure that GPS is enabled 163 // Create a dialog here that requests the user to enable GPS, and use an intent 165 // to take the user to the Settings screen to enable GPS when they click "OK"
|
/frameworks/base/docs/html/training/location/ |
D | change-location-settings.jd | 30 device needs to enable the appropriate system settings, such as GPS or Wi-Fi 31 scanning. Rather than directly enabling services such as the device's GPS, 129 this setting, the location services are more likely to use GPS
|