Home
last modified time | relevance | path

Searched refs:displacement (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DSingleAxisSwipeDetector.java40 boolean isPositive(float displacement) {
42 return displacement < 0;
46 boolean isNegative(float displacement) {
48 return displacement > 0;
71 boolean isPositive(float displacement) {
73 return displacement > 0;
77 boolean isNegative(float displacement) {
79 return displacement < 0;
149 protected boolean shouldScrollStart(PointF displacement) { in shouldScrollStart() argument
152 Math.abs(mDir.extractOrthogonalDirection(displacement))); in shouldScrollStart()
[all …]
DBothAxesSwipeDetector.java62 protected boolean shouldScrollStart(PointF displacement) { in shouldScrollStart() argument
65 && displacement.y <= -mTouchSlop; in shouldScrollStart()
67 && displacement.x >= mTouchSlop; in shouldScrollStart()
69 && displacement.y >= mTouchSlop; in shouldScrollStart()
71 && displacement.x <= -mTouchSlop; in shouldScrollStart()
81 protected void reportDraggingInternal(PointF displacement, MotionEvent event) { in reportDraggingInternal() argument
82 mListener.onDrag(displacement, event); in reportDraggingInternal()
95 boolean onDrag(PointF displacement, MotionEvent motionEvent); in onDrag() argument
DAbstractStateChangeTouchController.java200 public boolean onDrag(float displacement) { in onDrag() argument
201 float deltaProgress = mProgressMultiplier * (displacement - mDisplacementShift); in onDrag()
205 displacement - mDisplacementShift); in onDrag()
208 mDisplacementShift = displacement; in onDrag()
215 mDisplacementShift = displacement; in onDrag()
235 public boolean onDrag(float displacement, MotionEvent ev) { in onDrag() argument
246 return onDrag(displacement); in onDrag()
DSeascapePagedViewHandler.java131 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument
132 return isRtl ? displacement > 0 : displacement < 0; in isGoingUp()
DLandscapePagedViewHandler.java317 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument
318 return isRtl ? displacement < 0 : displacement > 0; in isGoingUp()
DBaseSwipeDetector.java242 protected abstract boolean shouldScrollStart(PointF displacement); in shouldScrollStart() argument
266 protected abstract void reportDraggingInternal(PointF displacement, MotionEvent event); in reportDraggingInternal() argument
DPortraitPagedViewHandler.java337 public boolean isGoingUp(float displacement, boolean isRtl) { in isGoingUp() argument
339 return displacement < 0; in isGoingUp()
DPagedOrientationHandler.java152 boolean isGoingUp(float displacement, boolean isRtl); in isGoingUp() argument
/packages/apps/Launcher3/src/com/android/launcher3/views/
DSpringRelativeLayout.java91 protected void absorbPullDeltaDistance(float deltaDistance, float displacement) { in absorbPullDeltaDistance() argument
92 mEdgeGlowBottom.onPull(deltaDistance, displacement); in absorbPullDeltaDistance()
148 public void onPull(float deltaDistance, float displacement) { in onPull() argument
149 mParent.onPull(deltaDistance, displacement); in onPull()
DAbstractSlideInView.java161 public boolean onDrag(float displacement) { in onDrag() argument
163 displacement = Utilities.boundToRange(displacement, 0, range); in onDrag()
164 setTranslationShift(displacement / range); in onDrag()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DEdgeEffectCompat.java38 public float onPullDistance(float deltaDistance, float displacement) { in onPullDistance() argument
40 return super.onPullDistance(deltaDistance, displacement); in onPullDistance()
42 onPull(deltaDistance, displacement); in onPullDistance()
DOverlayEdgeEffect.java48 public float onPullDistance(float deltaDistance, float displacement) { in onPullDistance() argument
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DSwipeUpAnimationLogic.java107 public void updateDisplacement(float displacement) { in updateDisplacement() argument
109 displacement = -displacement; in updateDisplacement()
111 if (displacement > mTransitionDragLength * mDragLengthFactor && mTransitionDragLength > 0) { in updateDisplacement()
114 float translation = Math.max(displacement, 0); in updateDisplacement()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOtherActivityInputConsumer.java287 float displacement = getDisplacement(ev); in onMotionEvent() local
295 if (Math.abs(displacement) > mTouchSlop) { in onMotionEvent()
297 mStartDisplacement = Math.min(displacement, -mTouchSlop); in onMotionEvent()
303 float upDist = -displacement; in onMotionEvent()
335 mStartDisplacement = Math.min(displacement, -mTouchSlop); in onMotionEvent()
345 mInteractionHandler.updateDisplacement(displacement - mStartDisplacement); in onMotionEvent()
DScreenPinnedInputConsumer.java71 float displacement = mTouchDownY - y; in onMotionEvent() local
72 mMotionPauseDetector.setDisallowPause(displacement < mMotionPauseMinDisplacement); in onMotionEvent()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DNavBarToHomeTouchController.java176 public boolean onDrag(float displacement) { in onDrag() argument
178 displacement = Math.min(0, displacement); in onDrag()
179 float progress = Utilities.getProgress(displacement, 0, getShiftRange()); in onDrag()
DNoButtonQuickSwitchTouchController.java269 public boolean onDrag(PointF displacement, MotionEvent ev) { in onDrag() argument
270 float xProgress = Math.max(0, displacement.x) / mXRange; in onDrag()
271 float yProgress = Math.max(0, -displacement.y) / mYRange; in onDrag()
281 mMotionPauseDetector.setDisallowPause(-displacement.y < mMotionPauseMinDisplacement); in onDrag()
DTaskViewTouchController.java277 public boolean onDrag(float displacement) { in onDrag() argument
279 float totalDisplacement = displacement + mDisplacementShift; in onDrag()
/packages/apps/Contacts/src/com/android/contacts/compat/
DEdgeEffectCompat.java31 public static void onPull(EdgeEffect edgeEffect, float deltaDistance, float displacement) { in onPull() argument
33 edgeEffect.onPull(deltaDistance, displacement); in onPull()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DSwipeUpGestureTutorialController.java216 public void setNavBarGestureProgress(@Nullable Float displacement) { in setNavBarGestureProgress() argument
220 if (displacement != null) { in setNavBarGestureProgress()
233 if (mRunningWindowAnim == null && displacement != null) { in setNavBarGestureProgress()
234 mTaskViewSwipeUpAnimation.updateDisplacement(displacement); in setNavBarGestureProgress()
DNavBarGestureHandler.java324 default void setNavBarGestureProgress(@Nullable Float displacement) {} in setNavBarGestureProgress() argument
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java1004 float displacement = mOrientationHandler.getSecondaryValue(ev.getX(), ev.getY()) in updateIsBeingDraggedOnTouchDown() local
1007 mEdgeGlowLeft.onPullDistance(0f, 1f - displacement); in updateIsBeingDraggedOnTouchDown()
1010 mEdgeGlowRight.onPullDistance(0f, displacement); in updateIsBeingDraggedOnTouchDown()
1180 final float displacement = mOrientationHandler.getSecondaryValue(dx, dy) in onTouchEvent() local
1187 consumed = size * mEdgeGlowRight.onPullDistance(delta / size, displacement); in onTouchEvent()
1190 -delta / size, 1 - displacement); in onTouchEvent()
1209 mEdgeGlowLeft.onPullDistance(-delta / size, 1.f - displacement); in onTouchEvent()
1214 mEdgeGlowRight.onPullDistance(delta / size, displacement); in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAllAppsContainerView.java681 public void onPull(float deltaDistance, float displacement) { in onPull() argument
682 absorbPullDeltaDistance(PULL_MULTIPLIER * deltaDistance, PULL_MULTIPLIER * displacement); in onPull()
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz

12