/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInsetsTest.java | 19 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()
|
D | InsetsStateTest.java | 29 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/ |
D | WindowInsets.java | 20 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 …]
|
D | WindowInsetsAnimation.java | 36 @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()
|
D | WindowMetrics.java | 35 private final @NonNull WindowInsets mWindowInsets; 37 public WindowMetrics(@NonNull Rect bounds, @NonNull WindowInsets windowInsets) { in WindowMetrics() 78 public @NonNull WindowInsets getWindowInsets() { in getWindowInsets()
|
D | InsetsAnimationThreadControlRunner.java | 30 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/ |
D | WindowInsetsControllerActivity.java | 23 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/ |
D | WindowMetricsHelper.java | 20 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/ |
D | ActionBarOverlayLayoutTest.java | 36 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/ |
D | InsetsWidget.java | 21 import android.view.WindowInsets; 39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
/frameworks/base/tests/WindowInsetsTests/src/com/google/android/test/windowinsetstests/ |
D | WindowInsetsActivity.java | 19 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/ |
D | StatusBarBackgroundLayout.java | 27 import android.view.WindowInsets; 86 final int insetTop = ((WindowInsets) lastInsets).getSystemWindowInsetTop(); in onDraw() 109 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
D | StickyHeaderScrollView.java | 24 import android.view.WindowInsets; 106 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardPreviewContainer.java | 25 import android.view.WindowInsets; 65 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
D | StatusBarWindowView.java | 19 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/ |
D | CutoutAvoidingToolbar.kt | 26 private var _insets: WindowInsets? = null 46 override fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets { in onApplyWindowInsets()
|
D | ToolbarView.kt | 50 override fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets { in onApplyWindowInsets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | DetailDialog.kt | 25 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/ |
D | GlobalActionsImeTest.java | 19 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/ |
D | DreamActivity.java | 22 import android.view.WindowInsets; 67 getWindow().getInsetsController().hide(WindowInsets.Type.systemBars()); in onResume()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarOverlayLayout.java | 41 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/ |
D | CarNavigationBarView.java | 23 import android.view.WindowInsets; 81 public WindowInsets onApplyWindowInsets(WindowInsets windowInsets) { in onApplyWindowInsets()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 61 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/ |
D | StickyHeaderRecyclerView.java | 27 import android.view.WindowInsets; 124 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/view/ |
D | WindowManagerImpl.java | 34 import android.view.WindowInsets; 136 private WindowInsets computeWindowInsets() { in computeWindowInsets() 146 return new WindowInsets.Builder() in computeWindowInsets()
|