Home
last modified time | relevance | path

Searched refs:defaultPanel (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
DAlertController.java440 private ViewGroup resolvePanel(@Nullable View customPanel, @Nullable View defaultPanel) { in resolvePanel() argument
443 if (defaultPanel instanceof ViewStub) { in resolvePanel()
444 defaultPanel = ((ViewStub) defaultPanel).inflate(); in resolvePanel()
447 return (ViewGroup) defaultPanel; in resolvePanel()
451 if (defaultPanel != null) { in resolvePanel()
452 final ViewParent parent = defaultPanel.getParent(); in resolvePanel()
454 ((ViewGroup) parent).removeView(defaultPanel); in resolvePanel()
/frameworks/base/core/java/com/android/internal/app/
DAlertController.java486 private ViewGroup resolvePanel(@Nullable View customPanel, @Nullable View defaultPanel) { in resolvePanel() argument
489 if (defaultPanel instanceof ViewStub) { in resolvePanel()
490 defaultPanel = ((ViewStub) defaultPanel).inflate(); in resolvePanel()
493 return (ViewGroup) defaultPanel; in resolvePanel()
497 if (defaultPanel != null) { in resolvePanel()
498 final ViewParent parent = defaultPanel.getParent(); in resolvePanel()
500 ((ViewGroup) parent).removeView(defaultPanel); in resolvePanel()