Home
last modified time | relevance | path

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

12345

/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java41 import android.view.InsetsState;
138 final InsetsState state = mStateController.getRawInsetsState(); in hasHiddenSources()
153 final InsetsState rawState = mStateController.getRawInsetsState(); in showTransient()
213 InsetsState adjustInsetsForWindow(WindowState target, InsetsState originalState, in adjustInsetsForWindow()
215 InsetsState state; in adjustInsetsForWindow()
225 InsetsState adjustInsetsForWindow(WindowState target, InsetsState originalState) { in adjustInsetsForWindow()
233 @NonNull InsetsState outInsetsState) { in getInsetsForWindowMetrics()
234 final InsetsState srcState = token != null && token.isFixedRotationTransforming() in getInsetsForWindowMetrics()
265 InsetsState enforceInsetsPolicyForTarget(WindowManager.LayoutParams attrs, in enforceInsetsPolicyForTarget()
267 InsetsState state) { in enforceInsetsPolicyForTarget()
[all …]
DDisplayFrames.java28 import android.view.InsetsState;
45 public final InsetsState mInsetsState;
63 public DisplayFrames(InsetsState insetsState, DisplayInfo info, DisplayCutout cutout, in DisplayFrames()
72 mInsetsState = new InsetsState(); in DisplayFrames()
84 final InsetsState state = mInsetsState; in update()
/frameworks/base/core/tests/coretests/src/android/view/
DSurfaceControlViewHostInsetsTest.java70 private InsetsState statusBarState(boolean visible) { in statusBarState()
71 final InsetsState insetsState = new InsetsState(); in statusBarState()
80 private InsetsState statusBarVisibleState() { in statusBarVisibleState()
84 private void sendInsetsSync(InsetsState s, Rect f) { in sendInsetsSync()
95 final InsetsState insetsState = statusBarVisibleState(); in sendInsetsToSurfaceControlViewHost()
99 final InsetsState insetsState2 = statusBarState(false); in sendInsetsToSurfaceControlViewHost()
106 final InsetsState insetsState = statusBarVisibleState(); in insetsAreRelativeToFrame()
DInsetsControllerTest.java167 InsetsState state = new InsetsState(); in setup()
445 InsetsState state = new InsetsState(mController.getState()); in testRestoreStartsAnimation()
659 InsetsState copy = new InsetsState(mController.getState(), true /* copySources */); in testFrameUpdateDuringAnimation()
685 final InsetsState state1 = new InsetsState(); in testResizeAnimation_withFlagAnimateResizing()
690 final InsetsState state2 = new InsetsState(state1, true /* copySources */); in testResizeAnimation_withFlagAnimateResizing()
736 final InsetsState state1 = new InsetsState(); in testResizeAnimation_withoutFlagAnimateResizing()
741 final InsetsState state2 = new InsetsState(state1, true /* copySources */); in testResizeAnimation_withoutFlagAnimateResizing()
762 final InsetsState state1 = new InsetsState(); in testResizeAnimation_sourceFrame()
765 final InsetsState state2 = new InsetsState(state1, true /* copySources */); in testResizeAnimation_sourceFrame()
790 final InsetsState state1 = new InsetsState(); in testResizeAnimation_displayFrame()
[all …]
DInsetsStateTest.java96 private final InsetsState mState = new InsetsState();
97 private final InsetsState mState2 = new InsetsState();
327 final InsetsState state1 = new InsetsState(); in testEquals()
328 final InsetsState state2 = new InsetsState(); in testEquals()
343 final InsetsState state1 = new InsetsState(); in testEquals_excludesCaptionBar()
344 final InsetsState state2 = new InsetsState(); in testEquals_excludesCaptionBar()
368 final InsetsState state1 = new InsetsState(); in testEquals_excludesInvisibleIme()
369 final InsetsState state2 = new InsetsState(); in testEquals_excludesInvisibleIme()
700 final InsetsState insetsState1 = new InsetsState(); in testTraverse()
705 final InsetsState insetsState2 = new InsetsState(); in testTraverse()
[all …]
DInsetsSourceConsumerTest.java82 private InsetsState mState;
101 mState = new InsetsState(); in setup()
148 InsetsState state = new InsetsState(); in testPendingStates()
220 InsetsState state = new InsetsState(); in testWontUpdateImeLeashVisibility_whenAnimation()
/frameworks/base/core/java/android/view/
DIDisplayWindowInsetsController.aidl21 import android.view.InsetsState;
42 void insetsChanged(in InsetsState insetsState); in insetsChanged()
47 void insetsControlChanged(in InsetsState insetsState, in InsetsSourceControl[] activeControls); in insetsControlChanged()
DInsetsResizeAnimationRunner.java50 private final InsetsState mFromState;
51 private final InsetsState mToState;
59 public InsetsResizeAnimationRunner(Rect frame, InsetsState fromState, InsetsState toState, in InsetsResizeAnimationRunner()
142 public boolean applyChangeInsets(InsetsState outState) { in applyChangeInsets()
147 InsetsState.traverse(mFromState, mToState, new InsetsState.OnTraverseCallbacks() { in applyChangeInsets()
DInsetsState.java65 public class InsetsState implements Parcelable { class
98 public InsetsState() { in InsetsState() method in InsetsState
102 public InsetsState(InsetsState copy) { in InsetsState() method in InsetsState
106 public InsetsState(InsetsState copy, boolean copySources) { in InsetsState() method in InsetsState
120 public WindowInsets calculateInsets(Rect frame, @Nullable InsetsState ignoringVisibilityState, in calculateInsets()
589 public void set(InsetsState other) { in set()
593 public void set(InsetsState other, boolean copySources) { in set()
616 public void set(InsetsState other, @InsetsType int types) { in set()
700 InsetsState state = (InsetsState) o; in equals()
764 public InsetsState(Parcel in) {
[all …]
DISurfaceControlViewHost.aidl21 import android.view.InsetsState;
36 oneway void onInsetsChanged(in InsetsState state, in Rect insetFrame); in onInsetsChanged()
DIWindow.aidl28 import android.view.InsetsState;
63 in MergedConfiguration newMergedConfiguration, in InsetsState insetsState, in resized()
71 void insetsControlChanged(in InsetsState insetsState, in insetsControlChanged()
DWindowRelayoutResult.java52 public final InsetsState insetsState;
70 new InsetsState(), new InsetsSourceControl.Array()); in WindowRelayoutResult()
86 @NonNull SurfaceControl surfaceControl, @NonNull InsetsState insetsState, in WindowRelayoutResult()
DInsetsController.java617 private final InsetsState mState = new InsetsState();
620 private final InsetsState mLastDispatchedState = new InsetsState();
688 private final InsetsState.OnTraverseCallbacks mRemoveGoneSources =
689 new InsetsState.OnTraverseCallbacks() {
704 public void onFinish(InsetsState state1, InsetsState state2) {
712 private final InsetsState.OnTraverseCallbacks mStartResizingAnimationIfNeeded =
713 new InsetsState.OnTraverseCallbacks() {
716 private InsetsState mFromState;
717 private InsetsState mToState;
720 public void onStart(InsetsState state1, InsetsState state2) {
[all …]
DIWindowSession.aidl34 import android.view.InsetsState;
66 out InputChannel outInputChannel, out InsetsState insetsState, in addToDisplay()
71 out InputChannel outInputChannel, out InsetsState insetsState, in addToDisplayAsUser()
75 in int viewVisibility, in int layerStackId, out InsetsState insetsState, in addToDisplayWithoutInputChannel()
94 out InsetsState insetsState, out InsetsSourceControl.Array activeControls, in relayoutLegacy()
/frameworks/base/core/java/android/app/servertransaction/
DWindowStateInsetsControlChangeItem.java28 import android.view.InsetsState;
42 private InsetsState mInsetsState;
70 @NonNull InsetsState insetsState, @NonNull InsetsSourceControl.Array activeControls) { in obtain()
77 instance.mInsetsState = new InsetsState(insetsState, true /* copySources */); in obtain()
109 mInsetsState = in.readTypedObject(InsetsState.CREATOR); in WindowStateInsetsControlChangeItem()
DWindowStateResizeItem.java30 import android.view.InsetsState;
47 private InsetsState mInsetsState;
83 @NonNull MergedConfiguration configuration, @NonNull InsetsState insetsState, in obtain()
95 instance.mInsetsState = new InsetsState(insetsState, true /* copySources */); in obtain()
148 mInsetsState = in.readTypedObject(InsetsState.CREATOR); in WindowStateResizeItem()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayImeControllerTest.java39 import android.view.InsetsState;
141 mPerDisplay.insetsControlChanged(new InsetsState(), new InsetsSourceControl[]{}); in insetsControlChanged_updateImeSourceControl()
153 private InsetsState insetsStateWithIme(boolean visible) { in insetsStateWithIme()
154 InsetsState state = new InsetsState(); in insetsStateWithIme()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayInsetsController.java27 import android.view.InsetsState;
139 private void insetsChanged(InsetsState insetsState) { in insetsChanged()
150 private void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
224 public void insetsChanged(InsetsState insetsState) throws RemoteException { in insetsChanged()
231 public void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
285 default void insetsChanged(InsetsState insetsState) {} in insetsChanged()
290 default void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
DDisplayController.java31 import android.view.InsetsState;
116 public InsetsState getInsetsState(int displayId) { in getInsetsState()
124 public void updateDisplayInsets(int displayId, InsetsState state) { in updateDisplayInsets()
298 private InsetsState mInsetsState = new InsetsState();
310 private void setInsets(InsetsState state) { in setInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java41 import android.view.InsetsState;
126 private DisplayFrames createDisplayFrames(InsetsState insetsState) { in createDisplayFrames()
185 final InsetsState simulatedInsetsState = new InsetsState(); in assertSimulateLayoutSameDisplayFrames()
200 final InsetsState realInsetsState = new InsetsState( in assertSimulateLayoutSameDisplayFrames()
DTestIWindow.java28 import android.view.InsetsState;
49 MergedConfiguration mergedConfig, InsetsState insetsState, boolean forceLayout, in resized()
55 public void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
/frameworks/base/core/tests/benchmarks/src/android/os/
DParcelableBenchmark.java24 import android.view.InsetsState;
62 final InsetsState insetsState = new InsetsState(); in timeReadWriteInsetsState()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindow.java42 import android.view.InsetsState;
95 final InsetsState topWindowInsetsState = info.topOpaqueWindowInsetsState; in create()
123 final InsetsState tmpInsetsState = new InsetsState(); in create()
224 MergedConfiguration mergedConfiguration, InsetsState insetsState, in resized()
/frameworks/base/core/java/com/android/internal/view/
DBaseIWindow.java30 import android.view.InsetsState;
54 MergedConfiguration mergedConfiguration, InsetsState insetsState, boolean forceLayout, in resized()
66 public void insetsControlChanged(InsetsState insetsState, in insetsControlChanged()
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/
DWindowAddRemovePerfTest.java32 import android.view.InsetsState;
88 final InsetsState mOutInsetsState = new InsetsState();

12345