Searched refs:Insets (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DInsets.java20 * 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 { class
29 public static final Insets NONE = new Insets(0, 0, 0, 0);
36 private Insets(int left, int top, int right, int bottom) { method in class:Insets
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(lef
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DNinePatchDrawable.java25 import android.graphics.Insets;
60 private Insets mOpticalInsets = Insets.NONE;
186 private static Insets scaleFromDensity(Insets insets, int sdensity, int tdensity) {
191 return Insets.of(left, top, right, bottom);
254 public Insets getOpticalInsets() {
256 return Insets.of(mOpticalInsets.right, mOpticalInsets.top, mOpticalInsets.right,
445 final Insets mOpticalInsets;
463 mOpticalInsets = Insets
[all...]
H A DDrawableContainer.java22 import android.graphics.Insets;
63 private Insets mInsets = Insets.NONE;
115 public Insets getOpticalInsets() {
369 mInsets = Insets.NONE;
373 mInsets = Insets.NONE;
H A DDrawable.java19 import android.graphics.Insets;
763 public Insets getOpticalInsets() {
764 return Insets.NONE;
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java306 final Insets mTmpInsets = new Insets();
541 public static final class Insets { class in class:InputMethodService
1037 * insets are {@link Insets#TOUCHABLE_INSETS_VISIBLE}.
1046 public void onComputeInsets(Insets outInsets) {
1065 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_VISIBLE;
/frameworks/base/core/java/android/view/
H A DViewGroup.java26 import android.graphics.Insets;
2745 Insets computeOpticalInsets() {
2754 Insets insets = child.getOpticalInsets();
2761 return Insets.of(left, top, right, bottom);
2763 return Insets.NONE;
2839 Insets insets = c.getOpticalInsets();
6447 Insets oi = isLayoutModeOptical(view.mParent) ? view.getOpticalInsets() : Insets.NONE;
H A DView.java27 import android.graphics.Insets;
3023 private Insets mLayoutInsets;
14771 Insets parentInsets = mParent instanceof View ?
14772 ((View) mParent).getOpticalInsets() : Insets.NONE;
14773 Insets childInsets = getOpticalInsets();
15664 Insets computeOpticalInsets() {
15665 return (mBackground == null) ? Insets.NONE : mBackground.getOpticalInsets();
15689 public Insets getOpticalInsets() {
16473 Insets insets = getOpticalInsets();
16590 Insets inset
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java23 import android.graphics.Insets;
908 Insets insets = getOpticalInsets();
H A DTextView.java30 import android.graphics.Insets;
4488 Insets opticalInsets = isLayoutModeOptical(mParent) ? getOpticalInsets() : Insets.NONE;

Completed in 242 milliseconds