Searched refs:WindowInsets (Results 1 - 25 of 29) sorted by relevance

12

/frameworks/support/compat/api20/android/support/v4/view/
H A DWindowInsetsCompatApi20.java19 import android.view.WindowInsets;
23 return ((WindowInsets) insets).consumeSystemWindowInsets();
27 return ((WindowInsets) insets).getSystemWindowInsetBottom();
31 return ((WindowInsets) insets).getSystemWindowInsetLeft();
35 return ((WindowInsets) insets).getSystemWindowInsetRight();
39 return ((WindowInsets) insets).getSystemWindowInsetTop();
43 return ((WindowInsets) insets).hasInsets();
47 return ((WindowInsets) insets).hasSystemWindowInsets();
51 return ((WindowInsets) insets).isRound();
56 return ((WindowInsets) inset
[all...]
/frameworks/support/compat/api21/android/support/v4/view/
H A DWindowInsetsCompatApi21.java20 import android.view.WindowInsets;
24 return ((WindowInsets) insets).consumeStableInsets();
28 return ((WindowInsets) insets).getStableInsetBottom();
32 return ((WindowInsets) insets).getStableInsetLeft();
36 return ((WindowInsets) insets).getStableInsetRight();
40 return ((WindowInsets) insets).getStableInsetTop();
44 return ((WindowInsets) insets).hasStableInsets();
48 return ((WindowInsets) insets).isConsumed();
52 return ((WindowInsets) insets).replaceSystemWindowInsets(systemWindowInsets);
H A DViewCompatLollipop.java26 import android.view.WindowInsets;
71 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
72 return (WindowInsets) bridge.onApplyWindowInsets(view, insets);
127 WindowInsets unwrapped = (WindowInsets) insets;
128 WindowInsets result = v.onApplyWindowInsets(unwrapped);
130 insets = new WindowInsets(result);
136 WindowInsets unwrapped = (WindowInsets) inset
[all...]
/frameworks/base/core/java/android/view/
H A DWindowInsets.java25 * <p>WindowInsets are immutable and may be expanded to include more inset types in the future.
26 * To adjust insets, use one of the supplied clone methods to obtain a new WindowInsets instance
30 * @see View#onApplyWindowInsets(WindowInsets)
32 public final class WindowInsets { class
59 public static final WindowInsets CONSUMED;
62 CONSUMED = new WindowInsets(null, null, null, false, false);
66 public WindowInsets(Rect systemWindowInsets, Rect windowDecorInsets, Rect stableInsets, method in class:WindowInsets
82 * Construct a new WindowInsets, copying all values from a source WindowInsets.
86 public WindowInsets(WindowInset method in class:WindowInsets
98 public WindowInsets(Rect systemWindowInsets) { method in class:WindowInsets
[all...]
H A DView.java7745 * @deprecated As of API 20 use {@link #dispatchApplyWindowInsets(WindowInsets)} to apply
7746 * insets to views. Views should override {@link #onApplyWindowInsets(WindowInsets)} or use
7763 return dispatchApplyWindowInsets(new WindowInsets(insets)).isConsumed();
7794 * Called when the view should apply {@link WindowInsets} according to its internal policy.
7798 * to apply insets should call {@link #dispatchApplyWindowInsets(WindowInsets)}.</p>
7806 * or a new {@link WindowInsets} cloned from the supplied insets with any insets consumed
7818 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
7838 * {@link OnApplyWindowInsetsListener#onApplyWindowInsets(View, WindowInsets) onApplyWindowInsets}
7840 * {@link #onApplyWindowInsets(WindowInsets) onApplyWindowInset
[all...]
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
H A DCustomDrawerLayout.java22 import android.view.WindowInsets;
41 public WindowInsets dispatchApplyWindowInsets(WindowInsets insets) {
/frameworks/support/core-ui/api21/android/support/v4/widget/
H A DDrawerLayoutCompatApi21.java26 import android.view.WindowInsets;
46 WindowInsets wi = (WindowInsets) insets;
59 WindowInsets wi = (WindowInsets) insets;
74 return insets != null ? ((WindowInsets) insets).getSystemWindowInsetTop() : 0;
88 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardPreviewContainer.java25 import android.view.WindowInsets;
65 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
H A DNotificationsQuickSettingsContainer.java25 import android.view.WindowInsets;
82 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
H A DNotificationPanelView.java38 import android.view.WindowInsets;
1767 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DStickyHeaderScrollView.java24 import android.view.WindowInsets;
105 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
H A DStatusBarBackgroundLayout.java27 import android.view.WindowInsets;
86 final int insetTop = ((WindowInsets) mLastInsets).getSystemWindowInsetTop();
109 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
H A DStickyHeaderListView.java29 import android.view.WindowInsets;
137 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
H A DStickyHeaderRecyclerView.java27 import android.view.WindowInsets;
117 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseBasicsTestCase.java49 import android.view.WindowInsets;
134 .onApplyWindowInsets(eq(content), any(WindowInsets.class));
245 public WindowInsets onApplyWindowInsets(View view, WindowInsets windowInsets) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/
H A DRecentsTvView.java26 import android.view.WindowInsets;
230 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
H A DListenerBindingObject.java31 import android.view.WindowInsets;
176 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DSystemBarHelper.java31 import android.view.WindowInsets;
312 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) {
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DTestWallpaper.java32 import android.view.WindowInsets;
165 public void onApplyWindowInsets(WindowInsets insets) {
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java40 import android.view.WindowInsets;
311 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
339 return WindowInsets.CONSUMED;
443 mContent.dispatchApplyWindowInsets(new WindowInsets(mInnerInsets));
/frameworks/base/core/java/com/android/internal/policy/
H A DDecorView.java73 import android.view.WindowInsets;
948 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
1013 WindowInsets updateColorViews(WindowInsets insets, boolean animate) {
1262 private WindowInsets updateStatusGuard(WindowInsets insets) {
1332 private void updateNavigationGuard(WindowInsets insets) {
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java21 import android.view.WindowInsets;
451 public void onApplyWindowInsets(WindowInsets insets) {
793 WindowInsets insets = new WindowInsets(mFinalSystemInsets,
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsView.java41 import android.view.WindowInsets;
397 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DDividerView.java48 import android.view.WindowInsets;
346 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
/frameworks/base/core/java/com/android/internal/app/
H A DAlertController.java45 import android.view.WindowInsets;

Completed in 2573 milliseconds

12