Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DInsetsSourceControl.java32 public class InsetsSourceControl implements Parcelable { class
38 public InsetsSourceControl(@InternalInsetsType int type, @Nullable SurfaceControl leash, in InsetsSourceControl() method in InsetsSourceControl
45 public InsetsSourceControl(InsetsSourceControl other) { in InsetsSourceControl() method in InsetsSourceControl
69 public InsetsSourceControl(Parcel in) { in InsetsSourceControl() method in InsetsSourceControl
113 public static final @android.annotation.NonNull Creator<InsetsSourceControl> CREATOR
114 = new Creator<InsetsSourceControl>() {
115 public InsetsSourceControl createFromParcel(Parcel in) {
116 return new InsetsSourceControl(in);
119 public InsetsSourceControl[] newArray(int size) {
120 return new InsetsSourceControl[size];
DInsetsAnimationControlImpl.java63 private final SparseArray<InsetsSourceControl> mControls;
65 private final SparseSetArray<InsetsSourceControl> mSideSourceMap = new SparseSetArray<>();
93 public InsetsAnimationControlImpl(SparseArray<InsetsSourceControl> controls, Rect frame, in InsetsAnimationControlImpl()
232 final InsetsSourceControl c = mControls.valueAt(i); in releaseLeashes()
290 SparseArray<InsetsSourceControl> getControls() { in getControls()
295 SparseArray<InsetsSourceControl> controls, boolean shown, in calculateInsets()
331 ArraySet<InsetsSourceControl> items = mSideSourceMap.get(side); in updateLeashesForSide()
337 final InsetsSourceControl control = items.valueAt(i); in updateLeashesForSide()
387 SparseSetArray<InsetsSourceControl> sideSourcesMap, in buildTypeSourcesMap()
388 SparseArray<InsetsSourceControl> controls) { in buildTypeSourcesMap()
[all …]
DIDisplayWindowInsetsController.aidl19 import android.view.InsetsSourceControl;
37 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DIWindowSession.aidl32 import android.view.InsetsSourceControl;
50 out InsetsState insetsState, out InsetsSourceControl[] activeControls); in addToDisplay()
55 out InsetsState insetsState, out InsetsSourceControl[] activeControls); in addToDisplayAsUser()
115 out InsetsState insetsState, out InsetsSourceControl[] activeControls, in relayout()
DInsetsSourceConsumer.java73 private @Nullable InsetsSourceControl mSourceControl;
102 public void setControl(@Nullable InsetsSourceControl control, in setControl()
109 final InsetsSourceControl lastControl = mSourceControl; in setControl()
167 public InsetsSourceControl getControl() { in getControl()
DIWindow.aidl27 import android.view.InsetsSourceControl;
75 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DInsetsSourceControl.aidl19 parcelable InsetsSourceControl;
DInsetsAnimationThreadControlRunner.java101 public InsetsAnimationThreadControlRunner(SparseArray<InsetsSourceControl> controls, Rect frame, in InsetsAnimationThreadControlRunner()
117 private void releaseControls(SparseArray<InsetsSourceControl> controls) { in releaseControls()
DInsetsController.java488 private final SparseArray<InsetsSourceControl> mTmpControlArray = new SparseArray<>();
732 public void onControlsChanged(InsetsSourceControl[] activeControls) { in onControlsChanged()
734 for (InsetsSourceControl activeControl : activeControls) { in onControlsChanged()
749 final InsetsSourceControl control = mTmpControlArray.get(consumer.getType()); in onControlsChanged()
758 final InsetsSourceControl control = mTmpControlArray.valueAt(i); in onControlsChanged()
930 final SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in controlAnimationUnchecked()
993 ArraySet<Integer> internalTypes, SparseArray<InsetsSourceControl> controls, in collectSourceControls()
1034 final InsetsSourceControl control = consumer.getControl(); in collectSourceControls()
1036 controls.put(consumer.getType(), new InsetsSourceControl(control)); in collectSourceControls()
DWindowlessWindowManager.java134 InsetsState outInsetsState, InsetsSourceControl[] outActiveControls) { in addToDisplay()
170 InsetsState outInsetsState, InsetsSourceControl[] outActiveControls) { in addToDisplayAsUser()
230 InsetsSourceControl[] outActiveControls, Point outSurfaceSize, in relayout()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsPolicyTest.java47 import android.view.InsetsSourceControl;
87 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_regular()
101 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_dockedStackVisible()
114 final InsetsSourceControl[] controls = addWindowAndGetControlsForDispatch(win); in testControlsForDispatch_freeformStackVisible()
126 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_dockedDividerControllerResizing()
138 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_forceStatusBarVisible()
152 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_statusBarForceShowNavigation()
166 InsetsSourceControl[] controls in testControlsForDispatch_statusBarForceShowNavigation_butFocusedAnyways()
180 final InsetsSourceControl[] controls = addAppWindowAndGetControlsForDispatch(); in testControlsForDispatch_forceShowSystemBarsFromExternal_appHasNoControl()
213 final InsetsSourceControl[] dialogControls = in testControlsForDispatch_topAppHidesStatusBar()
[all …]
DTestIWindow.java29 import android.view.InsetsSourceControl;
56 public void insetsControlChanged(InsetsState insetsState, InsetsSourceControl[] activeControls) in insetsControlChanged()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java188 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked()
212 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked_duringAnim()
222 InsetsSourceControl control = in testFrameDoesntMatchDisplay()
223 new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point()); in testFrameDoesntMatchDisplay()
224 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testFrameDoesntMatchDisplay()
237 InsetsSourceControl[] controls = prepareControls(); in testAnimationEndState()
238 InsetsSourceControl navBar = controls[0]; in testAnimationEndState()
239 InsetsSourceControl statusBar = controls[1]; in testAnimationEndState()
240 InsetsSourceControl ime = controls[2]; in testAnimationEndState()
266 InsetsSourceControl ime = createControl(ITYPE_IME); in testApplyImeVisibility()
[all …]
DImeInsetsSourceConsumerTest.java96 final InsetsSourceControl ime = new InsetsSourceControl(ITYPE_IME, mLeash, new Point()); in testImeVisibility()
97 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
116 mController.onControlsChanged(new InsetsSourceControl[] { null }); in testImeRequestedVisibleAwaitingControl()
124 InsetsSourceControl control = new InsetsSourceControl(ITYPE_IME, mLeash, new Point()); in testImeRequestedVisibleAwaitingControl()
125 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testImeRequestedVisibleAwaitingControl()
DInsetsSourceConsumerTest.java111 mConsumer.setControl(new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point()), in setup()
180 mConsumer.setControl(new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point()), in testRestore()
197 mConsumer.setControl(new InsetsSourceControl(ITYPE_STATUS_BAR, mLeash, new Point()), in testRestore_noAnimation()
DInsetsAnimationControlImplTest.java110 new InsetsSourceControl(ITYPE_STATUS_BAR, mTopLeash, new Point(0, 0)), in setup()
115 navConsumer.setControl(new InsetsSourceControl(ITYPE_NAVIGATION_BAR, mNavLeash, in setup()
119 SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in setup()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java39 import android.view.InsetsSourceControl;
69 final InsetsSourceControl[] controls =
74 for (InsetsSourceControl control : controls) {
333 final SparseArray<InsetsSourceControl> controls = new SparseArray<>(); in startAnimation()
338 InsetsSourceControl control = provider.getControl(mDummyControlTarget); in startAnimation()
343 controls.put(control.getType(), new InsetsSourceControl(control)); in startAnimation()
350 SparseArray<InsetsSourceControl> controls, boolean show, Runnable callback) { in controlAnimationUnchecked()
414 SparseArray<InsetsSourceControl> controls, boolean show) { in controlAnimationUnchecked()
DInsetsSourceProvider.java37 import android.view.InsetsSourceControl;
62 private final InsetsSourceControl mFakeControl;
63 private @Nullable InsetsSourceControl mControl;
93 mFakeControl = new InsetsSourceControl(source.getType(), null /* leash */, in InsetsSourceProvider()
303 mControl = new InsetsSourceControl(mSource.getType(), leash, in updateControlForTarget()
376 InsetsSourceControl getControl(InsetsControlTarget target) { in getControl()
382 return new InsetsSourceControl(mControl.getType(), null /* leash */, in getControl()
DInsetsStateController.java42 import android.view.InsetsSourceControl;
81 InsetsSourceControl[] controls = getControlsForDispatch(this);
85 for (InsetsSourceControl control : controls) {
209 @Nullable InsetsSourceControl[] getControlsForDispatch(InsetsControlTarget target) { in getControlsForDispatch()
215 final InsetsSourceControl[] result = new InsetsSourceControl[size]; in getControlsForDispatch()
DSession.java54 import android.view.InsetsSourceControl;
94 private final InsetsSourceControl[] mDummyControls = new InsetsSourceControl[0];
163 InsetsState outInsetsState, InsetsSourceControl[] outActiveControls) { in addToDisplay()
175 InsetsState outInsetsState, InsetsSourceControl[] outActiveControls) { in addToDisplayAsUser()
208 InsetsSourceControl[] outActiveControls, Point outSurfaceSize, in relayout()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java32 import android.view.InsetsSourceControl;
95 final InsetsSourceControl[] mOutControls = new InsetsSourceControl[0];
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java32 import android.view.InsetsSourceControl;
77 InsetsSourceControl[] activeControls) { in insetsControlChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java34 import android.view.InsetsSourceControl;
186 InsetsSourceControl mImeSourceControl = null;
220 InsetsSourceControl[] activeControls) { in insetsControlChanged()
223 for (InsetsSourceControl activeControl : activeControls) { in insetsControlChanged()
DSystemWindows.java42 import android.view.InsetsSourceControl;
289 InsetsSourceControl[] outActiveControls, Point outSurfaceSize, in relayout()
338 InsetsSourceControl[] activeControls) {} in insetsControlChanged()
/frameworks/base/core/proto/android/view/
Dinsetssourcecontrol.proto27 * Represents a {@link android.view.InsetsSourceControl} object.

12