/frameworks/base/core/java/android/preference/ |
H A D | TwoStatePreference.java | 33 * enabled/disabled based on the current state. 73 * Sets the checked state and saves it to the {@link SharedPreferences}. 75 * @param checked The checked state. 92 * Returns the checked state. 94 * @return The checked state. 177 * @param disableDependentsState The preference state that should disable dependents. 249 // No need to save instance state since it's persistent 259 protected void onRestoreInstanceState(Parcelable state) { argument 260 if (state == null || !state [all...] |
H A D | VolumePreference.java | 153 // No need to save instance state since it's persistent 165 protected void onRestoreInstanceState(Parcelable state) { argument 166 if (state == null || !state.getClass().equals(SavedState.class)) { 167 // Didn't save state for us in onSaveInstanceState 168 super.onRestoreInstanceState(state); 172 SavedState myState = (SavedState) state;
|
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 371 * Reset the acoustic state vectorto it's default value. 380 * Set the acoustic state vector. 381 * @param state String containing the acoustic state vector. 385 public void setAcousticState(String state) { argument 386 SR_AcousticStateSet(mRecognizer, state); 390 * Get the acoustic state vector. 391 * @return String containing the acoustic state vector. 655 private static native void SR_AcousticStateSet(int recognizer, String state); argument
|
/frameworks/base/core/java/android/text/method/ |
H A D | MetaKeyKeyListener.java | 28 * This base class encapsulates the behavior for tracking the state of 29 * meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text. 31 * Key listeners that care about meta state should inherit from this class; 34 * This class provides two mechanisms for tracking meta state that can be used 39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li> 41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored 43 * meta key state of the text editor; they do not carry any positional information.</li> 51 * When key modifiers are toggled into a latched or locked state, the state 53 * meta state intege 373 resetLockedMeta(long state) argument 398 getMetaState(long state) argument 430 getMetaState(long state, int meta) argument 458 adjustMetaAfterKeypress(long state) argument 482 handleKeyDown(long state, int keyCode, KeyEvent event) argument 501 press(long state, int what, long mask, long locked, long pressed, long released, long used) argument 520 handleKeyUp(long state, int keyCode, KeyEvent event) argument 539 release(long state, int what, long mask, long pressed, long released, long used, KeyEvent event) argument 563 clearMetaKeyState(long state, int which) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 82 * this object. Will finalize the coder state and 233 * State 6 is the error state; an error has been detected 236 private int state; // state number (0 to 6) field in class:Base64.Decoder 245 state = 0; 260 * @return true if the state machine is still healthy. false if 264 if (this.state == 6) return false; 274 int state = this.state; 295 if (state [all...] |
H A D | StateSet.java | 23 * represents the state of a {@link android.view.View} (e.g. focused, 27 * A state spec is an array of signed ints where each element 29 * {@link android.view.View} state. 31 * Utils dealing with state sets. 33 * In theory we could encapsulate the state set and state spec arrays 47 * @param stateSetOrSpec a state set or state spec. 82 final int state = stateSet[j]; 83 if (state 120 stateSetMatches(int[] stateSpec, int state) argument [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/core/java/android/webkit/ |
H A D | AccessibilityInjector.java | 196 private void toggleAndroidVox(boolean state) { argument 201 final String code = String.format(TOGGLE_CVOX_TEMPLATE, state); 408 * Adjusts the accessibility injection state to reflect changes in the 409 * JavaScript enabled state. 849 * Clears the result state.
|
H A D | WebSettings.java | 22 * Manages settings state for a WebView. When a WebView is first created, it 139 * The plugin state effects how plugins are treated on a page. ON means 987 * @param state a PluginState value 989 public synchronized void setPluginState(PluginState state) { argument 1178 * Gets the current state regarding whether plugins are enabled. 1180 * @return the plugin state as a {@link PluginState} value
|
H A D | WebSettingsClassic.java | 145 String city, String state, String zipCode, String country, 154 mState = state; 1200 public synchronized void setPluginState(PluginState state) { argument 1201 if (mPluginState != state) { 1202 mPluginState = state; 143 AutoFillProfile(int uniqueId, String fullName, String email, String companyName, String addressLine1, String addressLine2, String city, String state, String zipCode, String country, String phoneNumber) argument
|
/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 | AbsSpinner.java | 425 public void onRestoreInstanceState(Parcelable state) { argument 426 SavedState ss = (SavedState) state;
|
H A D | AdapterViewAnimator.java | 152 * Current touch state. 824 public void onRestoreInstanceState(Parcelable state) { argument 825 SavedState ss = (SavedState) state;
|
H A D | CompoundButton.java | 36 * or clicked, the state changes automatically. 98 /* When clicked, toggle the state */ 109 * <p>Changes the checked state of this button.</p> 137 * Register a callback to be invoked when the checked state of this button 140 * @param listener the callback to call on checked state change 147 * Register a callback to be invoked when the checked state of this button 150 * @param listener the callback to call on checked state change 158 * Interface definition for a callback to be invoked when the checked state 163 * Called when the checked state of a compound button has changed. 165 * @param buttonView The compound button view whose state ha 369 onRestoreInstanceState(Parcelable state) argument [all...] |
H A D | DatePicker.java | 563 protected void onRestoreInstanceState(Parcelable state) { argument 564 SavedState ss = (SavedState) state; 572 * Initialize the state. If the provided values designate an inconsistent 768 * Class for managing state storing/restoring.
|
H A D | ExpandableListView.java | 46 * the item's current state (the states are usually one of expanded group, 50 * for each method to see additional state that each Drawable can have). The 321 // Get the indicator (with its state set to the item's state) 339 * is stateful, the state will be given to the indicator. 343 * @return The indicator in the proper state. 367 // No need for a state sets array for the child since it only has two states 1023 * child is the last child for a group, the state 1050 * group is empty, the state {@link android.R.attr#state_empty} will be 1051 * set. If the group is expanded, the state 1161 onRestoreInstanceState(Parcelable state) argument [all...] |
H A D | FastScroller.java | 173 int[] state = mState == STATE_DRAGGING ? PRESSED_STATES : DEFAULT_STATES; 176 mThumbDrawable.setState(state); 179 mTrackDrawable.setState(state); 204 public void setState(int state) { argument 205 switch (state) { 223 mState = state;
|
H A D | ImageView.java | 424 public void setImageState(int[] state, boolean merge) { argument 425 mState = state;
|
H A D | ProgressBar.java | 313 * traverse layer and state list drawables. 1117 int[] state = getDrawableState(); 1120 mProgressDrawable.setState(state); 1124 mIndeterminateDrawable.setState(state); 1169 // Force our ancestor class to save its state 1180 public void onRestoreInstanceState(Parcelable state) { argument 1181 SavedState ss = (SavedState) state;
|
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...] |
H A D | TimePicker.java | 71 // state 238 // update controls to initial state 305 * Used to save / restore state of time picker 359 protected void onRestoreInstanceState(Parcelable state) { argument 360 SavedState ss = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | LegacyVpnInfo.java | 42 public int state = -1; field in class:LegacyVpnInfo 53 out.writeInt(state); 63 info.state = in.readInt(); 75 * Return best matching {@link LegacyVpnInfo} state based on given 89 Log.w(TAG, "Unhandled state " + info.getDetailedState()
|
/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/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 99 // No need to save instance state since it's persistent 109 protected void onRestoreInstanceState(Parcelable state) { argument 110 if (!state.getClass().equals(SavedState.class)) { 111 // Didn't save state for us in onSaveInstanceState 112 super.onRestoreInstanceState(state); 116 SavedState myState = (SavedState) state;
|