Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A 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());
/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A 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()
H A DInsetsSourceTest.java222 final int id = InsetsSource.createId(owner, index, type); in testCreateId()
236 final int id = InsetsSource.createId(owner, index, type); in testGetIndex()
254 final int id = InsetsSource.createId(owner, index, type); in testGetType()
H A DInsetsStateTest.java79 private static final int ID_STATUS_BAR = InsetsSource.createId(
81 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
83 private static final int ID_CAPTION_BAR = InsetsSource.createId(
85 private static final int ID_CLIMATE_BAR = InsetsSource.createId(
87 private static final int ID_EXTRA_NAVIGATION_BAR = InsetsSource.createId(
89 private static final int ID_BOTTOM_GESTURES = InsetsSource.createId(
H A DInsetsAnimationControlImplTest.java69 private static final int ID_STATUS_BAR = InsetsSource.createId(
71 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
H A DSurfaceControlViewHostInsetsTest.java74 InsetsSource.createId(null /* owner */, 0 /* index */, statusBars()), statusBars()) in statusBarState()
H A DInsetsSourceConsumerTest.java71 private static final int ID_STATUS_BAR = InsetsSource.createId(
H A DInsetsControllerTest.java101 private static final int ID_STATUS_BAR = InsetsSource.createId(
103 private static final int ID_NAVIGATION_BAR = InsetsSource.createId(
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsSource.java50 public static final int ID_IME = createId(null, 0, ime());
53 InsetsSource.createId(null /* owner */, 1 /* index */, captionBar());
299 public static int createId(Object owner, @IntRange(from = 0, to = 2047) int index, in createId() method in InsetsSource
H A DInsetsFrameProvider.java125 mId = InsetsSource.createId(owner, index, type); in InsetsFrameProvider()
H A DInsetsController.java267 InsetsSource.createId(null /* owner */, 0 /* index */, captionBar());
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A 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());
H A DDisplayPolicyTests.java240 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateLightNavigationBarLw()
311 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testOverlappingWithNavBar()
319 InsetsSource.createId(null, 1, navigationBars()), navigationBars()); in testOverlappingWithExtraNavBar()
H A DInsetsSourceProviderTest.java48 InsetsSource.createId(null, 0, statusBars()), statusBars());
H A DTaskLaunchParamsModifierTests.java1954 state.getOrCreateSource(InsetsSource.createId(null, 0, statusBarType), statusBarType) in configInsetsState()
1958 state.getOrCreateSource(InsetsSource.createId(null, 1, statusBarType), statusBarType) in configInsetsState()
1962 state.getOrCreateSource(InsetsSource.createId(null, 0, navBarType), navBarType) in configInsetsState()
1966 state.getOrCreateSource(InsetsSource.createId(null, 1, navBarType), navBarType) in configInsetsState()
H A DWindowStateTests.java439 final int statusBarId = InsetsSource.createId(null, 0, statusBars()); in testVisibleWithInsetsProvider()
1047 final int navId = InsetsSource.createId(null, 0, navigationBars()); in testImeAlwaysReceivesVisibleNavigationBarInsets()
H A DSizeCompatTests.java3723 InsetsSource.createId(null, 0, navigationBars()), navigationBars());
3771 InsetsSource.createId(null, 0, navigationBars()), navigationBars());
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/compatui/
H A DUserAspectRatioSettingsWindowManagerTest.java269 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateDisplayLayoutInsets()
H A DCompatUIWindowManagerTest.java342 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testUpdateDisplayLayoutInsets()
H A DCompatUIControllerTest.java355 InsetsSource.createId(null, 0, navigationBars()), navigationBars()); in testInsetsChanged()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt62400 Landroid/view/textclassifier/SelectionSessionLogger;->createId(Ljava/lang/String;IILandroid/content…
62658 Landroid/view/textclassifier/TextClassifierImpl;->createId(Ljava/lang/String;II)Ljava/lang/String;