Home
last modified time | relevance | path

Searched refs:FeatureFlags (Results 1 – 25 of 158) sorted by relevance

1234567

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DTestUtil.java46 import com.android.launcher3.config.FeatureFlags;
47 import com.android.launcher3.config.FeatureFlags.BooleanFlag;
48 import com.android.launcher3.config.FeatureFlags.IntFlag;
132 Predicate<BooleanFlag> originalProxy = FeatureFlags.sBooleanReader; in overrideFlag()
134 FeatureFlags.sBooleanReader = testProxy; in overrideFlag()
136 if (FeatureFlags.sBooleanReader == testProxy) { in overrideFlag()
137 FeatureFlags.sBooleanReader = originalProxy; in overrideFlag()
147 ToIntFunction<IntFlag> originalProxy = FeatureFlags.sIntReader;
149 FeatureFlags.sIntReader = testProxy;
151 if (FeatureFlags.sIntReader == testProxy) {
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DPreconditions.java23 import com.android.launcher3.config.FeatureFlags;
31 if (FeatureFlags.IS_STUDIO_BUILD && o == null) { in assertNotNull()
37 if (FeatureFlags.IS_STUDIO_BUILD && !isSameLooper(MODEL_EXECUTOR.getLooper())) { in assertWorkerThread()
43 if (FeatureFlags.IS_STUDIO_BUILD && !isSameLooper(Looper.getMainLooper())) { in assertUIThread()
49 if (FeatureFlags.IS_STUDIO_BUILD && isSameLooper(Looper.getMainLooper())) { in assertNonUiThread()
DIOUtils.java23 import com.android.launcher3.config.FeatureFlags;
72 if (FeatureFlags.IS_STUDIO_BUILD) { in closeSilently()
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/flags/
DFlagsFactory.java19 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED;
21 import com.android.launcher3.config.FeatureFlags.BooleanFlag;
22 import com.android.launcher3.config.FeatureFlags.FlagState;
23 import com.android.launcher3.config.FeatureFlags.IntFlag;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DFlagsFactory.java22 import static com.android.launcher3.config.FeatureFlags.FlagState.DISABLED;
23 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED;
34 import com.android.launcher3.config.FeatureFlags.BooleanFlag;
35 import com.android.launcher3.config.FeatureFlags.FlagState;
36 import com.android.launcher3.config.FeatureFlags.IntFlag;
DDebugFlag.java20 import com.android.launcher3.config.FeatureFlags.BooleanFlag;
21 import com.android.launcher3.config.FeatureFlags.FlagState;
/packages/apps/Launcher3/src/com/android/launcher3/config/
DFeatureFlags.java19 import static com.android.launcher3.config.FeatureFlags.FlagState.DISABLED;
20 import static com.android.launcher3.config.FeatureFlags.FlagState.ENABLED;
21 import static com.android.launcher3.config.FeatureFlags.FlagState.TEAMFOOD;
46 public final class FeatureFlags { class
53 private FeatureFlags() { } in FeatureFlags() method in FeatureFlags
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DSplitInstructionsView.java34 import com.android.launcher3.config.FeatureFlags;
102 if (!FeatureFlags.ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE.get()) { in init()
141 if (!FeatureFlags.ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE.get()) { in onInitializeAccessibilityNodeInfo()
153 if (!FeatureFlags.ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE.get()) { in performAccessibilityAction()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DLauncherWidgetHolder.java42 import com.android.launcher3.config.FeatureFlags;
130 if (FeatureFlags.ENABLE_CACHED_WIDGET.get()) { in updateDeferredView()
176 if (FeatureFlags.ENABLE_CACHED_WIDGET.get()) { in deleteAppWidgetId()
322 if (FeatureFlags.ENABLE_CACHED_WIDGET.get()) { in stopListening()
374 if (FeatureFlags.ENABLE_CACHED_WIDGET.get()) { in createView()
456 if (FeatureFlags.ENABLE_CACHED_WIDGET.get()) { in clearViews()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/allapps/
DTaskbarAllAppsSlideInView.java39 import com.android.launcher3.config.FeatureFlags;
159 if (FeatureFlags.ENABLE_ALL_APPS_SEARCH_IN_TASKBAR.get()) { in onFinishInflate()
171 if (FeatureFlags.ENABLE_BACK_SWIPE_LAUNCHER_ANIMATION.get()) { in onAttachedToWindow()
186 if (FeatureFlags.ENABLE_BACK_SWIPE_LAUNCHER_ANIMATION.get()) { in onDetachedFromWindow()
DTaskbarSearchSessionController.kt24 import com.android.launcher3.config.FeatureFlags
59 if (!FeatureFlags.ENABLE_ALL_APPS_SEARCH_IN_TASKBAR.get()) { in startLifecycle()
DTaskbarAllAppsContainerView.java26 import com.android.launcher3.config.FeatureFlags;
75 return FeatureFlags.ENABLE_ALL_APPS_SEARCH_IN_TASKBAR.get(); in isSearchSupported()
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsSplitscreen.java32 import com.android.launcher3.config.FeatureFlags;
111 assumeTrue(FeatureFlags.ENABLE_APP_PAIRS.get()); in testSaveAppPairMenuItemExistsOnSplitPair()
125 assumeTrue(FeatureFlags.ENABLE_APP_PAIRS.get()); in testSaveAppPairMenuItemDoesNotExistOnSingleTask()
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragLayer.java21 import static com.android.launcher3.config.FeatureFlags.ENABLE_MATERIAL_U_POPUP;
36 import com.android.launcher3.config.FeatureFlags;
201 if (!FeatureFlags.SECONDARY_DRAG_N_DROP_TO_PIN.get() || !mActivity.isAppDrawerShown()) { in onIconLongClicked()
222 if (!FeatureFlags.SECONDARY_DRAG_N_DROP_TO_PIN.get() || !mActivity.isAppDrawerShown()) { in onIconLongClicked()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLauncherBinder.java32 import com.android.launcher3.config.FeatureFlags;
89 if (FeatureFlags.ENABLE_WORKSPACE_LOADING_OPTIMIZATION.get()) { in bindWorkspace()
197 if (FeatureFlags.IS_STUDIO_BUILD) { in sortWorkspaceItemsSpatially()
299 if (!FeatureFlags.CHANGE_MODEL_DELEGATE_LOADING_ORDER.get()) { in bind()
394 if (!FeatureFlags.CHANGE_MODEL_DELEGATE_LOADING_ORDER.get()) { in bindCurrentWorkspacePages()
402 if (!FeatureFlags.CHANGE_MODEL_DELEGATE_LOADING_ORDER.get()) { in bindCurrentWorkspacePages()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
DGestureSandboxActivity.java38 import com.android.launcher3.config.FeatureFlags;
78 if (FeatureFlags.ENABLE_NEW_GESTURE_NAV_TUTORIAL.get() in onCreate()
100 if (FeatureFlags.ENABLE_NEW_GESTURE_NAV_TUTORIAL.get()) { in onCreate()
111 if (FeatureFlags.ENABLE_NEW_GESTURE_NAV_TUTORIAL.get()) { in onConfigurationChanged()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DAllInOneTetherSettingsTest.java47 import com.android.settings.core.FeatureFlags;
113 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.TETHER_ALL_IN_ONE, true); in setUp()
127 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.TETHER_ALL_IN_ONE, true); in getNonIndexableKeys_tetherAvailable_featureEnabled_keysReturnedCorrectly()
148 FeatureFlagUtils.setEnabled(mContext, FeatureFlags.TETHER_ALL_IN_ONE, false); in getNonIndexableKeys_tetherAvailable_featureDisabled_keysReturned()
/packages/apps/Launcher3/
DOWNERS20 per-file FeatureFlags.java, globs = set noparent
21 per-file FeatureFlags.java = sunnygoyal@google.com, winsonc@google.com, adamcohen@google.com, hyuny…
/packages/modules/DnsResolver/
Ddoh.h53 struct FeatureFlags { struct
95 const FeatureFlags* flags);
/packages/apps/Settings/src/com/android/settings/development/featureflags/
DFeatureFlagPersistent.java26 import com.android.settings.core.FeatureFlags;
37 PERSISTENT_FLAGS.add(FeatureFlags.HEARING_AID_SETTINGS);
/packages/apps/Settings/src/com/android/settings/search/
DSearchStateReceiver.java27 import com.android.settings.core.FeatureFlags;
41 if (FeatureFlagUtils.isEnabled(context, FeatureFlags.SETTINGS_SEARCH_ALWAYS_EXPAND)) { in onReceive()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DLauncherUnfoldAnimationController.java35 import com.android.launcher3.config.FeatureFlags;
81 if (FeatureFlags.PREEMPTIVE_UNFOLD_ANIMATION_START.get()) { in LauncherUnfoldAnimationController()
168 if (!FeatureFlags.PREEMPTIVE_UNFOLD_ANIMATION_START.get()) { in onDeviceProfileChanged()
DSplitToWorkspaceController.java19 import static com.android.launcher3.config.FeatureFlags.ENABLE_SPLIT_FROM_DESKTOP_TO_WORKSPACE;
20 import static com.android.launcher3.config.FeatureFlags.ENABLE_SPLIT_FROM_FULLSCREEN_WITH_KEYBOARD_…
21 import static com.android.launcher3.config.FeatureFlags.ENABLE_SPLIT_FROM_WORKSPACE_TO_WORKSPACE;
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarViewFactory.java32 import com.android.systemui.flags.FeatureFlags;
61 private final FeatureFlags mFeatureFlags;
81 FeatureFlags featureFlags, in CarSystemBarViewFactory()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DBaseAllAppsAdapter.java33 import com.android.launcher3.config.FeatureFlags;
179 int layout = !FeatureFlags.ENABLE_TWOLINE_ALLAPPS.get() ? R.layout.all_apps_icon in onCreateViewHolder()
190 if (FeatureFlags.ENABLE_TWOLINE_ALLAPPS.get()) { in onCreateViewHolder()

1234567