Home
last modified time | relevance | path

Searched refs:getSurfaceControl (Results 1 – 25 of 116) sorted by relevance

12345

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java138 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithoutModeId()
147 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithoutModeId()
182 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithModeId()
184 appWindow.getSurfaceControl(), 0); in testApplicationInFocusWithModeId()
186 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithModeId()
188 eq(appWindow.getSurfaceControl()), anyFloat(), in testApplicationInFocusWithModeId()
192 appWindow.getSurfaceControl(), in testApplicationInFocusWithModeId()
220 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationNotInFocusWithModeId()
222 appWindow.getSurfaceControl(), 2); in testApplicationNotInFocusWithModeId()
224 eq(appWindow.getSurfaceControl()), anyFloat(), in testApplicationNotInFocusWithModeId()
[all …]
DRecentsAnimationControllerTest.java588 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
589 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
596 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
613 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
614 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
623 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
624 verify(transaction).reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
641 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testAddTaskToTargets_expectAnimation()
642 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testAddTaskToTargets_expectAnimation()
652 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testAddTaskToTargets_expectAnimation()
[all …]
DWindowContainerThumbnailTest.java61 assertNotNull(t.getSurfaceControl()); in testDestroy_nullsSurface()
63 assertNull(t.getSurfaceControl()); in testDestroy_nullsSurface()
DZOrderingTests.java230 assertZOrderGreaterThan(mTransaction, left.getSurfaceControl(), right.getSurfaceControl()); in assertWindowHigher()
490 assertThat(t.getLayer(childList.get(i).getSurfaceControl())) in testAssignWindowLayers_ForPostivelyZOrderedSubtype()
528 assertZOrderGreaterThan(mTransaction, mNavBarWindow.mToken.getSurfaceControl(), in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
529 mDisplayContent.getImeContainer().getSurfaceControl()); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
552 assertZOrderGreaterThan(mTransaction, popupWindow.getSurfaceControl(), in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
553 mDisplayContent.getImeContainer().getSurfaceControl()); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
576 assertZOrderGreaterThan(mTransaction, systemDialogWindow.getSurfaceControl(), in testSystemDialogWindow_expectHigherThanIme_inMultiWindow()
577 mDisplayContent.getImeContainer().getSurfaceControl()); in testSystemDialogWindow_expectHigherThanIme_inMultiWindow()
586 ScreenCapture.captureLayersExcluding(mImeWindow.getSurfaceControl(), in testImeScreenshotLayer()
DAppWindowTokenAnimationTests.java70 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipAfterAnim_boundsLayerIsCreated()
138 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipNoneAnim_boundsLayerIsNotCreated()
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedOverlayHost.java96 if (l.getSurfaceControl().isSameSurface(p.getSurfaceControl())) { in addOverlay()
105 t.reparent(p.getSurfaceControl(), mSurfaceControl) in addOverlay()
106 .show(p.getSurfaceControl()); in addOverlay()
116 if (l.getSurfaceControl().isSameSurface(p.getSurfaceControl())) { in removeOverlay()
118 t.reparent(l.getSurfaceControl(), null); in removeOverlay()
DLegacyDimmer.java82 return mHost.getSurfaceControl(); in getAnimationLeashParent()
86 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in LegacyDimmer.DimAnimatable
92 return mHost.getSurfaceControl(); in getParentSurfaceControl()
187 .setParent(mHost.getSurfaceControl()) in makeDimLayer()
242 t.setRelativeLayer(d.mDimLayer, container.getSurfaceControl(), relativeLayer); in adjustRelativeLayer()
DSurfaceAnimator.java177 final SurfaceControl surface = mAnimatable.getSurfaceControl();
280 t.setLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), layer);
289 … t.setRelativeLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), relativeTo, layer);
298 t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent);
312 final SurfaceControl surface = mAnimatable.getSurfaceControl();
421 final SurfaceControl surface = animatable.getSurfaceControl();
695 @Nullable SurfaceControl getSurfaceControl();
DAbsAppSnapshotController.java247 if (source.getSurfaceControl() == null) { in createSnapshot()
256 final boolean excludeIme = imeWindow != null && imeWindow.getSurfaceControl() != null in createSnapshot()
266 excludeLayers[0] = imeWindow.getSurfaceControl(); in createSnapshot()
267 excludeLayers[1] = navWindow.getSurfaceControl(); in createSnapshot()
271 excludeIme ? imeWindow.getSurfaceControl() : navWindow.getSurfaceControl(); in createSnapshot()
278 source.getSurfaceControl(), crop, scaleFraction, in createSnapshot()
DSeamlessRotator.java75 applyTransform(transaction, win.getSurfaceControl()); in unrotate()
79 transaction.setPosition(win.getSurfaceControl(), winSurfacePos[0], winSurfacePos[1]); in unrotate()
DInputConsumerImpl.java135 t.setRelativeLayer(mInputSurface, w.getSurfaceControl(), 1 + w.getChildCount()); in show()
145 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
DContentRecorder.java264 .reparent(mDisplayContent.getWindowingLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
265 .reparent(mDisplayContent.getOverlayLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
379 mRecordedWindowContainer.getSurfaceControl()); in startRecordingIfNeeded()
388 .reparent(mRecordedSurface, mDisplayContent.getSurfaceControl()) in startRecordingIfNeeded()
/frameworks/base/libs/hwui/
DWebViewFunctorManager.cpp44 static ASurfaceControl* getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::__anonaef426a40111::ScopedCurrentFunctor
46 return sCurrentFunctor->getSurfaceControl(); in getSurfaceControl()
132 ASurfaceControl* rootSurfaceControl = activeContext->getSurfaceControl(); in prepareRootSurfaceControl()
153 .getSurfaceControl = currentFunctor.getSurfaceControl, in drawGl()
180 .getSurfaceControl = currentFunctor.getSurfaceControl, in drawVk()
219 ASurfaceControl* WebViewFunctor::getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::WebViewFunctor
226 ASurfaceControl* rootSurfaceControl = activeContext->getSurfaceControl(); in getSurfaceControl()
/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/
DAttachedChoreographerTest.java151 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testCreateChoreographer()
195 SurfaceControl surfaceControl = mSurfaceView.getSurfaceControl(); in testCreateChoreographer()
208 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testCopySurfaceControl()
241 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testMirrorSurfaceControl()
273 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostFrameCallback()
298 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostFrameCallbackDelayed()
325 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostCallback()
351 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostCallbackDelayed()
377 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostVsyncCallback()
404 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testChoreographerDivisorRefreshRate()
[all …]
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DSurfaceViewRequestUtils.java35 bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl()); in createSurfaceBundle()
44 public static SurfaceControl getSurfaceControl(Bundle bundle) { in getSurfaceControl() method in SurfaceViewRequestUtils
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DBackgroundWindowManagerTest.java56 assertThat(mBackgroundWindowManager.getSurfaceControl()).isNotNull(); in testInitRelease()
59 assertThat(mBackgroundWindowManager.getSurfaceControl()).isNull(); in testInitRelease()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitWindowManagerTests.java63 assertThat(mSplitWindowManager.getSurfaceControl()).isNotNull(); in testInitRelease()
65 assertThat(mSplitWindowManager.getSurfaceControl()).isNull(); in testInitRelease()
/frameworks/base/core/java/android/widget/inline/
DInlineContentView.java117 final SurfaceControl surfaceControl = mSurfaceView.getSurfaceControl();
130 final SurfaceControl surfaceControl = mSurfaceView.getSurfaceControl();
215 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in InlineContentView
216 return mSurfaceView.getSurfaceControl(); in getSurfaceControl()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitWindowManager.java89 public SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl() method in SplitWindowManager
90 return super.getSurfaceControl(window); in getSurfaceControl()
204 SurfaceControl getSurfaceControl() { in getSurfaceControl() method in SplitWindowManager
/frameworks/base/tests/SurfaceControlViewHostTest/src/com/android/test/viewembed/
DSurfaceInputTestActivity.java164 mLocalSurfaceView.getSurfaceControl(),
180 mLocalSurfaceView.getSurfaceControl());
187 mParentSurfaceControl = mRemoteSurfaceView.getSurfaceControl();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuController.java322 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in resizePipMenu()
323 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in resizePipMenu()
341 private SurfaceControl getSurfaceControl(View v) { in getSurfaceControl() method in TvPipMenuController
377 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in movePipMenu()
378 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in movePipMenu()
631 final SurfaceControl sc = getSurfaceControl(mView); in surfaceCreated()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DBackgroundWindowManager.java79 public SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl() method in BackgroundWindowManager
80 return super.getSurfaceControl(window); in getSurfaceControl()
207 SurfaceControl getSurfaceControl() { in getSurfaceControl() method in BackgroundWindowManager
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java229 mSurfaceControl = config.getSurfaceControl(); in FrameTracker()
234 if (mViewRoot.getSurfaceControl().isValid()) { in FrameTracker()
235 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker()
243 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker()
771 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in FrameTracker.ViewRootWrapper
772 return mViewRoot.getSurfaceControl(); in getSurfaceControl()
/frameworks/base/libs/hwui/private/hwui/
DWebViewFunctor.h56 ASurfaceControl* (*getSurfaceControl)(); member
/frameworks/base/libs/hwui/platform/host/
DWebViewFunctorManager.cpp47 ASurfaceControl* WebViewFunctor::getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::WebViewFunctor

12345