/frameworks/base/core/tests/coretests/src/android/view/ |
D | InsetsSourceTest.java | 62 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 …]
|
D | InsetsStateTest.java | 89 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 …]
|
D | WindowInsetsTest.java | 58 Insets[] insets = new Insets[SIZE]; in compatInsets_layoutStable() local
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/ |
D | TaskSnapshotWindowTest.java | 196 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/ |
D | WindowInsets.java | 217 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 …]
|
D | InsetsState.java | 305 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()
|
D | WindowInsetsAnimation.java | 256 public Bounds inset(@NonNull Insets insets) { in inset() 429 public abstract WindowInsets onProgress(@NonNull WindowInsets insets, in onProgress()
|
D | InsetsAnimationControlImpl.java | 231 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()
|
D | WindowInsetsAnimationController.java | 138 void setInsetsAndAlpha(@Nullable Insets insets, @FloatRange(from = 0f, to = 1f) float alpha, in setInsetsAndAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | DetailDialog.kt | 176 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/ |
D | displaycutout.proto | 28 optional .android.graphics.RectProto insets = 1; field
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardPreviewContainer.java | 65 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
D | PhoneStatusBarView.java | 127 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/ |
D | InsetsWidget.java | 39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationInsetsImpl.java | 45 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in getinsets() local
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/bubble/ |
D | LaunchBubbleFromLockScreen.kt | 67 val insets = metricInsets.getInsetsIgnoringVisibility( in <lambda>() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardSecurityContainerTest.java | 133 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/ |
D | ScreenshotDataTest.kt | 34 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/ |
D | InsetUtilsTest.java | 67 private static Rect rotateCopy(Rect insets, int rotationDelta) { in rotateCopy()
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | ControllerActivity.java | 134 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/ |
D | ImeStressTestUtil.java | 42 WindowInsets insets = view.getRootWindowInsets(); in isImeShown() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/decor/ |
D | CutoutDecorProviderFactoryTest.kt | 83 val insets = RotationUtils.rotateInsets(safeInsets, rotation) in <lambda>() constant
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DividerSnapAlgorithm.java | 88 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()
|
D | SystemBarUtils.java | 62 Insets insets = cutout == null ? Insets.NONE : Insets.of(cutout.getSafeInsets()); in getStatusBarHeightForRotation() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowView.java | 53 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets() local
|