Searched refs:delegate (Results 1 – 10 of 10) sorted by relevance
891 final AppCompatDelegate delegate = activeDelegate.get(); in getLocaleManagerForApplication() local892 if (delegate != null) { in getLocaleManagerForApplication()893 Context context = delegate.getContextForDelegate(); in getLocaleManagerForApplication()1042 static void addActiveDelegate(@NonNull AppCompatDelegate delegate) { in addActiveDelegate() argument1046 removeDelegateFromActives(delegate); in addActiveDelegate()1048 sActivityDelegates.add(new WeakReference<>(delegate)); in addActiveDelegate()1052 static void removeActivityDelegate(@NonNull AppCompatDelegate delegate) { in removeActivityDelegate() argument1055 removeDelegateFromActives(delegate); in removeActivityDelegate()1110 final AppCompatDelegate delegate = i.next().get(); in removeDelegateFromActives() local1111 if (delegate == toRemove || delegate == null) { in removeDelegateFromActives()[all …]
61 final AppCompatDelegate delegate = getDelegate(); in AppCompatDialog() local63 delegate.setTheme(getThemeResId(context, theme)); in AppCompatDialog()69 delegate.onCreate(null); in AppCompatDialog()
131 final AppCompatDelegate delegate = getDelegate(); in initDelegate()132 delegate.installViewFactory(); in initDelegate()133 delegate.onCreate(getSavedStateRegistry() in initDelegate()
3920 Object dispatcher, AppCompatDelegateImpl delegate) {3921 OnBackInvokedCallback onBackInvokedCallback = delegate::onBackPressed;
136 val newDelegate = rule.activity.delegate as AppCompatDelegateImpl in testNightModeAutoTimeRecreatesOnTimeChange()239 val delegate = dialog.delegate as AppCompatDelegateImpl in testDialogCleansUpAutoMode() constant242 delegate.localNightMode = AppCompatDelegate.MODE_NIGHT_AUTO_TIME in testDialogCleansUpAutoMode()249 assertFalse(delegate.autoTimeNightModeManager.isListening) in testDialogCleansUpAutoMode()
25 delegate.localNightMode = AppCompatDelegate.MODE_NIGHT_YES in attachBaseContext()
49 assertEquals(MODE_NIGHT_YES, rule.activity.delegate.localNightMode) in testLocalDayNightModeRecreatesActivity()
120 (activity.delegate as? AppCompatDelegateImpl)?.closePanel(st, true) in <lambda>()
285 final InflateDelegate delegate = mDelegates.get(tagName); in loadDrawableFromDelegates() local286 if (delegate != null) { in loadDrawableFromDelegates()287 dr = delegate.createFromXmlInner(context, parser, attrs, in loadDrawableFromDelegates()366 private void addDelegate(@NonNull String tagName, @NonNull InflateDelegate delegate) { in addDelegate() argument370 mDelegates.put(tagName, delegate); in addDelegate()
178 NightSetMode.LOCAL -> activity!!.delegate.localNightMode = nightMode in setNightMode()185 NightSetMode.LOCAL -> activity!!.delegate.localNightMode in getNightMode()