Home
last modified time | relevance | path

Searched refs:getLatestPopupWindow (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityQuickSettingsTooltipWindowTest.java80 assertThat(getLatestPopupWindow()).isNull(); in showTooltipView_success()
84 assertThat(getLatestPopupWindow()).isSameInstanceAs(mTooltipView); in showTooltipView_success()
100 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in accessibilityClickActionOnTooltipViewShown_shouldInvokeCallbackAndNotShowing()
112 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in dismiss_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
124 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in waitAutoCloseDelayTime_tooltipViewShown_shouldInvokeCallbackAndNotShowing()
127 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in AccessibilityQuickSettingsTooltipWindowTest
130 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
DAccessibilityQuickSettingsPrimarySwitchPreferenceControllerTest.java90 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in AccessibilityQuickSettingsPrimarySwitchPreferenceControllerTest
93 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
130 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in setChecked_showTooltipView()
139 assertThat(getLatestPopupWindow()).isNull(); in setChecked_notCallDisplayPreference_notShowTooltipView()
146 getLatestPopupWindow().dismiss(); in setChecked_tooltipViewShown_notShowTooltipView()
151 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in setChecked_tooltipViewShown_notShowTooltipView()
164 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
DPreviewSizeSeekBarControllerTest.java92 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in PreviewSizeSeekBarControllerTest
95 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
206 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in onProgressChanged_showTooltipView()
223 assertThat(getLatestPopupWindow()).isNull(); in onProgressChanged_inSuw_toolTipShouldNotShown()
235 getLatestPopupWindow().dismiss(); in onProgressChanged_tooltipViewHasBeenShown_notShowTooltipView()
244 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in onProgressChanged_tooltipViewHasBeenShown_notShowTooltipView()
257 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
DToggleColorInversionPreferenceFragmentTest.java136 assertThat(getLatestPopupWindow()).isNull(); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips()
154 assertThat(getLatestPopupWindow()).isNotNull(); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView()
155 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView()
171 assertThat(getLatestPopupWindow()).isNull(); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView()
202 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in ToggleColorInversionPreferenceFragmentTest
205 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
DToggleDaltonizerPreferenceFragmentTest.java159 assertThat(getLatestPopupWindow()).isNull(); in onResume_colorCorrectEnabled_switchPreferenceChecked_notShowTooltips()
177 assertThat(getLatestPopupWindow()).isNotNull(); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView()
178 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in onPreferenceToggled_colorCorrectDisabled_shouldReturnTrueAndShowTooltipView()
194 assertThat(getLatestPopupWindow()).isNull(); in onPreferenceToggled_colorCorrectEnabled_shouldReturnFalseAndNotShowTooltipView()
225 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in ToggleDaltonizerPreferenceFragmentTest
228 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
DToggleFeaturePreferenceFragmentTest.java328 assertThat(getLatestPopupWindow()).isNull(); in onPreferenceToggledOnDisabledService_notShowTooltipView()
338 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in onPreferenceToggledOnEnabledService_showTooltipView()
351 assertThat(getLatestPopupWindow()).isNull(); in onPreferenceToggledOnEnabledService_inSuw_toolTipViewShouldNotShow()
360 getLatestPopupWindow().dismiss(); in onPreferenceToggledOnEnabledService_tooltipViewShown_notShowTooltipView()
365 assertThat(getLatestPopupWindow().isShowing()).isFalse(); in onPreferenceToggledOnEnabledService_tooltipViewShown_notShowTooltipView()
465 assertThat(getLatestPopupWindow()).isNull(); in showQuickSettingsTooltipIfNeeded_qsFlagOn_dontShowTooltipView()
508 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in ToggleFeaturePreferenceFragmentTest
511 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()
DAccessibilityShortcutPreferenceFragmentTest.java230 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
239 assertThat(getLatestPopupWindow().isShowing()).isTrue(); in restoreValueFromSavedInstanceState_showTooltipView()
248 assertThat(getLatestPopupWindow()).isNull(); in showQuickSettingsTooltipIfNeeded_qsFlagOn_dontShowTooltipView()
322 private static PopupWindow getLatestPopupWindow() { in getLatestPopupWindow() method in AccessibilityShortcutPreferenceFragmentTest
325 return shadowApplication.getLatestPopupWindow(); in getLatestPopupWindow()