Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuView.java133 final WindowManager.LayoutParams mCurrentLayoutParams; field in AccessibilityFloatingMenuView
214 mCurrentLayoutParams = createDefaultLayoutParams(); in AccessibilityFloatingMenuView()
264 mRelativeToPointerDownX = mCurrentLayoutParams.x - mDownX; in onInterceptTouchEvent()
265 mRelativeToPointerDownY = mCurrentLayoutParams.y - mDownY; in onInterceptTouchEvent()
283 mCurrentLayoutParams.x = in onInterceptTouchEvent()
285 mCurrentLayoutParams.y = constrain(newWindowY, MIN_WINDOW_Y, getMaxWindowY()); in onInterceptTouchEvent()
286 mWindowManager.updateViewLayout(this, mCurrentLayoutParams); in onInterceptTouchEvent()
296 final int endX = mCurrentLayoutParams.x > ((minX + maxX) / 2) in onInterceptTouchEvent()
298 final int endY = mCurrentLayoutParams.y; in onInterceptTouchEvent()
340 mWindowManager.addView(this, mCurrentLayoutParams); in show()
[all …]
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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/
DAccessibilityFloatingMenuViewTest.java268 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenu_interceptUpEvent()
269 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenu_interceptUpEvent()
304 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenu_matchLocation()
305 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenu_matchLocation()
329 assertThat((float) menuView.mCurrentLayoutParams.x).isWithin(1.0f).of(mMaxWindowX); in tapOnAndDragMenu_matchLocation()
330 assertThat((float) menuView.mCurrentLayoutParams.y).isWithin(1.0f).of( in tapOnAndDragMenu_matchLocation()
343 final int currentWindowX = menuView.mCurrentLayoutParams.x; in tapOnAndDragMenuToScreenSide_transformShapeHalfOval()
344 final int currentWindowY = menuView.mCurrentLayoutParams.y; in tapOnAndDragMenuToScreenSide_transformShapeHalfOval()
399 final int expectedLayoutY = menuView.mCurrentLayoutParams.y - offset; in showMenuView_insetsListener_overlapWithIme_menuViewShifted()
402 assertThat(menuView.mCurrentLayoutParams.y).isEqualTo(expectedLayoutY); in showMenuView_insetsListener_overlapWithIme_menuViewShifted()
[all …]