Home
last modified time | relevance | path

Searched refs:peekSource (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsStateControllerTest.java92 assertNull(navBar.getInsetsState().peekSource(ID_IME)); in testStripForDispatch_navBar()
93 assertNull(navBar.getInsetsState().peekSource(ID_STATUS_BAR)); in testStripForDispatch_navBar()
108 assertNull(app.getInsetsState().peekSource(ID_STATUS_BAR)); in testStripForDispatch_pip()
109 assertNull(app.getInsetsState().peekSource(ID_NAVIGATION_BAR)); in testStripForDispatch_pip()
110 assertNull(app.getInsetsState().peekSource(ID_IME)); in testStripForDispatch_pip()
125 assertNull(app.getInsetsState().peekSource(ID_STATUS_BAR)); in testStripForDispatch_freeform()
126 assertNull(app.getInsetsState().peekSource(ID_NAVIGATION_BAR)); in testStripForDispatch_freeform()
142 assertNull(app.getInsetsState().peekSource(ID_STATUS_BAR)); in testStripForDispatch_multiwindow_alwaysOnTop()
143 assertNull(app.getInsetsState().peekSource(ID_NAVIGATION_BAR)); in testStripForDispatch_multiwindow_alwaysOnTop()
155 app1.mAboveInsetsState.addSource(getController().getRawInsetsState().peekSource(ID_IME)); in testStripForDispatch_independentSources()
[all …]
DInsetsPolicyTest.java408 assertTrue(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
412 assertTrue(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
425 assertFalse(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
426 assertFalse(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
437 assertFalse(app1.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
438 assertFalse(app2.getInsetsState().peekSource(statusBarId).isVisible()); in testFakeControlTarget_overrideVisibilityReceivedByWindows()
DDisplayPolicyLayoutTests.java219 final Rect frame = mWindow.getInsetsState().peekSource(statusBarId).getFrame(); in testFixedRotationInsetsSourceFrame()
221 final Rect rotatedFrame = mWindow.getInsetsState().peekSource(statusBarId).getFrame(); in testFixedRotationInsetsSourceFrame()
DWindowContainerTests.java1476 window.getInsetsState().peekSource(sourceId1).getFrame()); in testAddLocalInsetsFrameProvider()
1478 window.getInsetsState().peekSource(sourceId2)); in testAddLocalInsetsFrameProvider()
1482 window.getInsetsState().peekSource(sourceId1).getFrame()); in testAddLocalInsetsFrameProvider()
1484 window.getInsetsState().peekSource(sourceId2).getFrame()); in testAddLocalInsetsFrameProvider()
1488 window.getInsetsState().peekSource(sourceId1).getFrame()); in testAddLocalInsetsFrameProvider()
1490 window.getInsetsState().peekSource(sourceId2).getFrame()); in testAddLocalInsetsFrameProvider()
1525 window.getInsetsState().peekSource(sourceId1).getFrame()); in testAddLocalInsetsFrameProvider_sameType_replacesInsets()
1532 window.getInsetsState().peekSource(sourceId2).getFrame()); in testAddLocalInsetsFrameProvider_sameType_replacesInsets()
1591 window.getInsetsState().peekSource(sourceId1)); in testRemoveLocalInsetsFrameProvider()
1593 window.getInsetsState().peekSource(sourceId2)); in testRemoveLocalInsetsFrameProvider()
[all …]
DDisplayPolicyTests.java516 final InsetsSource imeSource = state.peekSource(ID_IME); in testImeMinimalSourceFrame()
517 final InsetsSource navBarSource = state.peekSource( in testImeMinimalSourceFrame()
539 final InsetsSource imeSource = state.peekSource(ID_IME); in testImeInsetsGivenContentFrame()
DActivityRecordTests.java3283 assertTrue(state.peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget()
3284 assertEquals(state.peekSource(ID_IME).getFrame(), imeSource.getFrame()); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget()
3309 assertTrue(app1.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest()
3386 assertTrue(app1.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_multiWindowActivities()
3387 assertTrue(app2.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_multiWindowActivities()
DWindowStateTests.java1234 assertNotNull(state.peekSource(ID_IME)); in testNotificationShadeHasImeInsetsWhenMultiWindow()
/frameworks/base/core/tests/coretests/src/android/view/
DInsetsControllerTest.java442 assertFalse(mController.getState().peekSource(ID_STATUS_BAR).isVisible()); in testRestoreStartsAnimation()
450 assertTrue(mController.getState().peekSource(ID_STATUS_BAR).isVisible()); in testRestoreStartsAnimation()
457 assertFalse(mController.getState().peekSource(ID_STATUS_BAR).isVisible()); in testRestoreStartsAnimation()
468 assertFalse(mController.getState().peekSource(ID_IME).isVisible()); in testStartImeAnimationAfterGettingControl()
479 assertTrue(mController.getState().peekSource(ID_IME).isVisible()); in testStartImeAnimationAfterGettingControl()
489 assertFalse(mController.getState().peekSource(ID_IME).isVisible()); in testStartImeAnimationAfterGettingControl_imeLater()
500 assertTrue(mController.getState().peekSource(ID_IME).isVisible()); in testStartImeAnimationAfterGettingControl_imeLater()
660 copy.peekSource(ID_IME).setFrame(0, 1, 2, 3); in testFrameUpdateDuringAnimation()
661 copy.peekSource(ID_IME).setVisibleFrame(new Rect(4, 5, 6, 7)); in testFrameUpdateDuringAnimation()
664 mController.getState().peekSource(ID_IME).getFrame()); in testFrameUpdateDuringAnimation()
[all …]
DInsetsSourceConsumerTest.java161 assertEquals(new Rect(0, 1, 2, 3), state.peekSource(ID_IME).getFrame()); in testPendingStates()
165 assertEquals(new Rect(4, 5, 6, 7), state.peekSource(ID_IME).getFrame()); in testPendingStates()
170 assertEquals(new Rect(4, 5, 6, 7), state.peekSource(ID_IME).getFrame()); in testPendingStates()
178 assertEquals(new Rect(4, 5, 6, 7), state.peekSource(ID_IME).getFrame()); in testPendingStates()
DInsetsStateTest.java739 insetsState1.peekSource(source2.getId())); in testTraverse()
749 insetsState2.peekSource(source1.getId())); in testTraverse()
/frameworks/base/core/java/android/view/
DInsetsSourceConsumer.java153 final InsetsSource localSource = mState.peekSource(mId); in setControl()
154 final InsetsSource serverSource = mController.getLastDispatchedState().peekSource(mId); in setControl()
236 final InsetsSource source = mState.peekSource(mId); in onAnimationStateChanged()
298 final InsetsSource source = mState.peekSource(mId); in applyLocalVisibilityOverride()
402 InsetsSource source = mState.peekSource(mId); in updateSource()
DWindowLayout.java92 final InsetsSource source = state.peekSource(ID_IME); in computeFrames()
DInsetsState.java152 ? ignoringVisibilityState.peekSource(source.getId()) in calculateInsets()
426 public @Nullable InsetsSource peekSource(int id) { in peekSource() method in InsetsState
DInsetsAnimationControlImpl.java470 final InsetsSource source = mInitialInsetsState.peekSource(control.getId()); in updateLeashesForSide()
DInsetsController.java2106 InsetsSource source = mState.peekSource(ID_IME_CAPTION_BAR); in setImeCaptionBarInsetsHeight()
2157 InsetsSource source = mState.peekSource(consumer.getId()); in calculateControllableTypes()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java146 final InsetsSource imeSource = pd.mInsetsState.peekSource(InsetsSource.ID_IME); in isImeShowing()
257 final InsetsSource newSource = insetsState.peekSource(InsetsSource.ID_IME); in insetsChanged()
260 final InsetsSource oldSource = mInsetsState.peekSource(InsetsSource.ID_IME); in insetsChanged()
441 final var imeSource = mInsetsState.peekSource(InsetsSource.ID_IME); in startAnimation()
460 final InsetsSource imeSource = mInsetsState.peekSource(InsetsSource.ID_IME); in startAnimation()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sysui/
DShellController.java95 InsetsSource oldSource = mInsetsState.peekSource(InsetsSource.ID_IME);
99 InsetsSource newSource = insetsState.peekSource(InsetsSource.ID_IME);
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java390 final InsetsSource originalImeSource = originalState.peekSource(ID_IME); in adjustVisibilityForIme()
404 final InsetsSource originalImeSource = originalState.peekSource(ID_IME); in adjustVisibilityForIme()
DDisplayPolicy.java2074 final InsetsSource source2 = s2.peekSource(source1.getId());
DDisplayContent.java3403 final InsetsSource imeSource = state.peekSource(ID_IME); in getInputMethodWindowVisibleHeight()
/frameworks/base/boot/
Dboot-image-profile.txt16491 HSPLandroid/view/InsetsState;->peekSource(I)Landroid/view/InsetsSource;
/frameworks/base/config/
Dboot-image-profile.txt16555 HSPLandroid/view/InsetsState;->peekSource(I)Landroid/view/InsetsSource;