Home
last modified time | relevance | path

Searched refs:WindowInsets (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/core/tests/coretests/src/android/view/
DWindowInsetsTest.java19 import static android.view.WindowInsets.Type.SIZE;
20 import static android.view.WindowInsets.Type.systemBars;
42 assertTrue(new WindowInsets(new Rect(1, 2, 3, 4), null, false, false, null) in systemWindowInsets_afterConsuming_isConsumed()
48 assertTrue(new WindowInsets((Rect) null, null, false, false, null).isConsumed()); in multiNullConstructor_isConsumed()
53 assertTrue(new WindowInsets((Rect) null).isConsumed()); in singleNullConstructor_isConsumed()
61 WindowInsets.assignCompatInsets(maxInsets, new Rect(0, 10, 0, 0)); in compatInsets_layoutStable()
62 WindowInsets.assignCompatInsets(insets, new Rect(0, 0, 0, 0)); in compatInsets_layoutStable()
63 WindowInsets windowInsets = new WindowInsets(insets, maxInsets, visible, false, false, null, in compatInsets_layoutStable()
DInsetsStateTest.java29 import static android.view.WindowInsets.Type.ime;
30 import static android.view.WindowInsets.Type.navigationBars;
31 import static android.view.WindowInsets.Type.statusBars;
47 import android.view.WindowInsets.Type;
80 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets()
99 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeAndNav()
118 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_navRightStatusTop()
134 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize()
150 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable()
167 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), null, false, in testCalculateInsets_systemUiFlagLayoutStable_windowFlagFullscreen()
[all …]
/frameworks/base/core/java/android/view/
DWindowInsets.java20 import static android.view.WindowInsets.Type.DISPLAY_CUTOUT;
21 import static android.view.WindowInsets.Type.FIRST;
22 import static android.view.WindowInsets.Type.IME;
23 import static android.view.WindowInsets.Type.LAST;
24 import static android.view.WindowInsets.Type.MANDATORY_SYSTEM_GESTURES;
25 import static android.view.WindowInsets.Type.NAVIGATION_BARS;
26 import static android.view.WindowInsets.Type.SIZE;
27 import static android.view.WindowInsets.Type.STATUS_BARS;
28 import static android.view.WindowInsets.Type.SYSTEM_GESTURES;
29 import static android.view.WindowInsets.Type.TAPPABLE_ELEMENT;
[all …]
DWindowInsetsAnimation.java36 @WindowInsets.Type.InsetsType
56 @WindowInsets.Type.InsetsType int typeMask, @Nullable Interpolator interpolator, in WindowInsetsAnimation()
66 @WindowInsets.Type.InsetsType
261 WindowInsets.insetInsets( in inset()
263 WindowInsets.insetInsets( in inset()
423 public abstract WindowInsets onProgress(@NonNull WindowInsets insets, in onProgress()
DWindowMetrics.java35 private final @NonNull WindowInsets mWindowInsets;
37 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets) { in WindowMetrics()
78 public @NonNull WindowInsets getWindowInsets() { in getWindowInsets()
DInsetsAnimationThreadControlRunner.java30 import android.view.WindowInsets.Type.InsetsType;
68 "InsetsAsyncAnimation: " + WindowInsets.Type.toString(runner.getTypes()),
112 "InsetsAsyncAnimation: " + WindowInsets.Type.toString(types), types); in InsetsAnimationThreadControlRunner()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DWindowInsetsControllerActivity.java23 import android.view.WindowInsets;
47 public WindowInsets onProgress(@NonNull WindowInsets insets, in onCreate()
49 return WindowInsets.CONSUMED; in onCreate()
/frameworks/base/core/java/android/window/
DWindowMetricsHelper.java20 import static android.view.WindowInsets.Type.displayCutout;
21 import static android.view.WindowInsets.Type.navigationBars;
30 import android.view.WindowInsets;
48 final WindowInsets windowInsets = windowMetrics.getWindowInsets(); in getBoundsExcludingNavigationBarAndCutout()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DActionBarOverlayLayoutTest.java36 import android.view.WindowInsets;
170 private WindowInsets insetsWith(Insets content, DisplayCutout cutout) { in insetsWith()
171 return new WindowInsets(content.toRect(), null, false, false, cutout); in insetsWith()
188 public WindowInsets computeSystemWindowInsets(WindowInsets in, Rect outLocalInsets) { in computeSystemWindowInsets()
221 WindowInsets captured;
224 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onApplyWindowInsets()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/
DInsetsWidget.java21 import android.view.WindowInsets;
39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/
DWindowInsetsActivity.java19 import static android.view.WindowInsets.Type.ime;
37 import android.view.WindowInsets;
160 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onCreate()
164 return WindowInsets.CONSUMED; in onCreate()
176 public WindowInsets onProgress(WindowInsets insets, in onCreate()
254 void onProgress(WindowInsets insets) { in onProgress()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DStatusBarBackgroundLayout.java27 import android.view.WindowInsets;
86 final int insetTop = ((WindowInsets) lastInsets).getSystemWindowInsetTop(); in onDraw()
109 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
DStickyHeaderScrollView.java24 import android.view.WindowInsets;
106 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardPreviewContainer.java25 import android.view.WindowInsets;
65 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
DStatusBarWindowView.java19 import static android.view.WindowInsets.Type.systemBars;
33 import android.view.WindowInsets;
55 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets()
/frameworks/base/packages/EasterEgg/src/com/android/egg/paint/
DCutoutAvoidingToolbar.kt26 private var _insets: WindowInsets? = null
46 override fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets { in onApplyWindowInsets()
DToolbarView.kt50 override fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets { in onApplyWindowInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DDetailDialog.kt25 import android.view.WindowInsets in <lambda>()
26 import android.view.WindowInsets.Type in <lambda>()
95 _: View, insets: WindowInsets -> in <lambda>()
103 WindowInsets.CONSUMED in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsImeTest.java19 import static android.view.WindowInsets.Type.ime;
31 import android.view.WindowInsets;
198 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { in onApplyWindowInsets()
/frameworks/base/core/java/android/service/dreams/
DDreamActivity.java22 import android.view.WindowInsets;
67 getWindow().getInsetsController().hide(WindowInsets.Type.systemBars()); in onResume()
/frameworks/base/core/java/com/android/internal/widget/
DActionBarOverlayLayout.java41 import android.view.WindowInsets;
80 private WindowInsets mBaseInnerInsets = WindowInsets.CONSUMED;
81 private WindowInsets mLastBaseInnerInsets = WindowInsets.CONSUMED;
82 private WindowInsets mInnerInsets = WindowInsets.CONSUMED;
83 private WindowInsets mLastInnerInsets = WindowInsets.CONSUMED;
315 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
349 return WindowInsets.CONSUMED;
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/navigationbar/
DCarNavigationBarView.java23 import android.view.WindowInsets;
81 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DScreenDecorWindowTests.java61 import android.view.WindowInsets;
161 WindowInsets initialInsets = getInsets(mTestActivity); in testFlagChange()
182 WindowInsets initialInsets = getInsets(mTestActivity); in testRemoval()
256 private WindowInsets getInsets(Activity a) { in getInsets()
257 return new WindowInsets(a.getWindow().getDecorView().getRootWindowInsets()); in getInsets()
291 final WindowInsets insets = getInsets(activity); in assertInsetGreaterOrEqual()
310 final WindowInsets insets = getInsets(activity); in waitForInsetGreaterOrEqual()
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/view/
DStickyHeaderRecyclerView.java27 import android.view.WindowInsets;
124 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/
DWindowManagerImpl.java34 import android.view.WindowInsets;
136 private WindowInsets computeWindowInsets() { in computeWindowInsets()
146 return new WindowInsets.Builder() in computeWindowInsets()

12345