Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java139 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprintAndBiometricsDisallowed_showBouncer()
152 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprint_nonStrongBioDisallowed_showBouncer()
171 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
185 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprint_notifyKeyguardAuthenticated()
199 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprintOnBouncer_dismissBouncer()
214 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_dontDismissKeyguard()
232 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andBypass_dismissKeyguard()
251 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andNonBypassAndUdfps_dismissKeyguard()
272 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andBypass_encrypted_showBouncer()
290 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_noBypass_encrypted_doNothing()
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DPasswordSlotManager.java88 if (entry.getValue().equals(getMode())) { in refreshActiveSlots()
98 mSlotMap.put(slot, getMode()); in refreshActiveSlots()
111 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotInUse()
114 mSlotMap.put(slot, getMode()); in markSlotInUse()
125 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotDeleted()
146 private String getMode() { in getMode() method in PasswordSlotManager
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java85 verify(mCallback).onTouchInteractionStart(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_downEvent_handleInteractionStart()
99 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_upEvent_handleInteractionEnd()
113 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_cancelEvent_handleInteractionEnd()
124 verify(mCallback).onShortcutTriggered(eq(DISPLAY_0), eq(mMgh.getMode())); in notifyShortcutTriggered_callsOnShortcutTriggered()
151 public int getMode() { in getMode() method in MagnificationGestureHandlerTest.TestMagnificationGestureHandler
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGestureHandler.java131 mCallback.onTouchInteractionStart(mDisplayId, getMode()); in onMotionEvent()
133 mCallback.onTouchInteractionEnd(mDisplayId, getMode()); in onMotionEvent()
184 mCallback.onShortcutTriggered(mDisplayId, getMode()); in notifyShortcutTriggered()
200 public abstract int getMode(); in getMode() method in MagnificationGestureHandler
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DLegacySplitScreenTransitions.java217 if (change.getMode() == TRANSIT_OPEN || change.getMode() == TRANSIT_TO_FRONT) { in startAnimation()
219 } else if (change.getMode() == TRANSIT_CLOSE in startAnimation()
220 || change.getMode() == TRANSIT_TO_BACK) { in startAnimation()
236 final int mode = info.getChanges().get(i).getMode(); in startAnimation()
307 homeIsVisible = change.getMode() == TRANSIT_OPEN in startAnimation()
308 || change.getMode() == TRANSIT_TO_FRONT in startAnimation()
309 || change.getMode() == TRANSIT_CHANGE; in startAnimation()
/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.java50 final int widthMode = MeasureSpec.getMode(widthMeasureSpec); in onMeasure()
60 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/base/packages/SystemUI/src/com/android/systemui/util/animation/
DUniqueObjectHostView.kt46 val widthSpec = MeasureSpec.makeMeasureSpec(width, MeasureSpec.getMode(widthMeasureSpec)) in onMeasure()
48 val heightSpec = MeasureSpec.makeMeasureSpec(height, 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/opt/net/voip/src/java/android/net/rtp/
DAudioGroup.java140 public int getMode() { in getMode() method in AudioGroup
175 id = nativeAdd(stream.getMode(), stream.getSocket(), in add()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarTransitions.java47 applyModeBackground(-1, getMode(), false /*animate*/); in PhoneStatusBarTransitions()
48 applyMode(getMode(), false /*animate*/); in PhoneStatusBarTransitions()
/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/
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/base/tests/SilkFX/src/com/android/test/silkfx/hdr/
DBlingyNotification.kt51 val widthMode = MeasureSpec.getMode(widthMeasureSpec) in onMeasure()
52 val heightMode = MeasureSpec.getMode(heightMeasureSpec) in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarTransitions.java112 applyModeBackground(-1, getMode(), false /*animate*/); in init()
162 applyLightsOut(isLightsOut(getMode()), animate, force); in applyLightsOut()
240 pw.println(" mMode: " + getMode()); in dump()
/frameworks/base/core/java/android/os/
DFactoryTest.java40 public static int getMode() { in getMode() method in FactoryTest
/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/libs/hwui/
DLayer.cpp48 SkBlendMode Layer::getMode() const { in getMode() function in android::uirenderer::Layer
120 paint.setBlendMode(getMode()); in draw()
/frameworks/av/media/codec2/faultinjection/
DSimpleMethodState.h67 Mode getMode() const;
DSimpleMethodState.cpp40 SimpleMethodState::Mode SimpleMethodState::getMode() const { in getMode() function in android::SimpleMethodState
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java60 MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY || in onMeasure()
61 MeasureSpec.getMode(heightMeasureSpec) != MeasureSpec.EXACTLY; in onMeasure()

123456789