/packages/apps/Dialer/java/com/android/dialer/voicemail/settings/ |
D | RecordVoicemailGreetingActivity.java | 63 setState(RECORD_GREETING_INIT); in onCreate() 72 setState(RECORD_GREETING_RECORDING); in onClick() 75 setState(RECORD_GREETING_PLAYING_BACK); in onClick() 79 setState(RECORD_GREETING_RECORDED); in onClick() 87 private void setState(@ButtonState int state) { in setState() method in RecordVoicemailGreetingActivity 92 recordButton.setState(state); in setState() 98 recordButton.setState(state); in setState() 103 recordButton.setState(state); in setState()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 124 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in onCreate_bluetoothOff_requestDisableIntent_noDialog() 135 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onCreate_bluetoothOn_requestDisableIntent_startsDialog() 147 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in onCreate_bluetoothOff_requestDiscoverableIntent_startsDialog() 159 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onCreate_bluetoothOn_requestDiscoverableIntent_startsDialog() 171 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in onCreate_bluetoothOff_requestEnableIntent_startsDialog() 183 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onCreate_bluetoothOn_requestEnableIntent_noDialog() 194 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onPositiveClick_disableDialog_disables() 209 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onPositiveClick_discoverableDialog_scanModeSet() 225 getShadowLocalBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in onPositiveClick_enableDialog_enables()
|
D | BluetoothPreferenceControllerTest.java | 120 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_OFF); in getAvailabilityStatus_adapterDisabled_conditionallyUnavailable() 130 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in getAvailabilityStatus_available() 141 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onStart_registersEventListener() 152 getShadowBluetoothAdapter().setState(BluetoothAdapter.STATE_ON); in onStop_unregistersEventListener()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | MultiToggleImageButton.java | 87 setState(0); in MultiToggleImageButton() 94 setState(0); in MultiToggleImageButton() 132 public void setState(int state) { in setState() method in MultiToggleImageButton 133 setState(state, true); in setState() 142 public void setState(final int state, final boolean callListener) { in setState() method in MultiToggleImageButton 248 setState(state); in nextState() 386 newDrawable.setState(enabledState); in combine() 390 oldDrawable.setState(enabledState); in combine()
|
D | ButtonManager.java | 226 button.setState(Math.max(index, 0), false); in onSettingChanged() 674 button.setState(index >= 0 ? index : 0, false); in initializeFlashButton() 703 button.setState(index >= 0 ? index : 0, false); in initializeTorchButton() 732 button.setState(index >= 0 ? index : 0, false); in initializeHdrPlusFlashButton() 760 button.setState(index >= 0 ? index : 0, false); in initializeCameraButton() 794 button.setState(index >= 0 ? index : 0, false); in initializeHdrPlusButton() 827 button.setState(index >= 0 ? index : 0, false); in initializeHdrButton() 861 button.setState(index >= 0 ? index : 0, false); in initializeCountdownButton() 915 button.setState(index >= 0 ? index : 0, true); in initializeGridLinesButton()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | Action.java | 165 ActionMonitor.setState(this, ActionMonitor.STATE_CREATED, in markStart() 173 ActionMonitor.setState(this, ActionMonitor.STATE_QUEUED, in markBeginExecute() 195 ActionMonitor.setState(this, in markBackgroundWorkStarting() 205 ActionMonitor.setState(this, in markBackgroundCompletionQueued() 214 ActionMonitor.setState(this, in markBackgroundWorkQueued() 224 ActionMonitor.setState(this, in processBackgroundWorkResponse()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | P2pPermissionManager.java | 68 setState(State.DENIED); in reset() 75 public void setState(State state) { in setState() method in P2pPermissionManager 93 setState(State.ALLOWED); in applyPermissionChange() 96 setState(permanent ? State.DISABLED : State.TEMPORARILY_DISABLED); in applyPermissionChange() 250 setState(state); in getState() 253 setState(state); in getState()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | Recorder.java | 196 setState(RECORDING_STATE); in startRecording() 208 setState(IDLE_STATE); in stopRecording() 232 setState(PLAYING_STATE); in startPlayback() 242 setState(IDLE_STATE); in stopPlayback() 260 private void setState(int state) { in setState() method in Recorder
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | DragListener.java | 34 private void setState(DragEvent event) { in setState() method in DragListener 57 setState(event); in onDrag() 88 setState(event); in onDrag() 100 setState(event); in onDrag()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 304 setState(BluetoothSap.STATE_DISCONNECTED); in stopSapServerSession() 492 setState(msg.arg1); 505 private void setState(int state) { in setState() method in SapService 506 setState(state, BluetoothSap.RESULT_SUCCESS); in setState() 509 private synchronized void setState(int state, int result) { in setState() method in SapService 546 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in disconnect() 654 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in stop() 661 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in cleanup() 854 setState(BluetoothSap.STATE_DISCONNECTED); in onReceive()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | DownUpDetector.java | 34 private void setState(boolean down, MotionEvent e) { in setState() method in DownUpDetector 47 setState(true, ev); in onTouchEvent() 53 setState(false, ev); in onTouchEvent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | DrawIdler.java | 57 private void setState(int newState) { in setState() method in DrawIdler 73 setState(STATE_IDLE); in run() 78 setState(STATE_ACTIVE); in onPreDraw()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | SwipeDetector.java | 160 private void setState(ScrollState newState) { in setState() method in SwipeDetector 305 setState(ScrollState.DRAGGING); in onTouchEvent() 336 setState(ScrollState.DRAGGING); in onTouchEvent() 347 setState(ScrollState.SETTLING); in onTouchEvent() 359 setState(ScrollState.IDLE); in finishedScrolling()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/plugins/ |
D | PluginEnablerImpl.java | 38 setState(component, true); in setEnabled() 43 setState(component, reason == ENABLED); in setDisabled() 46 private void setState(ComponentName component, boolean enabled) { in setState() method in PluginEnablerImpl
|
/packages/apps/Settings/src/com/android/settings/applications/managedomainurls/ |
D | DomainAppPreference.java | 47 setState(); in DomainAppPreference() 51 setState(); in reuse() 59 private void setState() { in setState() method in DomainAppPreference
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/managedomainurls/ |
D | DomainAppPreference.java | 47 setState(); in DomainAppPreference() 51 setState(); in reuse() 59 private void setState() { in setState() method in DomainAppPreference
|
/packages/apps/TV/src/com/android/tv/dvr/data/ |
D | RecordedProgram.java | 128 builder.setState(cursor.getString(index++)); in fromCursor() 238 public abstract Builder setState(RecordedProgramState state); in setState() method in RecordedProgram.Builder 240 public Builder setState(@Nullable String state) { in setState() method in RecordedProgram.Builder 244 return setState(RecordedProgramState.valueOf(state)); in setState() 249 return setState(RecordedProgramState.NOT_SET); in setState() 348 .setState(RecordedProgramState.NOT_SET) in builder()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/newavrcp/ |
D | MediaPlayerWrapperTest.java | 98 .setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in setUp() 412 mTestState.setState(PlaybackState.STATE_PLAYING, 1000, 1.0f); in testPlaybackStateUpdateSpam() 430 mTestState.setState(PlaybackState.STATE_PLAYING, 1020, 1.0f); in testPlaybackStateUpdateSpam() 435 mTestState.setState(PlaybackState.STATE_PLAYING, 1040, 1.0f); in testPlaybackStateUpdateSpam() 440 mTestState.setState(PlaybackState.STATE_PLAYING, 3000, 1.0f); in testPlaybackStateUpdateSpam() 486 mTestState.setState(PlaybackState.STATE_NONE, 0, 1.0f); in testIgnorePlaystateNone() 627 s.setState(PlaybackState.STATE_PAUSED, 0, 1.0f); in testMetadataSyncFuzz()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | MultiStateButton.java | 103 public boolean setState(int state){ in setState() method in MultiStateButton 149 d.setState(getDrawableState()); in setButtonDrawable() 152 mButtonDrawable.setState(null); in setButtonDrawable()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothEnablerTest.java | 192 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_OFF); in startWithBluetoothOff_switchIsOff() 200 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_ON); in startWithBluetoothOn_switchIsOn() 212 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_ON); in bluetoothTurnsOff_switchTurnsOff() 236 mShadowBluetoothAdapter.setState(BluetoothAdapter.STATE_OFF); in bluetoothTurnsOn_switchTurnsOn()
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | RadioOnStateListenerTest.java | 101 state.setState(ServiceState.STATE_IN_SERVICE); in testPhoneChangeState_OkToCallTrue() 123 state.setState(ServiceState.STATE_OUT_OF_SERVICE); in testPhoneChangeState_NoOkToCall_Timeout() 147 state.setState(ServiceState.STATE_POWER_OFF); in testTimeout_RetryFailure()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaPlayer.java | 100 .setState(event.mState.mValue, mCurrentPositionMs, mPlaybackSpeed) in setPlaybackState() 266 .setState(STATE_ERROR, mCurrentPositionMs, mPlaybackSpeed) in startPlayBack() 284 .setState(PlaybackStateCompat.STATE_PAUSED, mCurrentPositionMs, mPlaybackSpeed) in pausePlayback() 300 .setState(PlaybackStateCompat.STATE_STOPPED, mCurrentPositionMs, mPlaybackSpeed) in sendStopPlaybackState()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 298 p.setState(connectedLegacyVpns.get(profile.key).state); in run() 300 p.setState(LegacyVpnPreference.STATE_NONE); in run() 310 p.setState(vpn.state); in run() 319 p.setState(AppPreference.STATE_CONNECTED); in run() 321 p.setState(AppPreference.STATE_DISCONNECTED); in run()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | VpnSettings.java | 298 p.setState(connectedLegacyVpns.get(profile.key).state); in run() 300 p.setState(LegacyVpnPreference.STATE_NONE); in run() 310 p.setState(vpn.state); in run() 319 p.setState(AppPreference.STATE_CONNECTED); in run() 321 p.setState(AppPreference.STATE_DISCONNECTED); in run()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | AddPrintersFragment.java | 100 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart() 110 mP2pPermissionManager.setState(P2pPermissionManager.State.DENIED); in onStart() 116 mP2pPermissionManager.setState(P2pPermissionManager.State.DISABLED); in onStart()
|