/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | FrameRateSelectionPriorityTests.java | 131 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithoutModeId() 140 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithoutModeId() 173 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithModeId() 175 appWindow.getSurfaceControl(), 0); in testApplicationInFocusWithModeId() 177 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithModeId() 202 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationNotInFocusWithModeId() 204 appWindow.getSurfaceControl(), 2); in testApplicationNotInFocusWithModeId() 229 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationNotInFocusWithoutModeId() 257 appWindow.getSurfaceControl(), 60, in testDenyListPreferredRefreshRate() 283 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testSwitchingTypeNone() [all …]
|
H A D | RecentsAnimationControllerTest.java | 586 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenEnteringRecents_expectAnimation() 587 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenEnteringRecents_expectAnimation() 594 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenEnteringRecents_expectAnimation() 611 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation() 612 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenBackToApp_expectNoAnimation() 621 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenBackToApp_expectNoAnimation() 622 verify(transaction).reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation() 639 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testAddTaskToTargets_expectAnimation() 650 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testAddTaskToTargets_expectAnimation() 685 verify(transaction).reparent(navToken.getSurfaceControl(), secondary.getSurfaceControl()); in testAttachNavBarInSplitScreenMode() [all …]
|
H A D | ZOrderingTests.java | 230 assertZOrderGreaterThan(mTransaction, left.getSurfaceControl(), right.getSurfaceControl()); in assertWindowHigher() 491 assertThat(t.getLayer(childList.get(i).getSurfaceControl())) in testAssignWindowLayers_ForPostivelyZOrderedSubtype() 529 assertZOrderGreaterThan(mTransaction, mNavBarWindow.mToken.getSurfaceControl(), in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() 530 mDisplayContent.getImeContainer().getSurfaceControl()); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme() 553 assertZOrderGreaterThan(mTransaction, popupWindow.getSurfaceControl(), in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 554 mDisplayContent.getImeContainer().getSurfaceControl()); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow() 577 assertZOrderGreaterThan(mTransaction, systemDialogWindow.getSurfaceControl(), in testSystemDialogWindow_expectHigherThanIme_inMultiWindow() 578 mDisplayContent.getImeContainer().getSurfaceControl()); in testSystemDialogWindow_expectHigherThanIme_inMultiWindow() 587 ScreenCapture.captureLayersExcluding(mImeWindow.getSurfaceControl(), in testImeScreenshotLayer()
|
H A D | WindowContainerThumbnailTest.java | 61 assertNotNull(t.getSurfaceControl()); in testDestroy_nullsSurface() 63 assertNull(t.getSurfaceControl()); in testDestroy_nullsSurface()
|
H A D | AppWindowTokenAnimationTests.java | 70 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipAfterAnim_boundsLayerIsCreated() 138 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipNoneAnim_boundsLayerIsNotCreated()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | WebViewFunctorManager.cpp | 43 static ASurfaceControl* getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::__anon24bd16120110::ScopedCurrentFunctor 45 return sCurrentFunctor->getSurfaceControl(); in getSurfaceControl() 127 ASurfaceControl* rootSurfaceControl = activeContext->getSurfaceControl(); in prepareRootSurfaceControl() 148 .getSurfaceControl = currentFunctor.getSurfaceControl, in drawGl() 175 .getSurfaceControl = currentFunctor.getSurfaceControl, in drawVk() 214 ASurfaceControl* WebViewFunctor::getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::WebViewFunctor 221 ASurfaceControl* rootSurfaceControl = activeContext->getSurfaceControl(); in getSurfaceControl()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TrustedOverlayHost.java | 94 t.reparent(p.getSurfaceControl(), mSurfaceControl) in addOverlay() 95 .show(p.getSurfaceControl()); in addOverlay() 105 if (l.getSurfaceControl().isSameSurface(p.getSurfaceControl())) { in removeOverlay() 107 t.reparent(l.getSurfaceControl(), null); in removeOverlay()
|
H A D | Dimmer.java | 82 return mHost.getSurfaceControl(); in getAnimationLeashParent() 86 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in Dimmer.DimAnimatable 92 return mHost.getSurfaceControl(); in getParentSurfaceControl() 187 .setParent(mHost.getSurfaceControl()) in makeDimLayer() 229 t.setRelativeLayer(d.mDimLayer, container.getSurfaceControl(), relativeLayer); in dim()
|
H A D | AbsAppSnapshotController.java | 241 if (source.getSurfaceControl() == null) { in createSnapshot() 262 final boolean excludeIme = imeWindow != null && imeWindow.getSurfaceControl() != null in createSnapshot() 272 excludeLayers[0] = imeWindow.getSurfaceControl(); in createSnapshot() 273 excludeLayers[1] = navWindow.getSurfaceControl(); in createSnapshot() 277 excludeIme ? imeWindow.getSurfaceControl() : navWindow.getSurfaceControl(); in createSnapshot() 284 source.getSurfaceControl(), mTmpRect, scaleFraction, in createSnapshot()
|
H A D | SurfaceAnimator.java | 176 final SurfaceControl surface = mAnimatable.getSurfaceControl(); 279 t.setLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), layer); 288 … t.setRelativeLayer(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), relativeTo, layer); 297 t.reparent(mLeash != null ? mLeash : mAnimatable.getSurfaceControl(), newParent); 311 final SurfaceControl surface = mAnimatable.getSurfaceControl(); 420 final SurfaceControl surface = animatable.getSurfaceControl(); 693 @Nullable SurfaceControl getSurfaceControl();
|
H A D | SeamlessRotator.java | 75 applyTransform(transaction, win.getSurfaceControl()); in unrotate() 79 transaction.setPosition(win.getSurfaceControl(), winSurfacePos[0], winSurfacePos[1]); in unrotate()
|
H A D | ContentRecorder.java | 231 .reparent(mDisplayContent.getWindowingLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording() 232 .reparent(mDisplayContent.getOverlayLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording() 344 mRecordedWindowContainer.getSurfaceControl()); in startRecordingIfNeeded() 353 .reparent(mRecordedSurface, mDisplayContent.getSurfaceControl()) in startRecordingIfNeeded()
|
H A D | InputConsumerImpl.java | 133 t.setRelativeLayer(mInputSurface, w.getSurfaceControl(), 1); in show() 143 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
|
H A D | InputMonitor.java | 309 touchableRegionCrop = parent != null ? parent.getSurfaceControl() : null; in populateInputWindowHandle() 312 touchableRegionCrop = task.getRootTask().getSurfaceControl(); in populateInputWindowHandle() 582 && activeRecents.getSurfaceControl() != null) { in updateInputWindows() 586 if (layer.getSurfaceControl() != null) { in updateInputWindows() 645 rootTask.getSurfaceControl()); in accept()
|
/aosp14/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/ |
H A D | AttachedChoreographerTest.java | 138 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testCreateChoreographer() 182 SurfaceControl surfaceControl = mSurfaceView.getSurfaceControl(); in testCreateChoreographer() 195 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testCopySurfaceControl() 228 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testMirrorSurfaceControl() 260 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostFrameCallback() 285 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostFrameCallbackDelayed() 312 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostCallback() 338 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostCallbackDelayed() 364 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testPostVsyncCallback() 390 SurfaceControl sc = mSurfaceView.getSurfaceControl(); in testChoreographerDivisorRefreshRate()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
H A D | SurfaceViewRequestUtils.java | 35 bundle.putParcelable(KEY_SURFACE_CONTROL, surfaceView.getSurfaceControl()); in createSurfaceBundle() 44 public static SurfaceControl getSurfaceControl(Bundle bundle) { in getSurfaceControl() method in SurfaceViewRequestUtils
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/ |
H A D | BackgroundWindowManagerTest.java | 56 assertThat(mBackgroundWindowManager.getSurfaceControl()).isNotNull(); in testInitRelease() 59 assertThat(mBackgroundWindowManager.getSurfaceControl()).isNull(); in testInitRelease()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/ |
H A D | SplitWindowManagerTests.java | 63 assertThat(mSplitWindowManager.getSurfaceControl()).isNotNull(); in testInitRelease() 65 assertThat(mSplitWindowManager.getSurfaceControl()).isNull(); in testInitRelease()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipMenuController.java | 290 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in resizePipMenu() 291 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in resizePipMenu() 309 private SurfaceControl getSurfaceControl(View v) { in getSurfaceControl() method in TvPipMenuController 330 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in movePipMenu() 331 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in movePipMenu() 553 final SurfaceControl sc = getSurfaceControl(mView); in surfaceCreated()
|
/aosp14/frameworks/base/core/java/android/widget/inline/ |
H A D | InlineContentView.java | 117 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()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/ |
H A D | SplitWindowManager.java | 85 public SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl() method in SplitWindowManager 86 return super.getSurfaceControl(window); in getSurfaceControl() 192 SurfaceControl getSurfaceControl() { in getSurfaceControl() method in SplitWindowManager
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
H A D | BackgroundWindowManager.java | 79 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
|
/aosp14/frameworks/base/core/java/com/android/internal/jank/ |
H A D | FrameTracker.java | 226 mSurfaceControl = config.getSurfaceControl(); in FrameTracker() 231 if (mViewRoot.getSurfaceControl().isValid()) { in FrameTracker() 232 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker() 240 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker() 809 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in FrameTracker.ViewRootWrapper 810 return mViewRoot.getSurfaceControl(); in getSurfaceControl()
|
/aosp14/frameworks/base/libs/hwui/private/hwui/ |
H A D | WebViewFunctor.h | 64 ASurfaceControl* (*getSurfaceControl)(); member
|
/aosp14/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
H A D | SurfaceFlingerTestActivity.java | 81 mSurfaceControl = getSurfaceControl(); in getChildSurfaceControlHelper()
|