Searched refs:UserAspectRatioManager (Results 1 – 7 of 7) sorted by relevance
29 import com.android.settings.applications.appcompat.UserAspectRatioManager58 private val manager = UserAspectRatioManager(context)61 emit(UserAspectRatioManager.isFeatureEnabled(context) in <lambda>()
39 import com.android.settings.applications.appcompat.UserAspectRatioManager in <lambda>()77 UserAspectRatioManager.isFeatureEnabled(SpaEnvironmentFactory.instance.appContext) in <lambda>()140 private val userAspectRatioManager = UserAspectRatioManager(context)
32 import static com.android.settings.applications.appcompat.UserAspectRatioManager.KEY_ENABLE_USER_AS…33 import static com.android.settings.applications.appcompat.UserAspectRatioManager.KEY_ENABLE_USER_AS…174 assertTrue(UserAspectRatioManager.isFeatureEnabled(mContext)); in testIsFeatureEnabled()180 assertFalse(UserAspectRatioManager.isFeatureEnabled(mContext)); in testIsFeatureEnabled_disabledBuildTimeFlag_returnFalse()186 assertFalse(UserAspectRatioManager.isFeatureEnabled(mContext)); in testIsFeatureEnabled_disabledRuntimeFlag_returnFalse()458 private static class FakeUserAspectRatioManager extends UserAspectRatioManager {
64 public class UserAspectRatioManager { class82 public UserAspectRatioManager(@NonNull Context context) { in UserAspectRatioManager() method in UserAspectRatioManager87 UserAspectRatioManager(@NonNull Context context, @NonNull IPackageManager pm) { in UserAspectRatioManager() method in UserAspectRatioManager
92 @NonNull private UserAspectRatioManager mUserAspectRatioManager;99 mUserAspectRatioManager = new UserAspectRatioManager(getContext()); in onCreate()316 UserAspectRatioManager getAspectRatioManager() { in getAspectRatioManager()
40 return UserAspectRatioManager.isFeatureEnabled(mContext) in getAvailabilityStatus()
79 private UserAspectRatioManager mUserAspectRatioManager;