Home
last modified time | relevance | path

Searched refs:addState (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/graphics/drawable/
DStateListDrawableTest.java47 slDrawable.addState(StateSet.WILD_CARD, in broken_testFocusScenarioSetStringWildcardFirst()
49 slDrawable.addState(checkedStateSet, mockCheckedDrawable); in broken_testFocusScenarioSetStringWildcardFirst()
50 slDrawable.addState(focusedStateSet, mockFocusedDrawable); in broken_testFocusScenarioSetStringWildcardFirst()
59 slDrawable.addState(checkedStateSet, mockCheckedDrawable); in broken_testFocusScenarioStateSetWildcardLast()
60 slDrawable.addState(focusedStateSet, mockFocusedDrawable); in broken_testFocusScenarioStateSetWildcardLast()
61 slDrawable.addState(StateSet.WILD_CARD, in broken_testFocusScenarioStateSetWildcardLast()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DBaseFragment.java156 mStateMachine.addState(STATE_START); in createStateMachineStates()
157 mStateMachine.addState(STATE_ENTRANCE_INIT); in createStateMachineStates()
158 mStateMachine.addState(STATE_ENTRANCE_ON_PREPARED); in createStateMachineStates()
159 mStateMachine.addState(STATE_ENTRANCE_ON_PREPARED_ON_CREATEVIEW); in createStateMachineStates()
160 mStateMachine.addState(STATE_ENTRANCE_PERFORM); in createStateMachineStates()
161 mStateMachine.addState(STATE_ENTRANCE_ON_ENDED); in createStateMachineStates()
162 mStateMachine.addState(STATE_ENTRANCE_COMPLETE); in createStateMachineStates()
DBaseSupportFragment.java151 mStateMachine.addState(STATE_START); in createStateMachineStates()
152 mStateMachine.addState(STATE_ENTRANCE_INIT); in createStateMachineStates()
153 mStateMachine.addState(STATE_ENTRANCE_ON_PREPARED); in createStateMachineStates()
154 mStateMachine.addState(STATE_ENTRANCE_ON_PREPARED_ON_CREATEVIEW); in createStateMachineStates()
155 mStateMachine.addState(STATE_ENTRANCE_PERFORM); in createStateMachineStates()
156 mStateMachine.addState(STATE_ENTRANCE_ON_ENDED); in createStateMachineStates()
157 mStateMachine.addState(STATE_ENTRANCE_COMPLETE); in createStateMachineStates()
DDetailsSupportFragment.java208 mStateMachine.addState(STATE_SET_ENTRANCE_START_STATE); in createStateMachineStates()
209 mStateMachine.addState(STATE_ON_SAFE_START); in createStateMachineStates()
210 mStateMachine.addState(STATE_SWITCH_TO_VIDEO_IN_ON_CREATE); in createStateMachineStates()
211 mStateMachine.addState(STATE_ENTER_TRANSITION_INIT); in createStateMachineStates()
212 mStateMachine.addState(STATE_ENTER_TRANSITION_ADDLISTENER); in createStateMachineStates()
213 mStateMachine.addState(STATE_ENTER_TRANSITION_CANCEL); in createStateMachineStates()
214 mStateMachine.addState(STATE_ENTER_TRANSITION_PENDING); in createStateMachineStates()
215 mStateMachine.addState(STATE_ENTER_TRANSITION_COMPLETE); in createStateMachineStates()
DDetailsFragment.java213 mStateMachine.addState(STATE_SET_ENTRANCE_START_STATE); in createStateMachineStates()
214 mStateMachine.addState(STATE_ON_SAFE_START); in createStateMachineStates()
215 mStateMachine.addState(STATE_SWITCH_TO_VIDEO_IN_ON_CREATE); in createStateMachineStates()
216 mStateMachine.addState(STATE_ENTER_TRANSITION_INIT); in createStateMachineStates()
217 mStateMachine.addState(STATE_ENTER_TRANSITION_ADDLISTENER); in createStateMachineStates()
218 mStateMachine.addState(STATE_ENTER_TRANSITION_CANCEL); in createStateMachineStates()
219 mStateMachine.addState(STATE_ENTER_TRANSITION_PENDING); in createStateMachineStates()
220 mStateMachine.addState(STATE_ENTER_TRANSITION_COMPLETE); in createStateMachineStates()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java115 stateMachine.addState(exampleState); in testToStringSucceedsEvenIfStateHasNoName()
126 stateMachine.addState(exampleState); in testToStringIncludesMachineAndStateNames()
137 stateMachine.addState(exampleState); in testToStringDoesNotContainMultipleLines()
155 addState(mS1); in StateMachineQuitTest()
256 addState(mS1); in StateMachineQuitNowTest()
358 addState(mS1); in StateMachineQuitNowAfterStartTest()
451 addState(mS1); in StateMachineEnterExitTransitionToTest()
452 addState(mS2); in StateMachineEnterExitTransitionToTest()
453 addState(mS3); in StateMachineEnterExitTransitionToTest()
454 addState(mS4); in StateMachineEnterExitTransitionToTest()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java108 addState(mDefaultState); in SupplicantStateTracker()
109 addState(mUninitializedState, mDefaultState); in SupplicantStateTracker()
110 addState(mInactiveState, mDefaultState); in SupplicantStateTracker()
111 addState(mDisconnectState, mDefaultState); in SupplicantStateTracker()
112 addState(mConnectionActiveState, mDefaultState); in SupplicantStateTracker()
113 addState(mScanState, mConnectionActiveState); in SupplicantStateTracker()
114 addState(mHandshakeState, mConnectionActiveState); in SupplicantStateTracker()
115 addState(mCompletedState, mConnectionActiveState); in SupplicantStateTracker()
116 addState(mDormantState, mConnectionActiveState); in SupplicantStateTracker()
DWifiController.java122 addState(mDefaultState); in WifiController()
123 addState(mStaDisabledState, mDefaultState); in WifiController()
124 addState(mStaEnabledState, mDefaultState); in WifiController()
125 addState(mDeviceActiveState, mStaEnabledState); in WifiController()
126 addState(mStaDisabledWithScanState, mDefaultState); in WifiController()
127 addState(mEcmState, mDefaultState); in WifiController()
DScanOnlyModeManager.java175 addState(mIdleState); in ScanOnlyModeStateMachine()
176 addState(mStartedState); in ScanOnlyModeStateMachine()
DWifiStateMachinePrime.java274 addState(mClientModeActiveState); in ModeStateMachine()
275 addState(mScanOnlyModeActiveState); in ModeStateMachine()
276 addState(mWifiDisabledState); in ModeStateMachine()
DClientModeManager.java203 addState(mIdleState); in ClientModeStateMachine()
204 addState(mStartedState); in ClientModeStateMachine()
/frameworks/opt/net/lowpan/service/java/com/android/server/lowpan/
DLowpanInterfaceTracker.java552 addState(mDefaultState); in LowpanInterfaceTracker()
553 addState(mFaultState, mDefaultState); in LowpanInterfaceTracker()
554 addState(mNormalState, mDefaultState); in LowpanInterfaceTracker()
555 addState(mOfflineState, mNormalState); in LowpanInterfaceTracker()
556 addState(mCommissioningState, mNormalState); in LowpanInterfaceTracker()
557 addState(mAttachingState, mNormalState); in LowpanInterfaceTracker()
558 addState(mAttachedState, mNormalState); in LowpanInterfaceTracker()
559 addState(mObtainingIpState, mAttachedState); in LowpanInterfaceTracker()
560 addState(mConnectedState, mAttachedState); in LowpanInterfaceTracker()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java233 addState(mStoppedState); in DhcpClient()
234 addState(mDhcpState); in DhcpClient()
235 addState(mDhcpInitState, mDhcpState); in DhcpClient()
236 addState(mWaitBeforeStartState, mDhcpState); in DhcpClient()
237 addState(mDhcpSelectingState, mDhcpState); in DhcpClient()
238 addState(mDhcpRequestingState, mDhcpState); in DhcpClient()
239 addState(mDhcpHaveLeaseState, mDhcpState); in DhcpClient()
240 addState(mConfiguringInterfaceState, mDhcpHaveLeaseState); in DhcpClient()
241 addState(mDhcpBoundState, mDhcpHaveLeaseState); in DhcpClient()
242 addState(mWaitBeforeRenewalState, mDhcpHaveLeaseState); in DhcpClient()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java74 addState(mDefaultState); in WakeLockStateMachine()
75 addState(mIdleState, mDefaultState); in WakeLockStateMachine()
76 addState(mWaitingState, mDefaultState); in WakeLockStateMachine()
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DStaggeredGridLayoutManagerTest.java363 stl.addState(new int[]{android.R.attr.state_focused}, in focusSearchFailureFromSubChild()
365 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in focusSearchFailureFromSubChild()
414 stl.addState(new int[]{android.R.attr.state_focused}, in focusSearchFailure()
416 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in focusSearchFailure()
507 stl.addState(new int[]{android.R.attr.state_focused}, in topUnfocusableViewsVisibility()
509 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in topUnfocusableViewsVisibility()
621 stl.addState(new int[]{android.R.attr.state_focused}, in bottomUnfocusableViewsVisibility()
623 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in bottomUnfocusableViewsVisibility()
736 stl.addState(new int[]{android.R.attr.state_focused}, in leftUnfocusableViewsVisibility()
738 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in leftUnfocusableViewsVisibility()
[all …]
DLinearLayoutManagerTest.java216 stl.addState(new int[]{android.R.attr.state_focused}, in topUnfocusableViewsVisibility()
218 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in topUnfocusableViewsVisibility()
302 stl.addState(new int[]{android.R.attr.state_focused}, in bottomUnfocusableViewsVisibility()
304 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in bottomUnfocusableViewsVisibility()
387 stl.addState(new int[]{android.R.attr.state_focused}, in leftUnfocusableViewsVisibility()
389 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in leftUnfocusableViewsVisibility()
473 stl.addState(new int[]{android.R.attr.state_focused}, in rightUnfocusableViewsVisibility()
475 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in rightUnfocusableViewsVisibility()
564 stl.addState(new int[]{android.R.attr.state_focused}, in unfocusableScrollingWhenFocusCleared()
566 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in unfocusableScrollingWhenFocusCleared()
DGridLayoutManagerTest.java139 stl.addState(new int[]{android.R.attr.state_focused}, in focusSearchFailure()
141 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in focusSearchFailure()
333 stl.addState(new int[]{android.R.attr.state_focused}, in topUnfocusableViewsVisibility()
335 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in topUnfocusableViewsVisibility()
423 stl.addState(new int[]{android.R.attr.state_focused}, in bottomUnfocusableViewsVisibility()
425 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in bottomUnfocusableViewsVisibility()
513 stl.addState(new int[]{android.R.attr.state_focused}, in leftUnfocusableViewsVisibility()
515 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in leftUnfocusableViewsVisibility()
603 stl.addState(new int[]{android.R.attr.state_focused}, in rightUnfocusableViewsVisibility()
605 stl.addState(StateSet.WILD_CARD, new ColorDrawable(Color.BLUE)); in rightUnfocusableViewsVisibility()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java114 addState(mStateStart); in RilMessageDecoder()
115 addState(mStateCmdParamsReady); in RilMessageDecoder()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1163 private final StateInfo addState(State state, State parent) { in addState() method in StateMachine.SmHandler
1173 parentStateInfo = addState(parent, null); in addState()
1224 addState(mHaltingState, null); in SmHandler()
1225 addState(mQuittingState, null); in SmHandler()
1349 public final void addState(State state, State parent) { in addState() method in StateMachine
1350 mSmHandler.addState(state, parent); in addState()
1357 public final void addState(State state) { in addState() method in StateMachine
1358 mSmHandler.addState(state, null); in addState()
/frameworks/base/core/java/android/animation/
DStateListAnimator.java82 public void addState(int[] specs, Animator animator) { in addState() method in StateListAnimator
150 clone.addState(tuple.mSpecs, animatorClone); in clone()
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java163 addState(mInitialState); in TetherInterfaceStateMachine()
164 addState(mLocalHotspotState); in TetherInterfaceStateMachine()
165 addState(mTetheredState); in TetherInterfaceStateMachine()
166 addState(mUnavailableState); in TetherInterfaceStateMachine()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java362 addState(mUnavailableState); in init()
364 addState(mAvailableState, mUnavailableState); in init()
367 addState(mBindingState); in init()
372 addState(mDisconnectedState); in init()
374 addState(mConnectedState, mDisconnectedState); in init()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java331 addState(mDefaultState); in NetworkMonitor()
332 addState(mMaybeNotifyState, mDefaultState); in NetworkMonitor()
333 addState(mEvaluatingState, mMaybeNotifyState); in NetworkMonitor()
334 addState(mCaptivePortalState, mMaybeNotifyState); in NetworkMonitor()
335 addState(mEvaluatingPrivateDnsState, mDefaultState); in NetworkMonitor()
336 addState(mValidatedState, mDefaultState); in NetworkMonitor()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java467 addState(mDefaultState); in WifiSingleScanStateMachine()
468 addState(mDriverStartedState, mDefaultState); in WifiSingleScanStateMachine()
469 addState(mIdleState, mDriverStartedState); in WifiSingleScanStateMachine()
470 addState(mScanningState, mDriverStartedState); in WifiSingleScanStateMachine()
1011 addState(mDefaultState); in WifiBackgroundScanStateMachine()
1012 addState(mStartedState, mDefaultState); in WifiBackgroundScanStateMachine()
1013 addState(mPausedState, mDefaultState); in WifiBackgroundScanStateMachine()
1459 addState(mDefaultState); in WifiPnoScanStateMachine()
1460 addState(mStartedState, mDefaultState); in WifiPnoScanStateMachine()
1461 addState(mHwPnoScanState, mStartedState); in WifiPnoScanStateMachine()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java700 addState(mDefaultState); in P2pStateMachine()
701 addState(mP2pNotSupportedState, mDefaultState); in P2pStateMachine()
702 addState(mP2pDisablingState, mDefaultState); in P2pStateMachine()
703 addState(mP2pDisabledState, mDefaultState); in P2pStateMachine()
704 addState(mP2pEnabledState, mDefaultState); in P2pStateMachine()
705 addState(mInactiveState, mP2pEnabledState); in P2pStateMachine()
706 addState(mGroupCreatingState, mP2pEnabledState); in P2pStateMachine()
707 addState(mUserAuthorizingInviteRequestState, mGroupCreatingState); in P2pStateMachine()
708 addState(mUserAuthorizingNegotiationRequestState, mGroupCreatingState); in P2pStateMachine()
709 addState(mProvisionDiscoveryState, mGroupCreatingState); in P2pStateMachine()
[all …]

123