/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/dvr/ |
D | DvrLibraryTest.java | 46 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in DvrLibraryTest 58 ByResource.text(controller.getTargetResources(), R.string.dvr_main_recent)); in setUp() 62 controller.getTargetResources(), R.string.dvr_main_scheduled)); in setUp() 65 ByResource.text(controller.getTargetResources(), R.string.dvr_main_series)); in setUp() 70 controller.getTargetResources(), in setUp() 72 controller.liveChannelsHelper.assertAppStarted(); in setUp() 83 controller.menuHelper.assertPressDvrLibrary(); in testCancel() 84 controller.assertWaitForCondition(Until.hasObject(Constants.DVR_LIBRARY)); in testCancel() 85 controller.pressBack(); in testCancel() 86 controller.assertWaitForCondition(Until.gone(Constants.DVR_LIBRARY)); in testCancel() [all …]
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
D | ParentalControlsTest.java | 41 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in ParentalControlsTest 47 controller.liveChannelsHelper.assertAppStarted(); in setUp() 49 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in setUp() 68 controller.sidePanelHelper.bySidePanelTitled(R.string.option_program_restrictions); in testRatingDependentSelect() 69 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testRatingDependentSelect() 70 controller.sidePanelHelper.assertNavigateToItem(R.string.option_ratings); in testRatingDependentSelect() 71 controller.pressDPadCenter(); in testRatingDependentSelect() 73 bySidePanel = controller.sidePanelHelper.bySidePanelTitled(R.string.option_ratings); in testRatingDependentSelect() 74 controller.assertWaitForCondition(Until.hasObject(bySidePanel)); in testRatingDependentSelect() 82 controller in testRatingDependentSelect() [all …]
|
D | LiveChannelsAppTest.java | 38 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in LiveChannelsAppTest 44 controller.liveChannelsHelper.assertAppStarted(); in setUp() 45 controller.pressKeysForChannel(TvTestInputConstants.CH_1_DEFAULT_DONT_MODIFY); in setUp() 46 controller.waitForIdleSync(); in setUp() 48 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in setUp() 53 controller.menuHelper.assertPressOptionsSettings(); in testSettingsCancel() 55 controller.sidePanelHelper.bySidePanelTitled( in testSettingsCancel() 57 controller.assertWaitForCondition(Until.hasObject(byChannelSourcesSidePanel)); in testSettingsCancel() 58 controller.pressBack(); in testSettingsCancel() 59 controller.assertWaitForCondition(Until.gone(byChannelSourcesSidePanel)); in testSettingsCancel() [all …]
|
D | PlayControlsRowViewTest.java | 45 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in PlayControlsRowViewTest 52 controller.liveChannelsHelper.assertAppStarted(); in setUp() 53 controller.pressKeysForChannel(TvTestInputConstants.CH_2); in setUp() 55 controller.assertWaitForCondition(Until.hasObject(CHANNEL_BANNER)); in setUp() 57 controller.pressDPadUp(); in setUp() 58 controller.waitForIdleSync(); in setUp() 60 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in setUp() 67 controller.menuHelper.showMenu(); in testFocusedViewInNormalCase() 68 controller.menuHelper.assertNavigateToPlayControlsRow(); in testFocusedViewInNormalCase() 70 controller.pressBack(); in testFocusedViewInNormalCase() [all …]
|
D | ChannelSourcesTest.java | 33 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in ChannelSourcesTest 39 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in before() 46 controller.liveChannelsHelper.assertAppStarted(); in testSetup_cancel() 47 controller.menuHelper.assertPressOptionsSettings(); in testSetup_cancel() 48 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testSetup_cancel() 50 controller.sidePanelHelper.assertNavigateToItem( in testSetup_cancel() 52 controller.pressDPadCenter(); in testSetup_cancel() 54 controller.assertWaitForCondition( in testSetup_cancel() 57 controller.getTargetResources(), R.string.setup_sources_text))); in testSetup_cancel() 58 controller.pressBack(); in testSetup_cancel() [all …]
|
D | TimeoutTest.java | 38 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in TimeoutTest 48 controller.liveChannelsHelper.assertAppStarted(); in testMenu() 49 controller.pressMenu(); in testMenu() 51 controller.assertWaitForCondition(Until.hasObject(Constants.MENU)); in testMenu() 52 controller.assertWaitForCondition( in testMenu() 54 controller.getTargetResources().getInteger(R.integer.menu_show_duration)); in testMenu() 60 controller.liveChannelsHelper.assertAppStarted(); in testProgramGuide() 61 controller.menuHelper.assertPressProgramGuide(); in testProgramGuide() 62 controller.assertWaitForCondition(Until.hasObject(Constants.PROGRAM_GUIDE)); in testProgramGuide() 63 controller.assertWaitForCondition( in testProgramGuide() [all …]
|
D | ChannelBannerViewTest.java | 34 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in ChannelBannerViewTest 41 controller.liveChannelsHelper.assertAppStarted(); in setUp() 43 controller.getTargetResources().getInteger(R.integer.channel_banner_show_duration) in setUp() 50 controller.pressDPadCenter(); in testChannelBannerAppearDisappear() 51 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerAppearDisappear() 52 controller.assertWaitForCondition( in testChannelBannerAppearDisappear() 58 controller.pressDPadDown(); in testChannelBannerShownWhenTune() 59 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune() 60 controller.pressDPadUp(); in testChannelBannerShownWhenTune() 61 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in testChannelBannerShownWhenTune()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/sidepanel/ |
D | CustomizeChannelListFragmentTest.java | 44 @Rule public final LiveChannelsTestController controller = new LiveChannelsTestController(); field in CustomizeChannelListFragmentTest 52 controller.liveChannelsHelper.assertAppStarted(); in setUp() 53 mTvView = controller.getUiDevice().findObject(Constants.TV_VIEW); in setUp() 56 controller.pressKeysForChannel(com.android.tv.testing.testinput.TvTestInputConstants.CH_2); in setUp() 58 controller.assertWaitForCondition(Until.hasObject(Constants.CHANNEL_BANNER)); in setUp() 60 controller.sidePanelHelper.bySidePanelTitled(R.string.side_panel_title_settings); in setUp() 75 controller.menuHelper.assertPressOptionsSettings(); in testCustomizeChannelList_noraml() 76 controller.assertWaitForCondition(Until.hasObject(mBySettingsSidePanel)); in testCustomizeChannelList_noraml() 77 controller.sidePanelHelper.assertNavigateToItem( in testCustomizeChannelList_noraml() 79 controller.pressDPadCenter(); in testCustomizeChannelList_noraml() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDialogTest.java | 63 private BluetoothPairingController controller; field in BluetoothPairingDialogTest 76 when(controller.getDialogType()).thenReturn(BluetoothPairingController.USER_ENTRY_DIALOG); in dialogUpdatesControllerWithUserInput() 79 when(controller.getDeviceVariantMessageId()) in dialogUpdatesControllerWithUserInput() 81 when(controller.getDeviceVariantMessageHintId()) in dialogUpdatesControllerWithUserInput() 89 verify(controller, times(1)).updateUserInput(any()); in dialogUpdatesControllerWithUserInput() 95 when(controller.getDialogType()).thenReturn(BluetoothPairingController.USER_ENTRY_DIALOG); in dialogEnablesSubmitButtonOnValidationFromController() 98 when(controller.getDeviceVariantMessageId()) in dialogEnablesSubmitButtonOnValidationFromController() 100 when(controller.getDeviceVariantMessageHintId()) in dialogEnablesSubmitButtonOnValidationFromController() 104 when(controller.isPasskeyValid(any())).thenReturn(true); in dialogEnablesSubmitButtonOnValidationFromController() 119 when(controller.getDialogType()).thenReturn(BluetoothPairingController.CONFIRMATION_DIALOG); in dialogDoesNotAskForPairCodeOnConsentVariant() [all …]
|
D | BluetoothDetailsControllerEventsTest.java | 41 TestController controller = in pauseResumeEvents() local 45 showScreen(controller); in pauseResumeEvents() 46 verify(mCachedDevice, times(1)).registerCallback(controller); in pauseResumeEvents() 47 verify(controller, times(1)).refresh(); in pauseResumeEvents() 49 controller.onPause(); in pauseResumeEvents() 50 verify(controller, times(1)).refresh(); in pauseResumeEvents() 51 verify(mCachedDevice).unregisterCallback(controller); in pauseResumeEvents() 53 controller.onResume(); in pauseResumeEvents() 54 verify(controller, times(2)).refresh(); in pauseResumeEvents() 55 verify(mCachedDevice, times(2)).registerCallback(controller); in pauseResumeEvents() [all …]
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragment.java | 81 for (AbstractPreferenceController controller : mPreferenceControllers) { 82 if (controller instanceof AdbOnChangeListener) { 83 ((AdbOnChangeListener) controller).onAdbSettingChanged(); 99 for (AbstractPreferenceController controller : mPreferenceControllers) { 100 if (controller instanceof BluetoothServiceConnectionListener) { 101 ((BluetoothServiceConnectionListener) controller).onBluetoothCodecUpdated(); 117 for (AbstractPreferenceController controller : mPreferenceControllers) { 118 if (controller instanceof BluetoothServiceConnectionListener) { 119 ((BluetoothServiceConnectionListener) controller) 130 for (AbstractPreferenceController controller : mPreferenceControllers) { [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | DevelopmentSettingsDashboardFragment.java | 81 for (AbstractPreferenceController controller : mPreferenceControllers) { 82 if (controller instanceof AdbOnChangeListener) { 83 ((AdbOnChangeListener) controller).onAdbSettingChanged(); 99 for (AbstractPreferenceController controller : mPreferenceControllers) { 100 if (controller instanceof BluetoothServiceConnectionListener) { 101 ((BluetoothServiceConnectionListener) controller).onBluetoothCodecUpdated(); 117 for (AbstractPreferenceController controller : mPreferenceControllers) { 118 if (controller instanceof BluetoothServiceConnectionListener) { 119 ((BluetoothServiceConnectionListener) controller) 130 for (AbstractPreferenceController controller : mPreferenceControllers) { [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/ |
D | DashboardFragment.java | 98 .filter(controller -> controller instanceof LifecycleObserver) in onAttach() 100 controller -> lifecycle.addObserver((LifecycleObserver) controller)); in onAttach() 105 for (AbstractPreferenceController controller : controllers) { in onAttach() 106 addPreferenceController(controller); in onAttach() 117 .filter(controller -> controller instanceof BasePreferenceController.UiBlocker) in checkUiBlocker() 118 .forEach(controller -> { in checkUiBlocker() 119 ((BasePreferenceController) controller).setUiBlockListener(this); in checkUiBlocker() 120 keys.add(controller.getPreferenceKey()); in checkUiBlocker() 204 for (AbstractPreferenceController controller : controllerList) { in onPreferenceTreeClick() 205 if (controller.handlePreferenceTreeClick(preference)) { in onPreferenceTreeClick() [all …]
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 104 .filter(controller -> controller instanceof LifecycleObserver) in onAttach() 106 controller -> lifecycle.addObserver((LifecycleObserver) controller)); in onAttach() 111 for (AbstractPreferenceController controller : controllers) { in onAttach() 112 addPreferenceController(controller); in onAttach() 123 .filter(controller -> controller instanceof BasePreferenceController.UiBlocker) in checkUiBlocker() 124 .forEach(controller -> { in checkUiBlocker() 125 ((BasePreferenceController) controller).setUiBlockListener(this); in checkUiBlocker() 126 keys.add(controller.getPreferenceKey()); in checkUiBlocker() 210 for (AbstractPreferenceController controller : controllerList) { in onPreferenceTreeClick() 211 if (controller.handlePreferenceTreeClick(preference)) { in onPreferenceTreeClick() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 187 final BluetoothA2dpHwOffloadPreferenceController controller = in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() local 191 BluetoothA2dpHwOffloadPreferenceController.class)).thenReturn(controller); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() 192 when(controller.isDefaultValue()).thenReturn(false); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() 209 final OemUnlockPreferenceController controller = mock(OemUnlockPreferenceController.class); in onOemUnlockDialogConfirmed_shouldCallControllerOemConfirmed() local 210 doReturn(controller).when(mDashboard) in onOemUnlockDialogConfirmed_shouldCallControllerOemConfirmed() 213 verify(controller).onOemUnlockConfirmed(); in onOemUnlockDialogConfirmed_shouldCallControllerOemConfirmed() 218 final OemUnlockPreferenceController controller = mock(OemUnlockPreferenceController.class); in onOemUnlockDialogConfirmed_shouldCallControllerOemDismissed() local 219 doReturn(controller).when(mDashboard) in onOemUnlockDialogConfirmed_shouldCallControllerOemDismissed() 222 verify(controller).onOemUnlockDismissed(); in onOemUnlockDialogConfirmed_shouldCallControllerOemDismissed() 227 final AdbPreferenceController controller = mock(AdbPreferenceController.class); in onAdbDialogConfirmed_shouldCallControllerDialogConfirmed() local [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/editors/ |
D | ParametricEditor.java | 32 import com.android.gallery3d.filtershow.controller.ActionSlider; 33 import com.android.gallery3d.filtershow.controller.BasicSlider; 34 import com.android.gallery3d.filtershow.controller.ColorChooser; 35 import com.android.gallery3d.filtershow.controller.Control; 36 import com.android.gallery3d.filtershow.controller.Parameter; 37 import com.android.gallery3d.filtershow.controller.ParameterActionAndInt; 38 import com.android.gallery3d.filtershow.controller.ParameterBrightness; 39 import com.android.gallery3d.filtershow.controller.ParameterColor; 40 import com.android.gallery3d.filtershow.controller.ParameterHue; 41 import com.android.gallery3d.filtershow.controller.ParameterInteger; [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/util/ |
D | SwipeAnimationTargetSet.java | 39 public final RecentsAnimationControllerCompat controller; field in SwipeAnimationTargetSet 43 public SwipeAnimationTargetSet(RecentsAnimationControllerCompat controller, in SwipeAnimationTargetSet() argument 48 this.controller = controller; in SwipeAnimationTargetSet() 64 return new SwipeAnimationTargetSet(controller, new RemoteAnimationTargetCompat[0], in cloneWithoutTargets() 72 controller.setInputConsumerEnabled(false); in finishController() 73 controller.finish(toRecents, sendUserLeaveHint); in finishController() 83 controller.hideCurrentInputMethod(); in enableInputConsumer() 84 controller.setInputConsumerEnabled(true); in enableInputConsumer() 90 controller.setAnimationTargetsBehindSystemBars(!thresholdCrossed); in setWindowThresholdCrossed() 96 controller.setSplitScreenMinimized(thresholdCrossed); in setWindowThresholdCrossed() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceBuilderUtils.java | 79 final BasePreferenceController controller = getPreferenceController(context, sliceData); in buildSlice() local 87 if (!controller.isAvailable()) { in buildSlice() 92 if (controller.getAvailabilityStatus() == DISABLED_DEPENDENT_SETTING) { in buildSlice() 96 if (controller.isCopyableSlice()) { in buildSlice() 97 return buildCopyableSlice(context, sliceData, controller); in buildSlice() 102 return buildIntentSlice(context, sliceData, controller); in buildSlice() 104 return buildToggleSlice(context, sliceData, controller); in buildSlice() 106 return buildSliderSlice(context, sliceData, controller); in buildSlice() 119 BasePreferenceController controller = getPreferenceController(context, controllerClassName, in getSliceType() local 121 return controller.getSliceType(); in getSliceType() [all …]
|
D | SliceBroadcastReceiver.java | 119 final BasePreferenceController controller = getPreferenceController(context, key); in handleToggleAction() local 121 if (!(controller instanceof TogglePreferenceController)) { in handleToggleAction() 125 if (!controller.isAvailable()) { in handleToggleAction() 127 if (!controller.hasAsyncUpdate()) { in handleToggleAction() 135 final TogglePreferenceController toggleController = (TogglePreferenceController) controller; in handleToggleAction() 138 if (!controller.hasAsyncUpdate()) { in handleToggleAction() 154 final BasePreferenceController controller = getPreferenceController(context, key); in handleSliderAction() local 156 if (!(controller instanceof SliderPreferenceController)) { in handleSliderAction() 160 if (!controller.isAvailable()) { in handleSliderAction() 166 final SliderPreferenceController sliderController = (SliderPreferenceController) controller; in handleSliderAction() [all …]
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBuilderUtils.java | 79 final BasePreferenceController controller = getPreferenceController(context, sliceData); in buildSlice() local 87 if (!controller.isAvailable()) { in buildSlice() 92 if (controller.getAvailabilityStatus() == DISABLED_DEPENDENT_SETTING) { in buildSlice() 96 if (controller.isCopyableSlice()) { in buildSlice() 97 return buildCopyableSlice(context, sliceData, controller); in buildSlice() 102 return buildIntentSlice(context, sliceData, controller); in buildSlice() 104 return buildToggleSlice(context, sliceData, controller); in buildSlice() 106 return buildSliderSlice(context, sliceData, controller); in buildSlice() 119 BasePreferenceController controller = getPreferenceController(context, controllerClassName, in getSliceType() local 121 return controller.getSliceType(); in getSliceType() [all …]
|
D | SliceBroadcastReceiver.java | 119 final BasePreferenceController controller = getPreferenceController(context, key); in handleToggleAction() local 121 if (!(controller instanceof TogglePreferenceController)) { in handleToggleAction() 125 if (!controller.isAvailable()) { in handleToggleAction() 127 if (!controller.hasAsyncUpdate()) { in handleToggleAction() 135 final TogglePreferenceController toggleController = (TogglePreferenceController) controller; in handleToggleAction() 138 if (!controller.hasAsyncUpdate()) { in handleToggleAction() 154 final BasePreferenceController controller = getPreferenceController(context, key); in handleSliderAction() local 156 if (!(controller instanceof SliderPreferenceController)) { in handleSliderAction() 160 if (!controller.isAvailable()) { in handleSliderAction() 166 final SliderPreferenceController sliderController = (SliderPreferenceController) controller; in handleSliderAction() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/ |
D | LockscreenDashboardFragmentTest.java | 84 final AmbientDisplayAlwaysOnPreferenceController controller = spy( in onAttach_alwaysOn_shouldInvokeSetters() local 86 doReturn(controller).when(mTestFragment).use( in onAttach_alwaysOn_shouldInvokeSetters() 90 verify(controller).setConfig(any()); in onAttach_alwaysOn_shouldInvokeSetters() 91 verify(controller).setCallback(any()); in onAttach_alwaysOn_shouldInvokeSetters() 96 final AmbientDisplayNotificationsPreferenceController controller = spy( in onAttach_notifications_shouldInvokeSetters() local 98 doReturn(controller).when(mTestFragment).use( in onAttach_notifications_shouldInvokeSetters() 102 verify(controller).setConfig(any()); in onAttach_notifications_shouldInvokeSetters() 107 final DoubleTapScreenPreferenceController controller = spy( in onAttach_doubleTap_shouldInvokeSetters() local 109 doReturn(controller).when(mTestFragment).use(DoubleTapScreenPreferenceController.class); in onAttach_doubleTap_shouldInvokeSetters() 112 verify(controller).setConfig(any()); in onAttach_doubleTap_shouldInvokeSetters() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallScreeningServiceControllerTest.java | 168 CallScreeningServiceController controller = new CallScreeningServiceController(mContext, in testAllAllowCall() local 173 controller.startFilterLookup(mCall, mCallback); in testAllAllowCall() 175 controller.onCallScreeningFilterComplete(mCall, PASS_RESULT, in testAllAllowCall() 183 controller.onCallScreeningFilterComplete(mCall, PASS_RESULT, in testAllAllowCall() 185 controller.onCallScreeningFilterComplete(mCall, PASS_RESULT, USER_CHOSEN_CALL_SCREENING in testAllAllowCall() 199 CallScreeningServiceController controller = new CallScreeningServiceController(mContext, in testCarrierAllowCallAndContactExists() local 204 controller.startFilterLookup(mCall, mCallback); in testCarrierAllowCallAndContactExists() 206 controller.onCallScreeningFilterComplete(mCall, PASS_RESULT, in testCarrierAllowCallAndContactExists() 225 CallScreeningServiceController controller = new CallScreeningServiceController(mContext, in testCarrierCallScreeningRejectCall() local 230 controller.startFilterLookup(mCall, mCallback); in testCarrierCallScreeningRejectCall() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | PreferenceControllerFragment.java | 83 for (AbstractPreferenceController controller : controllers) { in onPreferenceTreeClick() 84 if (controller.handlePreferenceTreeClick(preference)) { in onPreferenceTreeClick() 111 protected void addPreferenceController(AbstractPreferenceController controller) { in addPreferenceController() argument 112 mPreferenceControllers.add(controller); in addPreferenceController() 122 for (AbstractPreferenceController controller : controllers) { in updatePreferenceStates() 123 if (!controller.isAvailable()) { in updatePreferenceStates() 126 final String key = controller.getPreferenceKey(); in updatePreferenceStates() 131 + " in Controller " + controller.getClass().getSimpleName()); in updatePreferenceStates() 134 controller.updateState(preference); in updatePreferenceStates() 142 for (AbstractPreferenceController controller : controllers) { in refreshAllPreferences() [all …]
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManager.java | 139 final ContextualCardController controller = mControllerRendererPool.getController(mContext, in setupController() local 141 if (controller == null) { in setupController() 145 controller.setCardUpdateListener(this); in setupController() 146 if (controller instanceof LifecycleObserver && !mLifecycleObservers.contains(controller)) { in setupController() 147 mLifecycleObservers.add((LifecycleObserver) controller); in setupController() 148 mLifecycle.addObserver((LifecycleObserver) controller); in setupController() 261 final ContextualCardController controller = getControllerRendererPool() in onWindowFocusChanged() local 263 if (controller instanceof ConditionalCardController) { in onWindowFocusChanged() 266 if (hasWindowFocus && controller instanceof OnStart) { in onWindowFocusChanged() 267 ((OnStart) controller).onStart(); in onWindowFocusChanged() [all …]
|