Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/view/
DInsetsSourceTest.java67 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsTop() local
75 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsBottom() local
83 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsLeft() local
91 Insets insets = mSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsetsRight() local
99 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_overextend() local
107 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testCalculateInsets_ime_leftCutout() local
115 Insets insets = mCaptionSource.calculateInsets(new Rect(0, 0, 200, 200), false); in testCalculateInsets_caption_resizing() local
127 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_invisible() local
136 Insets insets = mSource.calculateInsets(new Rect(100, 0, 500, 500), in testCalculateInsets_ignoreVisibility() local
144 Insets insets = mSource.calculateVisibleInsets(new Rect(100, 0, 500, 500)); in testCalculateVisibleInsets_default() local
[all …]
DInsetsStateTest.java104 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() local
123 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() local
142 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() local
157 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightClimateTop() local
172 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() local
188 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() local
203 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() local
219 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_flagLayoutNoLimits() local
273 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightStatusTop() local
288 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.java202 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame() local
211 final Rect insets = new Rect(10, 10, 0, 0); in testCalculateSnapshotFrame_navBarLeft() local
220 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame_waterfall() local
229 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground() local
241 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nullFrame() local
253 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nope() local
264 final Rect insets = new Rect(0, 10, 0, 10); in testDrawNavigationBarBackground() local
277 final Rect insets = new Rect(10, 10, 0, 0); in testDrawNavigationBarBackground_left() local
290 final Rect insets = new Rect(0, 10, 10, 0); in testDrawNavigationBarBackground_right() local
/frameworks/base/core/java/android/view/
DWindowInsets.java205 Insets insets = typeInsetsMap[indexOf(i)]; in getInsets() local
221 private static void setInsets(Insets[] typeInsetsMap, @InsetsType int typeMask, Insets insets) { in setInsets()
245 public static Insets[] createCompatTypeMap(@Nullable Rect insets) { in createCompatTypeMap()
258 public static void assignCompatInsets(Insets[] typeInsetsMap, Rect insets) { in assignCompatInsets()
295 Insets insets = getSystemWindowInsets(); in getSystemWindowInsetsAsRect() local
908 Insets insets = mTypeInsetsMap[i]; in toString() local
976 public WindowInsets inset(@NonNull Insets insets) { in inset()
1084 Insets insets = typeInsetsMap[i]; in insetInsets() local
1100 static Insets insetInsets(Insets insets, int left, int top, int right, int bottom) { in insetInsets()
1153 public Builder(@NonNull WindowInsets insets) { in Builder()
[all …]
DInsetsState.java231 final Insets insets = source.calculateInsets(roundedCornerFrame, false); in calculateRelativeRoundedCorners() local
273 Insets insets = Insets.NONE; in calculateInsets() local
286 Insets insets = Insets.NONE; in calculateInsets() local
304 Insets insets = Insets.NONE; in calculateVisibleInsets() local
340 final Insets insets = source.calculateInsets(frame, true /* ignoreVisibility */); in canControlSource() local
351 Insets insets = source.calculateInsets(relativeFrame, ignoreVisibility); in processSource() local
381 @Nullable boolean[] typeVisibilityMap, Insets insets, int type) { in processSourceAsPublicType()
412 static @InternalInsetsSide int getInsetSide(Insets insets) { in getInsetSide()
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()
330 final Insets insets = shown ? mShownInsets : mHiddenInsets; in finish() local
427 Insets insets = Insets.NONE; in calculateInsets() local
445 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()
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.kt186 v: View, insets: WindowInsets -> in <lambda>() method
189 val insets = insets.getInsets(Type.systemBars()) in <lambda>() constant
209 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/tests/FlickerTests/src/com/android/server/wm/flicker/service/notification/scenarios/
DNotificationUtils.kt44 val insets = in openNotification() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInsetsImpl.java45 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in getinsets() local
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DInsetsWidget.java39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/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/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarView.java135 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
274 Pair<Integer, Integer> insets = mContentInsetsProvider in updateSafeInsets() local
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DControllerActivity.java95 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onApplyWindowInsets()
110 private void updateWidgets(WindowInsets insets, int types, ToggleButton toggle, SeekBar seek) { in updateWidgets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/ui/view/
DWindowRootView.kt66 val insets = windowInsets.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars()) in onApplyWindowInsets() constant
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/
DOpenActivityFromBubbleOnLocksreenTest.kt70 val insets = in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubblePositionerTest.java85 Insets insets = Insets.of(10, 20, 5, 15); in testUpdate() local
316 public WindowManagerConfig setInsets(Insets insets) { in setInsets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/
DCutoutDecorProviderFactoryTest.kt83 val insets = RotationUtils.rotateInsets(safeInsets, rotation) in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
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()

123456