Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java102 InsetsSourceControl control = new InsetsSourceControl(TYPE_TOP_BAR, mLeash, new Point()); in testControlsChanged()
103 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testControlsChanged()
110 InsetsSourceControl control = new InsetsSourceControl(TYPE_TOP_BAR, mLeash, new Point()); in testControlsRevoked()
111 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testControlsRevoked()
112 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked()
118 InsetsSourceControl control = new InsetsSourceControl(TYPE_TOP_BAR, mLeash, new Point()); in testControlsRevoked_duringAnim()
119 mController.onControlsChanged(new InsetsSourceControl[] { control }); in testControlsRevoked_duringAnim()
125 mController.onControlsChanged(new InsetsSourceControl[0]); in testControlsRevoked_duringAnim()
142 InsetsSourceControl[] controls = prepareControls(); in testAnimationEndState()
143 InsetsSourceControl navBar = controls[0]; in testAnimationEndState()
[all …]
DImeInsetsSourceConsumerTest.java85 final InsetsSourceControl ime = new InsetsSourceControl(TYPE_IME, mLeash, new Point()); in testImeVisibility()
86 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
DInsetsSourceConsumerTest.java85 mConsumer.setControl(new InsetsSourceControl(TYPE_TOP_BAR, mLeash, new Point())); in setup()
107 mConsumer.setControl(new InsetsSourceControl(TYPE_TOP_BAR, mLeash, new Point())); in testRestore()
DInsetsAnimationControlImplTest.java107 topConsumer.setControl(new InsetsSourceControl(TYPE_TOP_BAR, mTopLeash, new Point(0, 0))); in setup()
112 navConsumer.setControl(new InsetsSourceControl(TYPE_NAVIGATION_BAR, mNavLeash, in setup()
/frameworks/base/core/java/android/view/
DInsetsSourceControl.java28 public class InsetsSourceControl implements Parcelable { class
34 public InsetsSourceControl(@InternalInsetType int type, SurfaceControl leash, in InsetsSourceControl() method in InsetsSourceControl
49 public InsetsSourceControl(Parcel in) { in InsetsSourceControl() method in InsetsSourceControl
79 public static final @android.annotation.NonNull Creator<InsetsSourceControl> CREATOR
80 = new Creator<InsetsSourceControl>() {
81 public InsetsSourceControl createFromParcel(Parcel in) {
82 return new InsetsSourceControl(in);
85 public InsetsSourceControl[] newArray(int size) {
86 return new InsetsSourceControl[size];
DInsetsSourceConsumer.java60 private @Nullable InsetsSourceControl mSourceControl;
71 public void setControl(@Nullable InsetsSourceControl control) { in setControl()
86 public InsetsSourceControl getControl() { in getControl()
DIWindow.aidl28 import android.view.InsetsSourceControl;
67 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DInsetsSourceControl.aidl19 parcelable InsetsSourceControl;
DInsetsController.java102 private final SparseArray<InsetsSourceControl> mTmpControlArray = new SparseArray<>();
194 public void onControlsChanged(InsetsSourceControl[] activeControls) { in onControlsChanged()
196 for (InsetsSourceControl activeControl : activeControls) { in onControlsChanged()
207 final InsetsSourceControl control = mTmpControlArray.get(consumer.getType()); in onControlsChanged()
216 final InsetsSourceControl control = mTmpControlArray.valueAt(i); in onControlsChanged()
DInsetsAnimationControlImpl.java233 final InsetsSourceControl control = consumer.getControl(); in updateLeashesForSide()
DViewRootImpl.java4512 mInsetsController.onControlsChanged((InsetsSourceControl[]) args.arg2); in handleMessage()
7284 InsetsSourceControl[] activeControls) { in dispatchInsetsControlChanged()
8379 InsetsSourceControl[] activeControls) { in insetsControlChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsSourceProvider.java33 import android.view.InsetsSourceControl;
54 private @Nullable InsetsSourceControl mControl;
166 mControl = new InsetsSourceControl(mSource.getType(), mAdapter.mCapturedLeash, in updateControlForTarget()
197 InsetsSourceControl getControl() { in getControl()
DInsetsStateController.java32 import android.view.InsetsSourceControl;
90 @Nullable InsetsSourceControl[] getControlsForDispatch(WindowState target) { in getControlsForDispatch()
96 final InsetsSourceControl[] result = new InsetsSourceControl[size]; in getControlsForDispatch()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTestIWindow.java27 import android.view.InsetsSourceControl;
50 public void insetsControlChanged(InsetsState insetsState, InsetsSourceControl[] activeControls) in insetsControlChanged()
DInsetsStateControllerTest.java30 import android.view.InsetsSourceControl;
101 InsetsSourceControl[] controls = getController().getControlsForDispatch(app); in testBarControllingWinChanged()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java29 import android.view.InsetsSourceControl;
63 InsetsSourceControl[] activeControls) throws RemoteException { in insetsControlChanged()