Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DThemePreferenceControllerTest.java114 doReturn("pkg1.theme1").when(mController).getCurrentTheme(); in updateState_themeSet_shouldSetPreferenceValue()
133 doReturn(null).when(mController).getCurrentTheme(); in updateState_themeNull_shouldSetDefaultSummary()
157 assertThat(mController.getCurrentTheme()).isEqualTo(info1.packageName); in getCurrentTheme_withEnabledState()
171 assertThat(mController.getCurrentTheme()).isNull(); in testGetCurrentTheme_withoutEnabledState()
/packages/apps/Settings/src/com/android/settings/display/
DThemePreferenceController.java93 String theme = getCurrentTheme(); in updateState()
113 String current = getCurrentTheme(); in onPreferenceChange()
146 String getCurrentTheme() { in getCurrentTheme() method in ThemePreferenceController