Searched refs:ctrlType (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragResizeWindowGeometry.java | 202 int ctrlType = isTouchscreen in calculateCtrlType() local 208 if (ctrlType == CTRL_TYPE_UNDEFINED && isEdgeResizePermitted) { in calculateCtrlType() 209 ctrlType = calculateEdgeResizeCtrlType(x, y); in calculateCtrlType() 211 return ctrlType; in calculateCtrlType() 226 int ctrlType = CTRL_TYPE_UNDEFINED; in calculateEdgeResizeCtrlType() local 230 ctrlType |= CTRL_TYPE_LEFT; in calculateEdgeResizeCtrlType() 233 ctrlType |= CTRL_TYPE_RIGHT; in calculateEdgeResizeCtrlType() 236 ctrlType |= CTRL_TYPE_TOP; in calculateEdgeResizeCtrlType() 239 ctrlType |= CTRL_TYPE_BOTTOM; in calculateEdgeResizeCtrlType() 243 if ((ctrlType & (CTRL_TYPE_LEFT | CTRL_TYPE_RIGHT)) != 0 in calculateEdgeResizeCtrlType() [all …]
|
D | DragPositioningCallbackUtility.java | 69 static boolean changeBounds(int ctrlType, Rect repositionTaskBounds, Rect taskBoundsAtDragStart, in changeBounds() argument 74 if (ctrlType == CTRL_TYPE_UNDEFINED) { in changeBounds() 89 if ((ctrlType & CTRL_TYPE_LEFT) != 0) { in changeBounds() 94 if ((ctrlType & CTRL_TYPE_RIGHT) != 0) { in changeBounds() 99 if ((ctrlType & CTRL_TYPE_TOP) != 0) { in changeBounds() 104 if ((ctrlType & CTRL_TYPE_BOTTOM) != 0) { in changeBounds()
|
D | DragResizeInputListener.java | 408 final int ctrlType = mDragResizeWindowGeometry.calculateCtrlType( in handleMotionEvent() local 411 "%s: Handling action down, update ctrlType to %d", TAG, ctrlType); in handleMotionEvent() 412 mDragStartTaskBounds = mCallback.onDragPositioningStart(ctrlType, in handleMotionEvent() 499 @DragPositioningCallback.CtrlType int ctrlType = in updateCursorType() local 504 switch (ctrlType) { in updateCursorType()
|
D | DragPositioningCallback.java | 48 Rect onDragPositioningStart(@CtrlType int ctrlType, float x, float y); in onDragPositioningStart() argument
|
D | VeiledResizeTaskPositioner.java | 86 public Rect onDragPositioningStart(int ctrlType, float x, float y) { in onDragPositioningStart() argument 87 mCtrlType = ctrlType; in onDragPositioningStart()
|
D | FluidResizeTaskPositioner.java | 91 public Rect onDragPositioningStart(int ctrlType, float x, float y) { in onDragPositioningStart() argument 92 mCtrlType = ctrlType; in onDragPositioningStart()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | TaskResizingAlgorithm.java | 74 Rect originalBounds, int ctrlType, int minVisibleWidth, int minVisibleHeight, in resizeDrag() argument 91 if ((ctrlType & CTRL_LEFT) != 0) { in resizeDrag() 93 } else if ((ctrlType & CTRL_RIGHT) != 0) { in resizeDrag() 96 if ((ctrlType & CTRL_TOP) != 0) { in resizeDrag() 98 } else if ((ctrlType & CTRL_BOTTOM) != 0) { in resizeDrag() 165 if ((ctrlType & CTRL_LEFT) != 0) { in resizeDrag() 170 if ((ctrlType & CTRL_TOP) != 0) { in resizeDrag()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | VeiledResizeTaskPositionerTest.kt | 484 ctrlType: Int in <lambda>() 487 ctrlType, in <lambda>()
|
D | FluidResizeTaskPositionerTest.kt | 781 ctrlType: Int in <lambda>() 784 ctrlType, in <lambda>()
|