/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | OverlayEdgeEffect.java | 33 protected float mDistance; field in OverlayEdgeEffect 46 return mDistance; in getDistance() 65 mDistance = Math.max(0f, deltaDistance + mDistance); in onPullDistance() 73 mOverlay.onOverlayMotionEvent(ev, mDistance); in onPullDistance() 74 return mDistance > 0 ? deltaDistance : 0; in onPullDistance() 82 return mDistance <= 0; in isFinished() 92 MotionEvent.ACTION_UP, mDistance, 0, 0); in onRelease() 107 mOverlay.onOverlayMotionEvent(ev, mDistance); in onRelease() 110 mDistance = 0; in onRelease() 121 mDistance = 0; in finish()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | DistanceRecord.java | 48 private final Length mDistance; field in DistanceRecord.Builder 69 mDistance = distance; in Builder() 118 mDistance, in buildWithoutValidation() 133 mDistance, in build() 149 private final Length mDistance; field in DistanceRecord 181 mDistance = distance; in DistanceRecord() 189 return mDistance; in getDistance() 235 recordInternal.setDistance(mDistance.getInMeters()); in toRecordInternal()
|
D | ExerciseCompletionGoal.java | 34 private final Length mDistance; field in ExerciseCompletionGoal.DistanceGoal 41 this.mDistance = distance; in DistanceGoal() 47 return mDistance; in getDistance() 60 return Objects.hash(mDistance); in hashCode() 75 private final Length mDistance; field in ExerciseCompletionGoal.DistanceWithVariableRestGoal 85 this.mDistance = distance; in DistanceWithVariableRestGoal() 92 return mDistance; in getDistance() 112 return Objects.hash(mDistance, mDuration); in hashCode()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | DistanceRecordInternal.java | 31 private double mDistance; field in DistanceRecordInternal 34 return mDistance; in getDistance() 40 this.mDistance = distance; in setDistance() 59 mDistance = parcel.readDouble(); in populateIntervalRecordFrom() 64 parcel.writeDouble(mDistance); in populateIntervalRecordTo()
|
D | ExerciseCompletionGoalInternal.java | 121 parcel.writeDouble(this.mDistance.getInMeters()); in writeFieldsToParcel() 130 private final Length mDistance; field in ExerciseCompletionGoalInternal.DistanceGoalInternal 133 this.mDistance = distance; in DistanceGoalInternal() 138 return mDistance; in getDistance() 144 return new ExerciseCompletionGoal.DistanceGoal(mDistance); in toExternalObject() 344 parcel.writeDouble(this.mDistance.getInMeters()); in writeFieldsToParcel() 356 private final Length mDistance; field in ExerciseCompletionGoalInternal.DistanceWithVariableRestGoalInternal 362 this.mDistance = distance; in DistanceWithVariableRestGoalInternal() 368 return mDistance; in getDistance() 379 return new ExerciseCompletionGoal.DistanceWithVariableRestGoal(mDistance, mDuration); in toExternalObject()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | FlingScroller.java | 41 private int mDistance; field in FlingScroller 100 mDistance = (int)Math.round( in fling() 117 int r = (int) Math.round(mStartX + f * mDistance * mCosAngle); in getX() 127 int r = (int) Math.round(mStartY + f * mDistance * mSinAngle); in getY() 138 return DECELERATED_FACTOR * mDistance * 1000 * in getV()
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/internal/ |
D | RangingPosition.java | 30 private final RangingMeasurement mDistance; field in RangingPosition 57 this.mDistance = distance; in RangingPosition() 67 return mDistance; in getDistance() 114 mDistance.getValue()); in toString()
|
/packages/modules/Uwb/service/java/com/android/server/uwb/data/ |
D | UwbTwoWayMeasurement.java | 26 public int mDistance; field in UwbTwoWayMeasurement 47 this.mDistance = status == UwbUciConstants.STATUS_CODE_OK_NEGATIVE_DISTANCE_REPORT in UwbTwoWayMeasurement() 80 return mDistance; in getDistance() 152 + ", Distance = " + mDistance in toString()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | AssistantInputConsumer.java | 77 private float mDistance; field in AssistantInputConsumer 185 mDistance = (float) Math.hypot(mLastPos.x - mStartDragPos.x, in onMotionEvent() 187 if (mDistance >= 0) { in onMotionEvent() 229 mLastProgress = Math.min(mDistance * 1f / mDragDistThreshold, 1) * mTimeFraction; in updateAssistantProgress() 230 if (mDistance >= mDragDistThreshold && mTimeFraction >= 1) { in updateAssistantProgress() 270 && mDistance >= mFlingDistThreshold in onFling()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | FadeAndShortSlide.java | 97 private int mDistance = DEFAULT_DISTANCE; field in FadeAndShortSlide 230 float startX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onAppear() 259 float endX = mSlideCalculator.getGoneX(sceneRoot, view, position, mDistance); in onDisappear() 318 mDistance = distance; in setDistance()
|
D | SetupAnimationHelper.java | 69 private final int mDistance = sFragmentTransitionLongDistance; field in SetupAnimationHelper.TransitionBuilder 113 transition.setDistance(mDistance); in build()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/notification/ |
D | NotificationFragment.java | 796 int mDistance = 900; in initNavigationButton() 804 .setContentText("Turn right in " + mDistance + " ft") in initNavigationButton() 807 .setSubText(mDistance + " ft") in initNavigationButton() 812 mDistance -= 100; in initNavigationButton() 813 if (mDistance >= 0) { in initNavigationButton() 825 int mDistance = 20; in initNavigationButton() 833 .setContentText("Exit in " + mDistance + " miles") in initNavigationButton() 836 .setSubText(mDistance + " miles") in initNavigationButton() 841 mDistance -= 1; in initNavigationButton() 842 if (mDistance >= 0) { in initNavigationButton()
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | NavStateController.java | 61 private TextView mDistance; field in NavStateController 84 mDistance = container.findViewById(R.id.distance); in NavStateController() 155 mDistance.setText(formatDistance(step != null ? step.getDistance() : null)); in update() 156 mDistance.setAlpha(alpha); in update()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | NavStateController.java | 62 private final TextView mDistance; field in NavStateController 85 mDistance = container.findViewById(R.id.distance); in NavStateController() 153 mDistance.setText(formatDistance(step != null ? step.getDistance() : null)); in update() 154 mDistance.setAlpha(alpha); in update()
|