/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsStateTest.java | 19 import static android.view.InsetsState.INSET_SIDE_BOTTOM; 20 import static android.view.InsetsState.INSET_SIDE_TOP; 21 import static android.view.InsetsState.TYPE_IME; 22 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 23 import static android.view.InsetsState.TYPE_SIDE_BAR_1; 24 import static android.view.InsetsState.TYPE_SIDE_BAR_2; 25 import static android.view.InsetsState.TYPE_SIDE_BAR_3; 26 import static android.view.InsetsState.TYPE_TOP_BAR; 61 private InsetsState mState = new InsetsState(); 62 private InsetsState mState2 = new InsetsState(); [all …]
|
D | InsetsAnimationControlImplTest.java | 19 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 20 import static android.view.InsetsState.TYPE_TOP_BAR; 75 private InsetsState mInsetsState; 102 mInsetsState = new InsetsState(); in setup() 134 mController.applyChangeInsets(new InsetsState()); in testChangeInsets()
|
D | InsetsSourceConsumerTest.java | 19 import static android.view.InsetsState.TYPE_TOP_BAR; 80 mConsumer = new InsetsSourceConsumer(TYPE_TOP_BAR, new InsetsState(), in setup()
|
D | ImeInsetsSourceConsumerTest.java | 20 import static android.view.InsetsState.TYPE_IME; 79 new InsetsState(), Transaction::new, mController); in setup()
|
D | InsetsSourceTest.java | 19 import static android.view.InsetsState.TYPE_NAVIGATION_BAR;
|
D | InsetsControllerTest.java | 19 import static android.view.InsetsState.TYPE_IME; 20 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 21 import static android.view.InsetsState.TYPE_TOP_BAR;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InsetsStateController.java | 19 import static android.view.InsetsState.TYPE_IME; 20 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 21 import static android.view.InsetsState.TYPE_TOP_BAR; 33 import android.view.InsetsState; 45 private final InsetsState mLastState = new InsetsState(); 46 private final InsetsState mState = new InsetsState(); 71 InsetsState getInsetsForDispatch(WindowState target) { in getInsetsForDispatch() 77 final InsetsState state = new InsetsState(); in getInsetsForDispatch() 125 void onInsetsModified(WindowState windowState, InsetsState state) { in onInsetsModified() 236 pw.println(InsetsState.typeToString(mTypeWinControlMap.keyAt(i)) + " -> " in dump()
|
D | InsetsSourceProvider.java | 19 import static android.view.InsetsState.TYPE_IME; 20 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 21 import static android.view.InsetsState.TYPE_TOP_BAR; 34 import android.view.InsetsState; 72 mClientVisible = InsetsState.getDefaultVisibility(source.getType()); in InsetsSourceProvider() 162 setClientVisible(InsetsState.getDefaultVisibility(mSource.getType())); in updateControlForTarget() 231 setClientVisible(InsetsState.getDefaultVisibility(mSource.getType())); in onAnimationCancelled()
|
D | Session.java | 50 import android.view.InsetsState; 158 InsetsState outInsetsState) { in addToDisplay() 167 InsetsState outInsetsState) { in addToDisplayWithoutInputChannel() 190 SurfaceControl outSurfaceControl, InsetsState outInsetsState) { in relayout() 461 public void insetsModified(IWindow window, InsetsState state) { in insetsModified()
|
D | TaskSnapshotSurface.java | 68 import android.view.InsetsState; 151 final InsetsState mTmpInsetsState = new InsetsState(); in create()
|
/frameworks/base/core/java/android/view/ |
D | InsetsAnimationControlImpl.java | 19 import static android.view.InsetsState.INSET_SIDE_BOTTOM; 20 import static android.view.InsetsState.INSET_SIDE_LEFT; 21 import static android.view.InsetsState.INSET_SIDE_RIGHT; 22 import static android.view.InsetsState.INSET_SIDE_TOP; 23 import static android.view.InsetsState.toPublicType; 34 import android.view.InsetsState.InsetSide; 66 private final InsetsState mInitialInsetsState; 80 InsetsState state, WindowInsetsAnimationControlListener listener, in InsetsAnimationControlImpl() 89 mInitialInsetsState = new InsetsState(state, true /* copySources */); in InsetsAnimationControlImpl() 145 public boolean applyChangeInsets(InsetsState state) { in applyChangeInsets() [all …]
|
D | InsetsState.java | 48 public class InsetsState implements Parcelable { class 127 public InsetsState() { in InsetsState() method in InsetsState 130 public InsetsState(InsetsState copy) { in InsetsState() method in InsetsState 134 public InsetsState(InsetsState copy, boolean copySources) { in InsetsState() method in InsetsState 274 public void set(InsetsState other) { in set() 278 public void set(InsetsState other, boolean copySources) { in set() 396 InsetsState state = (InsetsState) o; in equals() 422 public InsetsState(Parcel in) { in InsetsState() method in InsetsState 440 …lic static final @android.annotation.NonNull Creator<InsetsState> CREATOR = new Creator<InsetsStat… 442 public InsetsState createFromParcel(Parcel in) { [all …]
|
D | InsetsController.java | 19 import static android.view.InsetsState.TYPE_IME; 20 import static android.view.InsetsState.toPublicType; 38 import android.view.InsetsState.InternalInsetType; 95 private final InsetsState mState = new InsetsState(); 96 private final InsetsState mTmpState = new InsetsState(); 128 InsetsState state = new InsetsState(mState, true /* copySources */); in InsetsController() 157 public InsetsState getState() { in getState() 161 boolean onStateChanged(InsetsState state) { in onStateChanged() 231 final ArraySet<Integer> internalTypes = InsetsState.toInternalType(types); in show() 247 typesReady |= InsetsState.toPublicType(consumer.getType()); in show() [all …]
|
D | InsetsSourceConsumer.java | 21 import android.view.InsetsState.InternalInsetType; 59 private final InsetsState mState; 62 public InsetsSourceConsumer(@InternalInsetType int type, InsetsState state, in InsetsSourceConsumer() 68 mVisible = InsetsState.getDefaultVisibility(type); in InsetsSourceConsumer()
|
D | IWindowSession.aidl | 31 import android.view.InsetsState; 47 out InsetsState insetsState); in addToDisplay() 50 out Rect outStableInsets, out InsetsState insetsState); in addToDisplayWithoutInputChannel() 106 out InsetsState insetsState); in relayout() 297 void insetsModified(IWindow window, in InsetsState state); in insetsModified()
|
D | IWindow.aidl | 28 import android.view.InsetsState; 69 void insetsChanged(in InsetsState insetsState); in insetsChanged() 74 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
|
D | InsetsState.aidl | 19 parcelable InsetsState;
|
D | InsetsSource.java | 23 import android.view.InsetsState.InternalInsetType; 110 pw.print("InsetsSource type="); pw.print(InsetsState.typeToString(mType)); in dump()
|
D | ImeInsetsSourceConsumer.java | 19 import static android.view.InsetsState.TYPE_IME; 48 InsetsState state, Supplier<Transaction> transactionSupplier, in ImeInsetsSourceConsumer()
|
D | InsetsSourceControl.java | 22 import android.view.InsetsState.InternalInsetType;
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | InsetsSourceProviderTest.java | 19 import static android.view.InsetsState.TYPE_TOP_BAR; 32 import android.view.InsetsState; 108 InsetsState state = new InsetsState(); in testInsetsModified() 120 InsetsState state = new InsetsState(); in testInsetsModified_noControl()
|
D | InsetsStateControllerTest.java | 19 import static android.view.InsetsState.TYPE_IME; 20 import static android.view.InsetsState.TYPE_NAVIGATION_BAR; 21 import static android.view.InsetsState.TYPE_TOP_BAR; 31 import android.view.InsetsState; 77 assertEquals(new InsetsState(), getController().getInsetsForDispatch(topBar)); in testStripForDispatch_own() 89 assertEquals(new InsetsState(), getController().getInsetsForDispatch(navBar)); in testStripForDispatch_navBar()
|
D | TestIWindow.java | 29 import android.view.InsetsState; 51 public void insetsChanged(InsetsState insetsState) throws RemoteException { in insetsChanged() 55 public void insetsControlChanged(InsetsState insetsState, InsetsSourceControl[] activeControls) in insetsControlChanged()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | BaseIWindow.java | 33 import android.view.InsetsState; 69 public void insetsChanged(InsetsState insetsState) { in insetsChanged() 73 public void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
|
/frameworks/base/tests/WindowManagerStressTest/src/test/windowmanagerstresstest/ |
D | MainActivity.java | 29 import android.view.InsetsState; 110 new SurfaceControl(), new InsetsState()); in slamWm() 138 new InsetsState()); in addWindows()
|