Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DInsetsFrameProvider.java44 public class InsetsFrameProvider implements Parcelable { class
130 public InsetsFrameProvider(Object owner, @IntRange(from = 0, to = 2047) int index, in InsetsFrameProvider() method in InsetsFrameProvider
156 public InsetsFrameProvider setSource(int source) { in setSource()
165 public InsetsFrameProvider setFlags(@Flags int flags, @Flags int mask) { in setFlags()
178 public InsetsFrameProvider setInsetsSize(Insets insetsSize) { in setInsetsSize()
187 public InsetsFrameProvider setArbitraryRectangle(Rect rect) { in setArbitraryRectangle()
196 public InsetsFrameProvider setInsetsSizeOverrides(InsetsSizeOverride[] insetsSizeOverrides) { in setInsetsSizeOverrides()
205 public InsetsFrameProvider setMinimalInsetsSizeInDisplayCutoutSafe( in setMinimalInsetsSizeInDisplayCutoutSafe()
218 public InsetsFrameProvider setBoundingRects(@Nullable Rect[] boundingRects) { in setBoundingRects()
278 public InsetsFrameProvider(Parcel in) { in InsetsFrameProvider() method in InsetsFrameProvider
[all …]
DWindowManager.java4603 public InsetsFrameProvider[] providedInsets;
5238 providedInsets = in.createTypedArray(InsetsFrameProvider.CREATOR); in LayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowController.java42 import android.view.InsetsFrameProvider;
239 final InsetsFrameProvider gestureInsetsProvider =
240 new InsetsFrameProvider(mInsetsSourceOwner, 0, mandatorySystemGestures());
247 lp.providedInsets = new InsetsFrameProvider[] {
248 new InsetsFrameProvider(mInsetsSourceOwner, 0, statusBars())
250 new InsetsFrameProvider(mInsetsSourceOwner, 0, tappableElement())
323 InsetsFrameProvider[] providers = mLpChanged.paramsForRotation[rot].providedInsets;
325 for (InsetsFrameProvider provider : providers) {
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DInsetsPolicyTest.java46 import android.view.InsetsFrameProvider;
496 win.mAttrs.providedInsets = new InsetsFrameProvider[] { in addNavigationBar()
497 new InsetsFrameProvider(owner, 0, WindowInsets.Type.navigationBars()), in addNavigationBar()
498 new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), in addNavigationBar()
499 new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) in addNavigationBar()
509 win.mAttrs.providedInsets = new InsetsFrameProvider[] { in addStatusBar()
510 new InsetsFrameProvider(owner, 0, WindowInsets.Type.statusBars()), in addStatusBar()
511 new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), in addStatusBar()
512 new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) in addStatusBar()
DDisplayPolicyLayoutTests.java39 import android.view.InsetsFrameProvider;
151 win.mAttrs.providedInsets = new InsetsFrameProvider[] { in addingWindow_withInsetsTypes()
152 new InsetsFrameProvider(owner, 0, WindowInsets.Type.statusBars()), in addingWindow_withInsetsTypes()
153 new InsetsFrameProvider(owner, 0, WindowInsets.Type.systemGestures()) in addingWindow_withInsetsTypes()
DWindowContainerTests.java83 import android.view.InsetsFrameProvider;
966 final InsetsFrameProvider provider1 = in addLocalInsets()
967 new InsetsFrameProvider(owner, 1, WindowInsets.Type.systemOverlays()) in addLocalInsets()
1453 final InsetsFrameProvider provider1 = in testAddLocalInsetsFrameProvider()
1454 new InsetsFrameProvider(owner, 1, WindowInsets.Type.systemOverlays()) in testAddLocalInsetsFrameProvider()
1456 final InsetsFrameProvider provider2 = in testAddLocalInsetsFrameProvider()
1457 new InsetsFrameProvider(owner, 2, WindowInsets.Type.systemOverlays()) in testAddLocalInsetsFrameProvider()
1513 final InsetsFrameProvider provider1 = in testAddLocalInsetsFrameProvider_sameType_replacesInsets()
1514 new InsetsFrameProvider(owner, 1, WindowInsets.Type.systemOverlays()) in testAddLocalInsetsFrameProvider_sameType_replacesInsets()
1516 final InsetsFrameProvider provider2 = in testAddLocalInsetsFrameProvider_sameType_replacesInsets()
[all …]
DWindowTestsBase.java99 import android.view.InsetsFrameProvider;
379 mStatusBarWindow.mAttrs.providedInsets = new InsetsFrameProvider[] { in addCommonWindows()
380 new InsetsFrameProvider(owner, 0, WindowInsets.Type.statusBars()), in addCommonWindows()
381 new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), in addCommonWindows()
382 new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) in addCommonWindows()
400 mNavBarWindow.mAttrs.providedInsets = new InsetsFrameProvider[] { in addCommonWindows()
401 new InsetsFrameProvider(owner, 0, WindowInsets.Type.navigationBars()), in addCommonWindows()
402 new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()), in addCommonWindows()
403 new InsetsFrameProvider(owner, 0, WindowInsets.Type.mandatorySystemGestures()) in addCommonWindows()
462 lp.providedInsets = new InsetsFrameProvider[] { in getNavBarLayoutParamsForRotation()
[all …]
DDisplayPolicyTests.java62 import android.view.InsetsFrameProvider;
450 bar2.mAttrs.providedInsets = new InsetsFrameProvider[] { in testUpdateDisplayConfigurationByDecor()
451 new InsetsFrameProvider(bar2, 0, WindowInsets.Type.navigationBars()) in testUpdateDisplayConfigurationByDecor()
461 params.providedInsets = new InsetsFrameProvider[] { in testUpdateDisplayConfigurationByDecor()
462 new InsetsFrameProvider(bar2, 0, WindowInsets.Type.navigationBars()) in testUpdateDisplayConfigurationByDecor()
DSizeCompatTests.java110 import android.view.InsetsFrameProvider;
3838 navbar.mAttrs.providedInsets = new InsetsFrameProvider[] {
3839 new InsetsFrameProvider(owner, 0, WindowInsets.Type.navigationBars())
3871 navbar.mAttrs.providedInsets = new InsetsFrameProvider[] {
3872 new InsetsFrameProvider(owner, 0, WindowInsets.Type.navigationBars())
3899 navbar.mAttrs.providedInsets = new InsetsFrameProvider[] {
3900 new InsetsFrameProvider(owner, 0, WindowInsets.Type.navigationBars())
4743 attrs.providedInsets = new InsetsFrameProvider[] {
4744 new InsetsFrameProvider(owner, 0, WindowInsets.Type.statusBars()),
4745 new InsetsFrameProvider(owner, 0, WindowInsets.Type.tappableElement()),
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBar.java84 import android.view.InsetsFrameProvider;
1807 private InsetsFrameProvider[] getInsetsFrameProvider(int insetsHeight, Context userContext) { in getInsetsFrameProvider()
1808 final InsetsFrameProvider navBarProvider = in getInsetsFrameProvider()
1809 new InsetsFrameProvider(mInsetsSourceOwner, 0, WindowInsets.Type.navigationBars()); in getInsetsFrameProvider()
1811 navBarProvider.setInsetsSizeOverrides(new InsetsFrameProvider.InsetsSizeOverride[] { in getInsetsFrameProvider()
1812 new InsetsFrameProvider.InsetsSizeOverride(TYPE_INPUT_METHOD, null) in getInsetsFrameProvider()
1822 final InsetsFrameProvider tappableElementProvider = new InsetsFrameProvider( in getInsetsFrameProvider()
1833 final InsetsFrameProvider mandatoryGestureProvider = new InsetsFrameProvider( in getInsetsFrameProvider()
1842 return new InsetsFrameProvider[] { in getInsetsFrameProvider()
1846 new InsetsFrameProvider(mInsetsSourceOwner, 0, WindowInsets.Type.systemGestures()) in getInsetsFrameProvider()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DWindowParamsTest.java87 params.providedInsets = new InsetsFrameProvider[0]; in changeField()
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java43 import android.view.InsetsFrameProvider;
718 .setInsetsFrameProvider(new InsetsFrameProvider(owner, index, type) in addInsetsSource()
719 .setSource(InsetsFrameProvider.SOURCE_ARBITRARY_RECTANGLE) in addInsetsSource()
746 .setInsetsFrameProvider(new InsetsFrameProvider(owner, index, type)) in removeInsetsSource()
1435 private InsetsFrameProvider mInsetsFrameProvider;
1610 mInsetsFrameProvider = in.readTypedObject(InsetsFrameProvider.CREATOR); in HierarchyOp()
1639 public InsetsFrameProvider getInsetsFrameProvider() { in getInsetsFrameProvider()
1874 private InsetsFrameProvider mInsetsFrameProvider;
1927 Builder setInsetsFrameProvider(InsetsFrameProvider provider) { in setInsetsFrameProvider()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayPolicy.java22 import static android.view.InsetsFrameProvider.SOURCE_ARBITRARY_RECTANGLE;
23 import static android.view.InsetsFrameProvider.SOURCE_CONTAINER_BOUNDS;
24 import static android.view.InsetsFrameProvider.SOURCE_DISPLAY;
25 import static android.view.InsetsFrameProvider.SOURCE_FRAME;
113 import android.view.InsetsFrameProvider;
1137 final InsetsFrameProvider provider = attrs.providedInsets[i]; in addWindowLw()
1143 final InsetsFrameProvider.InsetsSizeOverride[] overrides = in addWindowLw()
1170 final InsetsFrameProvider ifp = lp.providedInsets[index]; in getFrameProvider()
DInsetsPolicy.java39 import android.view.InsetsFrameProvider;
275 for (InsetsFrameProvider provider : attrs.providedInsets) { in enforceInsetsPolicyForTarget()
DWindowContainer.java93 import android.view.InsetsFrameProvider;
428 void addLocalInsetsFrameProvider(InsetsFrameProvider provider, IBinder owner) { in addLocalInsetsFrameProvider()
511 void removeLocalInsetsFrameProvider(InsetsFrameProvider provider, IBinder owner) { in removeLocalInsetsFrameProvider()
DWindowManagerService.java282 import android.view.InsetsFrameProvider;
2382 final InsetsFrameProvider.InsetsSizeOverride[] overrides = in relayoutWindowInner()
2384 final InsetsFrameProvider.InsetsSizeOverride[] newOverrides = in relayoutWindowInner()
/frameworks/base/services/
Dart-profile3539InsetsFrameProvider$InsetsSizeOverride;Landroid/view/InsetsFrameProvider$InsetsSizeOverride;]Landr…
3583 …rseArray;Landroid/util/SparseArray;]Landroid/view/InsetsFrameProvider;Landroid/view/InsetsFramePro…
/frameworks/base/boot/
Dpreloaded-classes8793 android.view.InsetsFrameProvider$1
8794 android.view.InsetsFrameProvider
14426 [Landroid.view.InsetsFrameProvider;
Dboot-image-profile.txt31207 Landroid/view/InsetsFrameProvider$1;
31208 Landroid/view/InsetsFrameProvider;
36873 [Landroid/view/InsetsFrameProvider;
/frameworks/base/config/
Dpreloaded-classes8824 android.view.InsetsFrameProvider$1
8825 android.view.InsetsFrameProvider
17452 [Landroid.view.InsetsFrameProvider;
Dboot-image-profile.txt41368 Landroid/view/InsetsFrameProvider$1;
41369 Landroid/view/InsetsFrameProvider;
50043 [Landroid/view/InsetsFrameProvider;