Home
last modified time | relevance | path

Searched refs:createId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayFrames.java19 import static android.view.InsetsSource.createId;
40 private static final int ID_DISPLAY_CUTOUT_LEFT = createId(null, 0, displayCutout());
41 private static final int ID_DISPLAY_CUTOUT_TOP = createId(null, 1, displayCutout());
42 private static final int ID_DISPLAY_CUTOUT_RIGHT = createId(null, 2, displayCutout());
43 private static final int ID_DISPLAY_CUTOUT_BOTTOM = createId(null, 3, displayCutout());
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsModifierTestsBase.java86 state.getOrCreateSource(InsetsSource.createId(null, 0, statusBarType), statusBarType) in configInsetsState()
90 state.getOrCreateSource(InsetsSource.createId(null, 1, statusBarType), statusBarType) in configInsetsState()
94 state.getOrCreateSource(InsetsSource.createId(null, 0, navBarType), navBarType) in configInsetsState()
98 state.getOrCreateSource(InsetsSource.createId(null, 1, navBarType), navBarType) in configInsetsState()
DInsetsStateControllerTest.java68 InsetsSource.createId(null /* owner */, 0 /* index */, statusBars());
70 InsetsSource.createId(null /* owner */, 0 /* index */, navigationBars());
72 InsetsSource.createId(null /* owner */, 1 /* index */, statusBars());
74 InsetsSource.createId(null /* owner */, 1 /* index */, navigationBars());
DDisplayPolicyTests.java243 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateLightNavigationBarLw()
334 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testOverlappingWithNavBar()
342 InsetsSource.createId(null, 1, navigationBars()), navigationBars()); in testOverlappingWithExtraNavBar()
DInsetsSourceProviderTest.java49 InsetsSource.createId(null, 0, statusBars()), statusBars());
DWindowStateTests.java467 final int statusBarId = InsetsSource.createId(null, 0, statusBars()); in testVisibleWithInsetsProvider()
1092 final int navId = InsetsSource.createId(null, 0, navigationBars()); in testImeAlwaysReceivesVisibleNavigationBarInsets()
DSizeCompatTests.java3584 InsetsSource.createId(null, 0, navigationBars()), navigationBars());
3633 InsetsSource.createId(null, 0, navigationBars()), navigationBars());
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java66 private static final int ID_STATUS_BAR = InsetsSource.createId(
68 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
118 mState.getOrCreateSource(InsetsSource.createId(null, 0, displayCutout()), displayCutout()) in addDisplayCutout()
120 mState.getOrCreateSource(InsetsSource.createId(null, 1, displayCutout()), displayCutout()) in addDisplayCutout()
122 mState.getOrCreateSource(InsetsSource.createId(null, 2, displayCutout()), displayCutout()) in addDisplayCutout()
124 mState.getOrCreateSource(InsetsSource.createId(null, 3, displayCutout()), displayCutout()) in addDisplayCutout()
DInsetsStateTest.java81 private static final int ID_STATUS_BAR = InsetsSource.createId(
83 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
85 private static final int ID_CAPTION_BAR = InsetsSource.createId(
87 private static final int ID_CLIMATE_BAR = InsetsSource.createId(
89 private static final int ID_EXTRA_NAVIGATION_BAR = InsetsSource.createId(
91 private static final int ID_BOTTOM_GESTURES = InsetsSource.createId(
93 private static final int ID_EXTRA_CAPTION_BAR = InsetsSource.createId(
DInsetsSourceTest.java238 final int id = InsetsSource.createId(owner, index, type); in testCreateId()
252 final int id = InsetsSource.createId(owner, index, type); in testGetIndex()
270 final int id = InsetsSource.createId(owner, index, type); in testGetType()
DSurfaceControlViewHostInsetsTest.java74 InsetsSource.createId(null /* owner */, 0 /* index */, statusBars()), statusBars()) in statusBarState()
DInsetsAnimationControlImplTest.java69 private static final int ID_STATUS_BAR = InsetsSource.createId(
71 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
DInsetsSourceConsumerTest.java71 private static final int ID_STATUS_BAR = InsetsSource.createId(
DInsetsControllerTest.java104 private static final int ID_STATUS_BAR = InsetsSource.createId(
106 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
/frameworks/base/core/java/android/view/
DInsetsSource.java71 public static final int ID_IME = createId(null, 0, ime());
75 InsetsSource.createId(null /* owner */, 1 /* index */, captionBar());
506 public static int createId(Object owner, @IntRange(from = 0, to = 2047) int index, in createId() method in InsetsSource
DInsetsFrameProvider.java132 mId = InsetsSource.createId(owner, index, type); in InsetsFrameProvider()
DInsetsController.java270 InsetsSource.createId(null /* owner */, 0 /* index */, captionBar());
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
DCompatUIWindowManagerTest.java118 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in setUp()
384 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateDisplayLayoutInsets()
531 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testShouldShowSizeCompatRestartButton()
DUserAspectRatioSettingsWindowManagerTest.java126 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in setUp()
347 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateDisplayLayoutInsets()
DCompatUIControllerTest.java355 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testInsetsChanged()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt61757 Landroid/view/textclassifier/SelectionSessionLogger;->createId(Ljava/lang/String;IILandroid/content…
62015 Landroid/view/textclassifier/TextClassifierImpl;->createId(Ljava/lang/String;II)Ljava/lang/String;