OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTouchSlop
(Results
1 - 25
of
63
) sorted by null
1
2
3
/developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/
CardLayout.java
36
private float
mTouchSlop
= 0.f;
59
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f;
79
mSwiping = Math.abs(mDownX - event.getX()) >
mTouchSlop
;
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
FoldingLayoutActivity.java
89
private int
mTouchSlop
= -1;
129
mTouchSlop
= ViewConfiguration.get(this).getScaledTouchSlop();
390
touchSlop = distanceY < 0 ? -
mTouchSlop
:
mTouchSlop
;
393
touchSlop = distanceY < 0 ?
mTouchSlop
: -
mTouchSlop
;
406
touchSlop = distanceX < 0 ? -
mTouchSlop
:
mTouchSlop
;
409
touchSlop = distanceX < 0 ?
mTouchSlop
: -
mTouchSlop
;
[
all
...]
/frameworks/base/core/java/android/view/
ViewConfiguration.java
228
private final int
mTouchSlop
;
254
mTouchSlop
= TOUCH_SLOP;
337
mTouchSlop
= res.getDimensionPixelSize(
339
mPagingTouchSlop =
mTouchSlop
* 2;
341
mDoubleTapTouchSlop =
mTouchSlop
;
536
return
mTouchSlop
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonView.java
54
int
mTouchSlop
;
106
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
261
setPressed(x >= -
mTouchSlop
262
&& x < getWidth() +
mTouchSlop
263
&& y >= -
mTouchSlop
264
&& y < getHeight() +
mTouchSlop
);
/packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoriteListView.java
57
private float
mTouchSlop
;
130
mTouchSlop
= ViewConfiguration.get(context).getScaledPagingTouchSlop();
132
mDensityScale,
mTouchSlop
);
141
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledPagingTouchSlop();
143
mSwipeHelper.setPagingTouchSlop(
mTouchSlop
);
279
(Math.abs(mLastDragY - mTouchDownForDragStartY) >= 4 *
mTouchSlop
)) {
/packages/apps/Camera/src/com/android/camera/ui/
Switch.java
70
private int
mTouchSlop
;
136
mTouchSlop
= config.getScaledTouchSlop();
214
final int thumbTop = mSwitchTop -
mTouchSlop
;
215
final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) -
mTouchSlop
;
217
mTempRect.left + mTempRect.right +
mTouchSlop
;
218
final int thumbBottom = mSwitchBottom +
mTouchSlop
;
247
if (Math.abs(x - mTouchX) >
mTouchSlop
||
248
Math.abs(y - mTouchY) >
mTouchSlop
) {
/packages/apps/Camera2/src/com/android/camera/ui/
Switch.java
64
private int
mTouchSlop
;
129
mTouchSlop
= config.getScaledTouchSlop();
205
final int thumbTop = mSwitchTop -
mTouchSlop
;
206
final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) -
mTouchSlop
;
208
mTempRect.left + mTempRect.right +
mTouchSlop
;
209
final int thumbBottom = mSwitchBottom +
mTouchSlop
;
238
if (Math.abs(x - mTouchX) >
mTouchSlop
||
239
Math.abs(y - mTouchY) >
mTouchSlop
) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
EnableAccessibilityController.java
90
private final float
mTouchSlop
;
113
mTouchSlop
= context.getResources().getDimensionPixelSize(
186
if (Math.abs(firstPointerMove) >
mTouchSlop
) {
191
if (Math.abs(secondPointerMove) >
mTouchSlop
) {
/frameworks/support/v4/java/android/support/v4/view/
PagerTabStrip.java
73
private int
mTouchSlop
;
94
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
237
if (Math.abs(x - mInitialMotionX) >
mTouchSlop
||
238
Math.abs(y - mInitialMotionY) >
mTouchSlop
) {
ViewPager.java
168
private int
mTouchSlop
;
362
mTouchSlop
= ViewConfigurationCompat.getScaledPagingTouchSlop(configuration);
[
all
...]
/frameworks/support/v4/java/android/support/v4/widget/
ViewDragHelper.java
112
private int
mTouchSlop
;
361
helper.
mTouchSlop
= (int) (helper.
mTouchSlop
* (1 / sensitivity));
388
mTouchSlop
= vc.getScaledTouchSlop();
490
return
mTouchSlop
;
[
all
...]
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
PhotoTouchListener.java
33
private final int
mTouchSlop
;
58
mTouchSlop
= configuration.getScaledTouchSlop();
211
if (distance <
mTouchSlop
) {
221
distance <
mTouchSlop
) {
/frameworks/base/core/java/android/widget/
Switch.java
87
private int
mTouchSlop
;
175
mTouchSlop
= config.getScaledTouchSlop();
532
final int thumbTop = mSwitchTop -
mTouchSlop
;
533
final int thumbLeft = mSwitchLeft + (int) (mThumbPosition + 0.5f) -
mTouchSlop
;
535
mTempRect.left + mTempRect.right +
mTouchSlop
;
536
final int thumbBottom = mSwitchBottom +
mTouchSlop
;
565
if (Math.abs(x - mTouchX) >
mTouchSlop
||
566
Math.abs(y - mTouchY) >
mTouchSlop
) {
HorizontalScrollView.java
120
private int
mTouchSlop
;
206
mTouchSlop
= configuration.getScaledTouchSlop();
474
if (xDiff >
mTouchSlop
) {
580
if (!mIsBeingDragged && Math.abs(deltaX) >
mTouchSlop
) {
587
deltaX -=
mTouchSlop
;
589
deltaX +=
mTouchSlop
;
[
all
...]
ScrollView.java
127
private int
mTouchSlop
;
227
mTouchSlop
= configuration.getScaledTouchSlop();
504
if (yDiff >
mTouchSlop
) {
616
if (!mIsBeingDragged && Math.abs(deltaY) >
mTouchSlop
) {
623
deltaY -=
mTouchSlop
;
625
deltaY +=
mTouchSlop
;
[
all
...]
StackView.java
134
private int
mTouchSlop
;
188
mTouchSlop
= configuration.getScaledTouchSlop();
652
if ((int) Math.abs(deltaY) >
mTouchSlop
&& mSwipeGestureType == GESTURE_NONE) {
729
float r = (deltaY -
mTouchSlop
* 1.0f) / mSlideAmount * 1.0f;
735
float r = -(deltaY +
mTouchSlop
* 1.0f) / mSlideAmount * 1.0f;
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java
139
final int touchSlop =
mTouchSlop
;
/packages/apps/Launcher3/src/com/android/launcher3/
PagedViewWithDraggableItems.java
139
final int touchSlop =
mTouchSlop
;
/packages/apps/Music/src/com/android/music/
TouchInterceptor.java
72
private final int
mTouchSlop
;
82
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
140
int touchSlop =
mTouchSlop
;
/packages/apps/Gallery2/src/com/android/photos/views/
GalleryThumbnailView.java
71
private int
mTouchSlop
;
106
mTouchSlop
= vc.getScaledTouchSlop();
310
if (Math.abs(dx) >
mTouchSlop
) {
346
if (Math.abs(dx) >
mTouchSlop
) {
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/
HorizontalScrollView.java
123
private int
mTouchSlop
;
195
mTouchSlop
= configuration.getScaledTouchSlop();
470
if (xDiff >
mTouchSlop
) {
568
if (!mIsBeingDragged && Math.abs(deltaX) >
mTouchSlop
) {
575
deltaX -=
mTouchSlop
;
577
deltaX +=
mTouchSlop
;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java
90
private int
mTouchSlop
;
226
mTouchSlop
= configuration.getScaledTouchSlop();
394
if (yDiff >
mTouchSlop
) {
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
SlidingChallengeLayout.java
120
private int
mTouchSlop
;
248
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
249
mTouchSlopSquare =
mTouchSlop
*
mTouchSlop
;
[
all
...]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
StaggeredGridView.java
193
private final int
mTouchSlop
;
399
mTouchSlop
= vc.getScaledTouchSlop();
612
mUpperScrollBound = Math.min(y -
mTouchSlop
, mHeight / 5);
613
mLowerScrollBound = Math.max(y +
mTouchSlop
, mHeight * 4 / 5);
[
all
...]
/frameworks/base/services/java/com/android/server/accessibility/
TouchExplorer.java
114
private final int
mTouchSlop
;
224
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
523
if (moveDelta >
mTouchSlop
) {
[
all
...]
Completed in 9335 milliseconds
1
2
3