/frameworks/base/core/tests/coretests/src/android/view/ |
D | WindowInsetsTest.java | 19 import static android.view.WindowInsets.Type.ime; 20 import static android.view.WindowInsets.Type.sideBars; 21 import static android.view.WindowInsets.Type.topBar; 29 import android.view.WindowInsets.Builder; 44 assertTrue(new WindowInsets(new Rect(1, 2, 3, 4), null, false, false, null) in systemWindowInsets_afterConsuming_isConsumed() 50 assertTrue(new WindowInsets((Rect) null, null, false, false, null).isConsumed()); in multiNullConstructor_isConsumed() 55 assertTrue(new WindowInsets((Rect) null).isConsumed()); in singleNullConstructor_isConsumed() 61 Builder b = new WindowInsets.Builder(); in typeMap() 64 WindowInsets insets = b.build(); in typeMap() 71 Builder b = new WindowInsets.Builder(); in compatInsets() [all …]
|
D | ViewRootImplTest.java | 60 final WindowInsets insets = mViewRootImpl.getWindowInsets(true /* forceConstruct */); in negativeInsets_areSetToZero() 70 final WindowInsets insets = mViewRootImpl.getWindowInsets(true /* forceConstruct */); in negativeInsets_areSetToZero_positiveAreLeftAsIs() 80 final WindowInsets insets = mViewRootImpl.getWindowInsets(true /* forceConstruct */); in positiveInsets_areLeftAsIs() 103 WindowInsets getWindowInsets(boolean forceConstruct) throws Exception { in getWindowInsets() 104 return (WindowInsets) invokeMethod(mViewRootImpl, in getWindowInsets()
|
D | InsetsStateTest.java | 27 import static android.view.WindowInsets.Type.ime; 40 import android.view.WindowInsets.Type; 73 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), false, false, in testCalculateInsets() 92 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), false, false, in testCalculateInsets_imeAndNav() 111 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), false, false, in testCalculateInsets_navRightStatusTop() 125 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), false, false, in testCalculateInsets_imeIgnoredWithoutAdjustResize() 138 WindowInsets insets = mState.calculateInsets(new Rect(0, 0, 100, 300), false, false, in testStripForDispatch()
|
/frameworks/base/core/java/android/view/ |
D | WindowInsets.java | 20 import static android.view.WindowInsets.Type.FIRST; 21 import static android.view.WindowInsets.Type.IME; 22 import static android.view.WindowInsets.Type.LAST; 23 import static android.view.WindowInsets.Type.MANDATORY_SYSTEM_GESTURES; 24 import static android.view.WindowInsets.Type.SIDE_BARS; 25 import static android.view.WindowInsets.Type.SIZE; 26 import static android.view.WindowInsets.Type.SYSTEM_GESTURES; 27 import static android.view.WindowInsets.Type.TAPPABLE_ELEMENT; 28 import static android.view.WindowInsets.Type.TOP_BAR; 29 import static android.view.WindowInsets.Type.all; [all …]
|
D | WindowInsetsAnimationListener.java | 50 WindowInsets onProgress(WindowInsets insets); in onProgress() 64 private final @WindowInsets.Type.InsetType int mTypeMask; 80 public @WindowInsets.Type.InsetType int getTypeMask() { in getTypeMask()
|
D | InsetsState.java | 21 import static android.view.WindowInsets.Type.MANDATORY_SYSTEM_GESTURES; 22 import static android.view.WindowInsets.Type.SIZE; 23 import static android.view.WindowInsets.Type.SYSTEM_GESTURES; 24 import static android.view.WindowInsets.Type.indexOf; 35 import android.view.WindowInsets.Type; 36 import android.view.WindowInsets.Type.InsetType; 144 public WindowInsets calculateInsets(Rect frame, boolean isScreenRound, in calculateInsets() 155 WindowInsets.assignCompatInsets(typeInsetsMap, legacyContentInsets); in calculateInsets() 156 WindowInsets.assignCompatInsets(typeMaxInsetsMap, legacyStableInsets); in calculateInsets() 185 return new WindowInsets(typeInsetsMap, typeMaxInsetsMap, typeVisibilityMap, isScreenRound, in calculateInsets()
|
D | WindowInsetsController.java | 19 import static android.view.WindowInsets.Type.ime; 22 import android.view.WindowInsets.Type.InsetType;
|
D | InsetsController.java | 21 import static android.view.WindowInsets.Type.all; 40 import android.view.WindowInsets.Type; 41 import android.view.WindowInsets.Type.InsetType; 105 private WindowInsets mLastInsets; 136 WindowInsets insets = state.calculateInsets(mFrame, mLastInsets.isRound(), in InsetsController() 179 public WindowInsets calculateInsets(boolean isScreenRound, in calculateInsets()
|
D | WindowInsetsAnimationControlListener.java | 20 import android.view.WindowInsets.Type.InsetType;
|
D | WindowInsetsAnimationController.java | 21 import android.view.WindowInsets.Type.InsetType;
|
/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/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()
|
D | StickyHeaderListView.java | 29 import android.view.WindowInsets; 141 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 | NotificationsQuickSettingsContainer.java | 27 import android.view.WindowInsets; 103 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets()
|
D | PhoneStatusBarView.java | 38 import android.view.WindowInsets; 144 public WindowInsets onApplyWindowInsets(WindowInsets insets) { in onApplyWindowInsets() 352 WindowInsets insets = getRootWindowInsets(); in updateSafeInsets()
|
/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()
|
D | Painting.kt | 26 import android.view.WindowInsets 96 private var _insets: WindowInsets? = null 169 override fun onApplyWindowInsets(insets: WindowInsets?): WindowInsets { in onApplyWindowInsets()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 59 import android.view.WindowInsets; 157 WindowInsets initialInsets = getInsets(mTestActivity); in testFlagChange() 178 WindowInsets initialInsets = getInsets(mTestActivity); in testRemoval() 240 private WindowInsets getInsets(Activity a) { in getInsets() 241 return new WindowInsets(a.getWindow().getDecorView().getRootWindowInsets()); in getInsets() 275 final WindowInsets insets = getInsets(activity); in assertInsetGreaterOrEqual() 294 final WindowInsets insets = getInsets(activity); in waitForInsetGreaterOrEqual()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarOverlayLayout.java | 41 import android.view.WindowInsets; 79 private WindowInsets mBaseInnerInsets = WindowInsets.CONSUMED; 80 private WindowInsets mLastBaseInnerInsets = WindowInsets.CONSUMED; 81 private WindowInsets mInnerInsets = WindowInsets.CONSUMED; 82 private WindowInsets mLastInnerInsets = WindowInsets.CONSUMED; 314 public WindowInsets onApplyWindowInsets(WindowInsets insets) { 348 return WindowInsets.CONSUMED;
|
/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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 32 import android.view.WindowInsets; 326 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) { in onApplyWindowInsets()
|