| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/ |
| D | LocalesSyncToFrameworkTestCase.kt | 57 AppCompatDelegate.Api33Impl.localeManagerSetApplicationLocales( in setUp() 58 AppCompatDelegate.getLocaleManagerForApplication(), in setUp() 72 AppCompatDelegate.APP_LOCALES_META_DATA_HOLDER_SERVICE_NAME in setUp() 86 assertNull(AppCompatDelegate.getRequestedAppLocales()) in testAutoSync_preTToPostT_syncsSuccessfully() 92 AppCompatDelegate.setIsAutoStoreLocalesOptedIn(true) in testAutoSync_preTToPostT_syncsSuccessfully() 105 AppCompatDelegate.resetStaticRequestedAndStoredLocales() in testAutoSync_preTToPostT_syncsSuccessfully() 122 AppCompatDelegate.Api33Impl.localeManagerGetApplicationLocales( in testAutoSync_preTToPostT_syncsSuccessfully() 123 AppCompatDelegate.getLocaleManagerForApplication() in testAutoSync_preTToPostT_syncsSuccessfully() 130 assertNull(AppCompatDelegate.getRequestedAppLocales()) in testAutoSync_preTToPostT_syncsSuccessfully() 137 AppCompatDelegate.setIsAutoStoreLocalesOptedIn(false) in testAutoSync_preTToPostT_syncsSuccessfully() [all …]
|
| D | LocalesSetUsingFrameworkApiTestCase.kt | 50 AppCompatDelegate.Api33Impl.localeManagerSetApplicationLocales( in setUp() 51 AppCompatDelegate.getLocaleManagerForApplication(), in setUp() 76 AppCompatDelegate.getApplicationLocales() in testSetApplicationLocales_postT_frameworkApiCalled() 78 assertNull(AppCompatDelegate.getRequestedAppLocales()) in testSetApplicationLocales_postT_frameworkApiCalled() 84 assertEquals(CUSTOM_LOCALE_LIST, AppCompatDelegate.getApplicationLocales()) in testSetApplicationLocales_postT_frameworkApiCalled() 88 AppCompatDelegate.Api33Impl.localeManagerGetApplicationLocales( in testSetApplicationLocales_postT_frameworkApiCalled() 89 AppCompatDelegate.getLocaleManagerForApplication() in testSetApplicationLocales_postT_frameworkApiCalled() 96 assertNull(AppCompatDelegate.getRequestedAppLocales()) in testSetApplicationLocales_postT_frameworkApiCalled() 102 AppCompatDelegate.Api33Impl.localeManagerSetApplicationLocales( in teardown() 103 AppCompatDelegate.getLocaleManagerForApplication(), in teardown()
|
| D | LocalesPersistTestCase.kt | 73 AppCompatDelegate.setIsAutoStoreLocalesOptedIn(true) in testLocalesAppliedInNewActivityAfterStaticStorageCleared() 86 AppCompatDelegate.resetStaticRequestedAndStoredLocales() in testLocalesAppliedInNewActivityAfterStaticStorageCleared() 88 assertNull(AppCompatDelegate.getRequestedAppLocales()) in testLocalesAppliedInNewActivityAfterStaticStorageCleared() 121 AppCompatDelegate.setIsAutoStoreLocalesOptedIn(true) in testGetAppLocalesFromNonActivityContext() 133 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in teardown() 135 AppCompatDelegate.setIsAutoStoreLocalesOptedIn(false) in teardown()
|
| D | NightModeStackedHandlingTestCase.kt | 28 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO in <lambda>() 29 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES in <lambda>() 75 instr.runOnMainSync { AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_NO) } in <lambda>() 112 activityC.runOnUiThread { AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_YES) } in <lambda>() 171 instr.runOnMainSync { AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_NO) } in <lambda>() 211 AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_YES) in <lambda>() 275 AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_NO) in <lambda>()
|
| D | NightModeTestCase.kt | 23 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM 24 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO 25 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES 135 setNightModeAndWait(rule, AppCompatDelegate.MODE_NIGHT_AUTO_TIME, setMode) in testNightModeAutoTimeRecreatesOnTimeChange() 158 setNightModeAndWait(rule, AppCompatDelegate.MODE_NIGHT_AUTO_TIME, setMode) in testNightModeAutoTimeRecreatesOnResume() 242 delegate.localNightMode = AppCompatDelegate.MODE_NIGHT_AUTO_TIME in testDialogCleansUpAutoMode()
|
| D | SystemLocalesMaintainedOnAppLanguageChangeTestCase.kt | 63 assertEquals(LocalesUtils.CUSTOM_LOCALE_LIST, AppCompatDelegate.getApplicationLocales()) in testGetSystemLocales_afterAppLocalesSet_systemLocalesSameAsExpectedSystemLocales() 74 AppCompatDelegate.Api33Impl.localeManagerSetApplicationLocales( in teardown() 75 AppCompatDelegate.getLocaleManagerForApplication(), in teardown()
|
| D | LocalesStackedHandlingTestCase.kt | 84 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in <lambda>() 128 activityC.runOnUiThread { AppCompatDelegate.setApplicationLocales(CUSTOM_LOCALE_LIST) } in <lambda>() 190 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in <lambda>() 237 AppCompatDelegate.setApplicationLocales(CUSTOM_LOCALE_LIST) in <lambda>() 306 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in <lambda>()
|
| D | NightModeRotateDoesNotRecreateActivityTestCase.kt | 21 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM 22 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES 67 AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_FOLLOW_SYSTEM) in teardown()
|
| D | NightModeRotateRecreatesActivityWithConfigTestCase.kt | 23 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM 24 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES 70 AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_FOLLOW_SYSTEM) in teardown()
|
| D | NightModeUiModeConfigChangesTestCase.kt | 20 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_NO 21 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES 46 AppCompatDelegate.setDefaultNightMode(MODE_NIGHT_NO) in setup()
|
| D | LocalesCustomAttachBaseContextTestCase.kt | 20 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES 45 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in setUp()
|
| D | NightModeLocalBeforeAttachBaseActivity.kt | 25 delegate.localNightMode = AppCompatDelegate.MODE_NIGHT_YES in attachBaseContext()
|
| D | NightModeLateOnCreateTestCase.kt | 50 AppCompatDelegate.MODE_NIGHT_YES, in testActivityRecreateLoop()
|
| D | NightModeForegroundDialogTestCase.kt | 20 import androidx.appcompat.app.AppCompatDelegate.MODE_NIGHT_YES
|
| /appcompat/appcompat/src/main/java/androidx/appcompat/app/ |
| D | AppCompatDelegate.java | 114 public abstract class AppCompatDelegate { class 255 private static final ArraySet<WeakReference<AppCompatDelegate>> sActivityDelegates = 310 public static @NonNull AppCompatDelegate create(@NonNull Activity activity, in create() 321 public static @NonNull AppCompatDelegate create(@NonNull Dialog dialog, in create() 334 public static @NonNull AppCompatDelegate create(@NonNull Context context, in create() 347 public static @NonNull AppCompatDelegate create(@NonNull Context context, in create() 355 AppCompatDelegate() {} in AppCompatDelegate() method in AppCompatDelegate 890 for (WeakReference<AppCompatDelegate> activeDelegate : sActivityDelegates) { in getLocaleManagerForApplication() 891 final AppCompatDelegate delegate = activeDelegate.get(); in getLocaleManagerForApplication() 1042 static void addActiveDelegate(@NonNull AppCompatDelegate delegate) { in addActiveDelegate() [all …]
|
| D | AppCompatDialog.java | 48 private AppCompatDelegate mDelegate; 61 final AppCompatDelegate delegate = getDelegate(); in AppCompatDialog() 189 public @NonNull AppCompatDelegate getDelegate() { in getDelegate() 191 mDelegate = AppCompatDelegate.create(this, this); in getDelegate()
|
| D | AppCompatActivity.java | 40 import androidx.appcompat.app.AppCompatDelegate.NightMode; 88 private AppCompatDelegate mDelegate; 131 final AppCompatDelegate delegate = getDelegate(); in initDelegate() 581 public @NonNull AppCompatDelegate getDelegate() { in getDelegate() 583 mDelegate = AppCompatDelegate.create(this, this); in getDelegate()
|
| D | ToolbarActionBar.java | 562 mWindowCallback.onMenuOpened(AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR, subMenu); in onOpenSubMenu() 574 mWindowCallback.onPanelClosed(AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR, menu); in onCloseMenu() 592 mWindowCallback.onPanelClosed(AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR, menu); in onMenuModeChange() 594 mWindowCallback.onMenuOpened(AppCompatDelegate.FEATURE_SUPPORT_ACTION_BAR, menu); in onMenuModeChange()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
| D | NightModeActivityTestRule.kt | 20 import androidx.appcompat.app.AppCompatDelegate 31 runOnUiThread { AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO) } in beforeActivityLaunched() 36 runOnUiThread { AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO) } in afterActivityFinished()
|
| D | NightModeUtils.kt | 25 import androidx.appcompat.app.AppCompatDelegate 26 import androidx.appcompat.app.AppCompatDelegate.NightMode 177 NightSetMode.DEFAULT -> AppCompatDelegate.setDefaultNightMode(nightMode) in setNightMode() 184 NightSetMode.DEFAULT -> AppCompatDelegate.getDefaultNightMode() in getNightMode()
|
| D | LocalesUtils.kt | 24 import androidx.appcompat.app.AppCompatDelegate 142 fun setLocales(locales: LocaleListCompat) = AppCompatDelegate.setApplicationLocales(locales) 144 private fun getLocales(): LocaleListCompat = AppCompatDelegate.getApplicationLocales()
|
| D | LocalesActivityTestRule.kt | 20 import androidx.appcompat.app.AppCompatDelegate 36 AppCompatDelegate.setApplicationLocales(LocaleListCompat.getEmptyLocaleList()) in beforeActivityLaunched()
|
| /appcompat/appcompat/src/androidTest/java/androidx/appcompat/app/g3/ |
| D | FilternatorTestWithCustomDefault.kt | 20 import androidx.appcompat.app.AppCompatDelegate 60 AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM) in setup() 67 AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM) in teardown()
|
| D | FilternatorActivityWithCustomDefault.java | 23 import androidx.appcompat.app.AppCompatDelegate; 37 AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES); in onCreate()
|
| /appcompat/appcompat/src/main/ |
| D | baseline-prof.txt | 11 …Landroidx/appcompat/app/AppCompatActivity;->getDelegate()Landroidx/appcompat/app/AppCompatDelegate; 24 HSPLandroidx/appcompat/app/AppCompatDelegate;-><clinit>()V 25 HSPLandroidx/appcompat/app/AppCompatDelegate;-><init>()V 26 HSPLandroidx/appcompat/app/AppCompatDelegate;->addActiveDelegate(Landroidx/appcompat/app/AppCompatD… 27 HSPLandroidx/appcompat/app/AppCompatDelegate;->attachBaseContext(Landroid/content/Context;)V 28 HSPLandroidx/appcompat/app/AppCompatDelegate;->attachBaseContext2(Landroid/content/Context;)Landroi… 29 …ompat/app/AppCompatDelegate;->create(Landroid/app/Activity;Landroidx/appcompat/app/AppCompatCallba… 30 HSPLandroidx/appcompat/app/AppCompatDelegate;->getDefaultNightMode()I 31 HSPLandroidx/appcompat/app/AppCompatDelegate;->removeDelegateFromActives(Landroidx/appcompat/app/Ap… 458 Landroidx/appcompat/app/AppCompatDelegate; [all …]
|