Home
last modified time | relevance | path

Searched refs:InsetsState (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java19 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 …]
DInsetsAnimationControlImplTest.java19 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()
DInsetsSourceConsumerTest.java19 import static android.view.InsetsState.TYPE_TOP_BAR;
80 mConsumer = new InsetsSourceConsumer(TYPE_TOP_BAR, new InsetsState(), in setup()
DImeInsetsSourceConsumerTest.java20 import static android.view.InsetsState.TYPE_IME;
79 new InsetsState(), Transaction::new, mController); in setup()
DInsetsSourceTest.java19 import static android.view.InsetsState.TYPE_NAVIGATION_BAR;
DInsetsControllerTest.java19 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/
DInsetsStateController.java19 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()
DInsetsSourceProvider.java19 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()
DSession.java50 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()
DTaskSnapshotSurface.java68 import android.view.InsetsState;
151 final InsetsState mTmpInsetsState = new InsetsState(); in create()
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java19 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 …]
DInsetsState.java48 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 …]
DInsetsController.java19 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 …]
DInsetsSourceConsumer.java21 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()
DIWindowSession.aidl31 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()
DIWindow.aidl28 import android.view.InsetsState;
69 void insetsChanged(in InsetsState insetsState); in insetsChanged()
74 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DInsetsState.aidl19 parcelable InsetsState;
DInsetsSource.java23 import android.view.InsetsState.InternalInsetType;
110 pw.print("InsetsSource type="); pw.print(InsetsState.typeToString(mType)); in dump()
DImeInsetsSourceConsumer.java19 import static android.view.InsetsState.TYPE_IME;
48 InsetsState state, Supplier<Transaction> transactionSupplier, in ImeInsetsSourceConsumer()
DInsetsSourceControl.java22 import android.view.InsetsState.InternalInsetType;
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsSourceProviderTest.java19 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()
DInsetsStateControllerTest.java19 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()
DTestIWindow.java29 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/
DBaseIWindow.java33 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/
DMainActivity.java29 import android.view.InsetsState;
110 new SurfaceControl(), new InsetsState()); in slamWm()
138 new InsetsState()); in addWindows()

12