Home
last modified time | relevance | path

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

1234

/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.java80 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets() local
99 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav() local
118 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop() local
134 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() local
150 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable() local
167 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen() local
215 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_extraNavRightStatusTop() local
231 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navigationRightClimateTop() local
246 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, false, in testStripForDispatch() local
DWindowInsetsTest.java58 Insets[] insets = new Insets[SIZE]; in compatInsets_layoutStable() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotSurfaceTest.java192 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame() local
201 final Rect insets = new Rect(10, 10, 0, 0); in testCalculateSnapshotFrame_navBarLeft() local
210 final Rect insets = new Rect(0, 10, 0, 10); in testCalculateSnapshotFrame_waterfall() local
219 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground() local
232 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nullFrame() local
245 final Rect insets = new Rect(0, 10, 10, 0); in testDrawStatusBarBackground_nope() local
257 final Rect insets = new Rect(0, 10, 0, 10); in testDrawNavigationBarBackground() local
270 final Rect insets = new Rect(10, 10, 0, 0); in testDrawNavigationBarBackground_left() local
283 final Rect insets = new Rect(0, 10, 10, 0); in testDrawNavigationBarBackground_right() local
DInsetsSourceProviderTest.java186 Insets insets = mImeSource.calculateInsets(new Rect(0, 0, 500, 500), in testUpdateSourceFrameForIme() local
DScreenDecorWindowTests.java291 final WindowInsets insets = getInsets(activity); in assertInsetGreaterOrEqual() local
310 final WindowInsets insets = getInsets(activity); in waitForInsetGreaterOrEqual() local
/frameworks/base/core/java/android/view/
DWindowInsets.java209 Insets insets = typeInsetsMap[indexOf(i)]; in getInsets() local
225 private static void setInsets(Insets[] typeInsetsMap, @InsetsType int typeMask, Insets insets) { in setInsets()
246 private static Insets[] createCompatTypeMap(@Nullable Rect insets) { in createCompatTypeMap()
259 public static void assignCompatInsets(Insets[] typeInsetsMap, Rect insets) { in assignCompatInsets()
292 Insets insets = getSystemWindowInsets(); in getSystemWindowInsetsAsRect() local
846 Insets insets = mTypeInsetsMap[i]; in toString() local
893 public WindowInsets inset(@NonNull Insets insets) { in inset()
980 Insets insets = typeInsetsMap[i]; in insetInsets() local
996 static Insets insetInsets(Insets insets, int left, int top, int right, int bottom) { in insetInsets()
1044 public Builder(@NonNull WindowInsets insets) { in Builder()
[all …]
DWindowInsetsAnimation.java257 public Bounds inset(@NonNull Insets insets) { in inset()
423 public abstract WindowInsets onProgress(@NonNull WindowInsets insets, in onProgress()
DInsetsAnimationControlImpl.java169 public void setInsetsAndAlpha(Insets insets, float alpha, float fraction) { in setInsetsAndAlpha()
173 private void setInsetsAndAlpha(Insets insets, float alpha, float fraction, in setInsetsAndAlpha()
315 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/core/java/android/util/
DRotationUtils.java37 public static Insets rotateInsets(Insets insets, @Rotation int rotation) { in rotateInsets()
/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()
DStatusBarWindowView.java56 final Insets insets = windowInsets.getInsetsIgnoringVisibility(systemBars()); in onApplyWindowInsets() local
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DInsetsWidget.java39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/core/java/android/window/
DWindowMetricsHelper.java49 Insets insets; in getBoundsExcludingNavigationBarAndCutout() local
/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/shared/src/com/android/systemui/shared/recents/model/
DThumbnailData.java42 public Rect insets; field in ThumbnailData
/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()
DDockedDividerUtils.java100 public static int calculateMiddlePosition(boolean isHorizontalDivision, Rect insets, in calculateMiddlePosition()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DWindowInsetsActivity.java254 void onProgress(WindowInsets insets) { in onProgress()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/
DIOverviewProxy.aidl77 void onSplitScreenSecondaryBoundsChanged(in Rect bounds, in Rect insets) = 17; in onSplitScreenSecondaryBoundsChanged()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStatusBarBackgroundLayout.java109 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
DStickyHeaderScrollView.java106 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java53 ScreenshotRequest(int source, Bundle bitmapBundle, Rect boundsInScreen, Insets insets, in ScreenshotRequest()
266 @NonNull Insets insets, int taskId, int userId, ComponentName topComponent, int source, in provideScreenshot()

1234