Home
last modified time | relevance | path

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

/development/samples/SceneTransitionLayoutDemo/src/com/android/compose/animation/scene/demo/transitions/
DShadeTransitions.kt46 val distance = in shadeTransitions() constant
67 return maxOf(distance, minDistance) in shadeTransitions()
72 distance = swipeDistance in shadeTransitions()
79 distance = swipeDistance in shadeTransitions()
97 val distance = shadeSceneSize.height - scrimOffsetInShade.y in shadeTransitions() constant
98 check(distance > 0f) { in shadeTransitions()
102 return distance in shadeTransitions()
108 distance = qsSwipeDistance in shadeTransitions()
/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/MotionMechanics/src/com/android/mechanics/demo/presentation/
DGuaranteeFadeDemo.kt156 val distance = guaranteeDistance() in rememberSpec() constant
157 val guarantee = if (distance > 0) Guarantee.InputDelta(distance) else Guarantee.None in rememberSpec()
DPracticalDemoDetach.kt84 distance = ExpandedCollapsedDistance in <lambda>()
/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/tools/motion/motion_test_watcher_app/src/timeline/graph/
Dline-graph-visualization.ts262 const distance = Math.abs(dataPoint.x - xValue); constant
263 if (distance < minDistance) {
264 minDistance = distance;
/development/scripts/
Dstack_core.py204 distance = 0
207 distance = obj_offset - size
210 distance = -obj_offset
214 candidate = (distance, whence, i, obj_offset, local_name,
222 distance, whence, _, obj_offset, local_name, function_name, file_line = closest_match
224 distance = obj_offset
234 (distance, whence_str, local_name, function_name))
/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/tools/winscope/src/viewers/components/rects/
Dmapper3d.ts104 addPanScreenDistance(distance: Distance) {
105 this.panScreenDistance.dx += distance.dx;
106 this.panScreenDistance.dy += distance.dy;
Drects_component.ts715 const distance = new Distance(event.movementX, event.movementY); constant
716 this.largeRectsMapper3d.addPanScreenDistance(distance);
/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/MotionMechanics/src/com/android/mechanics/demo/staging/behavior/
DMagneticDetach.kt50 distance = UserActionDistance { fromContent, toContent, _ -> in <lambda>()
/development/tools/winscope/src/app/components/timeline/mini-timeline/
Dslider_component.ts231 let newX = assertDefined(this.slideStartX) + e.distance.x;
/development/samples/MotionMechanics/src/com/android/mechanics/demo/util/
DExpandableCard.kt78 distance = ExpandedCollapsedDistance in <lambda>()
/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…