HomeSort by relevance Sort by last modified time
    Searched refs:insets (Results 1 - 25 of 171) sorted by null

1 2 3 4 5 6 7

  /frameworks/support/compat/api20/android/support/v4/view/
WindowInsetsCompatApi20.java 22 public static Object consumeSystemWindowInsets(Object insets) {
23 return ((WindowInsets) insets).consumeSystemWindowInsets();
26 public static int getSystemWindowInsetBottom(Object insets) {
27 return ((WindowInsets) insets).getSystemWindowInsetBottom();
30 public static int getSystemWindowInsetLeft(Object insets) {
31 return ((WindowInsets) insets).getSystemWindowInsetLeft();
34 public static int getSystemWindowInsetRight(Object insets) {
35 return ((WindowInsets) insets).getSystemWindowInsetRight();
38 public static int getSystemWindowInsetTop(Object insets) {
39 return ((WindowInsets) insets).getSystemWindowInsetTop()
    [all...]
  /frameworks/support/compat/api21/android/support/v4/view/
WindowInsetsCompatApi21.java 23 public static Object consumeStableInsets(Object insets) {
24 return ((WindowInsets) insets).consumeStableInsets();
27 public static int getStableInsetBottom(Object insets) {
28 return ((WindowInsets) insets).getStableInsetBottom();
31 public static int getStableInsetLeft(Object insets) {
32 return ((WindowInsets) insets).getStableInsetLeft();
35 public static int getStableInsetRight(Object insets) {
36 return ((WindowInsets) insets).getStableInsetRight();
39 public static int getStableInsetTop(Object insets) {
40 return ((WindowInsets) insets).getStableInsetTop()
    [all...]
  /frameworks/support/compat/java/android/support/v4/view/
WindowInsetsCompat.java 23 * Describes a set of insets for window content.
26 * future. To adjust insets, use one of the supplied clone methods to obtain a new
31 int getSystemWindowInsetLeft(Object insets);
32 int getSystemWindowInsetTop(Object insets);
33 int getSystemWindowInsetRight(Object insets);
34 int getSystemWindowInsetBottom(Object insets);
35 boolean hasSystemWindowInsets(Object insets);
36 boolean hasInsets(Object insets);
37 boolean isConsumed(Object insets);
38 boolean isRound(Object insets);
    [all...]
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);
  /frameworks/support/core-ui/api21/android/support/v4/widget/
DrawerLayoutImpl.java 25 void setChildInsets(Object insets, boolean drawStatusBar);
DrawerLayoutCompatApi21.java 45 public static void dispatchChildInsets(View child, Object insets, int gravity) {
46 WindowInsets wi = (WindowInsets) insets;
57 public static void applyMarginInsets(ViewGroup.MarginLayoutParams lp, Object insets,
59 WindowInsets wi = (WindowInsets) insets;
73 public static int getTopInset(Object insets) {
74 return insets != null ? ((WindowInsets) insets).getSystemWindowInsetTop() : 0;
88 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
90 drawerLayout.setChildInsets(insets, insets.getSystemWindowInsetTop() > 0)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
Insettable.java 27 void setInsets(Rect insets);
LauncherRootView.java 38 // based on the horizontal insets.
46 protected boolean fitSystemWindows(Rect insets) {
47 boolean rawInsetsChanged = !mInsets.equals(insets);
48 mDrawSideInsetBar = (insets.right > 0 || insets.left > 0) &&
51 mRightInsetBarWidth = insets.right;
52 mLeftInsetBarWidth = insets.left;
53 setInsets(mDrawSideInsetBar ? new Rect(0, insets.top, 0, insets.bottom) : insets);
    [all...]
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
MoreImmutablesTest.java 19 import java.awt.Insets;
34 Insets insets = new Insets(10, 20, 30, 40); local
35 String dump = yaml.dump(insets);
36 assertEquals("!!java.awt.Insets [10, 20, 30, 40]\n", dump);
38 assertEquals(insets, loaded);
64 Insets insets = new Insets(10, 20, 30, 40) local
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DropTarget.java 30 boolean acceptsDrop(int x, int y, int width, int height, Rect insets, boolean isCurrentTarget);
  /frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
StickyHeaderScrollView.java 105 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
107 mStatusBarInset = insets.getSystemWindowInsetTop();
108 insets = insets.replaceSystemWindowInsets(
109 insets.getSystemWindowInsetLeft(),
111 insets.getSystemWindowInsetRight(),
112 insets.getSystemWindowInsetBottom()
115 return insets;
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
ViewOutlineProviderCompatUtils.java 29 public void setInsets(final InputMethodService.Insets insets);
34 public void setInsets(final InputMethodService.Insets insets) {}
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/
LayoutRenderer.java 27 import java.awt.Insets;
69 Insets insets = getInsets(); local
70 g.clipRect(insets.left, insets.top,
71 getWidth() - insets.left - insets.right,
72 getHeight() - insets.top - insets.bottom);
83 int x = (getWidth() - insets.left - insets.right - root.width) / 2
144 Insets insets = getInsets(); local
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Insets.java 20 * An Insets instance holds four integer offsets which describe changes to the four
24 * Insets are immutable so may be treated as values.
28 public class Insets {
29 public static final Insets NONE = new Insets(0, 0, 0, 0);
36 private Insets(int left, int top, int right, int bottom) {
46 * Return an Insets instance with the appropriate values.
53 * @return Insets instance with the appropriate values
55 public static Insets of(int left, int top, int right, int bottom) {
59 return new Insets(left, top, right, bottom)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
FitWindowsFrameLayout.java 49 protected boolean fitSystemWindows(Rect insets) {
51 mListener.onFitSystemWindows(insets);
53 return super.fitSystemWindows(insets);
FitWindowsLinearLayout.java 49 protected boolean fitSystemWindows(Rect insets) {
51 mListener.onFitSystemWindows(insets);
53 return super.fitSystemWindows(insets);
FitWindowsViewGroup.java 31 void onFitSystemWindows(Rect insets);
  /frameworks/support/v7/appcompat/tests/src/android/support/v7/custom/
CustomDrawerLayout.java 41 public WindowInsets dispatchApplyWindowInsets(WindowInsets insets) {
42 mSystemWindowInsetTop = insets.getSystemWindowInsetTop();
43 return super.dispatchApplyWindowInsets(insets);
FitWindowsContentLayout.java 42 protected boolean fitSystemWindows(Rect insets) {
44 mInsets.set(insets);
46 return super.fitSystemWindows(insets);
  /developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/
MainActivity.java 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
42 final boolean round = insets.isRound();
48 // GridViewPager relies on insets to properly handle
51 pager.onApplyWindowInsets(insets);
52 return insets;
  /developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/
MainActivity.java 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
42 final boolean round = insets.isRound();
48 // GridViewPager relies on insets to properly handle
51 pager.onApplyWindowInsets(insets);
52 return insets;
  /development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
MainActivity.java 38 public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
42 final boolean round = insets.isRound();
48 // GridViewPager relies on insets to properly handle
51 pager.onApplyWindowInsets(insets);
52 return insets;
  /frameworks/opt/setupwizard/library/full-support/src/com/android/setupwizardlib/view/
StickyHeaderRecyclerView.java 117 public WindowInsets onApplyWindowInsets(WindowInsets insets) {
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/
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) {
    [all...]
  /external/proguard/src/proguard/gui/
MemberSpecificationDialog.java 87 constraints.insets = new Insets(1, 2, 1, 2);
93 constraintsStretch.insets = constraints.insets;
98 constraintsLast.insets = constraints.insets;
105 constraintsLastStretch.insets = constraints.insets;
113 panelConstraints.insets = constraints.insets;
    [all...]

Completed in 751 milliseconds

1 2 3 4 5 6 7