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
92
) sorted by null
1
2
3
4
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
CardLayout.java
34
private float
mTouchSlop
= 0.f;
57
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f;
77
mSwiping = Math.abs(mDownX - event.getX()) >
mTouchSlop
;
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
CardLayout.java
34
private float
mTouchSlop
= 0.f;
57
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledTouchSlop() * 2.f;
77
mSwiping = Math.abs(mDownX - event.getX()) >
mTouchSlop
;
/frameworks/support/design/src/android/support/design/widget/
HeaderBehavior.java
45
private int
mTouchSlop
= -1;
56
if (
mTouchSlop
< 0) {
57
mTouchSlop
= ViewConfiguration.get(parent.getContext()).getScaledTouchSlop();
93
if (yDiff >
mTouchSlop
) {
121
if (
mTouchSlop
< 0) {
122
mTouchSlop
= ViewConfiguration.get(parent.getContext()).getScaledTouchSlop();
149
if (!mIsBeingDragged && Math.abs(dy) >
mTouchSlop
) {
152
dy -=
mTouchSlop
;
154
dy +=
mTouchSlop
;
/packages/apps/DeskClock/src/com/android/deskclock/
VerticalViewPager.java
33
private float
mTouchSlop
;
67
mTouchSlop
= ViewConfigurationCompat.getScaledPagingTouchSlop(configuration);
96
if (xDiff >
mTouchSlop
&& xDiff > yDiff) { // Swiping left and right
98
} else if (yDiff >
mTouchSlop
&& yDiff > xDiff) { //Swiping up and down
ClockFragment.java
237
private float
mTouchSlop
= -1;
243
if (
mTouchSlop
== -1) {
244
mTouchSlop
= ViewConfiguration.get(getActivity()).getScaledTouchSlop();
259
if (xDiff >=
mTouchSlop
|| yDiff >=
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
233
private final int
mTouchSlop
;
260
mTouchSlop
= TOUCH_SLOP;
342
mTouchSlop
= res.getDimensionPixelSize(
344
mPagingTouchSlop =
mTouchSlop
* 2;
346
mDoubleTapTouchSlop =
mTouchSlop
;
548
return
mTouchSlop
;
NotificationHeaderView.java
317
private int
mTouchSlop
;
330
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledTouchSlop();
376
if (Math.abs(mDownX - x) >
mTouchSlop
377
|| Math.abs(mDownY - y) >
mTouchSlop
) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
KeyButtonView.java
57
private int
mTouchSlop
;
103
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
199
setPressed(x >= -
mTouchSlop
200
&& x < getWidth() +
mTouchSlop
201
&& y >= -
mTouchSlop
202
&& y < getHeight() +
mTouchSlop
);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
HeadsUpTouchHelper.java
37
private float
mTouchSlop
;
54
mTouchSlop
= configuration.getScaledTouchSlop();
99
if (mTouchingHeadsUpView && Math.abs(h) >
mTouchSlop
KeyguardAffordanceHelper.java
55
private int
mTouchSlop
;
96
mTouchSlop
= configuration.getScaledPagingTouchSlop();
160
if (!mTouchSlopExeeded && distance >
mTouchSlop
) {
427
return translation > 0.0f ? translation +
mTouchSlop
: 0.0f;
431
if (translation <=
mTouchSlop
) {
434
return (translation -
mTouchSlop
) * BACKGROUND_RADIUS_SCALE_FACTOR + mMinBackgroundRadius;
/frameworks/support/core-ui/java/android/support/v4/view/
PagerTabStrip.java
76
private int
mTouchSlop
;
97
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
241
if (Math.abs(x - mInitialMotionX) >
mTouchSlop
242
|| Math.abs(y - mInitialMotionY) >
mTouchSlop
) {
/frameworks/support/core-ui/java/android/support/v4/widget/
ViewDragHelper.java
113
private int
mTouchSlop
;
364
helper.
mTouchSlop
= (int) (helper.
mTouchSlop
* (1 / sensitivity));
391
mTouchSlop
= vc.getScaledTouchSlop();
493
return
mTouchSlop
;
[
all
...]
/packages/apps/Dialer/src/com/android/dialer/list/
PhoneFavoriteListView.java
47
private float
mTouchSlop
;
122
mTouchSlop
= ViewConfiguration.get(context).getScaledPagingTouchSlop();
129
mTouchSlop
= ViewConfiguration.get(getContext()).getScaledPagingTouchSlop();
169
(Math.abs(mLastDragY - mTouchDownForDragStartY) >= 4 *
mTouchSlop
)) {
/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/services/core/java/com/android/server/policy/
EnableAccessibilityController.java
96
private final float
mTouchSlop
;
120
mTouchSlop
= context.getResources().getDimensionPixelSize(
193
if (Math.abs(firstPointerMove) >
mTouchSlop
) {
198
if (Math.abs(secondPointerMove) >
mTouchSlop
) {
/frameworks/base/tests/SystemUIDemoModeController/src/com/example/android/demomodecontroller/
DemoModeController.java
46
private int
mTouchSlop
;
65
mTouchSlop
= ViewConfiguration.get(mContext).getScaledTouchSlop();
115
if (Math.abs(mLastDown.x - x) >
mTouchSlop
|| Math.abs(mLastDown.y - y) >
mTouchSlop
) {
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ConversationListSwipeHelper.java
55
private final int
mTouchSlop
;
76
mTouchSlop
= viewConfiguration.getScaledPagingTouchSlop();
137
if (!mIsSwiping && absDeltaY >
mTouchSlop
144
if (absDeltaX >
mTouchSlop
) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DragDownHelper.java
50
private float
mTouchSlop
;
63
mTouchSlop
= ViewConfiguration.get(context).getScaledTouchSlop();
86
if (h >
mTouchSlop
&& h > Math.abs(x - mInitialTouchX)) {
/frameworks/base/core/java/com/android/internal/widget/
ResolverDrawerLayout.java
89
private final int
mTouchSlop
;
144
mTouchSlop
= vc.getScaledTouchSlop();
256
if (Math.abs(dy) >
mTouchSlop
&& findChildUnder(x, y) != null &&
260
mLastTouchY = Math.max(mLastTouchY -
mTouchSlop
,
261
Math.min(mLastTouchY + dy, mLastTouchY +
mTouchSlop
));
318
if (Math.abs(dy) >
mTouchSlop
&& findChildUnder(x, y) != null) {
320
mLastTouchY = Math.max(mLastTouchY -
mTouchSlop
,
321
Math.min(mLastTouchY + dy, mLastTouchY +
mTouchSlop
));
357
if (mOpenOnClick && Math.abs(ev.getX() - mInitialTouchX) <
mTouchSlop
&&
358
Math.abs(ev.getY() - mInitialTouchY) <
mTouchSlop
) {
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
PagedViewWithDraggableItems.java
139
final int touchSlop =
mTouchSlop
;
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
ConversationFastScroller.java
93
private final int
mTouchSlop
;
145
mTouchSlop
= res.getDimensionPixelOffset(R.dimen.fastscroll_touch_slop);
359
final int hitTargetLeft = mThumbImageView.getLeft() -
mTouchSlop
;
360
final int hitTargetRight = mThumbImageView.getRight() +
mTouchSlop
;
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
MediaPickerPanel.java
369
private final int
mTouchSlop
;
403
mTouchSlop
= configuration.getScaledTouchSlop();
538
if (Math.abs(dy) >
mTouchSlop
&&
542
if (dy < -
mTouchSlop
) {
/frameworks/base/core/java/android/widget/
Switch.java
113
private int
mTouchSlop
;
286
mTouchSlop
= config.getScaledTouchSlop();
909
final int thumbTop = mSwitchTop -
mTouchSlop
;
910
final int thumbLeft = mSwitchLeft + thumbOffset -
mTouchSlop
;
912
mTempRect.left + mTempRect.right +
mTouchSlop
;
913
final int thumbBottom = mSwitchBottom +
mTouchSlop
;
942
if (Math.abs(x - mTouchX) >
mTouchSlop
||
943
Math.abs(y - mTouchY) >
mTouchSlop
) {
[
all
...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
SwitchCompat.java
120
private int
mTouchSlop
;
270
mTouchSlop
= config.getScaledTouchSlop();
879
final int thumbTop = mSwitchTop -
mTouchSlop
;
880
final int thumbLeft = mSwitchLeft + thumbOffset -
mTouchSlop
;
882
mTempRect.left + mTempRect.right +
mTouchSlop
;
883
final int thumbBottom = mSwitchBottom +
mTouchSlop
;
912
if (Math.abs(x - mTouchX) >
mTouchSlop
||
913
Math.abs(y - mTouchY) >
mTouchSlop
) {
[
all
...]
Completed in 489 milliseconds
1
2
3
4