Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DWindowManagerGlobal.java321 final WindowManager.LayoutParams wparams = (WindowManager.LayoutParams) params; in addView() local
323 parentWindow.adjustLayoutParamsForSubWindow(wparams); in addView()
331 wparams.flags |= WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED; in addView()
367 if (wparams.type >= WindowManager.LayoutParams.FIRST_SUB_WINDOW && in addView()
368 wparams.type <= WindowManager.LayoutParams.LAST_SUB_WINDOW) { in addView()
371 if (mRoots.get(i).mWindow.asBinder() == wparams.token) { in addView()
380 if (wparams.token != null && panelParentView == null) { in addView()
383 if (maybeParent.getWindowToken() == wparams.token) { in addView()
397 view.setLayoutParams(wparams); in addView()
401 mParams.add(wparams); in addView()
[all …]
DWindowManagerImpl.java162 final WindowManager.LayoutParams wparams = (WindowManager.LayoutParams) params; in applyTokens() local
163 assertWindowContextTypeMatches(wparams.type); in applyTokens()
165 if (mDefaultToken != null && mParentWindow == null && wparams.token == null) { in applyTokens()
166 wparams.token = mDefaultToken; in applyTokens()
168 wparams.mWindowContextToken = mWindowContextToken; in applyTokens()