Searched refs:Insets (Results 1 - 8 of 8) 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;
59 private Insets mLayoutInsets = Insets.NONE;
184 private static Insets scaleFromDensity(Insets insets, int sdensity, int tdensity) {
189 return Insets.of(left, top, right, bottom);
239 public Insets getLayoutInsets() {
400 final Insets mLayoutInsets;
416 mLayoutInsets = Insets.of(layoutInsets);
H A DDrawable.java19 import android.graphics.Insets;
718 public Insets getLayoutInsets() {
719 return Insets.NONE;
H A DDrawableContainer.java22 import android.graphics.Insets;
98 public Insets getLayoutInsets() {
99 return (mCurrDrawable == null) ? Insets.NONE : mCurrDrawable.getLayoutInsets();
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java305 final Insets mTmpInsets = new Insets();
535 public static final class Insets { class in class:InputMethodService
1029 * insets are {@link Insets#TOUCHABLE_INSETS_VISIBLE}.
1038 public void onComputeInsets(Insets outInsets) {
1057 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_VISIBLE;
/frameworks/base/core/java/android/widget/
H A DGridLayout.java23 import android.graphics.Insets;
846 Insets insets = getLayoutMode() == OPTICAL_BOUNDS ? c.getOpticalInsets() : Insets.NONE;
1018 Insets insets = c.getOpticalInsets();
1129 Insets insets = c.getOpticalInsets();
/frameworks/base/core/java/android/view/
H A DView.java27 import android.graphics.Insets;
2829 private Insets mLayoutInsets;
14843 public Insets getOpticalInsets() {
14845 mLayoutInsets = (mBackground == null) ? Insets.NONE : mBackground.getLayoutInsets();
14853 public void setLayoutInsets(Insets layoutInsets) {
H A DViewGroup.java26 import android.graphics.Insets;
2710 Insets insets = c.getOpticalInsets();

Completed in 178 milliseconds