Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayHashManagerTest.java238 final WindowManager.LayoutParams windowParams = new WindowManager.LayoutParams(); in testGenerateDisplayHash_WindowOffscreen() local
243 windowParams.width = mTestViewSize.x; in testGenerateDisplayHash_WindowOffscreen()
244 windowParams.height = mTestViewSize.y; in testGenerateDisplayHash_WindowOffscreen()
245 windowParams.gravity = Gravity.LEFT | Gravity.TOP; in testGenerateDisplayHash_WindowOffscreen()
246 windowParams.flags = FLAG_LAYOUT_NO_LIMITS; in testGenerateDisplayHash_WindowOffscreen()
247 mActivity.addWindow(mMainView, windowParams); in testGenerateDisplayHash_WindowOffscreen()
273 windowParams.x = -mTestViewSize.x - mainViewLocationOnScreen[0]; in testGenerateDisplayHash_WindowOffscreen()
274 wm.updateViewLayout(mMainView, windowParams); in testGenerateDisplayHash_WindowOffscreen()
DWindowInputTests.java817 static void placeWindowAtLayoutCenter(WindowManager.LayoutParams windowParams, int windowWidth, in placeWindowAtLayoutCenter() argument
819 windowParams.gravity = Gravity.TOP | Gravity.LEFT; in placeWindowAtLayoutCenter()
821 windowParams.x = layoutLeft + offset; in placeWindowAtLayoutCenter()
822 windowParams.y = layoutTop + offset; in placeWindowAtLayoutCenter()