Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java285 mCurrentLayoutParams.y = constrain(newWindowY, MIN_WINDOW_Y, getMaxWindowY()); in onInterceptTouchEvent()
637 final int currentLayoutY = (int) (mPosition.getPercentageY() * getMaxWindowY()); in createDefaultLayoutParams()
690 private int getMaxWindowY() { in getMaxWindowY() method in AccessibilityFloatingMenuView
708 final int currentLayoutY = (int) (position.getPercentageY() * getMaxWindowY()); in updateLocationWith()
825 return mCurrentLayoutParams.y / (float) getMaxWindowY(); in calculateCurrentPercentageY()