Home
last modified time | relevance | path

Searched refs:isFeatureEnabled (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/text/
DClientFlags.java34 return TextFlags.isFeatureEnabled(Flags.FLAG_NO_BREAK_NO_HYPHENATION_SPAN); in noBreakNoHyphenationSpan()
41 return TextFlags.isFeatureEnabled(Flags.FLAG_PHRASE_STRICT_FALLBACK); in phraseStrictFallback()
48 return TextFlags.isFeatureEnabled(Flags.FLAG_USE_BOUNDS_FOR_WIDTH); in useBoundsForWidth()
55 return TextFlags.isFeatureEnabled(Flags.FLAG_FIX_LINE_HEIGHT_FOR_LOCALE); in fixLineHeightForLocale()
62 return TextFlags.isFeatureEnabled(Flags.FLAG_ICU_BIDI_MIGRATION); in icuBidiMigration()
69 return TextFlags.isFeatureEnabled(Flags.FLAG_FIX_MISALIGNED_CONTEXT_MENU); in fixMisalignedContextMenu()
DTextFlags.java90 public static boolean isFeatureEnabled(@NonNull String flag) { in isFeatureEnabled() method in TextFlags
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DToggleAllowListingFeatureTarget.java43 final int statusResId = isFeatureEnabled() in ToggleAllowListingFeatureTarget()
60 private boolean isFeatureEnabled() { in isFeatureEnabled() method in ToggleAllowListingFeatureTarget
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskModule.kt65 val isFeatureEnabled = featureFlags.isEnabled(Flags.NOTE_TASKS) in bindNoteTaskControllerUpdateService() constant
66 return isRoleAvailable && isFeatureEnabled in bindNoteTaskControllerUpdateService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardLongPressInteractor.kt71 if (isFeatureEnabled()) { in <lambda>()
120 if (isFeatureEnabled()) { in <lambda>()
173 private fun isFeatureEnabled(): Boolean { in <lambda>() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt87 @JvmField @Parameter(0) var isFeatureEnabled: Boolean = false in <lambda>() variable in com.android.systemui.keyguard.data.quickaffordance.HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest
136 whenever(component.isEnabled()).thenReturn(isFeatureEnabled) in <lambda>()
175 !isFeatureEnabled -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt156 isFeatureEnabled = component.isEnabled(), in <lambda>()
175 isFeatureEnabled: Boolean, in <lambda>()
183 isFeatureEnabled && in <lambda>()
DQuickAccessWalletKeyguardQuickAffordanceConfig.kt191 isFeatureEnabled: Boolean, in <lambda>()
195 return if (isFeatureEnabled && hasCard && tileIcon != null) { in <lambda>()
/frameworks/base/core/java/android/os/incremental/
DIncrementalManager.java258 public static boolean isFeatureEnabled() { in isFeatureEnabled() method in IncrementalManager
276 return isFeatureEnabled() && android.os.SystemProperties.getBoolean(ALLOWED_PROPERTY, true); in isAllowed()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedController.java612 final boolean isFeatureEnabled = mIsOneHandedEnabled || mIsSwipeToNotificationEnabled;
614 if (enabled == isFeatureEnabled) {