Home
last modified time | relevance | path

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

12345678

/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()
DOrientationHelper.java212 public abstract int getMode(); in getMode() method in OrientationHelper
331 public int getMode() { in createHorizontalHelper() method in OrientationHelper
429 public int getMode() {
DDialogViewAnimator.java44 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
45 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
/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/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()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DContentFrameLayout.java22 import static android.view.View.MeasureSpec.getMode;
98 final int widthMode = getMode(widthMeasureSpec); in onMeasure()
99 final int heightMode = getMode(heightMeasureSpec); in onMeasure()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DDefaultMeasureSpecTest.java128 int mode = View.MeasureSpec.getMode(mHSpec); in testWithLargerMinHeight()
143 int mode = View.MeasureSpec.getMode(mWSpec); in testWithLargerMinWidth()
167 int mode = View.MeasureSpec.getMode(spec); in log()
DTestedFrameLayout.java73 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY && in onMeasure()
74 MeasureSpec.getMode(heightMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure()
91 final int mode = View.MeasureSpec.getMode(spec); in chooseSize()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java211 public abstract int getMode(); in getMode() method in OrientationHelper
330 public int getMode() { in createHorizontalHelper() method in OrientationHelper
428 public int getMode() {
/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()
DKeyboardShortcutAppItemLayout.java46 if (MeasureSpec.getMode(widthMeasureSpec) == MeasureSpec.EXACTLY) { in onMeasure()
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java90 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
100 final int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DFixedAspectSurfaceView.java88 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DFixedAspectSurfaceView.java88 int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
89 int heightMode = MeasureSpec.getMode(heightMeasureSpec); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java210 int mode = mFingerprintUnlockController.getMode(); in isWakeAndUnlocking()
395 mFingerprintUnlockController.getMode() == MODE_WAKE_AND_UNLOCK_PULSING; in hide()
414 if (mFingerprintUnlockController.getMode() == MODE_WAKE_AND_UNLOCK) { in hide()
477 if (mFingerprintUnlockController.getMode() == MODE_WAKE_AND_UNLOCK in animateScrimControllerKeyguardFadingOut()
616 mLastFpMode = mFingerprintUnlockController.getMode(); in updateStates()
624 int fpMode = mFingerprintUnlockController.getMode(); in isNavBarVisible()
DPhoneStatusBarTransitions.java51 applyModeBackground(-1, getMode(), false /*animate*/); in init()
52 applyMode(getMode(), false /*animate*/); in init()
DNavigationBarTransitions.java70 applyModeBackground(-1, getMode(), false /*animate*/); in init()
98 applyLightsOut(isLightsOut(getMode()), animate, force); in applyLightsOut()
/frameworks/layoutlib/bridge/src/android/graphics/
DBlendComposite.java85 public BlendingMode getMode() { in getMode() method in BlendComposite
203 switch (composite.getMode()) { in getBlenderFor()
271 assert false : "Blender not implement for " + composite.getMode().name(); in getBlenderFor()
/frameworks/base/core/java/android/os/
DFactoryTest.java40 public static int getMode() { in getMode() method in FactoryTest
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()
/frameworks/support/transition/tests/src/android/support/transition/
DVisibilityTest.java55 assertThat(visibility.getMode(), is(Visibility.MODE_IN | Visibility.MODE_OUT)); in testMode()
57 assertThat(visibility.getMode(), is(Visibility.MODE_IN)); in testMode()
/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.java88 public PorterDuff.Mode getMode() { in getMode() method in PorterDuffColorFilter

12345678