Home
last modified time | relevance | path

Searched refs:mStateMachine (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DWifiSetupActivity.java67 private StateMachine mStateMachine; field in WifiSetupActivity
96 mStateMachine = ViewModelProviders.of(this).get(StateMachine.class); in onCreate()
97 mStateMachine.setCallback(mStateMachineCallback); in onCreate()
116 if (mStateMachine.getCurrentState() == mSelectWifiState in onCreate()
153 mStateMachine.setStartState(mSelectWifiState); in onCreate()
161 mStateMachine.addState( in onCreate()
165 mStateMachine.addState( in onCreate()
171 mStateMachine.addState( in onCreate()
175 mStateMachine.addState( in onCreate()
181 mStateMachine.addState( in onCreate()
[all …]
DAddPageBasedOnNetworkState.java36 private final StateMachine mStateMachine; field in AddPageBasedOnNetworkState
44 mStateMachine = ViewModelProviders.of(mActivity).get(StateMachine.class); in AddPageBasedOnNetworkState()
53 mStateMachine.getListener().onComplete(StateMachine.OTHER_NETWORK); in processForward()
71 mStateMachine.getListener().onComplete(StateMachine.KNOWN_NETWORK); in processForward()
73 mStateMachine.getListener().onComplete(StateMachine.ADD_START); in processForward()
84 mStateMachine.back(); in processBackward()
DAddStartState.java36 private final StateMachine mStateMachine; field in AddStartState
43 mStateMachine = ViewModelProviders.of(mActivity).get(StateMachine.class); in AddStartState()
55 mStateMachine.getListener().onComplete(StateMachine.PASSWORD); in processForward()
57 mStateMachine.getListener().onComplete(StateMachine.CONNECT); in processForward()
63 mStateMachine.back(); in processBackward()
DAdvancedFlowCompleteState.java31 private final StateMachine mStateMachine; field in AdvancedFlowCompleteState
36 mStateMachine = ViewModelProviders.of(mActivity).get(StateMachine.class); in AdvancedFlowCompleteState()
42 mStateMachine.getListener().onComplete(StateMachine.EXIT_ADVANCED_FLOW); in processForward()
47 mStateMachine.back(); in processBackward()
DProxyBypassState.java75 private StateMachine mStateMachine; field in ProxyBypassState.ProxyBypassFragment
93 mStateMachine = ViewModelProviders in onCreate()
141 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionEditedAndProceed()
143 mStateMachine.getListener().onComplete(StateMachine.IP_SETTINGS); in onGuidedActionEditedAndProceed()
146 mStateMachine.getListener().onComplete(StateMachine.PROXY_SETTINGS_INVALID); in onGuidedActionEditedAndProceed()
DProxySettingsState.java77 private StateMachine mStateMachine; field in ProxySettingsState.ProxySettingsFragment
95 mStateMachine = ViewModelProviders in onCreate()
143 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionClicked()
145 mStateMachine.getListener().onComplete(StateMachine.IP_SETTINGS); in onGuidedActionClicked()
148 mStateMachine.getListener().onComplete(StateMachine.PROXY_HOSTNAME); in onGuidedActionClicked()
DSummaryConnectedWifiState.java75 private StateMachine mStateMachine; field in SummaryConnectedWifiState.SummaryConnectWifiFragment
108 mStateMachine = ViewModelProviders in onCreate()
118 mStateMachine.finish(Activity.RESULT_OK); in onGuidedActionClicked()
120 mStateMachine.getListener().onComplete(StateMachine.SELECT_WIFI); in onGuidedActionClicked()
DConnectFailedState.java71 private StateMachine mStateMachine; field in ConnectFailedState.ConnectFailedFragment
84 mStateMachine = ViewModelProviders in onCreate()
109 mStateMachine.getListener() in onGuidedActionClicked()
112 mStateMachine.getListener() in onGuidedActionClicked()
DConnectRejectedByApState.java74 private StateMachine mStateMachine; field in ConnectRejectedByApState.ConnectRejectedByApFragment
101 mStateMachine = ViewModelProviders in onCreate()
110 mStateMachine.getListener() in onGuidedActionClicked()
116 mStateMachine.getListener() in onGuidedActionClicked()
DConnectAuthFailureState.java77 private StateMachine mStateMachine; field in ConnectAuthFailureState.ConnectAuthFailureFragment
105 mStateMachine = ViewModelProviders in onCreate()
114 mStateMachine.getListener() in onGuidedActionClicked()
120 mStateMachine.getListener() in onGuidedActionClicked()
DAdvancedOptionsState.java72 private StateMachine mStateMachine; field in AdvancedOptionsState.AdvancedOptionsFragment
89 mStateMachine = ViewModelProviders in onCreate()
113 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionClicked()
115 mStateMachine.getListener().onComplete(StateMachine.CONTINUE); in onGuidedActionClicked()
DKnownNetworkState.java75 private StateMachine mStateMachine; field in KnownNetworkState.KnownNetworkFragment
109 mStateMachine = ViewModelProviders in onCreate()
119 mStateMachine.getListener().onComplete(StateMachine.ADD_START); in onGuidedActionClicked()
124 mStateMachine.getListener().onComplete(StateMachine.SELECT_WIFI); in onGuidedActionClicked()
DConnectTimeOutState.java77 private StateMachine mStateMachine; field in ConnectTimeOutState.ConnectTimeOutFragment
90 mStateMachine = ViewModelProviders in onCreate()
115 mStateMachine.getListener() in onGuidedActionClicked()
118 mStateMachine.getListener() in onGuidedActionClicked()
DDns2State.java75 private StateMachine mStateMachine; field in Dns2State.Dns2Fragment
93 mStateMachine = ViewModelProviders in onCreate()
141 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionEditedAndProceed()
143 mStateMachine.getListener().onComplete(StateMachine.IP_SETTINGS_INVALID); in onGuidedActionEditedAndProceed()
DIpSettingsState.java80 private StateMachine mStateMachine; field in IpSettingsState.IpSettingsFragment
98 mStateMachine = ViewModelProviders in onCreate()
148 mStateMachine.getListener().onComplete(StateMachine.ADVANCED_FLOW_COMPLETE); in onGuidedActionClicked()
150 mStateMachine.getListener().onComplete(StateMachine.CONTINUE); in onGuidedActionClicked()
DChooseSecurityState.java83 private StateMachine mStateMachine; field in ChooseSecurityState.ChooseSecurityFragment
100 mStateMachine = ViewModelProviders in onCreate()
142 mStateMachine.getListener().onComplete(StateMachine.OPTIONS_OR_CONNECT); in onGuidedActionClicked()
144 mStateMachine.getListener().onComplete(StateMachine.PASSWORD); in onGuidedActionClicked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DAddWifiNetworkActivity.java61 private StateMachine mStateMachine; field in AddWifiNetworkActivity
74 mStateMachine = ViewModelProviders.of(this).get(StateMachine.class); in onCreate()
75 mStateMachine.setCallback(mStateMachineCallback); in onCreate()
100 mStateMachine.addState( in onCreate()
107 mStateMachine.addState( in onCreate()
112 mStateMachine.addState( in onCreate()
119 mStateMachine.addState( in onCreate()
126 mStateMachine.addState( in onCreate()
133 mStateMachine.addState( in onCreate()
137 mStateMachine.addState( in onCreate()
[all …]
DWifiConnectionActivity.java79 private StateMachine mStateMachine; field in WifiConnectionActivity
104 mStateMachine = ViewModelProviders.of(this).get(StateMachine.class); in onCreate()
105 mStateMachine.setCallback(mStateMachineCallback); in onCreate()
119 mStateMachine.addState( in onCreate()
123 mStateMachine.addState( in onCreate()
129 mStateMachine.addState( in onCreate()
133 mStateMachine.addState( in onCreate()
139 mStateMachine.addState( in onCreate()
145 mStateMachine.addState( in onCreate()
151 mStateMachine.addState( in onCreate()
[all …]
DEditIpSettingsActivity.java53 private StateMachine mStateMachine; field in EditIpSettingsActivity
63 mStateMachine = ViewModelProviders.of(this).get(StateMachine.class); in onCreate()
64 mStateMachine.setCallback(mStateMachineCallback); in onCreate()
84 mStateMachine.addState( in onCreate()
89 mStateMachine.addState( in onCreate()
95 mStateMachine.start(true); in onCreate()
107 mStateMachine.back(); in onBackPressed()
DEditProxySettingsActivity.java54 private StateMachine mStateMachine; field in EditProxySettingsActivity
64 mStateMachine = ViewModelProviders.of(this).get(StateMachine.class); in onCreate()
65 mStateMachine.setCallback(mStateMachineCallback); in onCreate()
84 mStateMachine.addState( in onCreate()
89 mStateMachine.addState( in onCreate()
94 mStateMachine.start(true); in onCreate()
104 mStateMachine.back(); in onBackPressed()
DSaveFailedState.java70 private StateMachine mStateMachine; field in SaveFailedState.SaveFailedFragment
83 mStateMachine = ViewModelProviders in onCreate()
101 mStateMachine.getListener().onComplete(StateMachine.FAIL); in onGuidedActionClicked()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java75 private final StateMachine mStateMachine; field in CaptureIntentModule
86 mStateMachine = new StateMachineImpl(); in CaptureIntentModule()
101 final State initialState = StateBackground.create(mStateMachine, mResourceConstructed); in CaptureIntentModule()
103 mStateMachine.setInitialState(initialState); in CaptureIntentModule()
123 mStateMachine.processEvent(new EventTapOnShutterButton(mTouchPointInsideShutterButton)); in onShutterButtonClick()
143 mStateMachine.processEvent(new EventTapOnCancelShutterButton()); in init()
152 mStateMachine.processEvent(new EventResume()); in resume()
159 mStateMachine.processEvent(new EventPause()); in pause()
218 mStateMachine.processEvent(new EventClickOnCameraKey()); in onKeyDown()
233 mStateMachine.processEvent(new EventClickOnCameraKey()); in onKeyUp()
[all …]
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateImpl.java31 private final StateMachine mStateMachine; field in StateImpl
35 mStateMachine = stateMachine; in StateImpl()
45 return mStateMachine; in getStateMachine()
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
DAETriggerResult.java63 private final TriggerStateMachine mStateMachine; field in AETriggerResult
67 mStateMachine = new TriggerStateMachine( in AETriggerResult()
76 boolean done = mStateMachine.update( in update()
DAFTriggerResult.java60 private final TriggerStateMachine mStateMachine; field in AFTriggerResult
65 mStateMachine = new TriggerStateMachine( in AFTriggerResult()
73 boolean done = mStateMachine.update( in update()

12