Searched refs:newState (Results 1 - 25 of 106) sorted by relevance

12345

/packages/services/Telephony/src/com/android/phone/
H A DCdmaPhoneCallState.java92 public void setCurrentCallState(PhoneCallState newState) { argument
94 mCurrentCallState = newState;
121 public void setThreeWayCallOrigState(boolean newState) { argument
122 mThreeWayCallOrigStateDialing = newState;
135 public void setAddCallMenuStateAfterCallWaiting(boolean newState) { argument
136 mAddCallMenuStateAfterCW = newState;
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
H A DStateMachineImpl.java49 * @param newState The new state.
51 public void jumpToState(@Nonnull State newState) { argument
54 if (newState.equals(mState)) {
59 Log.d(TAG, "Change state : " + mState + " => " + newState);
61 mState = newState;
108 Optional<State> newState = eventHandler.processEvent(event);
109 if (newState.isPresent()) {
110 jumpToState(newState.get());
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DDrawIdler.java29 void onStateChanged(DrawIdler idler, int newState); argument
57 private void setState(int newState) { argument
58 if (mState == newState) {
61 mState = newState;
63 mListener.onStateChanged(this, newState);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DDictionaryListInterfaceState.java56 final State newState;
58 newState = null == state ? new State() : state;
59 newState.mOpen = true;
60 newState.mStatus = status;
61 mWordlistToState.put(wordlistId, newState);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DJniCallbacks.java65 void bondStateChangeCallback(int status, byte[] address, int newState) { argument
66 mBondStateMachine.bondStateChangeCallback(status, address, newState);
69 void aclStateChangeCallback(int status, byte[] address, int newState) { argument
70 mRemoteDevices.aclStateChangeCallback(status, address, newState);
H A DBondStateMachine.java119 int newState = msg.arg1;
121 if (newState == BluetoothDevice.BOND_BONDING)
123 sendIntent(dev, newState, 0);
126 else if (newState == BluetoothDevice.BOND_NONE)
129 sendIntent(dev, newState, 0);
133 Log.e(TAG, "In stable state, received invalid newState: " + newState);
183 int newState = msg.arg1;
185 sendIntent(dev, newState, reason);
186 if(newState !
318 sendIntent(BluetoothDevice device, int newState, int reason) argument
339 bondStateChangeCallback(int status, byte[] address, int newState) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarBackupAgent.java39 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
47 super.onRestore(data, appVersionCode, newState);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DIPolicyService.aidl22 void setAccountHoldFlag(long accountId, boolean newState);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DBackupAgent.java43 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
46 super.onRestore(data, appVersionCode, newState);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DPhoneStateBroadcaster.java45 public void onCallStateChanged(Call call, int oldState, int newState) { argument
46 if ((newState == CallState.DIALING || newState == CallState.ACTIVE
47 || newState == CallState.ON_HOLD) &&
H A DInCallToneMonitor.java40 public void onCallStateChanged(Call call, int oldState, int newState) { argument
46 if (newState == CallState.DISCONNECTED && call.getDisconnectCause() != null) {
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationActivityUiState.java33 void onConversationContactPickerUiStateChanged(int oldState, int newState, boolean animate); argument
149 int newState = STATE_CONVERSATION_ONLY;
151 newState = STATE_HYBRID_WITH_CONVERSATION_AND_CHIPS_VIEW;
154 newState = STATE_CONVERSATION_ONLY;
161 performUiStateUpdate(newState, true);
221 final int oldState, final int newState, final boolean animate) {
231 mHost.onConversationContactPickerUiStateChanged(oldState, newState, animate);
220 notifyOnOverallUiStateChanged( final int oldState, final int newState, final boolean animate) argument
/packages/apps/InCallUI/src/com/android/incallui/
H A DInCallPresenter.java434 InCallState newState = getPotentialStateFromCallList(callList);
436 Log.d(this, "onCallListChange oldState= " + oldState + " newState=" + newState);
437 newState = startOrFinishUi(newState);
438 Log.d(this, "onCallListChange newState changed to " + newState);
441 Log.i(this, "Phone switching state: " + oldState + " -> " + newState);
442 mInCallState = newState;
464 InCallState newState
1024 startOrFinishUi(InCallState newState) argument
1601 onStateChange(InCallState oldState, InCallState newState, CallList callList) argument
1605 onIncomingCall(InCallState oldState, InCallState newState, Call call) argument
[all...]
H A DVideoPauseController.java150 * @param newState The current {@link InCallState}.
154 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { argument
155 log("onStateChange, OldState=" + oldState + " NewState=" + newState);
158 if (newState == InCallState.INCOMING) {
160 } else if (newState == InCallState.WAITING_FOR_ACCOUNT) {
162 } else if (newState == InCallState.PENDING_OUTGOING) {
164 } else if (newState == InCallState.OUTGOING) {
229 * @param newState the new {@link InCallState}.
233 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { argument
234 log("onIncomingCall, OldState=" + oldState + " NewState=" + newState
[all...]
H A DConferenceManagerPresenter.java58 public void onStateChange(InCallState oldState, InCallState newState, CallList callList) { argument
60 Log.v(this, "onStateChange" + newState);
61 if (newState == InCallState.INCALL) {
97 public void onIncomingCall(InCallState oldState, InCallState newState, Call call) { argument
/packages/apps/Settings/src/com/android/settings/
H A DNsdEnabler.java73 private void handleNsdStateChanged(int newState) { argument
74 switch (newState) {
/packages/services/Telephony/src/com/android/services/telephony/
H A DConferenceParticipantConnection.java82 * @param newState The new state.
84 public void updateState(int newState) { argument
86 Connection.stateToString(newState));
87 if (newState == getState()) {
91 switch (newState) {
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherBackupAgentHelper.java66 public void onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
80 super.onRestore(data, appVersionCode, newState);
H A DSearchDropTargetBar.java168 public void animateToState(State newState, int duration) { argument
169 if (mState != newState) {
170 mState = newState;
177 animateViewAlpha(mQSBSearchBarAnimator, mQSB, newState.getSearchBarAlpha(),
179 animateViewAlpha(mDropTargetBarAnimator, mDropTargetBar, newState.getDropTargetBarAlpha(),
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionMonitor.java238 * @param newState - new state which will be set
242 final int newState) {
247 throw new IllegalStateException("On updateState to " + newState + " was " + mState
250 if (newState != mState) {
251 mState = newState;
256 listener.onActionStateChanged(action, newState);
264 * @param newState - new state which will be set
267 final int newState) {
269 int newMonitorState = newState;
274 monitor.updateState(action, expectedOldState, newState);
241 updateState(final Action action, final int expectedOldState, final int newState) argument
266 setState(final Action action, final int expectedOldState, final int newState) argument
[all...]
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastReceiver.java72 int newState = serviceState.getState();
73 if (newState != mServiceState) {
74 Log.d(TAG, "Service state changed! " + newState + " Full: " + serviceState +
76 mServiceState = newState;
78 if (((newState == ServiceState.STATE_IN_SERVICE) ||
79 (newState == ServiceState.STATE_EMERGENCY_ONLY)) &&
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipConnection.java227 Call.State newState = mOriginalConnection.getState();
228 if (VERBOSE) log("updateState, " + mOriginalConnectionState + " -> " + newState);
229 if (force || mOriginalConnectionState != newState) {
230 mOriginalConnectionState = newState;
231 switch (newState) {
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/
H A DRawContactModifierTests.java795 RawContactDelta newState = new RawContactDelta();
796 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
797 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
839 RawContactDelta newState = new RawContactDelta();
840 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
841 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
885 RawContactDelta newState = new RawContactDelta();
886 RawContactModifier.migrateStructuredName(context, oldState, newState, kind);
888 List<ValuesDelta> list = newState.getMimeEntries(StructuredName.CONTENT_ITEM_TYPE);
907 RawContactDelta newState
[all...]
/packages/apps/Email/provider_src/com/android/email/service/
H A DPolicyService.java53 public void setAccountHoldFlag(long accountId, boolean newState) {
54 SecurityPolicy.setAccountHoldFlag(mContext, accountId, newState);
/packages/apps/Settings/src/com/android/settings/nfc/
H A DNfcEnabler.java109 private void handleNfcStateChanged(int newState) { argument
110 switch (newState) {

Completed in 684 milliseconds

12345