Home
last modified time | relevance | path

Searched refs:UserAspectRatioManager (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreference.kt29 import com.android.settings.applications.appcompat.UserAspectRatioManager
58 private val manager = UserAspectRatioManager(context)
61 emit(UserAspectRatioManager.isFeatureEnabled(context) in <lambda>()
DUserAspectRatioAppsPageProvider.kt39 import com.android.settings.applications.appcompat.UserAspectRatioManager in <lambda>()
77 UserAspectRatioManager.isFeatureEnabled(SpaEnvironmentFactory.instance.appContext) in <lambda>()
140 private val userAspectRatioManager = UserAspectRatioManager(context)
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/
DUserAspectRatioManagerTest.java32 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 {
/packages/apps/Settings/src/com/android/settings/applications/appcompat/
DUserAspectRatioManager.java64 public class UserAspectRatioManager { class
82 public UserAspectRatioManager(@NonNull Context context) { in UserAspectRatioManager() method in UserAspectRatioManager
87 UserAspectRatioManager(@NonNull Context context, @NonNull IPackageManager pm) { in UserAspectRatioManager() method in UserAspectRatioManager
DUserAspectRatioDetails.java92 @NonNull private UserAspectRatioManager mUserAspectRatioManager;
99 mUserAspectRatioManager = new UserAspectRatioManager(getContext()); in onCreate()
316 UserAspectRatioManager getAspectRatioManager() { in getAspectRatioManager()
DUserAspectRatioAppsPreferenceController.java40 return UserAspectRatioManager.isFeatureEnabled(mContext) in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appcompat/
DUserAspectRatioDetailsTest.java79 private UserAspectRatioManager mUserAspectRatioManager;