Home
last modified time | relevance | path

Searched refs:getMode (Results 1 – 25 of 152) sorted by relevance

1234567

/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java48 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
72 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { in onMeasure()
74 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/base/core/tests/coretests/src/android/transition/
DAutoTransitionTest.java39 assertEquals(Visibility.MODE_OUT, ((Fade)fadeOut).getMode()); in testFadeOutMoveFadeIn()
48 assertEquals(Visibility.MODE_IN, ((Fade)fadeIn).getMode()); in testFadeOutMoveFadeIn()
/frameworks/base/core/java/com/android/internal/widget/
DPreferenceImageView.java47 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
57 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
DDialogViewAnimator.java44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
DAlertDialogLayout.java107 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in tryOnMeasure()
109 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in tryOnMeasure()
DDrawingSpace.java53 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSizeNonGreedy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarTransitions.java45 applyModeBackground(-1, getMode(), false /*animate*/); in init()
46 applyMode(getMode(), false /*animate*/, true /*force*/); in init()
DPhoneStatusBarTransitions.java51 applyModeBackground(-1, getMode(), false /*animate*/); in init()
52 applyMode(getMode(), false /*animate*/); in init()
/frameworks/base/core/tests/coretests/src/android/widget/
DLabelView.java132 int specMode = MeasureSpec.getMode(measureSpec); in measureWidth()
158 int specMode = MeasureSpec.getMode(measureSpec); in measureHeight()
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java84 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
94 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/frameworks/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java122 public int getMode() { in getMode() method in AudioGroup
153 long id = nativeAdd(stream.getMode(), stream.getSocket(), in add()
DRtpStream.java119 public int getMode() { in getMode() method in RtpStream
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestedFrameLayout.java77 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY && in onMeasure()
78 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure()
95 final int mode = View.MeasureSpec.getMode(spec); in chooseSize()
DDefaultMeasureSpecTest.java128 int mode = View.MeasureSpec.getMode(mHSpec); in testWithLargerMinHeight()
143 int mode = View.MeasureSpec.getMode(mWSpec); in testWithLargerMinWidth()
166 int mode = View.MeasureSpec.getMode(spec); in log()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutKeysLayout.java54 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
79 if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.UNSPECIFIED) { in onMeasure()
81 } else if (MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.AT_MOST) { in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java29 import static android.view.View.MeasureSpec.getMode;
94 final int widthMode = getMode(widthMeasureSpec); in onMeasure()
95 final int heightMode = getMode(heightMeasureSpec); in onMeasure()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java88 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java212 public abstract int getMode(); in getMode() method in OrientationHelper
331 public int getMode() { in createHorizontalHelper() method in OrientationHelper
429 public int getMode() {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBlendComposite.java85 public BlendingMode getMode() { in getMode() method in BlendComposite
202 switch (composite.getMode()) { in getBlenderFor()
271 composite.getMode().name()); in getBlenderFor()
DPorterDuffXfermode_Delegate.java52 public Mode getMode() { in getMode() method in PorterDuffXfermode_Delegate
/frameworks/base/core/java/android/os/
DFactoryTest.java38 public static int getMode() { in getMode() method in FactoryTest
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java65 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
66 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java112 int specMode = MeasureSpec.getMode(measureSpec); in measureWidth()
127 int specMode = MeasureSpec.getMode(measureSpec); in measureHeight()
/frameworks/base/graphics/java/android/graphics/
DPorterDuffColorFilter.java85 public PorterDuff.Mode getMode() { in getMode() method in PorterDuffColorFilter
/frameworks/support/v4/java/android/support/v4/widget/
DSpace.java61 int specMode = MeasureSpec.getMode(measureSpec); in getDefaultSize2()

1234567