Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DFrameRateSelectionPriorityTests.java123 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithoutModeId()
132 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithoutModeId()
165 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationInFocusWithModeId()
167 appWindow.getSurfaceControl(), 0); in testApplicationInFocusWithModeId()
169 appWindow.getSurfaceControl(), 1); in testApplicationInFocusWithModeId()
196 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationNotInFocusWithModeId()
198 appWindow.getSurfaceControl(), 2); in testApplicationNotInFocusWithModeId()
225 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testApplicationNotInFocusWithoutModeId()
254 appWindow.getSurfaceControl(), 60, in testDenyListPreferredRefreshRate()
280 appWindow.getSurfaceControl(), RefreshRatePolicy.LAYER_PRIORITY_UNSET); in testSwitchingTypeNone()
[all …]
DRecentsAnimationControllerTest.java589 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
590 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
597 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenEnteringRecents_expectAnimation()
614 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
615 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
624 verify(transaction).setLayer(navToken.getSurfaceControl(), 0); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
625 verify(transaction).reparent(navToken.getSurfaceControl(), parent.getSurfaceControl()); in testRestoreNavBarWhenBackToApp_expectNoAnimation()
642 verify(transaction).reparent(navToken.getSurfaceControl(), activity.getSurfaceControl()); in testAddTaskToTargets_expectAnimation()
643 verify(transaction).setLayer(navToken.getSurfaceControl(), Integer.MAX_VALUE); in testAddTaskToTargets_expectAnimation()
653 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.java223 assertZOrderGreaterThan(mTransaction, left.getSurfaceControl(), right.getSurfaceControl()); in assertWindowHigher()
484 assertThat(t.getLayer(childList.get(i).getSurfaceControl())) in testAssignWindowLayers_ForPostivelyZOrderedSubtype()
519 assertZOrderGreaterThan(mTransaction, mNavBarWindow.mToken.getSurfaceControl(), in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
520 mDisplayContent.getImeContainer().getSurfaceControl()); in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
543 assertZOrderGreaterThan(mTransaction, popupWindow.getSurfaceControl(), in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
544 mDisplayContent.getImeContainer().getSurfaceControl()); in testPopupWindowAndParentIsImeTarget_expectHigherThanIme_inMultiWindow()
DAppWindowTokenAnimationTests.java70 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipAfterAnim_boundsLayerIsCreated()
138 verify(mTransaction).reparent(eq(mActivity.getSurfaceControl()), in clipNoneAnim_boundsLayerIsNotCreated()
/frameworks/base/libs/hwui/
DWebViewFunctorManager.cpp43 static ASurfaceControl* getSurfaceControl() { in getSurfaceControl() function in android::uirenderer::__anonf0eeca500111::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()
/frameworks/base/services/core/java/com/android/server/wm/
DTrustedOverlayHost.java96 t.reparent(p.getSurfaceControl(), mSurfaceControl) in addOverlay()
97 .show(p.getSurfaceControl()); in addOverlay()
107 if (l.getSurfaceControl().isSameSurface(p.getSurfaceControl())) { in removeOverlay()
109 t.reparent(l.getSurfaceControl(), null); in removeOverlay()
DDimmer.java82 return mHost.getSurfaceControl(); in getAnimationLeashParent()
86 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in Dimmer.DimAnimatable
92 return mHost.getSurfaceControl(); in getParentSurfaceControl()
180 .setParent(mHost.getSurfaceControl()) in makeDimLayer()
222 t.setRelativeLayer(d.mDimLayer, container.getSurfaceControl(), relativeLayer); in dim()
DSurfaceAnimator.java176 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();
686 @Nullable SurfaceControl getSurfaceControl();
DContentRecorder.java201 .reparent(mDisplayContent.getWindowingLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
202 .reparent(mDisplayContent.getOverlayLayer(), mDisplayContent.getSurfaceControl()) in pauseRecording()
284 mRecordedWindowContainer.getSurfaceControl()); in startRecordingIfNeeded()
293 .reparent(mRecordedSurface, mDisplayContent.getSurfaceControl()) in startRecordingIfNeeded()
DTaskSnapshotController.java406 if (task.getSurfaceControl() == null) {
417 imeBuffer = SurfaceControl.captureLayersExcluding(imeWindow.getSurfaceControl(),
443 if (task.getSurfaceControl() == null) {
455 final boolean excludeIme = imeWindow != null && imeWindow.getSurfaceControl() != null
465 excludeLayers[0] = imeWindow.getSurfaceControl();
466 excludeLayers[1] = navWindow.getSurfaceControl();
470 excludeIme ? imeWindow.getSurfaceControl() : navWindow.getSurfaceControl();
478 task.getSurfaceControl(), mTmpRect, scaleFraction,
DSeamlessRotator.java75 applyTransform(transaction, win.getSurfaceControl()); in unrotate()
79 transaction.setPosition(win.getSurfaceControl(), winSurfacePos[0], winSurfacePos[1]); in unrotate()
DInputMonitor.java304 touchableRegionCrop = parent != null ? parent.getSurfaceControl() : null; in populateInputWindowHandle()
307 touchableRegionCrop = task.getRootTask().getSurfaceControl(); in populateInputWindowHandle()
557 && activeRecents.getSurfaceControl() != null) { in updateInputWindows()
561 if (layer.getSurfaceControl() != null) { in updateInputWindows()
563 .replaceTouchableRegionWithCrop(layer.getSurfaceControl()); in updateInputWindows()
619 rootTask.getSurfaceControl()); in accept()
DInputConsumerImpl.java133 t.setRelativeLayer(mInputSurface, w.getSurfaceControl(), 1); in show()
143 t.reparent(mInputSurface, wc.getSurfaceControl()); in reparent()
/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.java85 public SurfaceControl getSurfaceControl(IWindow window) { in getSurfaceControl() method in SplitWindowManager
86 return super.getSurfaceControl(window); in getSurfaceControl()
183 SurfaceControl getSurfaceControl() { in getSurfaceControl() method in SplitWindowManager
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipMenuController.java438 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in resizePipMenu()
444 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in resizePipMenu()
464 private SurfaceControl getSurfaceControl(View v) { in getSurfaceControl() method in TvPipMenuController
510 final SurfaceControl frontSurface = getSurfaceControl(mPipMenuView); in movePipMenu()
516 final SurfaceControl backSurface = getSurfaceControl(mPipBackgroundView); in movePipMenu()
658 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()
206 SurfaceControl getSurfaceControl() { in getSurfaceControl() method in BackgroundWindowManager
/frameworks/base/core/java/com/android/internal/jank/
DFrameTracker.java218 mSurfaceControl = config.getSurfaceControl(); in FrameTracker()
223 if (mViewRoot.getSurfaceControl().isValid()) { in FrameTracker()
224 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker()
232 mSurfaceControl = mViewRoot.getSurfaceControl(); in FrameTracker()
757 public SurfaceControl getSurfaceControl() { in getSurfaceControl() method in FrameTracker.ViewRootWrapper
758 return mViewRoot.getSurfaceControl(); in getSurfaceControl()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/
DTaskView.java325 mTransaction.reparent(mTaskLeash, getSurfaceControl()) in onTaskAppeared()
433 mTransaction.reparent(mTaskLeash, getSurfaceControl()) in surfaceCreated()
561 startTransaction.reparent(mTaskLeash, getSurfaceControl()) in prepareOpenAnimation()
566 finishTransaction.reparent(mTaskLeash, getSurfaceControl()) in prepareOpenAnimation()
/frameworks/base/libs/hwui/private/hwui/
DWebViewFunctor.h64 ASurfaceControl* (*getSurfaceControl)(); member
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/
DSurfaceFlingerTestActivity.java81 mSurfaceControl = getSurfaceControl(); in getChildSurfaceControlHelper()

1234