Home
last modified time | relevance | path

Searched refs:InsetsSourceControl (Results 1 – 25 of 48) sorted by relevance

12

/aosp14/frameworks/base/core/java/android/view/
H A DInsetsSourceControl.java42 public class InsetsSourceControl implements Parcelable { class
67 public InsetsSourceControl(InsetsSourceControl other) { in InsetsSourceControl() method in InsetsSourceControl
81 public InsetsSourceControl(Parcel in) { in InsetsSourceControl() method in InsetsSourceControl
188 final InsetsSourceControl that = (InsetsSourceControl) o; in equals()
230 public InsetsSourceControl createFromParcel(Parcel in) {
231 return new InsetsSourceControl(in);
234 public InsetsSourceControl[] newArray(int size) {
235 return new InsetsSourceControl[size];
266 private @Nullable InsetsSourceControl[] mControls;
275 public void set(@Nullable InsetsSourceControl[] controls) { in set()
[all …]
H A DInsetsAnimationControlImpl.java88 private final SparseArray<InsetsSourceControl> mControls;
232 final InsetsSourceControl control = controls.valueAt(i); in updateSurfacePosition()
316 final InsetsSourceControl c = mControls.valueAt(i); in releaseLeashes()
397 SparseArray<InsetsSourceControl> getControls() { in getControls()
411 SparseArray<InsetsSourceControl> controls, boolean shown, in calculateInsets()
467 final InsetsSourceControl control = controls.valueAt(i); in updateLeashesForSide()
524 SparseSetArray<InsetsSourceControl> sideControlsMap, in buildSideControlsMap()
525 SparseArray<InsetsSourceControl> controls) { in buildSideControlsMap()
529 final InsetsSourceControl control = controls.get(type); in buildSideControlsMap()
540 SparseSetArray<InsetsSourceControl> sideControlsMap, in buildSideControlsMap()
[all …]
H A DInsetsSourceControl.aidl19 parcelable InsetsSourceControl;
20 parcelable InsetsSourceControl.Array;
H A DIDisplayWindowInsetsController.aidl20 import android.view.InsetsSourceControl;
47 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
H A DIWindowSession.aidl33 import android.view.InsetsSourceControl;
52 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplay()
57 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplayAsUser()
94 out InsetsState insetsState, out InsetsSourceControl.Array activeControls, in relayout()
H A DIWindow.aidl27 import android.view.InsetsSourceControl;
65 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
H A DInsetsAnimationThreadControlRunner.java111 public InsetsAnimationThreadControlRunner(SparseArray<InsetsSourceControl> controls, in InsetsAnimationThreadControlRunner()
133 private void releaseControls(SparseArray<InsetsSourceControl> controls) { in releaseControls()
170 public void updateSurfacePosition(SparseArray<InsetsSourceControl> controls) { in updateSurfacePosition()
H A DInsetsSourceConsumer.java92 private InsetsSourceControl mSourceControl;
128 public boolean setControl(@Nullable InsetsSourceControl control, in setControl()
138 final InsetsSourceControl lastControl = mSourceControl; in setControl()
201 public InsetsSourceControl getControl() { in getControl()
H A DInsetsAnimationControlRunner.java54 void updateSurfacePosition(SparseArray<InsetsSourceControl> controls); in updateSurfacePosition()
H A DInsetsController.java640 private final SparseArray<InsetsSourceControl> mTmpControlArray = new SparseArray<>();
1001 public void onControlsChanged(InsetsSourceControl[] activeControls) { in onControlsChanged()
1003 for (InsetsSourceControl activeControl : activeControls) { in onControlsChanged()
1025 final InsetsSourceControl control = mTmpControlArray.get(consumer.getId()); in onControlsChanged()
1039 final InsetsSourceControl control = mTmpControlArray.valueAt(i); in onControlsChanged()
1367 final SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in controlAnimationUncheckedInner()
1472 SparseArray<InsetsSourceControl> controls, @AnimationType int animationType, in collectSourceControls()
1516 final InsetsSourceControl control = consumer.getControl(); in collectSourceControls()
1519 controls.put(control.getId(), new InsetsSourceControl(control)); in collectSourceControls()
1758 final InsetsSourceControl imeControl = mImeSourceConsumer.getControl(); in applyAnimation()
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DImeInsetsSourceConsumerTest.java92 final InsetsSourceControl ime = new InsetsSourceControl(ID_IME, WindowInsets.Type.ime(), in testImeVisibility()
94 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
113 mController.onControlsChanged(new InsetsSourceControl[] { null }); in testImeRequestedVisibleAwaitingControl()
121 InsetsSourceControl control = new InsetsSourceControl(ID_IME, in testImeRequestedVisibleAwaitingControl()
123 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testImeRequestedVisibleAwaitingControl()
161 InsetsSourceControl control = Mockito.spy(new InsetsSourceControl(ID_IME, in verifyImeGetAndClearSkipAnimationOnce()
169 mController.onControlsChanged(new InsetsSourceControl[]{ control }); in verifyImeGetAndClearSkipAnimationOnce()
181 mController.onControlsChanged(new InsetsSourceControl[]{ control }); in verifyImeGetAndClearSkipAnimationOnce()
H A DInsetsControllerTest.java234 InsetsSourceControl control = in testFrameDoesntOverlapWithInsets()
235 new InsetsSourceControl( in testFrameDoesntOverlapWithInsets()
312 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively()
313 InsetsSourceControl statusBar = controls[1]; in testShowHideSelectively()
314 InsetsSourceControl ime = controls[2]; in testShowHideSelectively()
340 InsetsSourceControl navBar = controls[0]; in testShowHideSingle()
341 InsetsSourceControl statusBar = controls[1]; in testShowHideSingle()
342 InsetsSourceControl ime = controls[2]; in testShowHideSingle()
412 InsetsSourceControl navBar = controls[0]; in testShowMultipleHideOneByOne()
414 InsetsSourceControl ime = controls[2]; in testShowMultipleHideOneByOne()
[all …]
H A DInsetsSourceConsumerTest.java118 new InsetsSourceControl(ID_STATUS_BAR, statusBars(), mLeash, in setup()
190 new InsetsSourceControl(ID_STATUS_BAR, statusBars(), mLeash, in testRestore()
208 new InsetsSourceControl(ID_STATUS_BAR, statusBars(), mLeash, in testRestore_noAnimation()
238 imeConsumer.setControl(new InsetsSourceControl(ID_IME, ime(), mLeash, in testWontUpdateImeLeashVisibility_whenAnimation()
247 imeConsumer.setControl(new InsetsSourceControl(ID_IME, ime(), mLeash, in testWontUpdateImeLeashVisibility_whenAnimation()
H A DInsetsAnimationControlImplTest.java103 new InsetsSourceControl(ID_STATUS_BAR, WindowInsets.Type.statusBars(), in setup()
111 new InsetsSourceControl(ID_NAVIGATION_BAR, WindowInsets.Type.navigationBars(), in setup()
117 SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in setup()
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DInsetsPolicyTest.java45 import android.view.InsetsSourceControl;
140 InsetsSourceControl[] controls in testControlsForDispatch_statusBarForceShowNavigation_butFocusedAnyways()
186 final InsetsSourceControl[] dialogControls = in testControlsForDispatch_topAppHidesStatusBar()
193 final InsetsSourceControl[] fullscreenAppControls = in testControlsForDispatch_topAppHidesStatusBar()
221 InsetsSourceControl[] panelControls = in testControlsForDispatch_topAppHidesStatusBar()
277 final InsetsSourceControl[] controls = in testShowTransientBars_bothCanBeTransient_appGetsBothFakeControls()
305 final InsetsSourceControl[] controls = in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl()
312 final InsetsSourceControl control = controls[i]; in testShowTransientBars_statusBarCanBeTransient_appGetsStatusBarFakeControl()
338 InsetsSourceControl[] controls = in testAbortTransientBars_bothCanBeAborted_appGetsBothRealControls()
384 final InsetsSourceControl[] controls = in testShowTransientBars_abortsWhenControlTargetChanges()
[all …]
H A DTestIWindow.java27 import android.view.InsetsSourceControl;
55 InsetsSourceControl[] activeControls) { in insetsControlChanged()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
H A DDisplayImeControllerTest.java38 import android.view.InsetsSourceControl;
134 mPerDisplay.insetsControlChanged(new InsetsState(), new InsetsSourceControl[]{}); in insetsControlChanged_updateImeSourceControl()
138 private InsetsSourceControl[] insetsSourceControl() { in insetsSourceControl()
139 return new InsetsSourceControl[]{ in insetsSourceControl()
140 new InsetsSourceControl( in insetsSourceControl()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayImeController.java41 import android.view.InsetsSourceControl;
221 InsetsSourceControl mImeSourceControl = null;
267 InsetsSourceControl[] activeControls) { in insetsControlChanged()
269 InsetsSourceControl imeSourceControl = null; in insetsControlChanged()
271 for (InsetsSourceControl activeControl : activeControls) { in insetsControlChanged()
314 private void applyVisibilityToLeash(InsetsSourceControl imeSourceControl) { in applyVisibilityToLeash()
566 public InsetsSourceControl getImeSourceControl() { in getImeSourceControl()
649 private static boolean haveSameLeash(InsetsSourceControl a, InsetsSourceControl b) { in haveSameLeash()
H A DDisplayInsetsController.java26 import android.view.InsetsSourceControl;
151 InsetsSourceControl[] activeControls) { in insetsControlChanged()
222 InsetsSourceControl[] activeControls) throws RemoteException { in insetsControlChanged()
273 InsetsSourceControl[] activeControls) {} in insetsControlChanged()
/aosp14/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
H A DWindowAddRemovePerfTest.java31 import android.view.InsetsSourceControl;
89 final InsetsSourceControl.Array mOutControls = new InsetsSourceControl.Array();
H A DRelayoutPerfTest.java32 import android.view.InsetsSourceControl;
130 final InsetsSourceControl.Array mOutControls = new InsetsSourceControl.Array();
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DInsetsStateController.java39 import android.view.InsetsSourceControl;
76 InsetsSourceControl[] controls = getControlsForDispatch(this);
80 for (InsetsSourceControl control : controls) {
99 @Nullable InsetsSourceControl[] getControlsForDispatch(InsetsControlTarget target) { in getControlsForDispatch()
105 final InsetsSourceControl[] result = new InsetsSourceControl[size]; in getControlsForDispatch()
H A DInsetsSourceProvider.java44 import android.view.InsetsSourceControl;
70 private final InsetsSourceControl mFakeControl;
71 private @Nullable InsetsSourceControl mControl;
128 mFakeControl = new InsetsSourceControl( in InsetsSourceProvider()
502 mControl = new InsetsSourceControl(mSource.getId(), mSource.getType(), leash, in updateControlForTarget()
559 InsetsSourceControl getControl(InsetsControlTarget target) { in getControl()
565 return new InsetsSourceControl(mControl.getId(), mControl.getType(), in getControl()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DTaskSnapshotWindow.java39 import android.view.InsetsSourceControl;
110 final InsetsSourceControl.Array tmpControls = new InsetsSourceControl.Array(); in create()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DBaseIWindow.java30 import android.view.InsetsSourceControl;
67 InsetsSourceControl[] activeControls) { in insetsControlChanged()

12