Searched refs:draggableBounds (Results 1 – 4 of 4) sorted by relevance
155 final Rect draggableBounds = new Rect(getWindowAvailableBounds()); in getMenuDraggableBoundsWith() local157 draggableBounds.top += margin; in getMenuDraggableBoundsWith()158 draggableBounds.right -= getMenuWidth(); in getMenuDraggableBoundsWith()161 final int imeHeight = (int) (draggableBounds.bottom - mImeTop); in getMenuDraggableBoundsWith()162 draggableBounds.bottom -= (imeHeight + mImeShiftingSpace); in getMenuDraggableBoundsWith()164 draggableBounds.bottom -= (calculateActualMenuHeight() + margin); in getMenuDraggableBoundsWith()165 draggableBounds.bottom = Math.max(draggableBounds.top, draggableBounds.bottom); in getMenuDraggableBoundsWith()167 return draggableBounds; in getMenuDraggableBoundsWith()171 final Rect draggableBounds = getMenuDraggableBoundsExcludeIme(); in getMenuPosition() local172 final float x = draggableBounds.left in getMenuPosition()[all …]
167 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToTopLeftPosition() local168 moveAndPersistPosition(new PointF(draggableBounds.left, draggableBounds.top)); in moveToTopLeftPosition()173 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToTopRightPosition() local174 moveAndPersistPosition(new PointF(draggableBounds.right, draggableBounds.top)); in moveToTopRightPosition()179 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToBottomLeftPosition() local180 moveAndPersistPosition(new PointF(draggableBounds.left, draggableBounds.bottom)); in moveToBottomLeftPosition()185 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToBottomRightPosition() local186 moveAndPersistPosition(new PointF(draggableBounds.right, draggableBounds.bottom)); in moveToBottomRightPosition()200 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in flingMenuThenSpringToEdge()202 ? draggableBounds.left : draggableBounds.right; in flingMenuThenSpringToEdge()[all …]
170 final Rect draggableBounds = mMenuViewAppearance.getMenuDraggableBounds(); in onEdgeChangedIfNeeded() local171 if (getTranslationX() != draggableBounds.left in onEdgeChangedIfNeeded()172 && getTranslationX() != draggableBounds.right) { in onEdgeChangedIfNeeded()
141 final Rect draggableBounds = mStubMenuViewAppearance.getMenuDraggableBounds(); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii() local142 mMenuView.setTranslationX(draggableBounds.right); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii()144 mMenuView.setTranslationX(draggableBounds.left); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii()