Searched defs:insets (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarOverlayLayout.java83 // and the application has asked for stable content insets, then
128 private boolean applyInsets(View view, Rect insets, boolean left, boolean top, argument
132 if (left && lp.leftMargin != insets.left) {
134 lp.leftMargin = insets.left;
136 if (top && lp.topMargin != insets.top) {
138 lp.topMargin = insets.top;
140 if (right && lp.rightMargin != insets.right) {
142 lp.rightMargin = insets.right;
144 if (bottom && lp.bottomMargin != insets.bottom) {
146 lp.bottomMargin = insets
152 fitSystemWindows(Rect insets) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java184 private static Insets scaleFromDensity(Insets insets, int sdensity, int tdensity) { argument
185 int left = Bitmap.scaleFromDensity(insets.left, sdensity, tdensity);
186 int top = Bitmap.scaleFromDensity(insets.top, sdensity, tdensity);
187 int right = Bitmap.scaleFromDensity(insets.right, sdensity, tdensity);
188 int bottom = Bitmap.scaleFromDensity(insets.bottom, sdensity, tdensity);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindow.java2370 protected boolean fitSystemWindows(Rect insets) { argument
2371 mFrameOffsets.set(insets);
2375 return super.fitSystemWindows(insets);
/frameworks/base/core/java/android/view/
H A DViewGroup.java2710 Insets insets = c.getOpticalInsets();
2712 c.getLeft() + insets.left,
2713 c.getTop() + insets.top,
2714 c.getRight() - insets.right,
2715 c.getBottom() - insets.bottom, Color.RED);
5107 protected boolean fitSystemWindows(Rect insets) { argument
5108 boolean done = super.fitSystemWindows(insets);
5113 done = children[i].fitSystemWindows(insets);
H A DView.java814 * requested system UI flags that ignore those insets for layout.
2288 * flags, we would like a stable view of the content insets given to
2289 * {@link #fitSystemWindows(Rect)}. This means that the insets seen there
2316 * insets it adds to those given to the application.
2824 * The layout insets in pixels, that is the distance in pixels between the
5555 * Called by the view hierarchy when the content insets for a window have
5557 * The content insets tell you the space that the status bar, input method,
5570 * insets to be 0), and returning true. This behavior is off by default, but can
5574 * insets object is propagated down the hierarchy, so any changes made to it will
5581 * apply the appropriate insets t
5612 fitSystemWindows(Rect insets) argument
[all...]

Completed in 156 milliseconds