Home
last modified time | relevance | path

Searched refs:mDisplaySize (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DNavBarGestureHandler.java65 private final Point mDisplaySize = new Point(); field in NavBarGestureHandler
100 display.getRealSize(mDisplaySize); in NavBarGestureHandler()
124 mAssistantLeftRegion.bottom = mAssistantRightRegion.bottom = mDisplaySize.y; in NavBarGestureHandler()
125 mAssistantLeftRegion.top = mAssistantRightRegion.top = mDisplaySize.y - assistantHeight; in NavBarGestureHandler()
128 mAssistantRightRegion.right = mDisplaySize.x; in NavBarGestureHandler()
129 mAssistantRightRegion.left = mDisplaySize.x - assistantWidth; in NavBarGestureHandler()
177 && mDownPos.y >= mDisplaySize.y - mBottomGestureHeight; in onTouch()
249 mMotionPauseDetector.setDisallowPause(mLastPos.y >= mDisplaySize.y - mBottomGestureHeight); in onTouch()
256 || event.getY() >= mDisplaySize.y - mBottomGestureHeight; in onInterceptTouch()
DEdgeBackGestureHandler.java48 private final Point mDisplaySize = new Point(); field in EdgeBackGestureHandler
119 mContext.getDisplay().getRealSize(mDisplaySize); in setViewGroupParent()
120 mEdgeBackPanel.setDisplaySize(mDisplaySize); in setViewGroupParent()
155 if (x > mEdgeWidth + mLeftInset && x < (mDisplaySize.x - mEdgeWidth - mRightInset)) { in isWithinTouchRegion()
161 if (y >= (mDisplaySize.y - mBottomGestureHeight)) { in isWithinTouchRegion()
DEdgeBackGesturePanel.java136 private final Point mDisplaySize = new Point(); field in EdgeBackGesturePanel
319 mDisplaySize.set(displaySize.x, displaySize.y); in setDisplaySize()
320 mScreenSize = Math.min(mDisplaySize.x, mDisplaySize.y); in setDisplaySize()
615 setX(mIsLeftPanel ? 0 : mDisplaySize.x - getLayoutParams().width); in updatePosition()
616 setY(MathUtils.clamp((int) positionY, 0, mDisplaySize.y)); in updatePosition()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DOneHandedModeInputConsumer.java51 private final Point mDisplaySize; field in OneHandedModeInputConsumer
73 mDisplaySize = DisplayController.INSTANCE.get(mContext).getInfo().currentSize; in OneHandedModeInputConsumer()
166 final int navBarUpperBound = mDisplaySize.y - mNavBarSize; in isInSystemGestureRegion()
DDeviceLockedInputConsumer.java93 private final Point mDisplaySize; field in DeviceLockedInputConsumer
119 mDisplaySize = DisplayController.INSTANCE.get(context).getInfo().currentSize; in DeviceLockedInputConsumer()
167 mProgress.updateValue(dy / mDisplaySize.y); in onMotionEvent()