/development/samples/training/location-aware/src/com/example/android/location/ |
D | LocationActivity.java | 17 package com.example.android.location; 25 import android.location.Address; 26 import android.location.Geocoder; 27 import android.location.Location; 28 import android.location.LocationListener; 29 import android.location.LocationManager; 215 Location location = null; in requestUpdatesFromProvider() local 218 location = mLocationManager.getLastKnownLocation(provider); in requestUpdatesFromProvider() 222 return location; in requestUpdatesFromProvider() 239 private void doReverseGeocoding(Location location) { in doReverseGeocoding() argument [all …]
|
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/ |
D | Attraction.java | 34 public LatLng location; field in Attraction 44 Uri secondaryImageUrl, LatLng location, String city) { in Attraction() argument 50 this.location = location; in Attraction()
|
D | Utils.java | 93 public static void storeLocation(Context context, LatLng location) { in storeLocation() argument 96 editor.putLong(PREFERENCES_LAT, Double.doubleToRawLongBits(location.latitude)); in storeLocation() 97 editor.putLong(PREFERENCES_LNG, Double.doubleToRawLongBits(location.longitude)); in storeLocation()
|
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/ |
D | PduPart.java | 397 byte[] location = (byte[]) mPartHeader.get(P_NAME); in generateLocation() 398 if(null == location) { in generateLocation() 399 location = (byte[]) mPartHeader.get(P_FILENAME); in generateLocation() 401 if (null == location) { in generateLocation() 402 location = (byte[]) mPartHeader.get(P_CONTENT_LOCATION); in generateLocation() 406 if (null == location) { in generateLocation() 410 return new String(location); in generateLocation()
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/ |
D | UtilityService.java | 26 import android.location.Location; 42 import com.google.android.gms.location.FusedLocationProviderApi; 43 import com.google.android.gms.location.Geofence; 44 import com.google.android.gms.location.GeofencingEvent; 45 import com.google.android.gms.location.LocationRequest; 46 import com.google.android.gms.location.LocationServices; 63 import static com.google.android.gms.location.LocationServices.FusedLocationApi; 64 import static com.google.android.gms.location.LocationServices.GeofencingApi; 230 Location location = FusedLocationApi.getLastLocation(googleApiClient); in requestLocationInternal() local 231 if (location != null) { in requestLocationInternal() [all …]
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
D | AttractionListFragment.java | 22 import android.location.Location; 42 import com.google.android.gms.location.FusedLocationProviderApi; 104 Location location = 106 if (location != null) { 107 mLatestLocation = new LatLng(location.getLatitude(), location.getLongitude()); 124 lhs.location, curLatLng); in loadAttractionsFromLocation() 126 rhs.location, curLatLng); in loadAttractionsFromLocation() 170 Utils.formatDistanceBetween(mLatestLocation, attraction.location); in onBindViewHolder()
|
D | DetailFragment.java | 87 LatLng location = Utils.getLocation(getActivity()); in onCreateView() local 88 String distance = Utils.formatDistanceBetween(location, mAttraction.location); in onCreateView()
|
/development/samples/training/basic/ActivityLifecycle/ |
D | ant.properties | 9 # 'source.dir' for the location of your java source folder and 10 # 'out.dir' for the location of your output folder. 14 # 'key.store' for the location of your keystore and
|
D | build.properties | 9 # 'source.dir' for the location of your java source folder and 10 # 'out.dir' for the location of your output folder. 14 # 'key.store' for the location of your keystore and
|
D | local.properties | 7 # location of the SDK. This is only used by Ant
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | MmsWapPushReceiver.java | 57 final String location = new String(nInd.getContentLocation()); in onReceive() local 58 Log.v(TAG, "Received MMS notification: " + location); in onReceive() 62 di.putExtra(MmsMessagingDemo.EXTRA_NOTIFICATION_URL, location); in onReceive()
|
/development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ |
D | WearableMainActivity.java | 23 import com.google.android.gms.location.LocationListener; 24 import com.google.android.gms.location.LocationRequest; 25 import com.google.android.gms.location.LocationServices; 38 import android.location.Location; 390 public void onLocationChanged(Location location) { in onLocationChanged() argument 391 Log.d(TAG, "onLocationChanged() : " + location); in onLocationChanged() 399 mSpeed = location.getSpeed() * MPH_IN_METERS_PER_SECOND; in onLocationChanged() 401 addLocationEntry(location.getLatitude(), location.getLongitude()); in onLocationChanged()
|
/development/scripts/ |
D | boardconfig_usage_analysis.py | 191 for location in sorted(locations): 192 print(' ' + location) 195 for location in sorted(usage): 196 print(' ' + location)
|
D | native_heapdump_viewer.py | 111 def __init__(self, function, location, library): argument 113 self.location = location 334 location = splitted[2*x+1]; 335 resolved_addrs[addrs_by_lib[lib][x]] = FrameDescription(function, location, lib) 380 …tal_percent, parent_percent, node.number, indent, node.addr, fd.library, fd.function, fd.location)) 394 …f%% %6d %s%s %s %s" % (node.size, total_percent, node.number, extra, lib, fd.function, fd.location)
|
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/ |
D | ThemedNavBarKeyboard.java | 85 final int[] location = new int[2]; in onComputeInsets() local 86 mLayout.getLocationInWindow(location); in onComputeInsets() 87 final int x = location[0]; in onComputeInsets() 88 final int y = location[1]; in onComputeInsets()
|
/development/apps/SettingInjectorSample/src/com/example/android/injector/ |
D | MyInjectorService.java | 19 import android.location.SettingInjectorService;
|
D | SlowInjectorService.java | 19 import android.location.SettingInjectorService;
|
D | DisabledInjectorService.java | 19 import android.location.SettingInjectorService;
|
D | FailingInjectorService.java | 19 import android.location.SettingInjectorService;
|
D | UpdatingInjectorService.java | 20 import android.location.SettingInjectorService;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | PictureLayout.java | 138 public ViewParent invalidateChildInParent(int[] location, Rect dirty) { in invalidateChildInParent() argument 139 location[0] = getLeft(); in invalidateChildInParent() 140 location[1] = getTop(); in invalidateChildInParent()
|
/development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/ |
D | Constants.java | 21 import com.google.android.gms.location.Geofence;
|
D | SimpleGeofence.java | 19 import com.google.android.gms.location.Geofence;
|
D | GeofenceTransitionsIntentService.java | 36 import com.google.android.gms.location.Geofence; 37 import com.google.android.gms.location.GeofencingEvent;
|
/development/samples/browseable/AutoBackupForApps/ |
D | _index.jd | 9 adjusting the location where data files are stored using getNoBackupFilesDir(), or by using a custom
|