Home
last modified time | relevance | path

Searched refs:ID_IME (Results 1 – 25 of 26) sorted by relevance

12

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DInsetsStateControllerTest.java22 import static android.view.InsetsSource.ID_IME;
89 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_navBar()
92 assertNull(navBar.getInsetsState().peekSource(ID_IME)); in testStripForDispatch_navBar()
110 assertNull(app.getInsetsState().peekSource(ID_IME)); in testStripForDispatch_pip()
149 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_independentSources()
165 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_belowIme()
169 app.mAboveInsetsState.getOrCreateSource(ID_IME, ime()) in testStripForDispatch_belowIme()
180 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_aboveIme()
200 getController().getOrCreateSourceProvider(ID_IME, ime()) in testStripForDispatch_imeOrderChanged()
230 app.mAboveInsetsState.getOrCreateSource(ID_IME, ime()) in testStripForDispatch_imeOrderChanged()
[all …]
H A DImeInsetsSourceProviderTest.java19 import static android.view.InsetsSource.ID_IME;
42 private InsetsSource mImeSource = new InsetsSource(ID_IME, ime());
H A DWindowStateTests.java24 import static android.view.InsetsSource.ID_IME;
1083 assertTrue(app.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps()
1084 assertTrue(app2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps()
1092 assertTrue(app.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps()
1093 assertFalse(app2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps()
1122 assertTrue(app.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps_toAppInMultiWindowMode()
1123 assertFalse(app2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps_toAppInMultiWindowMode()
1133 assertTrue(app.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testAdjustImeInsetsVisibilityWhenSwitchingApps_toAppInMultiWindowMode()
1185 .setSourceVisible(ID_IME, true); in testNotificationShadeHasImeInsetsWhenMultiWindow()
1189 assertNotNull(state.peekSource(ID_IME)); in testNotificationShadeHasImeInsetsWhenMultiWindow()
[all …]
H A DWindowTokenTests.java19 import static android.view.InsetsSource.ID_IME;
267 .getOrCreateSourceProvider(ID_IME, WindowInsets.Type.ime()) in testSetInsetsFrozen_notAffectImeWindowState()
H A DInsetsSourceProviderTest.java19 import static android.view.InsetsSource.ID_IME;
50 private InsetsSource mImeSource = new InsetsSource(ID_IME, ime());
H A DDisplayPolicyTests.java21 import static android.view.InsetsSource.ID_IME;
455 final InsetsSource imeSource = state.peekSource(ID_IME); in testImeMinimalSourceFrame()
478 final InsetsSource imeSource = state.peekSource(ID_IME); in testImeInsetsGivenContentFrame()
H A DDisplayPolicyLayoutTests.java204 realInsetsState.removeSource(InsetsSource.ID_IME); in assertSimulateLayoutSameDisplayFrames()
H A DActivityRecordTests.java52 import static android.view.InsetsSource.ID_IME;
3297 InsetsSource imeSource = new InsetsSource(ID_IME, ime()); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget()
3327 assertTrue(state.peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget()
3328 assertEquals(state.peekSource(ID_IME).getFrame(), imeSource.getFrame()); in testImeInsetsFrozenFlag_resetWhenReportedToBeImeInputTarget()
3353 assertTrue(app1.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest()
3372 assertFalse(app2.getInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in testImeInsetsFrozenFlag_noDispatchVisibleInsetsWhenAppNotRequest()
3422 assertTrue(app1.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_multiWindowActivities()
3423 assertTrue(app2.getInsetsState().peekSource(ID_IME).isVisible()); in testImeInsetsFrozenFlag_multiWindowActivities()
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DInsetsSourceConsumerTest.java21 import static android.view.InsetsSource.ID_IME;
152 ID_IME, ime(), state, null, controller); in testPendingStates()
154 InsetsSource source = new InsetsSource(ID_IME, ime()); in testPendingStates()
161 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()
224 return new InsetsSourceConsumer(ID_IME, ime(), state, in testWontUpdateImeLeashVisibility_whenAnimation()
235 InsetsSourceConsumer imeConsumer = insetsController.getSourceConsumer(ID_IME, ime()); in testWontUpdateImeLeashVisibility_whenAnimation()
238 imeConsumer.setControl(new InsetsSourceControl(ID_IME, ime(), mLeash, in testWontUpdateImeLeashVisibility_whenAnimation()
[all …]
H A DInsetsStateTest.java22 import static android.view.InsetsSource.ID_IME;
100 mState.getOrCreateSource(ID_IME, ime()) in testCalculateInsets()
120 mState.getOrCreateSource(ID_IME, ime()) in testCalculateInsets_imeAndNav()
169 mState.getOrCreateSource(ID_IME, ime()) in testCalculateInsets_imeIgnoredWithoutAdjustResize()
185 mState.getOrCreateSource(ID_IME, ime()) in testCalculateInsets_systemUiFlagLayoutStable()
312 mState.getOrCreateSource(ID_IME, ime()) in testStripForDispatch()
315 mState.removeSource(ID_IME); in testStripForDispatch()
410 mState.getOrCreateSource(ID_IME, ime()) in testEquals_sameButDifferentInsertOrder()
421 mState.getOrCreateSource(ID_IME, ime()) in testEquals_visibility()
490 mState.getOrCreateSource(ID_IME, ime()) in testParcelUnparcel()
[all …]
H A DInsetsControllerTest.java25 import static android.view.InsetsSource.ID_IME;
162 mImeSource = new InsetsSource(ID_IME, ime()); in setup()
294 InsetsSourceControl ime = createControl(ID_IME, ime()); in testApplyImeVisibility()
657 copy.peekSource(ID_IME).setFrame(0, 1, 2, 3); in testFrameUpdateDuringAnimation()
658 copy.peekSource(ID_IME).setVisibleFrame(new Rect(4, 5, 6, 7)); in testFrameUpdateDuringAnimation()
661 mController.getState().peekSource(ID_IME).getFrame()); in testFrameUpdateDuringAnimation()
666 mController.getState().peekSource(ID_IME).getFrame()); in testFrameUpdateDuringAnimation()
898 newState.peekSource(ID_IME).getFrame().top--; in testInsetsChangedCount_onStateChanged()
905 newState.peekSource(ID_IME).setVisible(true); in testInsetsChangedCount_onStateChanged()
917 mController.getSourceConsumer(ID_IME, ime()); in testImeRequestedVisibleWhenImeNotControllable()
[all …]
H A DImeInsetsSourceConsumerTest.java20 import static android.view.InsetsSource.ID_IME;
92 final InsetsSourceControl ime = new InsetsSourceControl(ID_IME, WindowInsets.Type.ime(), in testImeVisibility()
121 InsetsSourceControl control = new InsetsSourceControl(ID_IME, in testImeRequestedVisibleAwaitingControl()
161 InsetsSourceControl control = Mockito.spy(new InsetsSourceControl(ID_IME, in verifyImeGetAndClearSkipAnimationOnce()
H A DWindowLayoutTests.java19 import static android.view.InsetsSource.ID_IME;
290 mState.getOrCreateSource(ID_IME, ime()) in insetParentFrameByIme()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
H A DDisplayImeControllerTest.java20 import static android.view.InsetsSource.ID_IME;
141 ID_IME, ime(), mock(SurfaceControl.class), false, new Point(0, 0), in insetsSourceControl()
148 state.addSource(new InsetsSource(ID_IME, ime())); in insetsStateWithIme()
149 state.setSourceVisible(ID_IME, visible); in insetsStateWithIme()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayImeController.java144 final InsetsSource imeSource = pd.mInsetsState.peekSource(InsetsSource.ID_IME); in isImeShowing()
248 updateImeVisibility(insetsState.isSourceOrDefaultVisible(InsetsSource.ID_IME, in insetsChanged()
251 final InsetsSource newSource = insetsState.peekSource(InsetsSource.ID_IME); in insetsChanged()
254 final InsetsSource oldSource = mInsetsState.peekSource(InsetsSource.ID_IME); in insetsChanged()
357 mInsetsState.setSourceVisible(InsetsSource.ID_IME, visible); in setVisibleDirectly()
388 final InsetsSource imeSource = mInsetsState.peekSource(InsetsSource.ID_IME); in startAnimation()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DInsetsStateController.java21 import static android.view.InsetsSource.ID_IME;
125 provider = id == ID_IME in getOrCreateSourceProvider()
138 return (ImeInsetsSourceProvider) getOrCreateSourceProvider(ID_IME, ime()); in getImeSourceProvider()
142 if (id != ID_IME) { in removeSourceProvider()
H A DImeInsetsSourceProvider.java20 import static android.view.InsetsSource.ID_IME;
60 private final InsetsSource mLastSource = new InsetsSource(ID_IME, WindowInsets.Type.ime());
H A DInsetsPolicy.java24 import static android.view.InsetsSource.ID_IME;
275 state.removeSource(ID_IME); in enforceInsetsPolicyForTarget()
392 final InsetsSource originalImeSource = originalState.peekSource(ID_IME); in adjustVisibilityForIme()
H A DDisplayContent.java52 import static android.view.InsetsSource.ID_IME;
3417 final InsetsSource imeSource = state.peekSource(ID_IME); in getInputMethodWindowVisibleHeight()
4328 ID_IME, ime())); in setImeLayeringTargetInner()
4611 .getRawInsetsState().isSourceOrDefaultVisible(ID_IME, ime())); in updateImeInputAndControlTarget()
/aosp14/frameworks/base/core/java/android/view/
H A DWindowLayout.java19 import static android.view.InsetsSource.ID_IME;
92 final InsetsSource source = state.peekSource(ID_IME); in computeFrames()
H A DInsetsAnimationControlImpl.java36 import static android.view.InsetsSource.ID_IME;
145 idSideMap.put(ID_IME, ISIDE_BOTTOM); in InsetsAnimationControlImpl()
H A DInsetsSource.java50 public static final int ID_IME = createId(null, 0, ime()); field in InsetsSource
H A DInsetsController.java23 import static android.view.InsetsSource.ID_IME;
825 mImeSourceConsumer = getSourceConsumer(ID_IME, ime()); in InsetsController()
H A DInsetsState.java692 final InsetsSource source = mSources.get(InsetsSource.ID_IME); in dumpDebug()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
H A DDividerView.java227 if (!insetsState.isSourceOrDefaultVisible(InsetsSource.ID_IME, WindowInsets.Type.ime())) { in onInsetsChanged()

12