Home
last modified time | relevance | path

Searched refs:IntFlag (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/flags/
DFlagsFactory.java23 import com.android.launcher3.config.FeatureFlags.IntFlag;
52 public static IntFlag getIntFlag( in getIntFlag()
54 return new IntFlag(defaultValueInCode); in getIntFlag()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DTestUtil.java48 import com.android.launcher3.config.FeatureFlags.IntFlag;
146 public static SafeCloseable overrideFlag(IntFlag flag, int value) {
147 ToIntFunction<IntFlag> originalProxy = FeatureFlags.sIntReader;
148 ToIntFunction<IntFlag> testProxy = f -> f == flag ? value : originalProxy.applyAsInt(f);
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/flags/
DFlagsFactory.java36 import com.android.launcher3.config.FeatureFlags.IntFlag;
132 public static IntFlag getIntFlag( in getIntFlag()
135 return new IntFlag(DeviceConfig.getInt(NAMESPACE_LAUNCHER, key, defaultValueInCode)); in getIntFlag()
/packages/apps/Launcher3/src/com/android/launcher3/config/
DFeatureFlags.java51 public static ToIntFunction<IntFlag> sIntReader = f -> f.mCurrentValue;
430 public static class IntFlag { class in FeatureFlags
434 public IntFlag(int currentValue) { in IntFlag() method in FeatureFlags.IntFlag