/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindow.java | 360 * @param st The panel state to prepare. 387 // Init the panel state's menu--return false if init failed 428 // Restore action view state before we prepare. This gives apps 429 // an opportunity to override frozen/restored state in onPrepare. 453 // Set other state 463 // Action bars handle their own menu state 468 // Freeze state 469 final Bundle state = new Bundle(); 471 st.iconMenuPresenter.saveHierarchyState(state); 474 st.listMenuPresenter.saveHierarchyState(state); 3451 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 167 * maintains all state and member information and remains attached to 171 * it is <em>stopped</em>. It still retains all state and member information, 178 * completely restarted and restored to its previous state.</li> 181 * <p>The following diagram shows the important state paths of an Activity. 196 * of "global" state in onCreate(), and release all remaining resources in 225 * to do appropriate work when the activity changes state. All 270 * frozen state, if there was one. 352 * in such a background state, allowing you to save away any dynamic instance 353 * state in your activity into the given Bundle, to be later received in 365 * is not in the killable state unti 975 createDialog(Integer dialogId, Bundle state, Bundle args) argument [all...] |
H A D | IActivityManager.java | 96 public void activityStopped(IBinder token, Bundle state, argument
|
H A D | ActivityThread.java | 268 Bundle state; field in class:ActivityThread.ActivityClientRecord 597 Bundle state, List<ResultInfo> pendingResults, 607 r.state = state; 2000 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, 2006 r.state = state; 2101 if (r.state != null) { 2102 r.state.setClassLoader(cl); 2144 mInstrumentation.callActivityOnCreate(activity, r.state); 595 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument 1999 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument 3044 Bundle state; field in class:ActivityThread.StopInfo [all...] |
/frameworks/base/core/java/android/view/ |
H A D | KeyEvent.java | 41 * scan code ({@link #getScanCode()}) and meta state ({@link #getMetaState()}). 45 * Meta states describe the pressed state of key modifiers 1841 * <p>Returns the state of the meta keys.</p> 1879 * Returns the state of the modifier keys. 1886 * The value returned consists of the meta state (from {@link #getMetaState}) 1933 * Gets a mask that includes all valid modifier key meta state bits. 1941 * @return The modifier meta state mask which is a combination of 1988 * Normalizes the specified meta state. 1990 * The meta state is normalized such that if either the left or right modifier meta state 2602 dispatch(Callback receiver, DispatcherState state, Object target) argument [all...] |
H A D | View.java | 472 * If you are doing work on other threads and want to update the state of a view 528 * The touch mode state is maintained across {@link android.app.Activity}s. Call 558 * be used to set persistent state associated with these rendering-related properties on the view. 992 * <p>Indicates that the view hierarchy should stop saving state when 993 * it reaches this view. If state saving is initiated immediately at 1057 * {@link #getMeasuredWidthAndState()} that provide the additional state bits. 1077 * Base View state sets 1083 * view depending on its state. 1092 * view depending on its state. 1101 * view depending on its state 12109 onRestoreInstanceState(Parcelable state) argument 18005 public int state = OFF; field in class:View.ScrollabilityCache [all...] |
/frameworks/base/services/input/tests/ |
H A D | InputReader_test.cpp | 386 void setKeyCodeState(int32_t deviceId, int32_t keyCode, int32_t state) { argument 388 device->keyCodeStates.replaceValueFor(keyCode, state); 391 void setScanCodeState(int32_t deviceId, int32_t scanCode, int32_t state) { argument 393 device->scanCodeStates.replaceValueFor(scanCode, state); 396 void setSwitchState(int32_t deviceId, int32_t switchCode, int32_t state) { argument 398 device->switchStates.replaceValueFor(switchCode, state); 653 << "Attempted to set the state of an LED that the EventHub declared " 727 void setGlobalMetaState(int32_t state) { argument 728 mGlobalMetaState = state; 827 void setKeyCodeState(int32_t keyCode, int32_t state) { argument 831 setScanCodeState(int32_t scanCode, int32_t state) argument 835 setSwitchState(int32_t switchCode, int32_t state) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiStateMachine.java | 93 * Track the state of Wifi connectivity. All event handling is done here, 94 * and all changes in connectivity state are initiated here. 144 /* Tracks if state machine has received any screen state change broadcast yet. 174 * Tether state change notification time out 280 /* Invoked when getting a tether state change notification */ 282 /* A delayed message sent to indicate tether state change failed to arrive */ 358 /* Reset the supplicant state tracker */ 432 * being in a bad state. Delay driver stop. 441 /* Default parent state */ 1112 sendBluetoothAdapterStateChange(int state) argument 1673 setNetworkDetailedState(NetworkInfo.DetailedState state) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | AbsListView.java | 243 * Running state of which positions are currently checked 248 * Running state of which IDs are currently checked. 249 * If there is a value for a given key, the checked state for that ID is true 415 * of the currently selected view. Used to save and restore state. 563 * The last scroll state reported to clients through {@link OnScrollListener}. 618 * Tracks the state of the top edge glow. 623 * Tracks the state of the bottom edge glow. 679 * The saved state that we will be restoring from when we next sync. 680 * Kept here so that if we happen to be asked to save our state before 694 * being in the idle state sinc 1709 onRestoreInstanceState(Parcelable state) argument [all...] |
H A D | TextView.java | 262 // New state used to change background based on whether this TextView is multiline. 1166 int[] state = getDrawableState(); 1169 start.setState(state); 1181 end.setState(state); 1761 int[] state; 1763 state = getDrawableState(); 1766 left.setState(state); 1776 right.setState(state); 1786 top.setState(state); 1796 bottom.setState(state); 3289 onRestoreInstanceState(Parcelable state) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 449 * Clear state of this counter. 565 * Clear state of this timer. Returns true if the timer is inactive 1283 // If this results in us returning to the state written 1862 private int fixPhoneServiceState(int state, int signalBin) { argument 1866 if (state == ServiceState.STATE_OUT_OF_SERVICE 1868 state = ServiceState.STATE_IN_SERVICE; 1872 return state; 1875 private void updateAllPhoneStateLocked(int state, int simState, int bin) { argument 1879 mPhoneServiceStateRaw = state; 1886 if (state 1962 notePhoneStateLocked(int state, int simState) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 173 // backup task state machine tick 395 public int state; field in class:BackupManagerService.Operation 399 state = initialState; 510 // Spin up a backup state sequence and set it running 549 // TODO: refactor full backup to be a looper-based state machine 575 // TODO: refactor full restore to be a looper-based state machine 1125 // query about the encryption state said that the device *is* 1128 Slog.e(TAG, "verified encryption state mismatch against query; no match allowed"); 1226 // Maintain persistent state around whether need to do an initialize operation. 1248 // No more initialization needed; wipe the journal and reset our state [all...] |
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 140 /** The state that selection isn't started. */ 142 /** The state that selection is started. */ 144 /** The state that selection is done, but not fixed. */ 146 /** The state that selection is done and not fixed. */ 260 public void onRestoreInstanceState(Parcelable state) { argument 261 if (!(state instanceof SavedStyledTextState)) { 262 super.onRestoreInstanceState(state); 265 SavedStyledTextState ss = (SavedStyledTextState) state; 419 public void onStateChanged(int mode, int state); argument 527 * Notify the event that the mode and state ar 532 notifyStateChanged(int mode, int state) argument 1248 setSelectState(int state) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioService.java | 93 * will update our internal state, but in a separate thread will set the system 95 * will update the state and broadcast a change and in a separate thread later 364 // SCO audio state is not active 368 // SCO audio state is active or starting due to a local request to start a virtual call 373 // SCO audio state is active due to an action in BT handsfree (either voice recognition or 380 // Current connection state indicated by bluetooth headset 492 // state on streams affected by ringer mode. 528 // Register for phone state monitoring 1107 * Sets the stream state's index, and posts a message to set system volume. 1154 public void setStreamSolo(int streamType, boolean state, IBinde argument 1163 setStreamMute(int streamType, boolean state, IBinder cb) argument 1175 setMasterMute(boolean state, int flags, IBinder cb) argument 1994 requestScoState(int state) argument 2143 broadcastScoConnectionState(int state) argument 2575 setWiredDeviceConnectionState(int device, int state, String name) argument 2587 setBluetoothA2dpDeviceConnectionState(BluetoothDevice device, int state) argument 2901 mute(IBinder cb, boolean state) argument 2933 mute(boolean state) argument 3028 getDeathHandler(IBinder cb, boolean state) argument 3528 onSetA2dpConnectionState(BluetoothDevice btDevice, int state) argument 3618 checkSendBecomingNoisyIntent(int device, int state) argument 3646 sendDeviceConnectionIntent(int device, int state, String name) argument 3699 onSetWiredDeviceConnectionState(int device, int state, String name) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 161 static uint32_t gScreenState; // incremented by 2 when screen state changes, bit 0 == 1 means "off" 385 // get state of hardware lock 675 status_t AudioFlinger::setMicMute(bool state) argument 690 ret = dev->set_mic_mute(dev, state); 702 bool state = AUDIO_MODE_INVALID; local 706 dev->get_mic_mute(dev, &state); 708 return state; 2335 FastMixerState *state = sq->begin(); local 2336 FastTrack *fastTrack = &state->mFastTracks[0]; 2341 state 2401 FastMixerState *state = sq->begin(); local 2733 FastMixerState *state = sq->begin(); local 2810 FastMixerState *state = sq->begin(); local 2930 FastMixerState *state = NULL; local 3457 FastMixerState *state = sq->begin(); local 3573 FastMixerState *state = sq->begin(); local 4423 track_state state = mState; local 4583 track_state state = mState; local 4625 track_state state = mState; local [all...] |