Searched refs:Insets (Results 1 - 21 of 21) 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.java30 import android.graphics.Insets;
76 private Insets mOpticalInsets = Insets.NONE;
306 public Insets getOpticalInsets() {
307 final Insets opticalInsets = mOpticalInsets;
309 return Insets.of(opticalInsets.right, opticalInsets.top,
462 state.mOpticalInsets = Insets.of(opticalInsets);
598 Insets mOpticalInsets = Insets.NONE;
622 mOpticalInsets = Insets
[all...]
H A DInsetDrawable.java30 import android.graphics.Insets;
245 public Insets getOpticalInsets() {
246 final Insets contentInsets = super.getOpticalInsets();
248 return Insets.of(
H A DDrawableWrapper.java33 import android.graphics.Insets;
245 public Insets getOpticalInsets() {
246 return mDrawable != null ? mDrawable.getOpticalInsets() : Insets.NONE;
H A DBitmapDrawable.java31 import android.graphics.Insets;
104 private Insets mOpticalInsets = Insets.NONE;
621 mOpticalInsets = Insets.of(left, top, right, bottom);
624 mOpticalInsets = Insets.NONE;
634 public Insets getOpticalInsets() {
H A DVectorDrawable.java28 import android.graphics.Insets;
336 private Insets mDpiScaledInsets = Insets.NONE;
548 public Insets getOpticalInsets() {
560 final Insets opticalInsets = mVectorState.mOpticalInsets;
577 mDpiScaledInsets = Insets.of(left, top, right, bottom);
784 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
918 Insets mOpticalInsets = Insets.NONE;
1111 mOpticalInsets = Insets
[all...]
H A DDrawable.java41 import android.graphics.Insets;
1093 public @NonNull Insets getOpticalInsets() {
1094 return Insets.NONE;
H A DGradientDrawable.java32 import android.graphics.Insets;
1338 state.mOpticalInsets = Insets.of(insetLeft, insetTop, insetRight, insetBottom);
1703 public Insets getOpticalInsets() {
1819 public Insets mOpticalInsets = Insets.NONE;
1932 if (mOpticalInsets != Insets.NONE) {
1941 mOpticalInsets = Insets.of(left, top, right, bottom);
H A DDrawableContainer.java26 import android.graphics.Insets;
127 public Insets getOpticalInsets() {
131 return Insets.NONE;
H A DAnimatedVectorDrawable.java37 import android.graphics.Insets;
521 public Insets getOpticalInsets() {
/frameworks/base/core/java/android/widget/
H A DSwitch.java29 import android.graphics.Insets;
864 final Insets inset = mThumbDrawable.getOpticalInsets();
1109 final Insets insets = mThumbDrawable.getOpticalInsets();
1161 final Insets thumbInsets;
1165 thumbInsets = Insets.NONE;
1180 if (thumbInsets != Insets.NONE) {
1235 final Insets insets = thumbDrawable.getOpticalInsets();
1325 final Insets insets;
1329 insets = Insets.NONE;
H A DAbsSeekBar.java25 import android.graphics.Insets;
686 final Insets insets = thumbDrawable.getOpticalInsets();
H A DGridLayout.java38 import android.graphics.Insets;
934 Insets insets = getOpticalInsets();
H A DTextView.java56 import android.graphics.Insets;
6556 Insets opticalInsets = isLayoutModeOptical(mParent) ? getOpticalInsets() : Insets.NONE;
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainInteractionSession.java340 public void onComputeInsets(Insets outInsets) {
344 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_CONTENT;
346 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_CONTENT;
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java136 final Insets mTmpInsets = new Insets();
889 public static final class Insets { class in class:VoiceInteractionSession
1574 * sets {@link Insets#contentInsets outInsets.contentInsets.top} to the height
1576 * insets are {@link Insets#TOUCHABLE_INSETS_FRAME}, meaning it consumes all touch
1581 public void onComputeInsets(Insets outInsets) {
1587 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_FRAME;
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java418 final Insets mTmpInsets = new Insets();
705 public static final class Insets { class in class:InputMethodService
1380 * insets are {@link Insets#TOUCHABLE_INSETS_VISIBLE}.
1389 public void onComputeInsets(Insets outInsets) {
1408 outInsets.touchableInsets = Insets.TOUCHABLE_INSETS_VISIBLE;
/frameworks/base/core/java/android/view/
H A DViewGroup.java36 import android.graphics.Insets;
3912 Insets computeOpticalInsets() {
3921 Insets insets = child.getOpticalInsets();
3928 return Insets.of(left, top, right, bottom);
3930 return Insets.NONE;
4002 Insets insets = c.getOpticalInsets();
8303 Insets oi = isLayoutModeOptical(view.mParent) ? view.getOpticalInsets() : Insets.NONE;
H A DView.java49 import android.graphics.Insets;
4085 private Insets mLayoutInsets;
9739 * @param insets Insets to apply
9792 * @param insets Insets to apply
9861 * @param in Insets currently being processed by this View, likely received as a parameter
9865 * @return Insets that should be passed along to views under this one
20626 Insets parentInsets = mParent instanceof View ?
20627 ((View) mParent).getOpticalInsets() : Insets.NONE;
20628 Insets childInsets = getOpticalInsets();
22215 Insets computeOpticalInset
[all...]
/frameworks/base/config/
H A Dpreloaded-classes1071 android.graphics.Insets
H A Dboot-image-profile.txt2192 HPLandroid/graphics/drawable/VectorDrawable;->getOpticalInsets()Landroid/graphics/Insets;
2993 HPLandroid/inputmethodservice/InputMethodService;->onComputeInsets(Landroid/inputmethodservice/InputMethodService$Insets;)V
[all...]

Completed in 1540 milliseconds