Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 21 of 21) sorted by relevance

/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/provider/
DTouristAttractions.java135 double distance = SphericalUtil.computeDistanceBetween(curLatLng, entry.getValue()); in getClosestCity() local
136 if (minDistance == 0 || distance < minDistance) { in getClosestCity()
137 minDistance = distance; in getClosestCity()
/development/samples/browseable/XYZTouristAttractions/Shared/src/com.example.android.xyztouristattractions.common/
DUtils.java79 double distance = Math.round(SphericalUtil.computeDistanceBetween(point1, point2)); in formatDistanceBetween() local
83 if (distance >= 1000) { in formatDistanceBetween()
85 return numberFormat.format(distance / 1000) + DISTANCE_KM_POSTFIX; in formatDistanceBetween()
87 return numberFormat.format(distance) + DISTANCE_M_POSTFIX; in formatDistanceBetween()
DAttraction.java39 public String distance; field in Attraction
/development/samples/browseable/WatchFace/
D_index.jd18 For the Fit Distance related watch face, authentication IS a requirement to request distance from
19 Google Fit on Wear. Otherwise, distance will always come back as zero (or stay at whatever the
20 distance was prior to you de-authorizing the watch face).
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailFragment.java88 String distance = Utils.formatDistanceBetween(location, mAttraction.location); in onCreateView() local
89 if (TextUtils.isEmpty(distance)) { in onCreateView()
94 distanceTextView.setText(distance); in onCreateView()
DAttractionListFragment.java169 String distance = in onBindViewHolder() local
171 if (TextUtils.isEmpty(distance)) { in onBindViewHolder()
175 holder.mOverlayTextView.setText(distance); in onBindViewHolder()
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
DAnimatedNotificationDisplayActivity.java75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); in createNextAnimation() local
83 (int) (distance * BASE_ANIMATION_DURATION_MS / mAnimationRange))); in createNextAnimation()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DTouchPaint.java453 float distance, float tilt) { in paint() argument
476 drawSplat(mCanvas, x, y, orientation, distance, tilt, mPaint); in paint()
514 float distance, float tilt, Paint paint) { in drawSplat() argument
515 float z = distance * 2 + 10; in drawSplat()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/service/
DUtilityService.java382 String distance = Utils.formatDistanceBetween( in showNotification() local
388 .setContentText(distance) in showNotification()
452 String distance = Utils.formatDistanceBetween( in sendDataToWearable() local
461 attractionData.putString(Constants.EXTRA_DISTANCE, distance); in sendDataToWearable()
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/ui/
DAttractionsGridPagerAdapter.java130 if (TextUtils.isEmpty(attraction.distance)) { in instantiateItem()
134 R.string.map_caption, attraction.distance)); in instantiateItem()
DAttractionsActivity.java223 attraction.distance = in doInBackground()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt157 commute - n. a regular journey of some distance to and from your place of work
278 distant - j. separated in space or coming from or going to a distance
712 perspective - n. the appearance of things relative to one another as determined by their distance f…
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...