Home
last modified time | relevance | path

Searched defs:insets (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java71 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() local
79 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() local
87 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() local
95 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() local
103 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() local
111 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() local
119 Insets insets = mImeCaptionSource.calculateInsets(new Rect(0, 0, 500, 500), false); in testCalculateInsets_imeCaptionBar() local
131 Insets insets = mCaptionSource.calculateInsets(new Rect(0, 0, 200, 200), false); in testCalculateInsets_caption_resizing() local
143 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_invisible() local
152 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_ignoreVisibility() local
[all …]
DInsetsStateTest.java108 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() local
127 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() local
146 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() local
161 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() local
176 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() local
192 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() local
207 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() local
223 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() local
277 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightStatusTop() local
292 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navigationRightClimateTop() local
[all …]
DWindowInsetsTest.java61 Insets[] insets = new Insets[SIZE]; in compatInsets_layoutStable() local
/frameworks/base/core/tests/coretests/src/android/window/
DSnapshotDrawerUtilsTest.java204 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame() local
213 final Rect insets = new Rect(10, 10, 0, 0); in testCalculateSnapshotFrame_navBarLeft() local
222 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame_waterfall() local
231 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground() local
243 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nullFrame() local
255 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nope() local
266 final Rect insets = new Rect(0, 10, 0, 10); in testDrawNavigationBarBackground() local
279 final Rect insets = new Rect(10, 10, 0, 0); in testDrawNavigationBarBackground_left() local
292 final Rect insets = new Rect(0, 10, 10, 0); in testDrawNavigationBarBackground_right() local
/frameworks/base/core/java/android/view/
DWindowInsets.java232 Insets insets = typeInsetsMap[indexOf(i)]; in getInsets() local
248 private static void setInsets(Insets[] typeInsetsMap, @InsetsType int typeMask, Insets insets) { in setInsets()
273 public static Insets[] createCompatTypeMap(@Nullable Rect insets) { in createCompatTypeMap()
286 public static void assignCompatInsets(Insets[] typeInsetsMap, Rect insets) { in assignCompatInsets()
323 Insets insets = getSystemWindowInsets(); in getSystemWindowInsetsAsRect() local
1035 Insets insets = mTypeInsetsMap[i]; in toString() local
1111 public WindowInsets inset(@NonNull Insets insets) { in inset()
1255 Insets insets = typeInsetsMap[i]; in insetInsets() local
1271 static Insets insetInsets(Insets insets, int left, int top, int right, int bottom) { in insetInsets()
1392 public Builder(@NonNull WindowInsets insets) { in Builder()
[all …]
DInsetsState.java215 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() local
257 Insets insets = Insets.NONE; in calculateInsets() local
270 Insets insets = Insets.NONE; in calculateInsets() local
288 Insets insets = Insets.NONE; in calculateVisibleInsets() local
324 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() local
335 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource() local
367 Insets insets, Rect[] boundingRects, int type) { in processSourceAsPublicType()
DInsetsAnimationControlImpl.java253 public void setInsetsAndAlpha(Insets insets, float alpha, float fraction) { in setInsetsAndAlpha()
257 private void setInsetsAndAlpha(Insets insets, float alpha, float fraction, in setInsetsAndAlpha()
326 final Insets insets = shown ? mShownInsets : mHiddenInsets; in finish() local
429 Insets insets = Insets.NONE; in calculateInsets() local
447 private Insets sanitize(Insets insets) { in sanitize()
DWindowInsetsAnimation.java256 public Bounds inset(@NonNull Insets insets) { in inset()
429 public abstract WindowInsets onProgress(@NonNull WindowInsets insets, in onProgress()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/ui/view/
DMirroringConfirmationDialogDelegateTest.kt131 val insets = buildInsets(WindowInsets.Type.navigationBars(), TEST_BOTTOM_INSETS) in onInsetsChanged_navBarInsets_updatesBottomPadding() constant
144 val insets = buildInsets(WindowInsets.Type.ime(), TEST_BOTTOM_INSETS) in onInsetsChanged_otherType_doesNotUpdateBottomPadding() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewTest.kt187 val insets = Insets.of(/* left = */ 10, /* top = */ 20, /* right = */ 30, /* bottom = */ 40) in onAttachedToWindow_updatesLeftTopRightPaddingsBasedOnInsets() constant
201 val insets = Insets.of(/* left = */ 40, /* top = */ 30, /* right = */ 20, /* bottom = */ 10) in onConfigurationChanged_updatesLeftTopRightPaddingsBasedOnInsets() constant
294 val insets = Insets.of(/* left = */ 90, /* top = */ 10, /* right = */ 45, /* bottom = */ 50) in onApplyWindowInsets_updatesLeftTopRightPaddingsBasedOnInsets() constant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DDeviceConfig.kt36 val insets: Insets constant in com.android.wm.shell.bubbles.DeviceConfig
47 val insets = metricInsets.getInsetsIgnoringVisibility(WindowInsets.Type.navigationBars() in create() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/view/
DWindowMetricsProviderImplTest.kt34 val insets = in getCurrentWindowInsets_returnsFromWMCurrentWindowMetrics() constant
/frameworks/base/tests/FlickerTests/FlickerService/src/com/android/server/wm/flicker/service/notification/scenarios/
DNotificationUtils.kt44 val insets = in openNotification() constant
/frameworks/base/graphics/java/android/view/
DPixelCopy.java260 final Rect insets = new Rect(); in request() local
302 private static Rect adjustSourceRectForInsets(Rect insets, Rect srcRect) { in adjustSourceRectForInsets()
391 final Rect insets = new Rect(); in ofWindow() local
415 final Rect insets = new Rect(); in ofWindow() local
/frameworks/base/tests/MultiDeviceInput/src/test/multideviceinput/
DMainActivity.kt57 val insets = windowMetrics.windowInsets.getInsetsIgnoringVisibility(Type.systemBars()) in onResume() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardSecurityContainerTest.java133 WindowInsets insets = new WindowInsets.Builder() in testOnApplyWindowInsets() local
154 WindowInsets insets = new WindowInsets.Builder() in testOnApplyWindowInsets_largerSystembar() local
174 WindowInsets insets = new WindowInsets.Builder() in testOnApplyWindowInsets_disappearAnimation_paddingNotSet() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInsetsImpl.java45 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in getinsets() local
/frameworks/base/core/proto/android/view/
Ddisplaycutout.proto28 optional .android.graphics.RectProto insets = 1; field
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DInsetsWidget.java39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt175 v: View, insets: WindowInsets -> in <lambda>() method
178 val insets = insets.getInsets(Type.systemBars()) in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/tests/flicker/bubble/src/com/android/wm/shell/flicker/bubble/
DOpenActivityFromBubbleOnLocksreenTest.kt70 val insets = in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotDataTest.kt35 private val insets = Insets.of(1, 2, 3, 4) constant in com.android.systemui.screenshot.ScreenshotDataTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DWindowRootView.kt73 val insets = windowInsets.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars()) in onApplyWindowInsets() constant
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/
DInsetUtilsTest.java67 private static Rect rotateCopy(Rect insets, int rotationDelta) { in rotateCopy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java148 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
309 Insets insets = mContentInsetsProvider in updateSafeInsets() local

123456