Searched refs:canDisplayLocaleUi (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppLocalePreferenceController.java | 52 return canDisplayLocaleUi() ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus() 83 boolean canDisplayLocaleUi() { in canDisplayLocaleUi() method in AppLocalePreferenceController 85 .canDisplayLocaleUi(mContext, mParent.getAppEntry().info, mListInfos); in canDisplayLocaleUi()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/ |
D | AppLocaleUtilTest.java | 95 assertTrue(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_showUI() 104 assertFalse(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_hasPlatformKey() 111 assertFalse(AppLocaleUtil.canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_noLauncherEntry() 120 .canDisplayLocaleUi(mContext, mAppInfo, mListResolveInfo)); in canDisplayLocaleUi_notShowUI_matchDisallowedPackageList()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateLocaleBridge.java | 57 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in updateExtraInfo() 68 app.extraInfo = AppLocaleUtil.canDisplayLocaleUi(appInfoByProfiles.mContextAsUser, in loadAllExtraInfo()
|
D | AppLocaleUtil.java | 52 public static boolean canDisplayLocaleUi( in canDisplayLocaleUi() method in AppLocaleUtil
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | AppLocalePickerActivity.java | 87 if (!canDisplayLocaleUi()) { in onCreate() 271 private boolean canDisplayLocaleUi() { in canDisplayLocaleUi() method in AppLocalePickerActivity 274 return AppLocaleUtil.canDisplayLocaleUi(this, in canDisplayLocaleUi()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppLocalePreferenceTest.kt | 80 whenever(AppLocaleUtil.canDisplayLocaleUi(any(), eq(APP), any())).thenReturn(true) in setUp() 91 whenever(AppLocaleUtil.canDisplayLocaleUi(any(), eq(APP), any())).thenReturn(false) in whenCanNotDisplayLocalUi_notDisplayed()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/appinfo/ |
D | AppLocalePreferenceControllerTest.java | 47 boolean canDisplayLocaleUi() { in setUp()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appinfo/ |
D | AppLocalePreference.kt | 74 AppLocaleUtil.canDisplayLocaleUi(context, app, resolveInfos) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/system/ |
D | AppLanguagesListModel.kt | 68 isAppLocaleSupported = AppLocaleUtil.canDisplayLocaleUi( in <lambda>()
|