Searched defs:state (Results 251 - 275 of 348) sorted by relevance

<<11121314

/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.h34 * Current camera state; this is the full state of the Camera under the old
36 * format, plus other state). The enum values are mostly based off the
42 * Parameters and other state
90 uint8_t focusState; // Latest focus state from HAL
130 // These parameters are also part of the camera API-visible state, but not
148 // Overall camera state
157 } state; member in struct:android::camera2::Parameters
254 static const char *getStateName(State state);
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java137 Bundle state = data.readBundle();
146 scheduleLaunchActivity(intent, b, ident, info, curConfig, compatInfo, state, ri, pi,
698 Bundle state, List<ResultInfo> pendingResults,
710 data.writeBundle(state);
696 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
H A DFragmentManager.java129 * to an activity saving its state. If you try to commit a transaction
134 * in the state, and if changes are made after the state is saved then they
190 * Pop the top state off the back stack. This function is asynchronous -- it
211 * @param name If non-null, this is the name of a previous back state
212 * to look for; if found, all states up to that state will be popped. The
214 * the named state itself is popped. If null, only the top state is popped.
238 * the named state itself is popped.
275 * persisted as saved state, an
1466 addBackStackState(BackStackRecord state) argument
1710 restoreAllState(Parcelable state, ArrayList<Fragment> nonConfig) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java84 public void setFeature(String name, boolean state) throws XmlPullParserException { argument
85 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) {
88 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) {
497 /*package*/ static final native int nativeNext(int state); argument
498 private static final native int nativeGetNamespace(int state); argument
499 /*package*/ static final native int nativeGetName(int state); argument
500 private static final native int nativeGetText(int state); argument
501 private static final native int nativeGetLineNumber(int state); argument
502 private static final native int nativeGetAttributeCount(int state); argument
503 private static final native int nativeGetAttributeNamespace(int state, in argument
504 nativeGetAttributeName(int state, int idx) argument
505 nativeGetAttributeResource(int state, int idx) argument
506 nativeGetAttributeDataType(int state, int idx) argument
507 nativeGetAttributeData(int state, int idx) argument
508 nativeGetAttributeStringValue(int state, int idx) argument
509 nativeGetIdAttribute(int state) argument
510 nativeGetClassAttribute(int state) argument
511 nativeGetStyleAttribute(int state) argument
512 nativeGetAttributeIndex(int state, String namespace, String name) argument
513 nativeDestroyParseState(int state) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreferenceActivity.java127 // Constants for state save/restore
206 // --- Common state
522 // We are restarting from a previous saved state; used that to
936 protected void onRestoreInstanceState(Bundle state) { argument
938 Bundle container = state.getBundle(PREFERENCES_TAG);
943 mSavedInstanceState = state;
949 // Only call this if we didn't save the instance state for later.
951 super.onRestoreInstanceState(state);
1172 // to pop the stack up to its root state.
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java371 * 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/webkit/
H A DWebSettings.java22 * Manages settings state for a WebView. When a WebView is first created, it
155 * The plugin state effects how plugins are treated on a page. ON means
1021 * @param state a PluginState value
1025 public synchronized void setPluginState(PluginState state) { argument
1237 * Gets the current state regarding whether plugins are enabled.
1239 * @return the plugin state as a {@link PluginState} value
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java152 * Current touch state.
824 public void onRestoreInstanceState(Parcelable state) { argument
825 SavedState ss = (SavedState) state;
H A DExpandableListView.java48 * the item's current state (the states are usually one of expanded group,
52 * for each method to see additional state that each Drawable can have). The
450 // Get the indicator (with its state set to the item's state)
468 * is stateful, the state will be given to the indicator.
472 * @return The indicator in the proper state.
496 // No need for a state sets array for the child since it only has two states
1152 * child is the last child for a group, the state
1197 * group is empty, the state {@link android.R.attr#state_empty} will be
1198 * set. If the group is expanded, the state
1326 onRestoreInstanceState(Parcelable state) argument
[all...]
H A DFastScroller.java173 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) {
237 mState = state;
H A DImageView.java440 public void setImageState(int[] state, boolean merge) { argument
441 mState = state;
H A DProgressBar.java315 * traverse layer and state list drawables.
1086 int[] state = getDrawableState();
1089 mProgressDrawable.setState(state);
1093 mIndeterminateDrawable.setState(state);
1138 // Force our ancestor class to save its state
1149 public void onRestoreInstanceState(Parcelable state) { argument
1150 SavedState ss = (SavedState) state;
H A DSpinner.java713 public void onRestoreInstanceState(Parcelable state) { argument
714 SavedState ss = (SavedState) state;
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java37 * <p>The state machine defined here is a hierarchical state machine which processes messages
40 * <p>A state is a <code>State</code> object and must implement
44 * cleanup of the state respectively. The <code>getName</code> method returns the
45 * name of the state the default implementation returns the class name it may be
46 * desirable to have this return the name of the state instance name instead.
47 * In particular if a particular state class has multiple instances.</p>
49 * <p>When a state machine is created <code>addState</code> is used to build the
51 * is the initial state. After construction the programmer calls <code>start</code>
52 * which initializes and starts the state machin
466 LogRec(StateMachine sm, Message msg, String info, IState state, IState orgState, IState transToState) argument
477 update(StateMachine sm, Message msg, String info, IState state, IState orgState, IState dstState) argument
657 add(StateMachine sm, Message msg, String messageInfo, IState state, IState orgState, IState transToState) argument
720 State state; field in class:StateMachine.SmHandler.StateInfo
1132 addState(State state, State parent) argument
1279 addState(State state, State parent) argument
1287 addState(State state) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
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...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java412 * Reset all pattern state.
434 * timeout so user doesn't get view into messy state).
1030 protected void onRestoreInstanceState(Parcelable state) { argument
1031 final SavedState ss = (SavedState) state;
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...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp333 IPCThreadState* state = IPCThreadState::selfOrNull(); local
334 return state && state->getStrictModePolicy() != 0;
H A Dandroid_app_NativeActivity.cpp102 * Native state for interacting with the NativeActivity class.
385 jbyte* state = (jbyte*)code->callbacks.onSaveInstanceState(code, &len); local
389 env->SetByteArrayRegion(array, 0, len, state);
392 if (state != NULL) {
393 free(state);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java126 private boolean mRectIsDirty; // internal state
1108 public GradientState(GradientState state) { argument
1109 mChangingConfigurations = state.mChangingConfigurations;
1110 mShape = state.mShape;
1111 mGradient = state.mGradient;
1112 mOrientation = state.mOrientation;
1113 if (state.mColors != null) {
1114 mColors = state.mColors.clone();
1116 if (state.mPositions != null) {
1117 mPositions = state
1264 GradientDrawable(GradientState state) argument
1271 initializeWithState(GradientState state) argument
[all...]
/frameworks/base/libs/androidfw/
H A DInputTransport.cpp52 // Maximum time to predict forward from the last known state, to avoid predicting too
580 // Update the touch state history to incorporate the new input message.
652 void InputConsumer::rewriteMessage(const TouchState& state, InputMessage* msg) { argument
655 if (state.lastResample.idBits.hasBit(id)) {
657 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id);
682 ALOGD("Not resampled, no touch state for device.");
/frameworks/base/media/java/android/media/
H A DAudioSystem.java354 // phone state, match audio_mode???
387 public static native int setDeviceConnectionState(int device, int state, String device_address); argument
389 public static native int setPhoneState(int state); argument
H A DAudioTrack.java74 /** indicates AudioTrack state is stopped */
76 /** indicates AudioTrack state is paused */
78 /** indicates AudioTrack state is playing */
150 * Indicates the state of the AudioTrack instance.
154 * Indicates the play state of the AudioTrack instance.
158 * Lock to make sure mPlayState updates are reflecting the actual state of the object.
578 * Returns the state of the AudioTrack instance. This is useful after the
591 * Returns the playback state of the AudioTrack instance.
880 * Sets the initialization state of the instance. To be used in an AudioTrack subclass
881 * constructor to set a subclass-specific post-initialization state
884 setState(int state) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java62 /** Represents the state of a given attribute. */
95 public void refreshView(QuickSettingsTileView view, State state); argument
105 public void refreshView(QuickSettingsTileView ignored, State state) { argument
107 mView.setVisibility(state.enabled ? View.VISIBLE : View.GONE);
109 if (state.iconId != 0) {
111 mView.setImageResource(state.iconId);
113 if (state.label != null) {
114 mView.setText(state.label);
380 intent.putExtra("state", enabled);
386 // TODO: If view is in awaiting state, disabl
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java124 // get notified of phone state changes
187 // Simple toggle style if there's no vibrator, otherwise use a tri-state
218 // In ECM mode airplane state cannot be changed
534 * A single press action maintains no state, just responds to a press
711 * Implementations may override this if their state can be in on of the intermediate
722 public void updateState(State state) { argument
723 mState = state;
896 // Let the service state callbacks handle the state.
917 intent.putExtra("state", o
[all...]

Completed in 527 milliseconds

<<11121314