/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Calculator.java | 271 setState(CalculatorState.values()[ in onCreate() 304 setState(CalculatorState.INIT); in onCreate() 338 private void setState(CalculatorState state) { in setState() method in Calculator 462 setState(CalculatorState.INPUT); in switchToInput() 469 setState(CalculatorState.INPUT); in addKeyToExpr() 493 setState(CalculatorState.INPUT); in redisplayAfterFormulaChange() 539 setState(CalculatorState.INPUT); in onButtonClick() 589 setState(CalculatorState.INPUT); in onCancelled() 643 setState(CalculatorState.EVALUATE); in onEquals() 656 setState(CalculatorState.INPUT); in onDelete() [all …]
|
/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()
|
D | ActionMonitor.java | 266 static void setState(final Action action, final int expectedOldState, in setState() method in ActionMonitor 299 setState(action, expectedOldState, STATE_COMPLETE); in complete() 369 setState(action, expectedOldState, STATE_BACKGROUND_ACTIONS_QUEUED); in executed()
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
D | TimerFullScreenFragment.java | 338 t.setState(TimerObj.STATE_TIMESUP); 599 t.setState(TimerObj.STATE_RESTART); in resetTimer() 711 t.setState(TimerObj.STATE_DELETED); in onClickHelper() 741 t.setState(TimerObj.STATE_RUNNING); in onPlusOneButtonPressed() 754 t.setState(TimerObj.STATE_RESTART); in onPlusOneButtonPressed() 772 t.setState(TimerObj.STATE_STOPPED); in onStopButtonPressed() 781 t.setState(TimerObj.STATE_RUNNING); in onStopButtonPressed() 794 t.setState(TimerObj.STATE_DELETED); in onStopButtonPressed() 802 t.setState(TimerObj.STATE_RUNNING); in onStopButtonPressed() 909 t.setState(TimerObj.STATE_RUNNING); in onFabClick()
|
D | TimerFragment.java | 124 t.setState(TimerObj.STATE_TIMESUP); 467 timerObj.setState(TimerObj.STATE_RUNNING); in onFabClick() 493 t.setState(TimerObj.STATE_STOPPED); in onFabClick() 505 t.setState(TimerObj.STATE_RUNNING); in onFabClick() 517 t.setState(TimerObj.STATE_DELETED); in onFabClick() 521 t.setState(TimerObj.STATE_RESTART); in onFabClick() 634 timer.setState(TimerObj.STATE_DELETED); in deleteTimer() 742 t.setState(TimerObj.STATE_RESTART); in onPlusOneButtonPressed() 754 t.setState(TimerObj.STATE_RUNNING); in onPlusOneButtonPressed()
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | Calculator.java | 77 setState(CalculatorState.INPUT); 142 setState(CalculatorState.values()[ in onCreate() 170 private void setState(CalculatorState state) { in setState() method in Calculator 265 setState(CalculatorState.INPUT); in onEvaluate() 299 setState(CalculatorState.EVALUATE); in onEquals() 392 setState(CalculatorState.ERROR); in onError() 451 setState(CalculatorState.RESULT); in onResult()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapService.java | 258 setState(BluetoothSap.STATE_CONNECTED); in startSapServerSession() 286 setState(BluetoothSap.STATE_DISCONNECTED); in stopSapServerSession() 454 private void setState(int state) { in setState() method in SapService 455 setState(state, BluetoothSap.RESULT_SUCCESS); in setState() 458 private synchronized void setState(int state, int result) { in setState() method in SapService 496 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in disconnect() 598 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in stop() 604 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED); in cleanup()
|
/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/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapService.java | 181 setState(BluetoothMap.STATE_DISCONNECTED); in closeService() 251 setState(BluetoothMap.STATE_CONNECTED); in startObexServerSessions() 299 setState(BluetoothMap.STATE_DISCONNECTED); in stopObexServerSessions() 431 private void setState(int state) { in setState() method in BluetoothMapService 432 setState(state, BluetoothMap.RESULT_SUCCESS); in setState() 435 private synchronized void setState(int state, int result) { in setState() method in BluetoothMapService 748 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in stop() 755 setState(BluetoothMap.STATE_DISCONNECTED, BluetoothMap.RESULT_CANCELED); in cleanup() 939 setState(BluetoothMap.STATE_DISCONNECTED); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapService.java | 343 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED); in onDestroy() 510 setState(BluetoothPbap.STATE_CONNECTED); in startObexServerSession() 546 setState(BluetoothPbap.STATE_DISCONNECTED); in stopObexServerSession() 746 private void setState(int state) { in setState() method in BluetoothPbapService 747 setState(state, BluetoothPbap.RESULT_SUCCESS); in setState() 750 private synchronized void setState(int state, int result) { in setState() method in BluetoothPbapService 896 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED);
|
/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/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
D | TargetDrawable.java | 74 setState(STATE_INACTIVE); in setDrawable() 82 setState(STATE_INACTIVE); in TargetDrawable() 85 public void setState(int [] state) { in setState() method in TargetDrawable 88 d.setState(state); in setState()
|
D | GlowPadView.java | 396 mHandleDrawable.setState(TargetDrawable.STATE_INACTIVE); in switchToState() 465 target.setState(TargetDrawable.STATE_INACTIVE); in deactivateTargets() 514 mTargetDrawables.get(activeTarget).setState(TargetDrawable.STATE_ACTIVE); in highlightSelected() 540 target.setState(TargetDrawable.STATE_INACTIVE); in hideTargets() 573 target.setState(TargetDrawable.STATE_INACTIVE); in showTargets() 665 mHandleDrawable.setState(TargetDrawable.STATE_INACTIVE); in setHandleDrawable() 955 target.setState(TargetDrawable.STATE_INACTIVE); in handleMove() 960 target.setState(TargetDrawable.STATE_FOCUSED); in handleMove()
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmRecorder.java | 175 setState(STATE_RECORDING); in startRecording() 189 setState(STATE_IDLE); in stopRecording() 269 setState(STATE_IDLE); in discardRecording() 314 setState(STATE_IDLE); in onError() 357 private void setState(int state) { in setState() method in FmRecorder
|
/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/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/DeskClock/src/com/android/deskclock/ |
D | HandleDeskClockApiCalls.java | 270 timer.setState(TimerObj.STATE_RUNNING); in doInBackground() 292 timer.setState(TimerObj.STATE_RESTART); in doInBackground() 312 timer.setState(TimerObj.STATE_STOPPED); in doInBackground() 316 timer.setState(TimerObj.STATE_RESTART); in doInBackground()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestConnectionManager.java | 47 setState(state); 130 setState(mRemote.getState()); in TestManagedConnection() 179 private void setState(int state) { in setState() method in TestConnectionManager.TestManagedConnection
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | WifiConfigurationActivity.java | 320 setState(type, true); in onActionClicked() 327 setState(type, true); in onActionClicked() 360 setState(type, true); in onActionClicked()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | RawContactEditorView.java | 174 public void setState(RawContactDelta state, AccountType type, ViewIdGenerator vig, in setState() method in RawContactEditorView 277 mGroupMembershipView.setState(state); in setState() 292 section.setState(kind, state, /* readOnly =*/ false, vig); in setState()
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | CandidateViewButton.java | 55 d.setState(View.PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET); in onTouchEvent() 59 d.setState(mUpState); in onTouchEvent()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | TintDrawableWrapper.java | 50 public boolean setState(int[] stateSet) { in setState() method in TintDrawableWrapper 51 boolean handled = super.setState(stateSet); in setState()
|