/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/gesture/ |
D | ConsecutiveTapsGestureDetectorTest.java | 42 private int slop; field in ConsecutiveTapsGestureDetectorTest 54 slop = ViewConfiguration.get(application).getScaledDoubleTapSlop(); in setUp() 85 tap(200, 25f + slop * 2, 25f); in onTouchEvent_tapOnDifferentLocation_shouldResetCounter() 88 tap(300, 25f + slop * 2, 25f); in onTouchEvent_tapOnDifferentLocation_shouldResetCounter()
|
/frameworks/base/core/java/android/view/ |
D | TouchDelegate.java | 148 int slop = mSlop; in onTouchEvent() local 149 event.setLocation(-(slop * 2), -(slop * 2)); in onTouchEvent()
|
D | Window.java | 1414 final int slop = ViewConfiguration.get(context).getScaledWindowTouchSlop(); in isOutOfBounds() local 1416 return (x < -slop) || (y < -slop) in isOutOfBounds() 1417 || (x > (decorView.getWidth()+slop)) in isOutOfBounds() 1418 || (y > (decorView.getHeight()+slop)); in isOutOfBounds()
|
D | View.java | 17987 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 17988 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) && in pointInView() 17989 localY < ((mBottom - mTop) + slop); in pointInView()
|
/frameworks/wilhelm/tools/permute/ |
D | permute.c | 93 unsigned slop = frameLength - s->mMinSegmentLengthFrames*2; in split() local 94 assert(slop > 0); in split() 97 unsigned cut = r % slop; in split() 101 unsigned rightLength = s->mMinSegmentLengthFrames + (slop - cut); in split()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableView.java | 157 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 160 return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) && in pointInView() 161 localY < (bottom + slop); in pointInView()
|
D | NotificationContentView.java | 1860 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 1863 return localX >= -slop && localY >= top - slop && localX < ((mRight - mLeft) + slop) && in pointInView() 1864 localY < (bottom + slop); in pointInView()
|
/frameworks/base/core/java/android/text/method/ |
D | Touch.java | 123 int slop = ViewConfiguration.get(widget.getContext()).getScaledTouchSlop(); in onTouchEvent() local 125 if (Math.abs(event.getX() - ds[0].mX) >= slop || in onTouchEvent() 126 Math.abs(event.getY() - ds[0].mY) >= slop) { in onTouchEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/gestures/ |
D | MultiTap.java | 132 private boolean isInsideSlop(MotionEvent rawEvent, int slop) { in isInsideSlop() argument 139 return moveDelta <= slop; in isInsideSlop()
|
D | SecondFingerMultiTap.java | 146 private boolean isSecondFingerInsideSlop(MotionEvent rawEvent, int slop) { in isSecondFingerInsideSlop() argument 157 return moveDelta <= slop; in isSecondFingerInsideSlop()
|
D | MultiFingerMultiTap.java | 244 private PointF findNearestPoint(MotionEvent event, float slop, boolean filterMatched) { in findNearestPoint() argument 270 if (moveDelta < slop) { in findNearestPoint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | KeyButtonView.java | 292 float slop = QuickStepContract.getQuickStepTouchSlopPx(getContext()); in onTouchEvent() local 293 if (Math.abs(x - mTouchDownX) > slop || Math.abs(y - mTouchDownY) > slop) { in onTouchEvent()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 252 float slop = config.getScaledTouchSlop() * config.getScaledTouchSlop(); in onTouchEvent() local 256 if (squaredDist < slop && in onTouchEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationChildrenContainer.java | 244 public boolean pointInView(float localX, float localY, float slop) { in pointInView() argument 245 return localX >= -slop && localY >= -slop && localX < ((mRight - mLeft) + slop) && in pointInView() 246 localY < (mRealHeight + slop); in pointInView()
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 6063 int slop = (int)(LINE_SLOP_MULTIPLIER_FOR_HANDLEVIEWS 6065 slop = Math.max(mLineChangeSlopMin, 6066 Math.min(mLineChangeSlopMax, lineHeight + slop)) - lineHeight; 6067 slop = Math.max(0, slop); 6070 if (trueLine > prevLine && y >= layout.getLineBottom(prevLine) + slop + verticalOffset) { 6073 if (trueLine < prevLine && y <= layout.getLineTop(prevLine) - slop + verticalOffset) {
|