Home
last modified time | relevance | path

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

12

/frameworks/base/graphics/tests/graphicstests/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/design/lollipop/android/support/design/widget/
DViewUtilsLollipop.java61 sla.addState(new int[]{android.R.attr.enabled, R.attr.state_collapsible, in setDefaultAppBarLayoutStateListAnimator()
66 sla.addState(new int[]{android.R.attr.enabled, R.attr.state_collapsible, in setDefaultAppBarLayoutStateListAnimator()
71 sla.addState(new int[]{android.R.attr.enabled, -R.attr.state_collapsible}, in setDefaultAppBarLayoutStateListAnimator()
75 sla.addState(new int[0], ObjectAnimator.ofFloat(view, "elevation", 0)); in setDefaultAppBarLayoutStateListAnimator()
DFloatingActionButtonLollipop.java99 stateListAnimator.addState(PRESSED_ENABLED_STATE_SET, in onTranslationZChanged()
101 stateListAnimator.addState(FOCUSED_ENABLED_STATE_SET, in onTranslationZChanged()
104 stateListAnimator.addState(EMPTY_STATE_SET, in onTranslationZChanged()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DStateMachineTest.java95 addState(mS1); in StateMachineQuitTest()
196 addState(mS1); in StateMachineQuitNowTest()
297 addState(mS1); in StateMachineEnterExitTransitionToTest()
298 addState(mS2); in StateMachineEnterExitTransitionToTest()
299 addState(mS3); in StateMachineEnterExitTransitionToTest()
300 addState(mS4); in StateMachineEnterExitTransitionToTest()
485 addState(mS1); in StateMachine0()
571 addState(mS1); in StateMachine1()
671 addState(mS1); in StateMachine2()
672 addState(mS2); in StateMachine2()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java96 addState(mDefaultState); in SupplicantStateTracker()
97 addState(mUninitializedState, mDefaultState); in SupplicantStateTracker()
98 addState(mInactiveState, mDefaultState); in SupplicantStateTracker()
99 addState(mDisconnectState, mDefaultState); in SupplicantStateTracker()
100 addState(mScanState, mDefaultState); in SupplicantStateTracker()
101 addState(mHandshakeState, mDefaultState); in SupplicantStateTracker()
102 addState(mCompletedState, mDefaultState); in SupplicantStateTracker()
103 addState(mDormantState, mDefaultState); in SupplicantStateTracker()
DWifiController.java151 addState(mDefaultState); in WifiController()
152 addState(mApStaDisabledState, mDefaultState); in WifiController()
153 addState(mStaEnabledState, mDefaultState); in WifiController()
154 addState(mDeviceActiveState, mStaEnabledState); in WifiController()
155 addState(mDeviceInactiveState, mStaEnabledState); in WifiController()
156 addState(mScanOnlyLockHeldState, mDeviceInactiveState); in WifiController()
157 addState(mFullLockHeldState, mDeviceInactiveState); in WifiController()
158 addState(mFullHighPerfLockHeldState, mDeviceInactiveState); in WifiController()
159 addState(mNoLockHeldState, mDeviceInactiveState); in WifiController()
160 addState(mStaDisabledWithScanState, mDefaultState); in WifiController()
[all …]
DSoftApManager.java303 addState(mIdleState); in SoftApStateMachine()
304 addState(mStartedState, mIdleState); in SoftApStateMachine()
305 addState(mTetheringState, mStartedState); in SoftApStateMachine()
306 addState(mTetheredState, mStartedState); in SoftApStateMachine()
307 addState(mUntetheringState, mStartedState); in SoftApStateMachine()
DRttService.java282 addState(mDefaultState); in RttStateMachine()
283 addState(mEnabledState); in RttStateMachine()
284 addState(mInitiatorEnabledState, mEnabledState); in RttStateMachine()
285 addState(mResponderEnabledState, mEnabledState); in RttStateMachine()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpClient.java223 addState(mStoppedState); in DhcpClient()
224 addState(mDhcpState); in DhcpClient()
225 addState(mDhcpInitState, mDhcpState); in DhcpClient()
226 addState(mWaitBeforeStartState, mDhcpState); in DhcpClient()
227 addState(mDhcpSelectingState, mDhcpState); in DhcpClient()
228 addState(mDhcpRequestingState, mDhcpState); in DhcpClient()
229 addState(mDhcpHaveLeaseState, mDhcpState); in DhcpClient()
230 addState(mConfiguringInterfaceState, mDhcpHaveLeaseState); in DhcpClient()
231 addState(mDhcpBoundState, mDhcpHaveLeaseState); in DhcpClient()
232 addState(mWaitBeforeRenewalState, mDhcpHaveLeaseState); in DhcpClient()
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/util/
DStateMachine.java121 public void addState(State state) { in addState() method in StateMachine
135 public void addState(State fromState, State toState) { in addState() method in StateMachine
136 addState(fromState); in addState()
137 addState(toState); in addState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBaseSupportFragment.java91 mEnterTransitionStates.addState(STATE_ALLOWED); in BaseSupportFragment()
92 mEnterTransitionStates.addState(STATE_PREPARE); in BaseSupportFragment()
93 mEnterTransitionStates.addState(STATE_START); in BaseSupportFragment()
DBaseFragment.java89 mEnterTransitionStates.addState(STATE_ALLOWED); in BaseFragment()
90 mEnterTransitionStates.addState(STATE_PREPARE); in BaseFragment()
91 mEnterTransitionStates.addState(STATE_START); in BaseFragment()
/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/base/services/core/java/com/android/server/policy/
DIconUtilities.java91 result.addState(new int[] { android.R.attr.state_focused }, in createIconDrawable()
93 result.addState(new int[] { android.R.attr.state_pressed }, in createIconDrawable()
95 result.addState(new int[0], new BitmapDrawable(scaled)); in createIconDrawable()
/frameworks/support/design/eclair-mr1/android/support/design/widget/
DFloatingActionButtonEclairMr1.java52 mStateListAnimator.addState(PRESSED_ENABLED_STATE_SET, in FloatingActionButtonEclairMr1()
54 mStateListAnimator.addState(FOCUSED_ENABLED_STATE_SET, in FloatingActionButtonEclairMr1()
57 mStateListAnimator.addState(EMPTY_STATE_SET, in FloatingActionButtonEclairMr1()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1146 private final StateInfo addState(State state, State parent) { in addState() method in StateMachine.SmHandler
1156 parentStateInfo = addState(parent, null); in addState()
1187 addState(mHaltingState, null); in SmHandler()
1188 addState(mQuittingState, null); in SmHandler()
1308 protected final void addState(State state, State parent) { in addState() method in StateMachine
1309 mSmHandler.addState(state, parent); in addState()
1316 protected final void addState(State state) { in addState() method in StateMachine
1317 mSmHandler.addState(state, null); in addState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DRilMessageDecoder.java114 addState(mStateStart); in RilMessageDecoder()
115 addState(mStateCmdParamsReady); in RilMessageDecoder()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java272 addState(mDefaultState); in NetworkMonitor()
273 addState(mValidatedState, mDefaultState); in NetworkMonitor()
274 addState(mMaybeNotifyState, mDefaultState); in NetworkMonitor()
275 addState(mEvaluatingState, mMaybeNotifyState); in NetworkMonitor()
276 addState(mCaptivePortalState, mMaybeNotifyState); in NetworkMonitor()
277 addState(mLingeringState, mDefaultState); in NetworkMonitor()
DTethering.java1068 addState(mInitialState); in TetherInterfaceSM()
1070 addState(mStartingState); in TetherInterfaceSM()
1072 addState(mTetheredState); in TetherInterfaceSM()
1074 addState(mUnavailableState); in TetherInterfaceSM()
1550 addState(mInitialState); in TetherMasterSM()
1552 addState(mTetherModeAliveState); in TetherMasterSM()
1555 addState(mSetIpForwardingEnabledErrorState); in TetherMasterSM()
1557 addState(mSetIpForwardingDisabledErrorState); in TetherMasterSM()
1559 addState(mStartTetheringErrorState); in TetherMasterSM()
1561 addState(mStopTetheringErrorState); in TetherMasterSM()
[all …]
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuItemView.java114 drawable.addState(CHECKED_STATE_SET, new ColorDrawable(value.data)); in createDefaultBackground()
115 drawable.addState(EMPTY_STATE_SET, new ColorDrawable(Color.TRANSPARENT)); in createDefaultBackground()
/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/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java432 addState(mDefaultState); in WifiSingleScanStateMachine()
433 addState(mDriverStartedState, mDefaultState); in WifiSingleScanStateMachine()
434 addState(mIdleState, mDriverStartedState); in WifiSingleScanStateMachine()
435 addState(mScanningState, mDriverStartedState); in WifiSingleScanStateMachine()
791 addState(mDefaultState); in WifiBackgroundScanStateMachine()
792 addState(mStartedState, mDefaultState); in WifiBackgroundScanStateMachine()
793 addState(mPausedState, mDefaultState); in WifiBackgroundScanStateMachine()
1357 addState(mDefaultState); in WifiPnoScanStateMachine()
1358 addState(mStartedState, mDefaultState); in WifiPnoScanStateMachine()
1359 addState(mHwPnoScanState, mStartedState); in WifiPnoScanStateMachine()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java581 addState(mDefaultState); in P2pStateMachine()
582 addState(mP2pNotSupportedState, mDefaultState); in P2pStateMachine()
583 addState(mP2pDisablingState, mDefaultState); in P2pStateMachine()
584 addState(mP2pDisabledState, mDefaultState); in P2pStateMachine()
585 addState(mP2pEnablingState, mDefaultState); in P2pStateMachine()
586 addState(mP2pEnabledState, mDefaultState); in P2pStateMachine()
587 addState(mInactiveState, mP2pEnabledState); in P2pStateMachine()
588 addState(mGroupCreatingState, mP2pEnabledState); in P2pStateMachine()
589 addState(mUserAuthorizingInviteRequestState, mGroupCreatingState); in P2pStateMachine()
590 addState(mUserAuthorizingNegotiationRequestState, mGroupCreatingState); in P2pStateMachine()
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphRunner.java70 public synchronized boolean addState(int state) { in addState() method in GraphRunner.State
244 mState.addState(State.PAUSED); in onPause()
256 if (mState.addState(State.HALTED) && mState.check(State.RUNNING)) { in onHalt()
/frameworks/support/design/base/android/support/design/widget/
DStateListAnimator.java60 public void addState(int[] specs, Animation animation) { in addState() method in StateListAnimator

12