Home
last modified time | relevance | path

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

12345

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java62 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() local
70 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() local
78 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() local
86 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() local
94 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() local
102 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() local
110 Insets insets = mCaptionSource.calculateInsets(new Rect(0, 0, 200, 200), false); in testCalculateInsets_caption_resizing() local
122 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_invisible() local
131 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_ignoreVisibility() local
139 Insets insets = mSource.calculateVisibleInsets(new Rect(100, 0, 500, 500)); in testCalculateVisibleInsets_default() local
[all …]
DInsetsStateTest.java89 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() local
106 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() local
123 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() local
136 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() local
151 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() local
165 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() local
179 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() local
193 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() local
242 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightStatusTop() local
255 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navigationRightClimateTop() local
[all …]
DWindowInsetsTest.java58 Insets[] insets = new Insets[SIZE]; in compatInsets_layoutStable() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DTaskSnapshotWindowTest.java196 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame() local
205 final Rect insets = new Rect(10, 10, 0, 0); in testCalculateSnapshotFrame_navBarLeft() local
214 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame_waterfall() local
223 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground() local
235 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nullFrame() local
247 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nope() local
258 final Rect insets = new Rect(0, 10, 0, 10); in testDrawNavigationBarBackground() local
271 final Rect insets = new Rect(10, 10, 0, 0); in testDrawNavigationBarBackground_left() local
284 final Rect insets = new Rect(0, 10, 10, 0); in testDrawNavigationBarBackground_right() local
/frameworks/base/core/java/android/view/
DWindowInsets.java217 Insets insets = typeInsetsMap[indexOf(i)]; in getInsets() local
233 private static void setInsets(Insets[] typeInsetsMap, @InsetsType int typeMask, Insets insets) { in setInsets()
254 private static Insets[] createCompatTypeMap(@Nullable Rect insets) { in createCompatTypeMap()
267 public static void assignCompatInsets(Insets[] typeInsetsMap, Rect insets) { in assignCompatInsets()
300 Insets insets = getSystemWindowInsets(); in getSystemWindowInsetsAsRect() local
892 Insets insets = mTypeInsetsMap[i]; in toString() local
954 public WindowInsets inset(@NonNull Insets insets) { in inset()
1058 Insets insets = typeInsetsMap[i]; in insetInsets() local
1074 static Insets insetInsets(Insets insets, int left, int top, int right, int bottom) { in insetInsets()
1125 public Builder(@NonNull WindowInsets insets) { in Builder()
[all …]
DInsetsState.java305 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() local
337 Insets insets = Insets.NONE; in calculateInsets() local
354 Insets insets = Insets.NONE; in calculateInsets() local
381 Insets insets = Insets.NONE; in calculateVisibleInsets() local
419 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() local
430 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource() local
460 @Nullable boolean[] typeVisibilityMap, Insets insets, int type) { in processSourceAsPublicType()
485 static @InternalInsetsSide int getInsetSide(Insets insets) { in getInsetSide()
DWindowInsetsAnimation.java256 public Bounds inset(@NonNull Insets insets) { in inset()
429 public abstract WindowInsets onProgress(@NonNull WindowInsets insets, in onProgress()
DInsetsAnimationControlImpl.java231 public void setInsetsAndAlpha(Insets insets, float alpha, float fraction) { in setInsetsAndAlpha()
235 private void setInsetsAndAlpha(Insets insets, float alpha, float fraction, in setInsetsAndAlpha()
397 Insets insets = Insets.NONE; in calculateInsets() local
414 private Insets sanitize(Insets insets) { in sanitize()
DWindowInsetsAnimationController.java138 void setInsetsAndAlpha(@Nullable Insets insets, @FloatRange(from = 0f, to = 1f) float alpha, in setInsetsAndAlpha()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt176 v: View, insets: WindowInsets -> in <lambda>() method
179 val insets = insets.getInsets(Type.systemBars()) in <lambda>() constant
199 val insets = metricInsets.getInsetsIgnoringVisibility(Type.systemBars() in <lambda>() constant
/frameworks/base/core/proto/android/view/
Ddisplaycutout.proto28 optional .android.graphics.RectProto insets = 1; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardPreviewContainer.java65 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
DPhoneStatusBarView.java127 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
262 Pair<Integer, Integer> insets = mContentInsetsProvider in updateSafeInsets() local
/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/statusbar/
DNotificationInsetsImpl.java45 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in getinsets() local
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
DLaunchBubbleFromLockScreen.kt67 val insets = metricInsets.getInsetsIgnoringVisibility( in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/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/tests/src/com/android/systemui/screenshot/
DScreenshotDataTest.kt34 private val insets = Insets.of(1, 2, 3, 4) constant in com.android.systemui.screenshot.ScreenshotDataTest
/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/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java134 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onApplyWindowInsets()
149 private void updateWidgets(WindowInsets insets, int types, ToggleButton toggle, SeekBar seek) { in updateWidgets()
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DImeStressTestUtil.java42 WindowInsets insets = view.getRootWindowInsets(); in isImeShown() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DCutoutDecorProviderFactoryTest.kt83 val insets = RotationUtils.rotateInsets(safeInsets, rotation) in <lambda>() constant
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java88 public static DividerSnapAlgorithm create(Context ctx, Rect insets) { in create()
105 boolean isHorizontalDivision, Rect insets) { in DividerSnapAlgorithm()
111 boolean isHorizontalDivision, Rect insets, int dockSide) { in DividerSnapAlgorithm()
117 boolean isHorizontalDivision, Rect insets, int dockSide, boolean isMinimizedMode, in DividerSnapAlgorithm()
DSystemBarUtils.java62 Insets insets = cutout == null ? Insets.NONE : Insets.of(cutout.getSafeInsets()); in getStatusBarHeightForRotation() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowView.java53 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets() local

12345