Searched refs:mInitialTouchY (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DDragDownHelper.java49 private float mInitialTouchY; field in class:DragDownHelper
81 mInitialTouchY = y;
86 final float h = y - mInitialTouchY;
90 captureStartingChild(mInitialTouchX, mInitialTouchY);
91 mInitialTouchY = y;
111 mLastHeight = y - mInitialTouchY;
112 captureStartingChild(mInitialTouchX, mInitialTouchY);
132 (int) (y - mInitialTouchY))) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DHeadsUpTouchHelper.java39 private float mInitialTouchY; field in class:HeadsUpTouchHelper
75 mInitialTouchY = y;
101 mInitialTouchY = event.getY(newIndex);
106 final float h = y - mInitialTouchY;
112 mInitialTouchY = y;
H A DPanelView.java120 private float mInitialTouchY; field in class:PanelView
352 float h = y - mInitialTouchY;
379 mInitialTouchY = y;
432 float yDiff = y - mInitialTouchY;
446 mInitialTouchY = newY;
459 || Math.abs(y - mInitialTouchY) > mTouchSlop
479 int heightDp = (int) Math.abs((y - mInitialTouchY) / displayDensity);
581 mInitialTouchY = y;
602 mInitialTouchY = event.getY(newIndex);
615 final float h = y - mInitialTouchY;
[all...]
H A DKeyguardAffordanceHelper.java52 private float mInitialTouchY; field in class:KeyguardAffordanceHelper
145 mInitialTouchY = y;
158 float yDist = y - mInitialTouchY;
491 float bY = lastY - mInitialTouchY;
H A DNotificationPanelView.java160 private float mInitialTouchY; field in class:NotificationPanelView
725 mInitialTouchY = y;
729 if (shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, 0)) {
747 mInitialTouchY = event.getY(newIndex);
752 final float h = y - mInitialTouchY;
765 && shouldQuickSettingsIntercept(mInitialTouchX, mInitialTouchY, h)) {
770 mInitialTouchY = y;
824 (int) ((y - mInitialTouchY) / mStatusBar.getDisplayDensity()),
905 mInitialTouchY = event.getX();
970 mInitialTouchY
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DExpandHelper.java85 private float mInitialTouchY; field in class:ExpandHelper
303 final float yDiff = ev.getRawY() - mInitialTouchY;
311 mInitialTouchY = ev.getRawY();
329 mInitialTouchY = ev.getRawY();
427 mInitialTouchY = ev.getRawY();
431 final float yDiff = ev.getRawY() - mInitialTouchY;
438 mInitialTouchY = ev.getRawY();
490 mInitialTouchY += mSGD.getFocusY() - mLastFocusY;
/frameworks/base/core/java/com/android/internal/widget/
H A DResolverDrawerLayout.java103 private float mInitialTouchY; field in class:ResolverDrawerLayout
275 mInitialTouchY = mLastTouchY = y;
283 final float dy = y - mInitialTouchY;
324 mInitialTouchY = mLastTouchY = y;
326 final boolean hitView = findChildUnder(mInitialTouchX, mInitialTouchY) != null;
340 mInitialTouchY = mLastTouchY = ev.getY();
345 final float dy = y - mInitialTouchY;
365 mInitialTouchY = mLastTouchY = ev.getY(pointerIndex);
377 if (!wasDragging && findChildUnder(mInitialTouchX, mInitialTouchY) == null &&
386 Math.abs(ev.getY() - mInitialTouchY) < mTouchSlo
[all...]
H A DRecyclerView.java423 private int mInitialTouchY; field in class:RecyclerView
2649 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f);
2672 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f);
2687 final int dy = y - mInitialTouchY;
2694 mLastTouchY = mInitialTouchY + mTouchSlop * (dy < 0 ? -1 : 1);
2764 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f);
2779 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f);
2894 mInitialTouchY = mLastTouchY = (int) (e.getY(newIndex) + 0.5f);
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java182 float mInitialTouchY; field in class:ItemTouchHelper
308 mInitialTouchY = event.getY();
314 mInitialTouchY -= animation.mY;
348 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event);
920 final float dy = motionEvent.getY(pointerIndex) - mInitialTouchY;
970 final float dy = y - mInitialTouchY;
1136 mDy = y - mInitialTouchY;
2265 mInitialTouchY = y;
2269 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DItemTouchHelper.java185 private float mInitialTouchY; field in class:ItemTouchHelper
318 mInitialTouchY = event.getY();
324 mInitialTouchY -= animation.mY;
358 "on touch: x:" + mInitialTouchX + ",y:" + mInitialTouchY + ", :" + event);
942 final float dy = motionEvent.getY(pointerIndex) - mInitialTouchY;
992 final float dy = y - mInitialTouchY;
1157 mDy = y - mInitialTouchY;
2334 mInitialTouchY = y;
2338 "onlong press: x:" + mInitialTouchX + ",y:" + mInitialTouchY);
H A DRecyclerView.java482 private int mInitialTouchY; field in class:RecyclerView
2959 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f);
2982 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f);
2997 final int dy = y - mInitialTouchY;
3074 mInitialTouchY = mLastTouchY = (int) (e.getY() + 0.5f);
3089 mInitialTouchY = mLastTouchY = (int) (e.getY(actionIndex) + 0.5f);
3204 mInitialTouchY = mLastTouchY = (int) (e.getY(newIndex) + 0.5f);
/frameworks/base/core/java/android/widget/
H A DFastScroller.java221 private float mInitialTouchY; field in class:FastScroller
1402 mInitialTouchY = ev.getY();
1412 final float pos = getPosFromMotionEvent(mInitialTouchY);
1496 if (mPendingDrag >= 0 && Math.abs(me.getY() - mInitialTouchY) > mScaledTouchSlop) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationStackScrollLayout.java164 private float mInitialTouchY; field in class:NotificationStackScrollLayout
2722 if (mTouchIsClick && (Math.abs(ev.getY() - mInitialTouchY) > mTouchSlop
2729 isBelowLastNotification(mInitialTouchX, mInitialTouchY)) {
2730 mOnEmptySpaceClickListener.onEmptySpaceClicked(mInitialTouchX, mInitialTouchY);
2744 mInitialTouchY = ev.getY();

Completed in 160 milliseconds