/frameworks/support/core-ui/api21/android/support/v4/widget/ |
H A D | DrawerLayoutImpl.java | 25 void setChildInsets(Object insets, boolean drawStatusBar); argument
|
H A D | DrawerLayoutCompatApi21.java | 47 public static void dispatchChildInsets(View child, Object insets, int gravity) { argument 48 WindowInsets wi = (WindowInsets) insets; 59 public static void applyMarginInsets(ViewGroup.MarginLayoutParams lp, Object insets, argument 61 WindowInsets wi = (WindowInsets) insets; 75 public static int getTopInset(Object insets) { argument 76 return insets != null ? ((WindowInsets) insets).getSystemWindowInsetTop() : 0; 90 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) { argument 92 drawerLayout.setChildInsets(insets, insets [all...] |
/frameworks/support/compat/java/android/support/v4/view/ |
H A D | OnApplyWindowInsetsListener.java | 22 * Listener for applying window insets on a view in a custom way. 25 * to the way that window insets are treated for a view. If an OnApplyWindowInsetsListener 38 * @param v The view applying window insets 39 * @param insets The insets to apply 40 * @return The insets supplied, minus any insets that were consumed 42 WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets); argument
|
H A D | WindowInsetsCompat.java | 25 * Describes a set of insets for window content. 28 * future. To adjust insets, use one of the supplied clone methods to obtain a new 34 private WindowInsetsCompat(Object insets) { argument 35 mInsets = insets; 120 * Returns true if this WindowInsets has nonzero system window insets. 137 * Returns true if this WindowInsets has any nonzero insets. 150 * Check if these insets have been fully consumed. 153 * have been called such that all insets have been set to zero. This affects propagation of 154 * insets through the view hierarchy; insets tha 363 wrap(Object insets) argument 367 unwrap(WindowInsetsCompat insets) argument [all...] |
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | NavigationTestView.java | 42 protected void onInsetsChanged(WindowInsetsCompat insets) { argument 43 super.onInsetsChanged(insets); 44 mHashSystemWindowInsets = insets.hasSystemWindowInsets();
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/ |
H A D | CustomDrawerLayout.java | 39 public WindowInsets dispatchApplyWindowInsets(WindowInsets insets) { argument 40 mSystemWindowInsetTop = insets.getSystemWindowInsetTop(); 41 return super.dispatchApplyWindowInsets(insets);
|
H A D | FitWindowsContentLayout.java | 42 protected boolean fitSystemWindows(Rect insets) { argument 44 mInsets.set(insets); 46 return super.fitSystemWindows(insets);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | DropTarget.java | 30 boolean acceptsDrop(int x, int y, int width, int height, Rect insets, boolean isCurrentTarget); argument
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/myapplication.widgets/ |
H A D | InsetsWidget.java | 39 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 41 return super.onApplyWindowInsets(insets);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderScrollView.java | 105 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 107 mStatusBarInset = insets.getSystemWindowInsetTop(); 108 insets = insets.replaceSystemWindowInsets( 109 insets.getSystemWindowInsetLeft(), 111 insets.getSystemWindowInsetRight(), 112 insets.getSystemWindowInsetBottom() 115 return insets;
|
H A D | StickyHeaderListView.java | 137 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 139 mStatusBarInset = insets.getSystemWindowInsetTop(); 140 insets.replaceSystemWindowInsets( 141 insets.getSystemWindowInsetLeft(), 143 insets.getSystemWindowInsetRight(), 144 insets.getSystemWindowInsetBottom() 147 return insets;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskSnapshotSurfaceTest.java | 152 final Rect insets = new Rect(0, 10, 0, 10); 153 mSurface.setFrames(new Rect(0, 0, 100, 100), insets, insets); 161 final Rect insets = new Rect(10, 10, 0, 0); 162 mSurface.setFrames(new Rect(0, 0, 100, 100), insets, insets); 170 final Rect insets = new Rect(0, 10, 10, 0); 171 mSurface.setFrames(new Rect(0, 0, 100, 100), insets, insets); 183 final Rect insets [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Insets.java | 86 Insets insets = (Insets) o; 88 if (bottom != insets.bottom) return false; 89 if (left != insets.left) return false; 90 if (right != insets.right) return false; 91 if (top != insets.top) return false;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | FitWindowsFrameLayout.java | 49 protected boolean fitSystemWindows(Rect insets) { argument 51 mListener.onFitSystemWindows(insets); 53 return super.fitSystemWindows(insets);
|
H A D | FitWindowsLinearLayout.java | 49 protected boolean fitSystemWindows(Rect insets) { argument 51 mListener.onFitSystemWindows(insets); 53 return super.fitSystemWindows(insets);
|
H A D | FitWindowsViewGroup.java | 31 void onFitSystemWindows(Rect insets); argument
|
H A D | DrawableUtils.java | 63 * Allows us to get the optical insets for a {@link Drawable}. Since this is hidden we need to 75 final Object insets = getOpticalInsetsMethod.invoke(drawable); 77 if (insets != null) { 78 // If the drawable has some optical insets, let's copy them into a Rect 84 result.left = field.getInt(insets); 87 result.top = field.getInt(insets); 90 result.right = field.getInt(insets); 93 result.bottom = field.getInt(insets); 101 Log.e(TAG, "Couldn't obtain the optical insets. Ignoring."); 106 // any optical insets, o [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | ThumbnailData.java | 31 public final Rect insets = new Rect(); field in class:ThumbnailData 38 out.insets.set(snapshot.getContentInsets());
|
/frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/ |
H A D | StickyHeaderRecyclerView.java | 117 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 119 mStatusBarInset = insets.getSystemWindowInsetTop(); 120 insets.replaceSystemWindowInsets( 121 insets.getSystemWindowInsetLeft(), 123 insets.getSystemWindowInsetRight(), 124 insets.getSystemWindowInsetBottom() 127 return insets;
|
/frameworks/support/design/src/android/support/design/internal/ |
H A D | ScrimInsetsFrameLayout.java | 63 setWillNotDraw(true); // No need to draw until the insets are adjusted 69 WindowInsetsCompat insets) { 73 mInsets.set(insets.getSystemWindowInsetLeft(), 74 insets.getSystemWindowInsetTop(), 75 insets.getSystemWindowInsetRight(), 76 insets.getSystemWindowInsetBottom()); 77 onInsetsChanged(insets); 78 setWillNotDraw(!insets.hasSystemWindowInsets() || mInsetForeground == null); 80 return insets.consumeSystemWindowInsets(); 135 protected void onInsetsChanged(WindowInsetsCompat insets) { argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | KeyguardPreviewContainer.java | 65 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 66 setPadding(0, 0, 0, insets.getStableInsetBottom()); 67 return super.onApplyWindowInsets(insets);
|
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | DockedDividerUtils.java | 99 public static int calculateMiddlePosition(boolean isHorizontalDivision, Rect insets, argument 101 int start = isHorizontalDivision ? insets.top : insets.left; 103 ? displayHeight - insets.bottom 104 : displayWidth - insets.right;
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 165 public void onApplyWindowInsets(WindowInsets insets) { argument 166 super.onApplyWindowInsets(insets); 167 mMainInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), 168 insets.getSystemWindowInsetRight(), insets.getSystemWindowInsetBottom()); 169 mStableInsets.set(insets.getStableInsetLeft(), insets.getStableInsetTop(), 170 insets.getStableInsetRight(), insets [all...] |
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | BoxInsetLayout.java | 114 public WindowInsets onApplyWindowInsets(WindowInsets insets) { argument 115 insets = super.onApplyWindowInsets(insets); 117 final boolean round = insets.isRound(); 122 mInsets.set(insets.getSystemWindowInsetLeft(), insets.getSystemWindowInsetTop(), 123 insets.getSystemWindowInsetRight(), insets.getSystemWindowInsetBottom()); 125 return insets; 152 WindowInsets insets [all...] |
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
H A D | SystemBarHelper.java | 202 * for this class to work. Otherwise window insets are not dispatched and this method will have 310 public WindowInsets onApplyWindowInsets(View view, WindowInsets insets) { argument 316 int bottomInset = insets.getSystemWindowInsetBottom(); 319 insets.getSystemWindowInsetBottom() - mBottomOffset, 0); 332 return insets.replaceSystemWindowInsets( 333 insets.getSystemWindowInsetLeft(), 334 insets.getSystemWindowInsetTop(), 335 insets.getSystemWindowInsetRight(),
|