/aosp12/frameworks/base/core/java/android/view/ |
H A D | InsetsSourceControl.java | 40 public class InsetsSourceControl implements Parcelable { class 53 public InsetsSourceControl(@InternalInsetsType int type, @Nullable SurfaceControl leash, in InsetsSourceControl() method in InsetsSourceControl 61 public InsetsSourceControl(InsetsSourceControl other) { in InsetsSourceControl() method in InsetsSourceControl 73 public InsetsSourceControl(Parcel in) { in InsetsSourceControl() method in InsetsSourceControl 168 final InsetsSourceControl that = (InsetsSourceControl) o; in equals() 207 public static final @android.annotation.NonNull Creator<InsetsSourceControl> CREATOR 208 = new Creator<InsetsSourceControl>() { 209 public InsetsSourceControl createFromParcel(Parcel in) { 210 return new InsetsSourceControl(in); 213 public InsetsSourceControl[] newArray(int size) { [all …]
|
H A D | InsetsAnimationControlImpl.java | 80 private final SparseArray<InsetsSourceControl> mControls; 215 final InsetsSourceControl control = controls.valueAt(i); in updateSurfacePosition() 294 final InsetsSourceControl c = mControls.valueAt(i); in releaseLeashes() 366 SparseArray<InsetsSourceControl> getControls() { in getControls() 381 SparseArray<InsetsSourceControl> controls, boolean shown, in calculateInsets() 436 final InsetsSourceControl control = controls.valueAt(i); in updateLeashesForSide() 490 SparseSetArray<InsetsSourceControl> sideControlsMap, in buildSideControlsMap() 491 SparseArray<InsetsSourceControl> controls) { in buildSideControlsMap() 495 final InsetsSourceControl control = controls.get(type); in buildSideControlsMap() 506 SparseSetArray<InsetsSourceControl> sideControlsMap, in buildSideControlsMap() [all …]
|
H A D | IDisplayWindowInsetsController.aidl | 19 import android.view.InsetsSourceControl; 44 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
|
H A D | IWindowSession.aidl | 33 import android.view.InsetsSourceControl; 52 out InsetsSourceControl[] activeControls); in addToDisplay() 56 out InsetsState insetsState, out InsetsSourceControl[] activeControls); in addToDisplayAsUser() 108 out InsetsState insetsState, out InsetsSourceControl[] activeControls, in relayout()
|
H A D | InsetsAnimationThreadControlRunner.java | 110 public InsetsAnimationThreadControlRunner(SparseArray<InsetsSourceControl> controls, in InsetsAnimationThreadControlRunner() 131 private void releaseControls(SparseArray<InsetsSourceControl> controls) { in releaseControls() 163 public void updateSurfacePosition(SparseArray<InsetsSourceControl> controls) { in updateSurfacePosition()
|
H A D | IWindow.aidl | 27 import android.view.InsetsSourceControl; 80 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls, in insetsControlChanged()
|
H A D | InsetsSourceConsumer.java | 84 private @Nullable InsetsSourceControl mSourceControl; 118 public void setControl(@Nullable InsetsSourceControl control, in setControl() 133 final InsetsSourceControl lastControl = mSourceControl; in setControl() 200 public InsetsSourceControl getControl() { in getControl()
|
H A D | InsetsSourceControl.aidl | 19 parcelable InsetsSourceControl;
|
/aosp12/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | ImeInsetsSourceConsumerTest.java | 94 final InsetsSourceControl ime = in testImeVisibility() 95 new InsetsSourceControl(ITYPE_IME, mLeash, new Point(), Insets.NONE); in testImeVisibility() 96 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility() 115 mController.onControlsChanged(new InsetsSourceControl[] { null }); in testImeRequestedVisibleAwaitingControl() 123 InsetsSourceControl control = in testImeRequestedVisibleAwaitingControl() 124 new InsetsSourceControl(ITYPE_IME, mLeash, new Point(), Insets.NONE); in testImeRequestedVisibleAwaitingControl() 125 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testImeRequestedVisibleAwaitingControl() 160 InsetsSourceControl control = Mockito.spy( in verifyImeGetAndClearSkipAnimationOnce() 161 new InsetsSourceControl(ITYPE_IME, mLeash, new Point(), Insets.NONE)); in verifyImeGetAndClearSkipAnimationOnce() 168 mController.onControlsChanged(new InsetsSourceControl[]{ control }); in verifyImeGetAndClearSkipAnimationOnce() [all …]
|
H A D | InsetsControllerTest.java | 219 InsetsSourceControl control = in testFrameDoesntMatchDisplay() 220 new InsetsSourceControl( in testFrameDoesntMatchDisplay() 236 InsetsSourceControl navBar = controls[0]; in testAnimationEndState() 238 InsetsSourceControl ime = controls[2]; in testAnimationEndState() 282 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively() 284 InsetsSourceControl ime = controls[2]; in testShowHideSelectively() 314 InsetsSourceControl navBar = controls[0]; in testShowHideSingle() 316 InsetsSourceControl ime = controls[2]; in testShowHideSingle() 356 InsetsSourceControl ime = controls[2]; in testShowHideMultiple() 405 InsetsSourceControl ime = controls[2]; in testShowMultipleHideOneByOne() [all …]
|
H A D | InsetsSourceConsumerTest.java | 113 new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point(), Insets.NONE), in setup() 183 new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point(), Insets.NONE), in testRestore() 201 new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point(), Insets.NONE), in testRestore_noAnimation()
|
H A D | InsetsAnimationControlImplTest.java | 97 new InsetsSourceControl( in setup() 103 navConsumer.setControl(new InsetsSourceControl(ITYPE_NAVIGATION_BAR, mNavLeash, in setup() 107 SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in setup()
|
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | InsetsPolicyTest.java | 50 import android.view.InsetsSourceControl; 157 InsetsSourceControl[] controls in testControlsForDispatch_statusBarForceShowNavigation_butFocusedAnyways() 205 final InsetsSourceControl[] dialogControls = in testControlsForDispatch_topAppHidesStatusBar() 212 final InsetsSourceControl[] fullscreenAppControls = in testControlsForDispatch_topAppHidesStatusBar() 241 InsetsSourceControl[] panelControls = in testControlsForDispatch_topAppHidesStatusBar() 297 final InsetsSourceControl[] controls = in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls() 326 final InsetsSourceControl[] controls = in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl() 333 final InsetsSourceControl control = controls[i]; in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl() 359 InsetsSourceControl[] controls = in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls() 410 final InsetsSourceControl[] controls = in testShowTransientBars_abortsWhenControlTargetChanges() [all …]
|
H A D | TestIWindow.java | 27 import android.view.InsetsSourceControl; 61 InsetsSourceControl[] activeControls, boolean willMove, boolean willResize) { in insetsControlChanged()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/ |
H A D | DisplayImeControllerTest.java | 35 import android.view.InsetsSourceControl; 121 private InsetsSourceControl[] insetsSourceControl() { in insetsSourceControl() 122 return new InsetsSourceControl[]{ in insetsSourceControl() 123 new InsetsSourceControl( in insetsSourceControl()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
H A D | DisplayImeController.java | 34 import android.view.InsetsSourceControl; 206 InsetsSourceControl mImeSourceControl = null; 249 InsetsSourceControl[] activeControls) { in insetsControlChanged() 251 InsetsSourceControl imeSourceControl = null; in insetsControlChanged() 253 for (InsetsSourceControl activeControl : activeControls) { in insetsControlChanged() 295 private void applyVisibilityToLeash(InsetsSourceControl imeSourceControl) { in applyVisibilityToLeash() 592 private static boolean haveSameLeash(InsetsSourceControl a, InsetsSourceControl b) { in haveSameLeash()
|
H A D | DisplayInsetsController.java | 24 import android.view.InsetsSourceControl; 143 InsetsSourceControl[] activeControls) { in insetsControlChanged() 202 InsetsSourceControl[] activeControls) throws RemoteException { in insetsControlChanged() 247 InsetsSourceControl[] activeControls) {} in insetsControlChanged()
|
/aosp12/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
H A D | WindowAddRemovePerfTest.java | 30 import android.view.InsetsSourceControl; 88 final InsetsSourceControl[] mOutControls = new InsetsSourceControl[0];
|
H A D | RelayoutPerfTest.java | 32 import android.view.InsetsSourceControl; 130 final InsetsSourceControl[] mOutControls = new InsetsSourceControl[0];
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | InsetsPolicy.java | 43 import android.view.InsetsSourceControl; 77 final InsetsSourceControl[] controls = 82 for (InsetsSourceControl control : controls) { 462 final SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in startAnimation() 467 InsetsSourceControl control = provider.getControl(mDummyControlTarget); in startAnimation() 472 controls.put(control.getType(), new InsetsSourceControl(control)); in startAnimation() 478 SparseArray<InsetsSourceControl> controls, boolean show, Runnable callback) { in controlAnimationUnchecked() 543 SparseArray<InsetsSourceControl> controls, boolean show) { in controlAnimationUnchecked()
|
H A D | InsetsSourceProvider.java | 50 import android.view.InsetsSourceControl; 76 private final InsetsSourceControl mFakeControl; 77 private @Nullable InsetsSourceControl mControl; 127 mFakeControl = new InsetsSourceControl( in InsetsSourceProvider() 412 mControl = new InsetsSourceControl(mSource.getType(), leash, surfacePosition, in updateControlForTarget() 485 InsetsSourceControl getControl(InsetsControlTarget target) { in getControl() 491 return new InsetsSourceControl(mControl.getType(), null /* leash */, in getControl()
|
H A D | InsetsStateController.java | 48 import android.view.InsetsSourceControl; 88 InsetsSourceControl[] controls = getControlsForDispatch(this); 92 for (InsetsSourceControl control : controls) { 238 @Nullable InsetsSourceControl[] getControlsForDispatch(InsetsControlTarget target) { in getControlsForDispatch() 244 final InsetsSourceControl[] result = new InsetsSourceControl[size]; in getControlsForDispatch()
|
H A D | ImeInsetsSourceProvider.java | 36 import android.view.InsetsSourceControl; 63 InsetsSourceControl getControl(InsetsControlTarget target) { in getControl() 64 final InsetsSourceControl control = super.getControl(target); in getControl()
|
/aosp12/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 30 import android.view.InsetsSourceControl; 74 InsetsSourceControl[] activeControls, boolean willMove, boolean willResize) { in insetsControlChanged()
|
/aosp12/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/stagesplit/ |
H A D | SideStage.java | 24 import android.view.InsetsSourceControl; 141 InsetsSourceControl[] activeControls) { in insetsControlChanged()
|