Home
last modified time | relevance | path

Searched refs:maxDistance (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DTouchTracker.java131 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()
DBackAnimation.java92 void setSwipeThresholds(float linearDistance, float maxDistance, float nonLinearFactor); in setSwipeThresholds() argument
DBackAnimationController.java306 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/
DFlingAnimationUtils.java151 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/
DI3DSource.cpp56 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/
DCircularPropagation.java89 double maxDistance = distance(0, 0, sceneRoot.getWidth(), sceneRoot.getHeight()); in getStartDelay() local
90 double distanceFraction = distance/maxDistance; in getStartDelay()
DExplode.java157 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()
DSidePropagation.java110 float maxDistance = getMaxDistance(sceneRoot); in getStartDelay() local
111 float distanceFraction = distance/maxDistance; in getStartDelay()
/frameworks/base/core/java/android/widget/
DEditorTouchState.java212 int maxDistance) { in isDistanceWithin() argument
216 return distanceSquared <= maxDistance * maxDistance; in isDistanceWithin()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java972 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/
DEdgeBackGestureHandler.java1201 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/
DOpenSLES.h1821 SLmillimeter maxDistance
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java2889 double maxDistance = Math.max(mSplitShadeFullTransitionDistance, in getMaxPanelTransitionDistance() local
2891 return (int) Math.min(getMaxPanelHeight(), maxDistance); in getMaxPanelTransitionDistance()