Searched refs:windowParams (Results 1 – 2 of 2) sorted by relevance
238 final WindowManager.LayoutParams windowParams = new WindowManager.LayoutParams(); in testGenerateDisplayHash_WindowOffscreen() local243 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()
817 static void placeWindowAtLayoutCenter(WindowManager.LayoutParams windowParams, int windowWidth, in placeWindowAtLayoutCenter() argument819 windowParams.gravity = Gravity.TOP | Gravity.LEFT; in placeWindowAtLayoutCenter()821 windowParams.x = layoutLeft + offset; in placeWindowAtLayoutCenter()822 windowParams.y = layoutTop + offset; in placeWindowAtLayoutCenter()