Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appcompat/
DUserAspectRatioManagerTest.java243 private String getUserMinAspectRatioEntry(int aspectRatio, String packageName) { in getUserMinAspectRatioEntry() method in UserAspectRatioManagerTest
244 return mUtils.getUserMinAspectRatioEntry(aspectRatio, packageName, mContext.getUserId()); in getUserMinAspectRatioEntry()
253 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_UNSET, mPackageName)) in testGetUserMinAspectRatioEntry()
256 assertThat(getUserMinAspectRatioEntry(-1, mPackageName)) in testGetUserMinAspectRatioEntry()
259 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_SPLIT_SCREEN, in testGetUserMinAspectRatioEntry()
263 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_DISPLAY_SIZE, in testGetUserMinAspectRatioEntry()
267 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_16_9, mPackageName)) in testGetUserMinAspectRatioEntry()
270 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_4_3, mPackageName)) in testGetUserMinAspectRatioEntry()
273 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_3_2, mPackageName)) in testGetUserMinAspectRatioEntry()
276 assertThat(getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_FULLSCREEN, in testGetUserMinAspectRatioEntry()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/appcompat/
DUserAspectRatioManager.java120 public String getUserMinAspectRatioEntry(@PackageManager.UserMinAspectRatio int aspectRatio, in getUserMinAspectRatioEntry() method in UserAspectRatioManager
131 ? getUserMinAspectRatioEntry(USER_MIN_ASPECT_RATIO_FULLSCREEN, packageName, userId) in getUserMinAspectRatioEntry()
145 getUserMinAspectRatioEntry(aspectRatio, packageName, userId)); in getAccessibleEntry()
152 public String getUserMinAspectRatioEntry(@NonNull String packageName, int userId) in getUserMinAspectRatioEntry() method in UserAspectRatioManager
155 return getUserMinAspectRatioEntry(aspectRatio, packageName, userId); in getUserMinAspectRatioEntry()
/packages/apps/Settings/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppPreference.kt69 emit(manager.getUserMinAspectRatioEntry(app.packageName, context.userId)) in startActivity()
DUserAspectRatioAppsPageProvider.kt207 emit(userAspectRatioManager.getUserMinAspectRatioEntry(record.userOverride, in getSummary()