Searched defs:state (Results 126 - 150 of 340) sorted by path

1234567891011>>

/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java278 public void setFeature(String name, boolean state) throws IllegalArgumentException, argument
H A DStateMachine.java36 * <p>The state machine defined here is a hierarchical state machine which processes messages
39 * <p>A state is a <code>State</code> object and must implement
43 * cleanup of the state respectively. The <code>getName</code> method returns the
44 * name of the state the default implementation returns the class name it may be
45 * desirable to have this return the name of the state instance name instead.
46 * In particular if a particular state class has multiple instances.</p>
48 * <p>When a state machine is created <code>addState</code> is used to build the
50 * is the initial state. After construction the programmer calls <code>start</code>
51 * which initializes and starts the state machin
464 LogRec(Message msg, String info, State state, State orgState) argument
474 update(Message msg, String info, State state, State orgState) argument
632 add(Message msg, String messageInfo, State state, State orgState) argument
692 State state; field in class:StateMachine.SmHandler.StateInfo
1084 addState(State state, State parent) argument
1222 addState(State state, State parent) argument
1244 addState(State state) argument
1385 addLogRec(String string, State state) argument
[all...]
H A DTypedProperties.java82 ParseException(StreamTokenizer state, String expected) { argument
83 super("expected " + expected + ", saw " + state.toString());
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuPresenter.java495 SavedState state = new SavedState();
496 state.openSubMenuId = mOpenSubMenuId;
497 return state;
501 public void onRestoreInstanceState(Parcelable state) { argument
502 SavedState saved = (SavedState) state;
H A DIconMenuPresenter.java163 Bundle state = new Bundle();
164 saveHierarchyState(state);
166 state.putInt(OPEN_SUBMENU_KEY, mOpenSubMenuId);
168 return state;
172 public void onRestoreInstanceState(Parcelable state) { argument
173 restoreHierarchyState((Bundle) state);
H A DIconMenuView.java692 protected void onRestoreInstanceState(Parcelable state) { argument
693 SavedState ss = (SavedState) state;
H A DListMenuPresenter.java212 Bundle state = new Bundle();
213 saveHierarchyState(state);
214 return state;
218 public void onRestoreInstanceState(Parcelable state) { argument
219 restoreHierarchyState((Bundle) state);
H A DMenuBuilder.java93 * Whether or not the items (or any one item's shown state) has changed since it was last
108 * Whether or not the items (or any one item's action state) has changed since it was
133 * Contains the state of the View hierarchy for all menu views when the menu
278 final Parcelable state = presenter.onSaveInstanceState();
279 if (state != null) {
280 presenterStates.put(id, state);
289 private void dispatchRestoreInstanceState(Bundle state) { argument
290 SparseArray<Parcelable> presenterStates = state.getSparseParcelableArray(PRESENTER_KEY);
314 public void restorePresenterStates(Bundle state) { argument
315 dispatchRestoreInstanceState(state);
[all...]
H A DMenuPopupHelper.java301 public void onRestoreInstanceState(Parcelable state) { argument
H A DMenuPresenter.java42 * of menu state so that it does not attempt to hide the action bar
131 * Returns an ID for determining how to save/restore instance state.
137 * Returns a Parcelable describing the current state of the presenter.
140 * @return The saved instance state
145 * Supplies the previously saved instance state to be restored.
146 * @param state The previously saved instance state
148 public void onRestoreInstanceState(Parcelable state); argument
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java1213 SavedState state = new SavedState(superState);
1216 state.expandedMenuItemId = mExpandedMenuPresenter.mCurrentExpandedItem.getItemId();
1219 state.isOverflowOpen = isOverflowMenuShowing();
1221 return state;
1226 SavedState state = (SavedState) p;
1228 super.onRestoreInstanceState(state.getSuperState());
1230 if (state.expandedMenuItemId != 0 &&
1232 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId);
1238 if (state.isOverflowOpen) {
1561 public void onRestoreInstanceState(Parcelable state) { argument
[all...]
H A DLockPatternView.java410 * Reset all pattern state.
432 * timeout so user doesn't get view into messy state).
1091 protected void onRestoreInstanceState(Parcelable state) { argument
1092 final SavedState ss = (SavedState) state;
H A DPointerLocationView.java167 public void setPrintCoords(boolean state) { argument
168 mPrintCoords = state;
714 private void logInputDeviceState(int deviceId, String state) { argument
717 Log.i(TAG, state + ": " + device);
719 Log.i(TAG, state + ": " + deviceId);
H A DSlidingTab.java139 * Called when the "grabbed state" changes (i.e. when the user either grabs or releases
143 * @param grabbedState the new state: {@link #NO_HANDLE}, {@link #LEFT_HANDLE},
153 * {@link #tab} is the tab shown on the screen in the default state.
266 void setState(int state) { argument
267 text.setPressed(state == STATE_PRESSED);
268 tab.setPressed(state == STATE_PRESSED);
269 if (state == STATE_ACTIVE) {
281 currentState = state;
422 * keeps internal state of the invalidation region which is just the view being animated.
555 * Reset the tabs to their original state an
[all...]
H A DTransportControlView.java146 public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) { argument
149 handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
333 private void updatePlayPauseState(int state) { argument
335 "updatePlayPauseState(), old=" + mCurrentPlayState + ", state=" + state);
336 if (state == mCurrentPlayState) {
342 switch (state) {
374 mCurrentPlayState = state;
417 public void onRestoreInstanceState(Parcelable state) { argument
419 if (!(state instanceo
485 wasPlayingRecently(int state, long stateChangeTimeMs) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java57 // Wave state machine
359 private void switchToState(int state, float x, float y) { argument
360 switch (state) {
466 // Force ring and targets to finish animation to final expanded state
470 // Animate handle back to the center based on current state.
615 // postpone this change until we return to the initial state
729 * Resets the widget to default state and cancels all animation. If animate is 'true', will
962 * Sets the current grabbed state, and dispatches a grabbed state change
H A DMultiWaveView.java60 // Wave state machine
344 private void switchToState(int state, float x, float y) { argument
345 switch (state) {
506 // Force ring and targets to finish animation to final expanded state
510 // Animate handle back to the center based on current state.
648 // postpone this change until we return to the initial state
724 * Resets the widget to default state and cancels all animation. If animate is 'true', will
933 * Sets the current grabbed state, and dispatches a grabbed state change
H A DTargetDrawable.java102 public void setState(int [] state) { argument
105 d.setState(state);
109 public boolean hasState(int [] state) { argument
113 return d.getStateDrawableIndex(state) != -1;
119 * Returns true if the drawable is a StateListDrawable and is in the focused state.
138 * drawable in a valid state. Currently all targets with valid drawables are valid.
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp329 IPCThreadState* state = IPCThreadState::selfOrNull(); local
330 return state && state->getStrictModePolicy() != 0;
H A Dandroid_app_NativeActivity.cpp398 * Native state for interacting with the NativeActivity class.
742 jbyte* state = (jbyte*)code->callbacks.onSaveInstanceState(code, &len); local
746 env->SetByteArrayRegion(array, 0, len, state);
749 if (state != NULL) {
750 free(state);
H A Dandroid_media_AudioSystem.cpp65 bool state = false; local
66 AudioSystem::isMicrophoneMuted(&state);
67 return state;
73 bool state = false; local
74 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs);
75 return state;
81 bool state = false; local
82 AudioSystem::isSourceActive((audio_source_t) source, &state);
83 return state;
139 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstrin argument
153 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), local
160 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument
[all...]
H A Dandroid_view_VelocityTracker.cpp151 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
152 delete state;
156 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
157 state->clear();
168 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
169 state->addMovement(event);
174 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
175 state->computeCurrentVelocity(units, maxVelocity);
180 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
182 state
188 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
196 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java69 protected void onRestoreInstanceState(Bundle state) { argument
70 super.onRestoreInstanceState(state);
H A DTestedActivity.java37 protected void onRestoreInstanceState(Bundle state) argument
39 super.onRestoreInstanceState(state);
H A DTestedScreen.java63 protected void onRestoreInstanceState(Bundle state) { argument
64 super.onRestoreInstanceState(state);

Completed in 1071 milliseconds

1234567891011>>