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

<<11121314

/frameworks/av/media/libmedia/
H A DIAudioFlinger.cpp311 virtual status_t setMicMute(bool state) argument
315 data.writeInt32(state);
842 int state = data.readInt32(); local
843 reply->writeInt32( setMicMute(state) );
/frameworks/av/services/audioflinger/
H A DAudioMixer.cpp625 void AudioMixer::process__validate(state_t* state, int64_t pts) argument
627 ALOGW_IF(!state->needsChanged,
630 uint32_t changed = state->needsChanged;
631 state->needsChanged = 0; // clear the validation flag
640 track_t& t = state->tracks[i];
643 state->enabledTracks &= ~disabled;
644 state->enabledTracks |= enabled;
651 uint32_t en = state->enabledTracks;
657 track_t& t = state->tracks[i];
700 state
1047 process__nop(state_t* state, int64_t pts) argument
1089 process__genericNoResampling(state_t* state, int64_t pts) argument
1186 process__genericResampling(state_t* state, int64_t pts) argument
1255 process__OneTrack16BitsStereoNoResampling(state_t* state, int64_t pts) argument
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp63 l.mParameters.state = Parameters::DISCONNECTED;
158 result.append(Parameters::getStateName(p.state));
270 result.append(" Focus state: ");
387 if (l.mParameters.state == Parameters::DISCONNECTED) return;
388 l.mParameters.state = Parameters::DISCONNECTED;
470 if (l.mParameters.state == Parameters::RECORD ||
471 l.mParameters.state == Parameters::VIDEO_SNAPSHOT) {
532 Parameters::State state; local
535 state = l.mParameters.state;
742 Parameters::State state; local
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DParameters.h35 * Current camera state; this is the full state of the Camera under the old
37 * format, plus other state). The enum values are mostly based off the
43 * Parameters and other state
91 uint8_t focusState; // Latest focus state from HAL
131 // These parameters are also part of the camera API-visible state, but not
149 // Overall camera state
158 } state; member in struct:android::camera2::Parameters
250 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,
683 Bundle state, List<ResultInfo> pendingResults,
695 data.writeBundle(state);
681 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
930 protected void onRestoreInstanceState(Bundle state) { argument
932 Bundle container = state.getBundle(PREFERENCES_TAG);
937 mSavedInstanceState = state;
943 // Only call this if we didn't save the instance state for later.
945 super.onRestoreInstanceState(state);
1166 // 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
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
/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.java46 * 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 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) {
223 mState = state;
H A DImageView.java424 public void setImageState(int[] state, boolean merge) { argument
425 mState = state;
H A DProgressBar.java313 * 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;
/frameworks/base/core/java/com/android/internal/util/
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...]
/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.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 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.cpp329 IPCThreadState* state = IPCThreadState::selfOrNull(); local
330 return state && state->getStrictModePolicy() != 0;
/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
575 // Update the touch state history to incorporate the new input message.
647 void InputConsumer::rewriteMessage(const TouchState& state, InputMessage* msg) { argument
650 if (state.lastResample.idBits.hasBit(id)) {
652 const PointerCoords& resampleCoords = state.lastResample.getPointerById(id);
677 ALOGD("Not resampled, no touch state for device.");
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardHostView.java202 // view state manager and wire up necessary listeners / callbacks.
665 // This avoids unwanted asynchronous events from messing with the state.
1288 public void onRestoreInstanceState(Parcelable state) { argument
1290 if (!(state instanceof SavedState)) {
1291 super.onRestoreInstanceState(state);
1294 SavedState ss = (SavedState) state;
1317 int state = mViewStateManager.getTransportState();
1319 || state == KeyguardViewStateManager.TRANSPORT_VISIBLE;
1323 } else if (state == KeyguardViewStateManager.TRANSPORT_VISIBLE) {
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java104 ActivityState state; // current state we are in field in class:ActivityRecord
105 Bundle icicle; // last saved activity state
108 boolean haveState; // have we gotten the last activity state?
206 pw.print(prefix); pw.print("state="); pw.print(state);
339 state = ActivityState.INITIALIZING;
355 // This starts out true, since the initial state of an activity
357 // lacking in state to be removed if it dies.
572 if ((state
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DWindowStateAnimator.java139 static String drawStateToString(int state) { argument
140 switch (state) {
146 default: return Integer.toString(state);
247 // Save the animation state as it was before this step so WindowManagerService can tell if
447 Slog.v(TAG, "Draw state now committed in " + mWin);

Completed in 2359 milliseconds

<<11121314