Home
last modified time | relevance | path

Searched refs:STATE_DISABLED (Results 1 – 19 of 19) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationController.java49 @IntDef({STATE_DISABLED, STATE_ENABLED, STATE_DISABLING, STATE_ENABLING})
53 @VisibleForTesting static final int STATE_DISABLED = 0; field in WindowMagnificationAnimationController
74 private int mState = STATE_DISABLED;
161 if (mState == STATE_DISABLED) { in enableWindowMagnification()
208 if (mState == STATE_DISABLED) { in setupEnableAnimationSpecs()
262 if (mState == STATE_DISABLED || mState == STATE_DISABLING) { in deleteWindowMagnification()
263 if (mState == STATE_DISABLED) { in deleteWindowMagnification()
277 setState(STATE_DISABLED); in updateState()
/aosp14/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
H A DContentCapturePerUserService.java21 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
263 setClientState(clientReceiver, STATE_DISABLED | STATE_INTERNAL_ERROR, in startSessionLocked()
289 setClientState(clientReceiver, STATE_DISABLED | STATE_NO_SERVICE, in startSessionLocked()
294 STATE_DISABLED | STATE_NO_SERVICE, serviceComponentName, in startSessionLocked()
313 setClientState(clientReceiver, STATE_DISABLED | STATE_NOT_WHITELISTED, in startSessionLocked()
318 STATE_DISABLED | STATE_NOT_WHITELISTED, serviceComponentName, in startSessionLocked()
327 setClientState(clientReceiver, STATE_DISABLED | STATE_DUPLICATED_ID, in startSessionLocked()
332 STATE_DISABLED | STATE_DUPLICATED_ID, in startSessionLocked()
344 setClientState(clientReceiver, STATE_DISABLED | STATE_NO_SERVICE, in startSessionLocked()
349 STATE_DISABLED | STATE_NO_SERVICE, serviceComponentName, in startSessionLocked()
H A DContentCaptureServerSession.java23 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
212 setClientState(mSessionStateReceiver, STATE_DISABLED | STATE_SERVICE_UPDATING, in pauseLocked()
H A DContentCaptureManagerService.java27 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
909 setClientState(result, STATE_DISABLED, /* binder= */ null); in startSession()
/aosp14/frameworks/base/core/java/com/android/internal/compat/
H A DChangeReporter.java202 case STATE_DISABLED: in stateToString()
214 public static final int STATE_DISABLED = field in ChangeReporter
229 STATE_DISABLED,
/aosp14/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java57 STATE_DISABLED,
98 public static final int STATE_DISABLED = 2; field in OverlayInfo
414 case STATE_DISABLED: in ensureValidState()
493 case STATE_DISABLED: in stateToString()
/aosp14/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
H A DChangeReporterTest.java30 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testStatsLogOnce()
66 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testDebugLogOnce()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/om/
H A DOverlayManagerSettingsTests.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
196 STATE_DISABLED, in testSetPriority()
316 + " state='" + STATE_DISABLED + "'\n" in testRestoreSingleUserSingleOverlay()
333 assertEquals(STATE_DISABLED, oi.state); in testRestoreSingleUserSingleOverlay()
427 STATE_DISABLED, in createInfo()
H A DOverlayManagerServiceImplTests.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
177 assertState(STATE_DISABLED, IDENTIFIER, USER); in testOverlayInfoStateTransitions()
/aosp14/frameworks/base/core/java/android/app/
H A DAppCompatCallbacks.java61 reportChange(changeId, ChangeReporter.STATE_DISABLED); in isChangeEnabled()
/aosp14/frameworks/base/core/java/android/view/contentcapture/
H A DMainContentCaptureSession.java203 STATE_DISABLED | STATE_INTERNAL_ERROR)); in send()
334 if ((resultCode & STATE_DISABLED) != 0) { in onSessionStarted()
502 resetSession(STATE_DISABLED | STATE_NO_RESPONSE); in sendContentCaptureEvent()
707 mDisabled.set((newState & STATE_DISABLED) != 0); in resetSession()
H A DContentCaptureSession.java89 public static final int STATE_DISABLED = 0x4; field in ContentCaptureSession
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
H A DThemeOverlayApplierTest.java301 enabled ? OverlayInfo.STATE_ENABLED : OverlayInfo.STATE_DISABLED, 0, 0, false, in createOverlayInfo()
/aosp14/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerServiceImpl.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
879 return enabled ? STATE_ENABLED : STATE_DISABLED; in calculateNewState()
H A DOverlayManagerShellCommand.java217 case OverlayInfo.STATE_DISABLED: in printListOverlay()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationControllerTest.java319 assertEquals(WindowMagnificationAnimationController.STATE_DISABLED, in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback()
340 assertEquals(WindowMagnificationAnimationController.STATE_DISABLED, in enableWindowMagnificationWithScaleLessThanOneAndWithoutCallBack_enabled_expectedValues()
/aosp14/frameworks/base/services/core/java/com/android/server/compat/
H A DPlatformCompat.java184 enabled ? ChangeReporter.STATE_ENABLED : ChangeReporter.STATE_DISABLED); in isChangeEnabledInternal()
/aosp14/frameworks/base/core/java/android/service/contentcapture/
H A DContentCaptureService.java495 stateFlags |= ContentCaptureSession.STATE_DISABLED; in handleOnCreateSession()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt10889 Landroid/content/om/OverlayInfo;->STATE_DISABLED:I