/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | TouchTracker.java | 131 float maxDistance = getMaxDistance(); in getProgress() local 132 maxDistance = maxDistance == 0 ? 1 : maxDistance; in getProgress() 134 if (linearDistance < maxDistance) { in getProgress() 138 float nonLinearDistance = maxDistance - linearDistance; in getProgress() 149 /* stop = */ maxDistance, in getProgress() 155 progress = deltaX / maxDistance; in getProgress() 179 public void setProgressThresholds(float linearDistance, float maxDistance, in setProgressThresholds() argument 186 mMaxDistance = maxDistance; in setProgressThresholds()
|
D | BackAnimation.java | 92 void setSwipeThresholds(float linearDistance, float maxDistance, float nonLinearFactor); in setSwipeThresholds() argument
|
D | BackAnimationController.java | 306 float maxDistance, in setSwipeThresholds() argument 309 linearDistance, maxDistance, nonLinearFactor)); in setSwipeThresholds() 613 float maxDistance, in setSwipeThresholds() argument 615 mTouchTracker.setProgressThresholds(linearDistance, maxDistance, nonLinearFactor); in setSwipeThresholds()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/ |
D | FlingAnimationUtils.java | 151 float maxDistance) { in apply() argument 153 maxDistance); in apply() 170 float currValue, float endValue, float velocity, float maxDistance) { in apply() argument 171 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply() 188 float velocity, float maxDistance) { in apply() argument 190 maxDistance); in apply() 196 float endValue, float velocity, float maxDistance) { in getProperties() argument 198 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties() 265 float velocity, float maxDistance) { in applyDismissing() argument 267 maxDistance); in applyDismissing() [all …]
|
/frameworks/wilhelm/src/itf/ |
D | I3DSource.cpp | 56 SLmillimeter minDistance, SLmillimeter maxDistance) in I3DSource_SetRolloffDistances() argument 61 (minDistance <= maxDistance) && (maxDistance <= SL_MILLIMETER_MAX))) { in I3DSource_SetRolloffDistances() 67 thiz->mMaxDistance = maxDistance; in I3DSource_SetRolloffDistances() 86 SLmillimeter maxDistance = thiz->mMaxDistance; in I3DSource_GetRolloffDistances() local 89 *pMaxDistance = maxDistance; in I3DSource_GetRolloffDistances()
|
/frameworks/base/core/java/android/transition/ |
D | CircularPropagation.java | 89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight()); in getStartDelay() local 90 double distanceFraction = distance/maxDistance; in getStartDelay()
|
D | Explode.java | 157 double maxDistance = in calculateOut() local 160 outVector[0] = (int) Math.round(maxDistance * xVector); in calculateOut() 161 outVector[1] = (int) Math.round(maxDistance * yVector); in calculateOut()
|
D | SidePropagation.java | 110 float maxDistance = getMaxDistance(sceneRoot); in getStartDelay() local 111 float distanceFraction = distance/maxDistance; in getStartDelay()
|
/frameworks/base/core/java/android/widget/ |
D | EditorTouchState.java | 212 int maxDistance) { in isDistanceWithin() argument 216 return distanceSquared <= maxDistance * maxDistance; in isDistanceWithin()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelViewControllerTest.java | 972 int maxDistance = mNotificationPanelViewController.getMaxPanelTransitionDistance(); in getMaxPanelTransitionDistance_expanding_inSplitShade_returnsSplitShadeFullTransitionDistance() local 974 assertThat(maxDistance).isEqualTo(SPLIT_SHADE_FULL_TRANSITION_DISTANCE); in getMaxPanelTransitionDistance_expanding_inSplitShade_returnsSplitShadeFullTransitionDistance() 993 int maxDistance = mNotificationPanelViewController.getMaxPanelTransitionDistance(); in getMaxPanelTransitionDistance_inSplitShade_withHeadsUp_returnsBiggerValue() local 996 assertThat(maxDistance).isLessThan(10000); in getMaxPanelTransitionDistance_inSplitShade_withHeadsUp_returnsBiggerValue() 997 assertThat(maxDistance).isGreaterThan(SPLIT_SHADE_FULL_TRANSITION_DISTANCE); in getMaxPanelTransitionDistance_inSplitShade_withHeadsUp_returnsBiggerValue() 1006 int maxDistance = mNotificationPanelViewController.getMaxPanelTransitionDistance(); in getMaxPanelTransitionDistance_expandingSplitShade_keyguard_returnsNonSplitShadeValue() local 1008 assertThat(maxDistance).isNotEqualTo(SPLIT_SHADE_FULL_TRANSITION_DISTANCE); in getMaxPanelTransitionDistance_expandingSplitShade_keyguard_returnsNonSplitShadeValue() 1016 int maxDistance = mNotificationPanelViewController.getMaxPanelTransitionDistance(); in getMaxPanelTransitionDistance_expanding_notSplitShade_returnsNonSplitShadeValue() local 1018 assertThat(maxDistance).isNotEqualTo(SPLIT_SHADE_FULL_TRANSITION_DISTANCE); in getMaxPanelTransitionDistance_expanding_notSplitShade_returnsNonSplitShadeValue()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/ |
D | EdgeBackGestureHandler.java | 1201 int maxDistance = mDisplaySize.x; in updateBackAnimationThresholds() local 1202 float linearDistance = Math.min(maxDistance, mBackSwipeLinearThreshold); in updateBackAnimationThresholds() 1203 mBackAnimation.setSwipeThresholds(linearDistance, maxDistance, mNonLinearFactor); in updateBackAnimationThresholds()
|
/frameworks/wilhelm/include/SLES/ |
D | OpenSLES.h | 1821 SLmillimeter maxDistance
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelViewController.java | 2889 double maxDistance = Math.max(mSplitShadeFullTransitionDistance, in getMaxPanelTransitionDistance() local 2891 return (int) Math.min(getMaxPanelHeight(), maxDistance); in getMaxPanelTransitionDistance()
|