Searched refs:draggableBounds (Results 1 – 4 of 4) sorted by relevance
129 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToTopLeftPosition() local130 moveAndPersistPosition(new PointF(draggableBounds.left, draggableBounds.top)); in moveToTopLeftPosition()135 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToTopRightPosition() local136 moveAndPersistPosition(new PointF(draggableBounds.right, draggableBounds.top)); in moveToTopRightPosition()141 final Rect draggableBounds = mMenuView.getMenuDraggableBounds(); in moveToBottomLeftPosition() local142 moveAndPersistPosition(new PointF(draggableBounds.left, draggableBounds.bottom)); in moveToBottomLeftPosition()148 moveAndPersistPosition(new PointF(draggableBounds.right, draggableBounds.bottom)); in moveToBottomRightPosition()171 ? draggableBounds.left : draggableBounds.right; in flingMenuThenSpringToEdge()281 if (currentXTranslation < draggableBounds.left in maybeMoveToEdgeAndHide()282 || currentXTranslation > draggableBounds.right) { in maybeMoveToEdgeAndHide()[all …]
158 draggableBounds.offsetTo(/* newLeft= */ 0, /* newTop= */ 0); in getMenuDraggableBoundsWith()160 draggableBounds.top += margin; in getMenuDraggableBoundsWith()161 draggableBounds.right -= getMenuWidth(); in getMenuDraggableBoundsWith()165 draggableBounds.bottom -= (imeHeight + mImeShiftingSpace); in getMenuDraggableBoundsWith()167 draggableBounds.bottom -= (calculateActualMenuHeight() + margin); in getMenuDraggableBoundsWith()168 draggableBounds.bottom = Math.max(draggableBounds.top, draggableBounds.bottom); in getMenuDraggableBoundsWith()170 return draggableBounds; in getMenuDraggableBoundsWith()174 final Rect draggableBounds = getMenuDraggableBoundsExcludeIme(); in getMenuPosition() local175 final float x = draggableBounds.left in getMenuPosition()178 float y = draggableBounds.top in getMenuPosition()[all …]
166 final Rect draggableBounds = mMenuViewAppearance.getMenuDraggableBounds(); in onEdgeChangedIfNeeded() local167 if (getTranslationX() != draggableBounds.left in onEdgeChangedIfNeeded()168 && getTranslationX() != draggableBounds.right) { in onEdgeChangedIfNeeded()
128 final Rect draggableBounds = mStubMenuViewAppearance.getMenuDraggableBounds(); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii() local129 mMenuView.setTranslationX(draggableBounds.right); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii()131 mMenuView.setTranslationX(draggableBounds.left); in onEdgeChangedIfNeeded_moveToLeftEdge_matchRadii()