Searched defs:insets (Results 1 - 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 83 // 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 D | NinePatchDrawable.java | 184 private 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 D | PhoneWindow.java | 2342 protected boolean fitSystemWindows(Rect insets) { argument 2343 mFrameOffsets.set(insets); 2347 return super.fitSystemWindows(insets);
|
/frameworks/base/core/java/android/view/ |
H A D | ViewGroup.java | 2712 Insets insets = c.getOpticalInsets(); 2714 c.getLeft() + insets.left, 2715 c.getTop() + insets.top, 2716 c.getRight() - insets.right, 2717 c.getBottom() - insets.bottom, Color.RED); 5094 protected boolean fitSystemWindows(Rect insets) { argument 5095 boolean done = super.fitSystemWindows(insets); 5100 done = children[i].fitSystemWindows(insets);
|
H A D | View.java | 802 * requested system UI flags that ignore those insets for layout. 2348 * flags, we would like a stable view of the content insets given to 2349 * {@link #fitSystemWindows(Rect)}. This means that the insets seen there 2376 * insets it adds to those given to the application. 2873 * The layout insets in pixels, that is the distance in pixels between the 5352 * Called by the view hierarchy when the content insets for a window have 5354 * The content insets tell you the space that the status bar, input method, 5367 * insets to be 0), and returning true. This behavior is off by default, but can 5371 * insets object is propagated down the hierarchy, so any changes made to it will 5378 * apply the appropriate insets t 5409 fitSystemWindows(Rect insets) argument [all...] |
Completed in 163 milliseconds