Home
last modified time | relevance | path

Searched refs:isEdgeResizePermitted (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragResizeWindowGeometryTests.java196 private void validateCtrlTypeForEdges(boolean isTouchscreen, boolean isEdgeResizePermitted) { in validateCtrlTypeForEdges() argument
197 assertThat(GEOMETRY.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForEdges()
199 isEdgeResizePermitted ? CTRL_TYPE_LEFT : CTRL_TYPE_UNDEFINED); in validateCtrlTypeForEdges()
200 assertThat(GEOMETRY.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForEdges()
202 isEdgeResizePermitted ? CTRL_TYPE_TOP : CTRL_TYPE_UNDEFINED); in validateCtrlTypeForEdges()
203 assertThat(GEOMETRY.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForEdges()
205 isEdgeResizePermitted ? CTRL_TYPE_RIGHT : CTRL_TYPE_UNDEFINED); in validateCtrlTypeForEdges()
206 assertThat(GEOMETRY.calculateCtrlType(isTouchscreen, isEdgeResizePermitted, in validateCtrlTypeForEdges()
208 isEdgeResizePermitted ? CTRL_TYPE_BOTTOM : CTRL_TYPE_UNDEFINED); in validateCtrlTypeForEdges()
349 boolean isTouchscreen, boolean isEdgeResizePermitted, in validateCtrlTypeForInnerPoints() argument
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDragResizeWindowGeometry.java156 if (!result && isEdgeResizePermitted(e)) { in shouldHandleEvent()
172 static boolean isEdgeResizePermitted(@NonNull MotionEvent e) { in isEdgeResizePermitted() method in DragResizeWindowGeometry
198 int calculateCtrlType(boolean isTouchscreen, boolean isEdgeResizePermitted, float x, float y) { in calculateCtrlType() argument
208 if (ctrlType == CTRL_TYPE_UNDEFINED && isEdgeResizePermitted) { in calculateCtrlType()
DDragResizeInputListener.java31 import static com.android.wm.shell.windowdecor.DragResizeWindowGeometry.isEdgeResizePermitted;
409 isEventFromTouchscreen(e), isEdgeResizePermitted(e), x, y); in handleMotionEvent()