/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsControllerTest.java | 102 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 …]
|
D | ImeInsetsSourceConsumerTest.java | 85 final InsetsSourceControl ime = new InsetsSourceControl(TYPE_IME, mLeash, new Point()); in testImeVisibility() 86 mController.onControlsChanged(new InsetsSourceControl[] { ime }); in testImeVisibility()
|
D | InsetsSourceConsumerTest.java | 85 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()
|
D | InsetsAnimationControlImplTest.java | 107 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/ |
D | InsetsSourceControl.java | 28 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];
|
D | InsetsSourceConsumer.java | 60 private @Nullable InsetsSourceControl mSourceControl; 71 public void setControl(@Nullable InsetsSourceControl control) { in setControl() 86 public InsetsSourceControl getControl() { in getControl()
|
D | IWindow.aidl | 28 import android.view.InsetsSourceControl; 67 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
|
D | InsetsSourceControl.aidl | 19 parcelable InsetsSourceControl;
|
D | InsetsController.java | 102 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()
|
D | InsetsAnimationControlImpl.java | 233 final InsetsSourceControl control = consumer.getControl(); in updateLeashesForSide()
|
D | ViewRootImpl.java | 4512 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/ |
D | InsetsSourceProvider.java | 33 import android.view.InsetsSourceControl; 54 private @Nullable InsetsSourceControl mControl; 166 mControl = new InsetsSourceControl(mSource.getType(), mAdapter.mCapturedLeash, in updateControlForTarget() 197 InsetsSourceControl getControl() { in getControl()
|
D | InsetsStateController.java | 32 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/ |
D | TestIWindow.java | 27 import android.view.InsetsSourceControl; 50 public void insetsControlChanged(InsetsState insetsState, InsetsSourceControl[] activeControls) in insetsControlChanged()
|
D | InsetsStateControllerTest.java | 30 import android.view.InsetsSourceControl; 101 InsetsSourceControl[] controls = getController().getControlsForDispatch(app); in testBarControllingWinChanged()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 29 import android.view.InsetsSourceControl; 63 InsetsSourceControl[] activeControls) throws RemoteException { in insetsControlChanged()
|