Home
last modified time | relevance | path

Searched refs:mSwipeStartThreshold (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
H A DGesturePointerEventListener.kt55 private val mSwipeStartThreshold = Rect() regex
114 mSwipeStartThreshold.left =
116 mSwipeStartThreshold.left,
122 mSwipeStartThreshold.top =
124 mSwipeStartThreshold.top,
130 mSwipeStartThreshold.right =
132 mSwipeStartThreshold.right,
138 mSwipeStartThreshold.bottom =
377 fromY <= mSwipeStartThreshold.top &&
398 fromX <= mSwipeStartThreshold.left &&
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSystemGesturesPointerEventListener.java74 private final Rect mSwipeStartThreshold = new Rect(); field in SystemGesturesPointerEventListener
112 mSwipeStartThreshold.set(defaultThreshold, defaultThreshold, defaultThreshold, in onConfigurationChanged()
126 mSwipeStartThreshold.left = Math.max(mSwipeStartThreshold.left, in onConfigurationChanged()
130 mSwipeStartThreshold.top = Math.max(mSwipeStartThreshold.top, in onConfigurationChanged()
134 mSwipeStartThreshold.right = Math.max(mSwipeStartThreshold.right, in onConfigurationChanged()
138 mSwipeStartThreshold.bottom = Math.max(mSwipeStartThreshold.bottom, in onConfigurationChanged()
143 if (DEBUG) Slog.d(TAG, "mSwipeStartThreshold=" + mSwipeStartThreshold in onConfigurationChanged()
386 if (fromY <= mSwipeStartThreshold.top in detectSwipe()
391 if (fromY >= screenHeight - mSwipeStartThreshold.bottom in detectSwipe()
396 if (fromX >= screenWidth - mSwipeStartThreshold.right in detectSwipe()
[all …]