OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mTouchSlop
(Results
1 - 25
of
56
) sorted by null
1
2
3
/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
) {
/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/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
...]
/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/view/
ViewConfiguration.java
220
private final int
mTouchSlop
;
246
mTouchSlop
= TOUCH_SLOP;
310
mTouchSlop
= res.getDimensionPixelSize(
312
mPagingTouchSlop =
mTouchSlop
* 2;
314
mDoubleTapTouchSlop =
mTouchSlop
;
509
return
mTouchSlop
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonView.java
53
int
mTouchSlop
;
102
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
257
setPressed(x >= -
mTouchSlop
258
&& x < getWidth() +
mTouchSlop
259
&& y >= -
mTouchSlop
260
&& y < getHeight() +
mTouchSlop
);
/packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoriteListView.java
58
private float
mTouchSlop
;
129
mTouchSlop
= ViewConfiguration.get(context).getScaledPagingTouchSlop();
131
mDensityScale,
mTouchSlop
);
139
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledPagingTouchSlop();
141
mSwipeHelper.setPagingTouchSlop(
mTouchSlop
);
252
(Math.abs(mLastDragY - mTouchDownForDragStartY) >= 4 *
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
;
MediaPlaybackActivity.java
88
private int
mTouchSlop
;
155
mTouchSlop
= ViewConfiguration.get(this).getScaledTouchSlop();
214
if (Math.abs(delta) >
mTouchSlop
) {
[
all
...]
/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
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
ExpandHelper.java
90
private int
mTouchSlop
;
226
mTouchSlop
= configuration.getScaledTouchSlop();
394
if (yDiff >
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/core/java/android/widget/
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
...]
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
) {
/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/apps/Browser/src/com/android/browser/view/
ScrollerView.java
117
private int
mTouchSlop
;
182
mTouchSlop
= configuration.getScaledTouchSlop();
535
if (yDiff >
mTouchSlop
) {
547
if (Math.abs(ocoord - mLastOrthoCoord) >
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
...]
/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/UnifiedEmail/src/com/android/mail/browse/
ConversationContainer.java
122
private final int
mTouchSlop
;
249
mTouchSlop
= ViewConfiguration.get(c).getScaledTouchSlop();
412
if (yDiff >
mTouchSlop
) {
[
all
...]
/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/services/java/com/android/server/accessibility/
TouchExplorer.java
114
private final int
mTouchSlop
;
224
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
517
if (moveDelta >
mTouchSlop
) {
[
all
...]
Completed in 1169 milliseconds
1
2
3