Home
last modified time | relevance | path

Searched refs:mViewHost (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitWindowManager.java58 private SurfaceControlViewHost mViewHost; field in SplitWindowManager
83 if (mViewHost != null) { in setTouchRegion()
84 setTouchRegion(mViewHost.getWindowToken().asBinder(), new Region(region)); in setTouchRegion()
115 if (mDividerView != null || mViewHost != null) { in init()
120 mViewHost = new SurfaceControlViewHost(mContext, mContext.getDisplay(), this, in init()
135 mViewHost.setView(mDividerView, lp); in init()
136 mDividerView.setup(splitLayout, this, mViewHost, insetsState); in init()
156 if (mViewHost != null){ in release()
158 mViewHost.release(); in release()
160 mViewHost = null; in release()
DSplitDecorManager.java77 private SurfaceControlViewHost mViewHost; field in SplitDecorManager
123 if (mIconLeash != null && mViewHost != null) { in inflate()
130 mViewHost = new SurfaceControlViewHost(context, context.getDisplay(), this, in inflate()
147 mViewHost.setView(rootLayout, lp); in inflate()
171 if (mViewHost != null) { in release()
172 mViewHost.release(); in release()
173 mViewHost = null; in release()
260 (WindowManager.LayoutParams) mViewHost.getView().getLayoutParams(); in onResizing()
263 mViewHost.relayout(lp); in onResizing()
DDividerView.java75 private SurfaceControlViewHost mViewHost; field in DividerView
218 mViewHost = viewHost; in setup()
405 if (mViewHost == null) { in setSlippery()
420 mViewHost.relayout(lp); in setSlippery()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DBackgroundWindowManager.java66 private SurfaceControlViewHost mViewHost; field in BackgroundWindowManager
121 if (mBackgroundView != null || mViewHost != null) { in initView()
125 mViewHost = new SurfaceControlViewHost(mContext, mContext.getDisplay(), this, in initView()
137 mViewHost.setView(mBackgroundView, lp); in initView()
150 if (mBackgroundView == null || mViewHost == null || mLeash == null) { in updateThemeOnly()
159 mViewHost.setView(mBackgroundView, lp); in updateThemeOnly()
191 if (mViewHost != null) { in removeBackgroundLayer()
192 mViewHost.release(); in removeBackgroundLayer()
193 mViewHost = null; in removeBackgroundLayer()
235 pw.println(mViewHost); in dump()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DWindowlessSnapshotWindowCreator.java77 final SurfaceControlViewHost mViewHost = new SurfaceControlViewHost( in makeTaskSnapshotWindow() local
83 mViewHost.setView(rootLayout, lp); in makeTaskSnapshotWindow()
90 final SnapshotWindowRecord record = new SnapshotWindowRecord(mViewHost, wlw.mChildSurface, in makeTaskSnapshotWindow()
99 private SurfaceControlViewHost mViewHost; field in WindowlessSnapshotWindowCreator.SnapshotWindowRecord
108 mViewHost = viewHost; in SnapshotWindowRecord()
150 if (mViewHost != null) { in fadeoutThenRelease()
151 mViewHost.release(); in fadeoutThenRelease()
152 mViewHost = null; in fadeoutThenRelease()
DWindowlessSplashWindowCreator.java112 private SurfaceControlViewHost mViewHost; field in WindowlessSplashWindowCreator.SplashWindowRecord
119 mViewHost = viewHost; in SplashWindowRecord()
145 if (mViewHost != null) { in release()
146 mViewHost.release(); in release()
147 mViewHost = null; in release()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerAbstract.java77 protected SurfaceControlViewHost mViewHost; field in CompatUIWindowManagerAbstract
143 if (mViewHost != null) { in createLayout()
149 mViewHost = createSurfaceViewHost(); in createLayout()
150 mViewHost.setView(createLayout(), getWindowLayoutParams()); in createLayout()
310 if (mViewHost != null) { in release()
311 mViewHost.release(); in release()
312 mViewHost = null; in release()
328 if (mViewHost == null) { in relayout()
331 mViewHost.relayout(windowLayoutParams); in relayout()
/frameworks/base/core/java/android/service/autofill/
DInlineSuggestionRenderService.java274 private SurfaceControlViewHost mViewHost; field in InlineSuggestionRenderService.InlineSuggestionUiImpl
282 this.mViewHost = viewHost; in InlineSuggestionUiImpl()
295 if (mViewHost == null) { in releaseSurfaceControlViewHost()
299 mViewHost.release(); in releaseSurfaceControlViewHost()
300 mViewHost = null; in releaseSurfaceControlViewHost()
316 callback.onResult(mViewHost == null ? null : mViewHost.getSurfacePackage()); in getSurfacePackage()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeVisualIndicator.java80 private SurfaceControlViewHost mViewHost; field in DesktopModeVisualIndicator
237 mViewHost = new SurfaceControlViewHost(mContext, in createView()
240 mViewHost.setView(mView, lp); in createView()
298 if (mViewHost == null) return; in releaseVisualIndicator()
299 if (mViewHost != null) { in releaseVisualIndicator()
300 mViewHost.release(); in releaseVisualIndicator()
301 mViewHost = null; in releaseVisualIndicator()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DWindowDecoration.java137 private SurfaceControlViewHost mViewHost; field in WindowDecoration
447 if (mViewHost == null) { in updateViewHost()
449 mViewHost = mSurfaceControlViewHostFactory.create(mDecorWindowContext, mDisplay, in updateViewHost()
455 mViewHost.getRootSurfaceControl().applyTransactionOnDraw(onDrawTransaction); in updateViewHost()
457 mViewHost.setView(outResult.mRootView, lp); in updateViewHost()
465 mViewHost.getRootSurfaceControl().applyTransactionOnDraw(onDrawTransaction); in updateViewHost()
467 mViewHost.relayout(lp); in updateViewHost()
542 if (mViewHost != null) { in releaseViews()
543 mViewHost.release(); in releaseViews()
544 mViewHost = null; in releaseViews()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DLetterboxEduWindowManagerTest.java111 @Mock private SurfaceControlViewHost mViewHost; field in LetterboxEduWindowManagerTest
202 verify(mViewHost).setView(eq(layout), mWindowAttrsCaptor.capture()); in testCreateLayout_canShowTrue_createsLayoutCorrectly()
305 verify(mViewHost).relayout(mWindowAttrsCaptor.capture()); in testUpdateCompatInfo_updatesLayoutCorrectly()
342 verify(mViewHost, never()).relayout(any()); in testUpdateCompatInfo_canShowFalse_doesNothing()
362 verify(mViewHost).relayout(mWindowAttrsCaptor.capture()); in testUpdateDisplayLayout_updatesLayoutCorrectly()
447 doReturn(mViewHost).when(windowManager).createSurfaceViewHost(); in createWindowManager()
DUserAspectRatioSettingsLayoutTest.java79 private SurfaceControlViewHost mViewHost; field in UserAspectRatioSettingsLayoutTest
105 doReturn(mViewHost).when(mWindowManager).createSurfaceViewHost(); in setUp()
DCompatUILayoutTest.java77 @Mock private SurfaceControlViewHost mViewHost; field in CompatUILayoutTest
99 doReturn(mViewHost).when(mWindowManager).createSurfaceViewHost(); in setUp()
DUserAspectRatioSettingsWindowManagerTest.java97 @Mock private SurfaceControlViewHost mViewHost; field in UserAspectRatioSettingsWindowManagerTest
136 doReturn(mViewHost).when(mWindowManager).createSurfaceViewHost(); in setUp()
189 verify(mViewHost).release(); in testRelease()
DCompatUIWindowManagerTest.java97 @Mock private SurfaceControlViewHost mViewHost; field in CompatUIWindowManagerTest
128 doReturn(mViewHost).when(mWindowManager).createSurfaceViewHost(); in setUp()
223 verify(mViewHost).release(); in testRelease()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DDividerPresenter.java1073 private final SurfaceControlViewHost mViewHost;
1104 mViewHost = new SurfaceControlViewHost(
1145 mViewHost.release();
1246 mViewHost.setView(mDividerLayout, lp);
1247 mViewHost.relayout(lp);
1280 mViewHost.getView().invalidate();