Searched refs:setState (Results 26 - 50 of 92) sorted by relevance

1234

/packages/apps/Bluetooth/src/com/android/bluetooth/sap/
H A DSapService.java278 setState(BluetoothSap.STATE_DISCONNECTED);
441 setState(msg.arg1);
454 private void setState(int state) { method in class:SapService
455 setState(state, BluetoothSap.RESULT_SUCCESS);
458 private synchronized void setState(int state, int result) { method in class:SapService
491 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED);
599 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED);
605 setState(BluetoothSap.STATE_DISCONNECTED, BluetoothSap.RESULT_CANCELED);
760 setState(BluetoothSap.STATE_DISCONNECTED);
/packages/apps/Camera2/src/com/android/camera/
H A DButtonManager.java226 button.setState(Math.max(index, 0), false);
674 button.setState(index >= 0 ? index : 0, false);
703 button.setState(index >= 0 ? index : 0, false);
732 button.setState(index >= 0 ? index : 0, false);
760 button.setState(index >= 0 ? index : 0, false);
794 button.setState(index >= 0 ? index : 0, false);
827 button.setState(index >= 0 ? index : 0, false);
861 button.setState(index >= 0 ? index : 0, false);
915 button.setState(index >= 0 ? index : 0, true);
/packages/apps/Camera2/src/com/android/camera/widget/
H A DExternalViewerButton.java91 public void setState(int state) { method in class:ExternalViewerButton
/packages/apps/Car/Media/src/com/android/car/media/util/widgets/
H A DPlayPauseStopImageView.java122 getBackground().setState(drawableState);
/packages/apps/Email/src/com/android/email/activity/setup/
H A DAccountSetupFragment.java61 public void setState(int state) { method in class:AccountSetupFragment
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
H A DStateAdapter.java53 view.setState(state);
/packages/apps/Settings/src/com/android/settings/qstile/
H A DDevelopmentTiles.java45 getQsTile().setState(isEnabled() ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE);
/packages/apps/TV/src/com/android/tv/dvr/data/
H A DSeriesRecording.java148 .setState(r.getState());
193 .setState(seriesRecordingState(c.getString(++index)))
410 public Builder setState(@SeriesState int state) { method in class:SeriesRecording.Builder
441 .setState(in.readInt())
H A DScheduledRecording.java160 .setState(STATE_RECORDING_FINISHED);
265 public Builder setState(@RecordingState int state) { method in class:ScheduledRecording.Builder
304 .setState(orig.mState).setType(orig.mType);
381 .setState(recordingState(c.getString(++index)))
433 .setState(in.readInt())
/packages/apps/TV/src/com/android/tv/
H A DMediaSessionWrapper.java45 .setState(PlaybackState.STATE_PLAYING, PlaybackState.PLAYBACK_POSITION_UNKNOWN, 1.0f)
48 .setState(PlaybackState.STATE_STOPPED, PlaybackState.PLAYBACK_POSITION_UNKNOWN, 0.0f)
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/provider/
H A DDvrDbSyncTest.java104 .setState(ScheduledRecording.STATE_RECORDING_IN_PROGRESS).build());
126 .setState(ScheduledRecording.STATE_RECORDING_FINISHED).build());
/packages/apps/Settings/src/com/android/settings/vpn2/
H A DVpnSettings.java297 p.setState(connectedLegacyVpns.get(profile.key).state);
299 p.setState(LegacyVpnPreference.STATE_NONE);
309 p.setState(vpn.state);
318 p.setState(AppPreference.STATE_CONNECTED);
320 p.setState(AppPreference.STATE_DISCONNECTED);
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapService.java505 setState(BluetoothPbap.STATE_CONNECTED);
537 setState(BluetoothPbap.STATE_DISCONNECTED);
747 private void setState(int state) { method in class:BluetoothPbapService
748 setState(state, BluetoothPbap.RESULT_SUCCESS);
751 private synchronized void setState(int state, int result) { method in class:BluetoothPbapService
883 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED);
897 setState(BluetoothPbap.STATE_DISCONNECTED, BluetoothPbap.RESULT_CANCELED);
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
H A DPlayer.java112 .setState(PlaybackState.STATE_ERROR, 0, 0)
372 .setState(PlaybackState.STATE_PLAYING,
396 .setState(PlaybackState.STATE_PAUSED, currentPosition, PLAYBACK_SPEED_STOPPED)
416 .setState(PlaybackState.STATE_STOPPED, PLAYBACK_POSITION_STOPPED,
/packages/apps/Messaging/src/com/android/messaging/util/
H A DSwitchCompatUtils.java61 newDrawable.setState(thumbState);
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
H A DActionTestHelpers.java114 public void setState(final int state) { method in class:ActionTestHelpers.StubChatActionMonitor
H A DActionTest.java73 mMonitor.setState(ActionMonitor.STATE_CREATED);
93 mMonitor.setState(ActionMonitor.STATE_UNDEFINED);
/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrStopSeriesRecordingFragment.java100 .setState(SeriesRecording.STATE_SERIES_STOPPED).build());
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/recorder/
H A DScheduledProgramReaperTest.java135 .setState(ScheduledRecording.STATE_RECORDING_FINISHED).build());
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyPreviewView.java137 background.setState(KEY_PREVIEW_BACKGROUND_STATE_TABLE[position][hasMoreKeysState]);
/packages/services/Telephony/src/com/android/services/telephony/
H A DImsConference.java119 setState(state);
622 setState(mConferenceHost.getState());
914 public void setState(int state) { method in class:ImsConference
915 Log.v(this, "setState %s", Connection.stateToString(state));
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
H A DLiveWallpaperPreview.java162 bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
164 bottomSheetBehavior.setState(BottomSheetBehavior.STATE_COLLAPSED);
201 bottomSheetBehavior.setState(BottomSheetBehavior.STATE_EXPANDED);
/packages/apps/TV/src/com/android/tv/dvr/recorder/
H A DRecordingTask.java421 mScheduledRecording = ScheduledRecording.buildFrom(mScheduledRecording).setState(state)
436 .setState(state).build());
/packages/apps/Camera2/src/com/android/camera/app/
H A DFilmstripBottomPanel.java111 mViewButton.setState(state);
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
H A DAccessPointListAdapter.java196 mWifiSld.setState((accessPoint.getSecurity() != AccessPoint.SECURITY_NONE)

Completed in 2709 milliseconds

1234