Home
last modified time | relevance | path

Searched refs:captionBar (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsStateTest.java30 import static android.view.WindowInsets.Type.captionBar;
86 null /* owner */, 0 /* index */, captionBar());
94 null /* owner */, 2 /* index */, captionBar());
247 mState.getOrCreateSource(ID_CAPTION_BAR, captionBar()) in testCalculateInsets_captionStatusBarOverlap()
259 mState.getOrCreateSource(ID_CAPTION_BAR, captionBar()) in testCalculateInsets_captionBarOffset()
346 state1.addSource(new InsetsSource(ID_CAPTION_BAR, captionBar()).setFrame(0, 0, 0, 5)); in testEquals_excludesCaptionBar()
352 state2.addSource(new InsetsSource(ID_CAPTION_BAR, captionBar()).setFrame(0, 0, 0, 10)); in testEquals_excludesCaptionBar()
451 mState.getOrCreateSource(ID_CAPTION_BAR, captionBar()) in testEquals_sameBoundingRects()
455 mState2.getOrCreateSource(ID_CAPTION_BAR, captionBar()) in testEquals_sameBoundingRects()
463 mState.getOrCreateSource(ID_CAPTION_BAR, captionBar()) in testEquals_differentBoundingRects()
[all …]
DInsetsSourceTest.java23 import static android.view.WindowInsets.Type.captionBar;
57 ID_IME_CAPTION_BAR, captionBar());
58 private final InsetsSource mCaptionSource = new InsetsSource(2 /* id */, captionBar());
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DWindowDecorationTests.java21 import static android.view.WindowInsets.Type.captionBar;
261 eq(WindowInsets.Type.captionBar()), in testLayoutResultCalculation_visibleFocusedTask()
568 eq(0) /* index */, eq(captionBar()), any(), any()); in testInsetsAddedWhenCaptionIsVisible()
625 mInsetsState.getOrCreateSource(STATUS_BAR_INSET_SOURCE_ID, captionBar()).setVisible(true); in testRelayout_captionHidden_insetsRemoved()
629 mInsetsState.getOrCreateSource(STATUS_BAR_INSET_SOURCE_ID, captionBar()).setVisible(false); in testRelayout_captionHidden_insetsRemoved()
633 eq(0) /* index */, eq(captionBar())); in testRelayout_captionHidden_insetsRemoved()
652 mInsetsState.getOrCreateSource(STATUS_BAR_INSET_SOURCE_ID, captionBar()).setVisible(false); in testRelayout_captionHidden_neverWasVisible_insetsNotRemoved()
657 eq(0) /* index */, eq(captionBar()), any(), any()); in testRelayout_captionHidden_neverWasVisible_insetsNotRemoved()
662 any(), eq(0) /* index */, eq(captionBar())); in testRelayout_captionHidden_neverWasVisible_insetsNotRemoved()
681 mInsetsState.getOrCreateSource(STATUS_BAR_INSET_SOURCE_ID, captionBar()).setVisible(true); in testClose_withExistingInsets_insetsRemoved()
[all …]
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/inputmethodservice/
DInputMethodServiceTest.java19 import static android.view.WindowInsets.Type.captionBar;
615 .getRootWindowInsets().getInsetsIgnoringVisibility(captionBar())); in testNoNavigationBar_thenImeNoCaptionBar()
646 .getInsetsController().hide(captionBar())); in testShowHideImeNavigationBar_doesDrawImeNavBar()
652 .getInsetsController().show(captionBar())); in testShowHideImeNavigationBar_doesDrawImeNavBar()
683 .getInsetsController().hide(captionBar())); in testShowHideImeNavigationBar_doesNotDrawImeNavBar()
689 .getInsetsController().show(captionBar())); in testShowHideImeNavigationBar_doesNotDrawImeNavBar()
/frameworks/base/core/java/android/view/
DInsetsSource.java24 import static android.view.WindowInsets.Type.captionBar;
75 InsetsSource.createId(null /* owner */, 1 /* index */, captionBar());
297 if (getType() == WindowInsets.Type.captionBar()) { in calculateInsets()
383 if (getType() == WindowInsets.Type.captionBar()) { in calculateBoundingRects()
DInsetsState.java26 import static android.view.WindowInsets.Type.captionBar;
727 && (excludesCaptionBar && thisSource.getType() == captionBar() in equals()
740 && (excludesCaptionBar && thatSource.getType() == captionBar() in equals()
DInsetsController.java28 import static android.view.WindowInsets.Type.captionBar;
270 InsetsSource.createId(null /* owner */, 0 /* index */, captionBar());
2111 mState.getOrCreateSource(ID_IME_CAPTION_BAR, captionBar()) in setImeCaptionBarInsetsHeight()
2113 getSourceConsumer(ID_IME_CAPTION_BAR, captionBar()).setControl( in setImeCaptionBarInsetsHeight()
2114 new InsetsSourceControl(ID_IME_CAPTION_BAR, captionBar(), in setImeCaptionBarInsetsHeight()
DWindowInsets.java1899 public static @InsetsType int captionBar() { in captionBar() method in WindowInsets.Type
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DWindowDecoration.java22 import static android.view.WindowInsets.Type.captionBar;
762 wct.addInsetsSource(mToken, mOwner, INDEX, captionBar(), mFrame, mBoundingRects); in addOrUpdate()
768 wct.removeInsetsSource(mToken, mOwner, INDEX, captionBar()); in remove()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTaskController.java538 WindowInsets.Type.captionBar(), mCaptionInsets, null /* boundingRects */); in applyCaptionInsetsIfNeeded()
541 WindowInsets.Type.captionBar()); in applyCaptionInsetsIfNeeded()
/frameworks/base/core/java/android/inputmethodservice/
DNavigationBarController.java20 import static android.view.WindowInsets.Type.captionBar;
263 boolean visible = insets.isVisible(captionBar()); in installNavigationBarFrameIfNecessary()
/frameworks/base/services/core/java/com/android/server/wm/
DInsetsPolicy.java297 if (state.sourceAt(i).getType() == Type.captionBar()) { in enforceInsetsPolicyForTarget()
320 int types = WindowInsets.Type.captionBar(); in enforceInsetsPolicyForTarget()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/data/repository/
DStatusBarModeRepositoryImplTest.kt199 WindowInsets.Type.statusBars().or(WindowInsets.Type.captionBar()), in isTransientShown_commandQueueAbort_statusBarAndOtherTypes_false()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt18381 HSPLandroid/view/WindowInsets$Type;->captionBar()I
/frameworks/base/config/
Dboot-image-profile.txt18445 HSPLandroid/view/WindowInsets$Type;->captionBar()I
/frameworks/base/core/api/
Dcurrent.txt54380 method public static int captionBar();