Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/view/
DInsetsSourceControl.java43 public class InsetsSourceControl implements Parcelable { class
58 public InsetsSourceControl(int id, @InsetsType int type, @Nullable SurfaceControl leash, in InsetsSourceControl() method in InsetsSourceControl
68 public InsetsSourceControl(InsetsSourceControl other) { in InsetsSourceControl() method in InsetsSourceControl
82 public InsetsSourceControl(Parcel in) { in InsetsSourceControl() method in InsetsSourceControl
189 final InsetsSourceControl that = (InsetsSourceControl) o; in equals()
230 public static final @NonNull Creator<InsetsSourceControl> CREATOR = new Creator<>() {
231 public InsetsSourceControl createFromParcel(Parcel in) {
232 return new InsetsSourceControl(in);
235 public InsetsSourceControl[] newArray(int size) {
236 return new InsetsSourceControl[size];
[all …]
DInsetsAnimationControlImpl.java87 private final SparseArray<InsetsSourceControl> mControls;
88 private final SparseSetArray<InsetsSourceControl> mSideControlsMap = new SparseSetArray<>();
121 public InsetsAnimationControlImpl(SparseArray<InsetsSourceControl> controls, in InsetsAnimationControlImpl()
229 public void updateSurfacePosition(SparseArray<InsetsSourceControl> controls) { in updateSurfacePosition()
231 final InsetsSourceControl control = controls.valueAt(i); in updateSurfacePosition()
232 final InsetsSourceControl c = mControls.get(control.getId()); in updateSurfacePosition()
312 final InsetsSourceControl c = mControls.valueAt(i); in releaseLeashes()
399 SparseArray<InsetsSourceControl> getControls() { in getControls()
413 SparseArray<InsetsSourceControl> controls, boolean shown, in calculateInsets()
416 final InsetsSourceControl control = controls.valueAt(i); in calculateInsets()
[all …]
DInsetsSourceControl.aidl19 parcelable InsetsSourceControl;
20 parcelable InsetsSourceControl.Array;
DIDisplayWindowInsetsController.aidl20 import android.view.InsetsSourceControl;
47 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DWindowRelayoutResult.java56 public final InsetsSourceControl.Array activeControls;
70 new InsetsState(), new InsetsSourceControl.Array()); in WindowRelayoutResult()
87 @NonNull InsetsSourceControl.Array activeControls) { in WindowRelayoutResult()
DIWindow.aidl27 import android.view.InsetsSourceControl;
72 in InsetsSourceControl.Array activeControls); in insetsControlChanged()
DIWindowSession.aidl33 import android.view.InsetsSourceControl;
67 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplay()
72 out InsetsSourceControl.Array activeControls, out Rect attachedFrame, in addToDisplayAsUser()
94 out InsetsState insetsState, out InsetsSourceControl.Array activeControls, in relayoutLegacy()
DInsetsSourceConsumer.java95 private InsetsSourceControl mSourceControl;
131 public boolean setControl(@Nullable InsetsSourceControl control, in setControl()
141 final InsetsSourceControl lastControl = mSourceControl; in setControl()
204 public InsetsSourceControl getControl() { in getControl()
DInsetsController.java351 final InsetsSourceControl imeSourceControl = getImeSourceConsumer().getControl();
630 private final SparseArray<InsetsSourceControl> mTmpControlArray = new SparseArray<>();
960 public void onControlsChanged(InsetsSourceControl[] activeControls) { in onControlsChanged()
962 for (InsetsSourceControl activeControl : activeControls) { in onControlsChanged()
984 final InsetsSourceControl control = mTmpControlArray.get(consumer.getId()); in onControlsChanged()
998 final InsetsSourceControl control = mTmpControlArray.valueAt(i); in onControlsChanged()
1389 final SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in controlAnimationUncheckedInner()
1556 static void releaseControls(SparseArray<InsetsSourceControl> controls) { in releaseControls()
1573 SparseArray<InsetsSourceControl> controls, @AnimationType int animationType, in collectSourceControls()
1617 final InsetsSourceControl control = consumer.getControl(); in collectSourceControls()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DImeInsetsSourceConsumerTest.java96 final InsetsSourceControl ime = new InsetsSourceControl(ID_IME, WindowInsets.Type.ime(), in testImeVisibility()
98 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
117 mController.onControlsChanged(new InsetsSourceControl[] { null }); in testImeRequestedVisibleAwaitingControl()
130 InsetsSourceControl control = new InsetsSourceControl(ID_IME, in testImeRequestedVisibleAwaitingControl()
132 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testImeRequestedVisibleAwaitingControl()
146 mController.onControlsChanged(new InsetsSourceControl[] { null }); in testImeRequestedVisibleAwaitingLeash()
161 InsetsSourceControl control = new InsetsSourceControl(ID_IME, in testImeRequestedVisibleAwaitingLeash()
163 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testImeRequestedVisibleAwaitingLeash()
174 InsetsSourceControl controlWithLeash = new InsetsSourceControl(ID_IME, in testImeRequestedVisibleAwaitingLeash()
176 mController.onControlsChanged(new InsetsSourceControl[] { controlWithLeash }); in testImeRequestedVisibleAwaitingLeash()
[all …]
DInsetsControllerTest.java199 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked()
223 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked_duringAnim()
237 InsetsSourceControl control = in testFrameDoesntOverlapWithInsets()
238 new InsetsSourceControl( in testFrameDoesntOverlapWithInsets()
241 mController.onControlsChanged(new InsetsSourceControl[]{control}); in testFrameDoesntOverlapWithInsets()
297 InsetsSourceControl ime = createControl(ID_IME, ime()); in testApplyImeVisibility()
298 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testApplyImeVisibility()
314 InsetsSourceControl[] controls = prepareControls(); in testShowHideSelectively()
315 InsetsSourceControl navBar = controls[0]; in testShowHideSelectively()
316 InsetsSourceControl statusBar = controls[1]; in testShowHideSelectively()
[all …]
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()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsPolicyTest.java48 import android.view.InsetsSourceControl;
75 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_regular()
91 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_adjacentTasksVisible()
104 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_freeformTaskVisible()
115 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_forceStatusBarVisible()
129 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_statusBarForceShowNavigation()
143 InsetsSourceControl[] controls in testControlsForDispatch_statusBarForceShowNavigation_butFocusedAnyways()
158 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_remoteInsetsControllerControlsBars_appHasNoControl()
189 final InsetsSourceControl[] dialogControls = in testControlsForDispatch_topAppHidesStatusBar()
196 final InsetsSourceControl[] fullscreenAppControls = in testControlsForDispatch_topAppHidesStatusBar()
[all …]
DTestIWindow.java27 import android.view.InsetsSourceControl;
56 InsetsSourceControl.Array activeControls) { in insetsControlChanged()
/frameworks/base/core/java/android/app/servertransaction/
DWindowStateInsetsControlChangeItem.java27 import android.view.InsetsSourceControl;
45 public InsetsSourceControl.Array mActiveControls;
70 @NonNull InsetsState insetsState, @NonNull InsetsSourceControl.Array activeControls) { in obtain()
78 instance.mActiveControls = new InsetsSourceControl.Array( in obtain()
110 mActiveControls = in.readTypedObject(InsetsSourceControl.Array.CREATOR); in WindowStateInsetsControlChangeItem()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayImeControllerTest.java38 import android.view.InsetsSourceControl;
141 mPerDisplay.insetsControlChanged(new InsetsState(), new InsetsSourceControl[]{}); in insetsControlChanged_updateImeSourceControl()
145 private InsetsSourceControl[] insetsSourceControl() { in insetsSourceControl()
146 return new InsetsSourceControl[]{ in insetsSourceControl()
147 new InsetsSourceControl( in insetsSourceControl()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java31 import android.view.InsetsSourceControl;
89 final InsetsSourceControl.Array mOutControls = new InsetsSourceControl.Array();
DRelayoutPerfTest.java34 import android.view.InsetsSourceControl;
133 final InsetsSourceControl.Array mOutControls = new InsetsSourceControl.Array();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayInsetsController.java26 import android.view.InsetsSourceControl;
151 InsetsSourceControl[] activeControls) { in insetsControlChanged()
232 InsetsSourceControl[] activeControls) throws RemoteException { in insetsControlChanged()
291 InsetsSourceControl[] activeControls) {} in insetsControlChanged()
DDisplayImeController.java41 import android.view.InsetsSourceControl;
225 InsetsSourceControl mImeSourceControl = null;
274 InsetsSourceControl[] activeControls) { in insetsControlChanged()
276 InsetsSourceControl imeSourceControl = null; in insetsControlChanged()
278 for (InsetsSourceControl activeControl : activeControls) { in insetsControlChanged()
353 private void applyVisibilityToLeash(InsetsSourceControl imeSourceControl) { in applyVisibilityToLeash()
656 public InsetsSourceControl getImeSourceControl() { in getImeSourceControl()
739 private static boolean haveSameLeash(InsetsSourceControl a, InsetsSourceControl b) { in haveSameLeash()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DClientTransactionItemTest.java40 import android.view.InsetsSourceControl;
88 private InsetsSourceControl.Array mActiveControls;
101 mActiveControls = new InsetsSourceControl.Array(); in setup()
/frameworks/base/services/core/java/com/android/server/wm/
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()
DInsetsSourceProvider.java45 import android.view.InsetsSourceControl;
71 protected @Nullable InsetsSourceControl mControl;
76 private final InsetsSourceControl mFakeControl;
124 mFakeControl = new InsetsSourceControl( in InsetsSourceProvider()
555 mControl = new InsetsSourceControl(mSource.getId(), mSource.getType(), leash, in updateControlForTarget()
624 InsetsSourceControl getControl(InsetsControlTarget target) { in getControl()
630 return new InsetsSourceControl(mControl.getId(), mControl.getType(), in getControl()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java29 import android.view.InsetsSourceControl;
67 InsetsSourceControl.Array activeControls) { in insetsControlChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindow.java41 import android.view.InsetsSourceControl;
112 final InsetsSourceControl.Array tmpControls = new InsetsSourceControl.Array(); in create()

123