Home
last modified time | relevance | path

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

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuView.java137 final WindowManager.LayoutParams mCurrentLayoutParams; field in AccessibilityFloatingMenuView
218 mCurrentLayoutParams = createDefaultLayoutParams(); in AccessibilityFloatingMenuView()
287 mCurrentLayoutParams.x = in onInterceptTouchEvent()
302 final int endY = mCurrentLayoutParams.y; in onInterceptTouchEvent()
344 mWindowManager.addView(this, mCurrentLayoutParams); in show()
446 final int left = mCurrentLayoutParams.x; in getWindowLocationOnScreen()
447 final int top = mCurrentLayoutParams.y; in getWindowLocationOnScreen()
681 updateAccessibilityTitle(mCurrentLayoutParams); in onConfigurationChanged()
708 mCurrentLayoutParams.x = newX; in onDragAnimationUpdate()
709 mCurrentLayoutParams.y = newY; in onDragAnimationUpdate()
[all …]
H A DBaseTooltipView.java70 private final WindowManager.LayoutParams mCurrentLayoutParams; field in BaseTooltipView
78 mCurrentLayoutParams = createDefaultLayoutParams(); in BaseTooltipView()
90 mWindowManager.updateViewLayout(this, mCurrentLayoutParams); in onConfigurationChanged()
127 mWindowManager.addView(this, mCurrentLayoutParams); in show()
247 mCurrentLayoutParams.x = isAnchorViewOnLeft(anchorViewLocation) in updateLocationWith()
251 mCurrentLayoutParams.y = in updateLocationWith()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
H A DAccessibilityFloatingMenuViewTest.java276 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenu_interceptUpEvent()
277 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenu_interceptUpEvent()
312 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenu_matchLocation()
313 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenu_matchLocation()
338 assertThat((float) menuView.mCurrentLayoutParams.y).isWithin(1.0f).of( in tapOnAndDragMenu_matchLocation()
351 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenuToDisplaySide_transformShapeHalfOval()
352 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenuToDisplaySide_transformShapeHalfOval()
407 final int expectedLayoutY = menuView.mCurrentLayoutParams.y - offset; in showMenuView_insetsListener_overlapWithIme_menuViewShifted()
420 final int expectedLayoutY = mMenuView.mCurrentLayoutParams.y; in hideIme_onMenuViewShifted_menuViewMovedBack()
439 assertThat(mMenuView.mCurrentLayoutParams.y).isEqualTo(0); in showMenuAndIme_withHigherIme_alignDisplayTopEdge()
[all …]