Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/services/core/java/com/android/server/locksettings/
DPasswordSlotManager.java86 if (entry.getValue().equals(getMode())) { in refreshActiveSlots()
96 mSlotMap.put(slot, getMode()); in refreshActiveSlots()
107 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotInUse()
110 mSlotMap.put(slot, getMode()); in markSlotInUse()
119 if (mSlotMap.containsKey(slot) && !mSlotMap.get(slot).equals(getMode())) { in markSlotDeleted()
140 private String getMode() { in getMode() method in PasswordSlotManager
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java190 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_fingerprintAndBiometricsDisallowed_showPrimaryBouncer()
201 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_fingerprint_nonStrongBioDisallowed_showPrimaryBouncer()
220 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprintAndNotInteractive_wakeAndUnlock()
238 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenDeviceIsAlreadyUnlocked_wakeAndUnlock()
252 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprint_notifyKeyguardAuthenticated()
266 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFingerprintOnBouncer_dismissBouncer()
279 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_dontDismissKeyguard()
295 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andBypass_dismissKeyguard()
312 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andNonBypassAndUdfps_dismissKeyguard()
330 assertThat(mBiometricUnlockController.getMode()) in onBiometricAuthenticated_whenFace_andBypass_encrypted_showPrimaryBouncer()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java91 verify(mCallback).onTouchInteractionStart(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_downEvent_handleInteractionStart()
105 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_upEvent_handleInteractionEnd()
119 verify(mCallback).onTouchInteractionEnd(eq(DISPLAY_0), eq(mMgh.getMode())); in onMotionEvent_cancelEvent_handleInteractionEnd()
152 public int getMode() { in getMode() method in MagnificationGestureHandlerTest.TestMagnificationGestureHandler
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationRunner.java204 if (!isChangeTransition && change.getMode() == TRANSIT_CHANGE in createAnimationAdapters()
248 if (TransitionUtil.isOpeningType(change.getMode())) { in createOpenCloseAnimationAdapters()
313 if (!TransitionUtil.isClosingType(closingChange.getMode())) { in shouldUseSnapshotAnimationForClosingChange()
345 if (TransitionUtil.isOpeningType(adapter.mChange.getMode())) { in addEdgeExtensionIfNeeded()
403 if (change.getMode() != TRANSIT_CHANGE in createChangeAnimationAdapters()
416 if (parentChange != null && TransitionUtil.isOpeningType(parentChange.getMode())) { in createChangeAnimationAdapters()
480 || change.getMode() == TRANSIT_CHANGE) { in createChangeAnimationAdapters()
484 } else if (TransitionUtil.isClosingType(change.getMode())) { in createChangeAnimationAdapters()
540 if (change.getMode() != TRANSIT_CHANGE in shouldUseJumpCutForChangeTransition()
550 if (parentChange != null && TransitionUtil.isOpeningType(parentChange.getMode())) { in shouldUseJumpCutForChangeTransition()
[all …]
/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/services/core/java/com/android/server/inputmethod/
DSubtypeUtils.java89 if (TextUtils.isEmpty(mode) || mode.equalsIgnoreCase(subtype.getMode())) { in containsSubtypeOf()
163 final String mode = subtype.getMode(); in getImplicitlyApplicableSubtypesImpl()
179 final String mode = subtype.getMode(); in getImplicitlyApplicableSubtypesImpl()
208 final String mode = subtype.getMode(); in getImplicitlyApplicableSubtypesImpl()
264 if (mode == null || subtypes.get(i).getMode().equalsIgnoreCase(mode)) { in findLastResortApplicableSubtype()
289 + applicableSubtype.getMode() + "," + applicableSubtype.getLocale()); in findLastResortApplicableSubtype()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarTransitions.java49 applyModeBackground(-1, getMode(), false /*animate*/); in PhoneStatusBarTransitions()
50 applyMode(getMode(), false /*animate*/); in PhoneStatusBarTransitions()
101 applyMode(getMode(), /* animate= */ false); in onHeadsUpStateChanged()
/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/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationGestureHandler.java135 mCallback.onTouchInteractionStart(mDisplayId, getMode()); in onMotionEvent()
137 mCallback.onTouchInteractionEnd(mDisplayId, getMode()); in onMotionEvent()
203 public abstract int getMode(); in getMode() method in MagnificationGestureHandler
DMagnificationProcessor.java122 int configMode = config.getMode(); in setMagnificationConfig()
167 if (config.getMode() == MagnificationConfig.MAGNIFICATION_MODE_DEFAULT) { in transitionModeIfNeeded()
171 if (currentMode == config.getMode() && !mController.hasDisableMagnificationCallback( in transitionModeIfNeeded()
413 + getIdOfLastServiceToMagnify(config.getMode(), displayId)).println(); in dump()
415 dumpTrackingTypingFocusEnabledState(pw, displayId, config.getMode()); in dump()
/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() {
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppOpsController.kt38 @Mode fun getMode(): Int in setAllowed() method
81 override fun getMode(): Int = appOpsManager.getOpMode(appOps.op, app) in setAllowed() method
/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/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/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/
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/graphics/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/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DTransitionUtil.java89 if (change.getMode() == TRANSIT_CHANGE && change.hasFlags(FLAG_IS_DISPLAY)) { in hasDisplayChange()
117 return change.getMode() == TRANSIT_CHANGE in isOrderOnly()
170 final int mode = change.getMode(); in setupLeash()
313 newModeToLegacyMode(change.getMode()), in newTarget()
342 return new RemoteAnimationTarget(-1 /* taskId */, newModeToLegacyMode(change.getMode()), in getDividerTarget()
/frameworks/base/core/java/android/os/
DFactoryTest.java40 public static int getMode() { in getMode() method in FactoryTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarTransitions.java101 applyModeBackground(-1, getMode(), false /*animate*/); in init()
156 applyLightsOut(isLightsOut(getMode()), animate, force); in applyLightsOut()
234 pw.println(" mMode: " + getMode()); in dump()
/frameworks/base/libs/hwui/
DLayer.cpp51 SkBlendMode Layer::getMode() const { in getMode() function in android::uirenderer::Layer
122 paint.setBlendMode(getMode()); in draw()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskViewTransitions.java363 if (TransitionUtil.isClosingType(chg.getMode())) { in startAnimation()
364 final boolean isHide = chg.getMode() == TRANSIT_TO_BACK; in startAnimation()
390 } else if (TransitionUtil.isOpeningType(chg.getMode())) { in startAnimation()
391 final boolean taskIsNew = chg.getMode() == TRANSIT_OPEN; in startAnimation()
418 } else if (chg.getMode() == TRANSIT_CHANGE) { in startAnimation()

1234567891011