Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 18 of 18) 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/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/ndk/platforms/android-9/include/android/
Dsensor.h122 float distance; member
/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/ndk/platforms/android-19/include/android/
Dsensor.h147 float distance; member
/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/ndk/platforms/android-21/include/android/
Dsensor.h164 float distance; member
/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/ndk/platforms/android-21/include/SLES/
DOpenSLES.h1727 SLmillimeter distance
/development/ndk/platforms/android-9/include/SLES/
DOpenSLES.h1727 SLmillimeter distance
/development/ndk/platforms/android-14/include/SLES/
DOpenSLES.h1727 SLmillimeter distance
/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/ndk/platforms/android-24/include/GLES2/
Dgl2ext.h2557 …VPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfl…
2615 …PathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfl…