Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java358 final WindowManager.LayoutParams wparams = (WindowManager.LayoutParams) params; in addView() local
360 parentWindow.adjustLayoutParamsForSubWindow(wparams); in addView()
368 wparams.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; in addView()
404 if (wparams.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in addView()
405 wparams.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in addView()
408 if (mRoots.get(i).mWindow.asBinder() == wparams.token) { in addView()
417 if (wparams.token != null && panelParentView == null) { in addView()
420 if (maybeParent.getWindowToken() == wparams.token) { in addView()
434 view.setLayoutParams(wparams); in addView()
438 mParams.add(wparams); in addView()
[all …]
DWindowManagerImpl.java172 final WindowManager.LayoutParams wparams = (WindowManager.LayoutParams) params; in applyTokens() local
173 assertWindowContextTypeMatches(wparams.type); in applyTokens()
175 if (mDefaultToken != null && mParentWindow == null && wparams.token == null) { in applyTokens()
176 wparams.token = mDefaultToken; in applyTokens()
178 wparams.mWindowContextToken = mWindowContextToken; in applyTokens()
/frameworks/layoutlib/bridge/src/android/view/
DWindowManagerImpl.java222 WindowManager.LayoutParams wparams = (WindowManager.LayoutParams)params; in updateViewLayout() local
224 lparams.gravity = wparams.gravity; in updateViewLayout()
229 mCurrentRootView.setX(wparams.x - bounds.left); in updateViewLayout()
230 mCurrentRootView.setY(wparams.y - bounds.top); in updateViewLayout()