Searched defs:state (Results 226 - 250 of 286) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DMultiWaveView.java53 // Wave state machine
270 private void switchToState(int state, float x, float y) { argument
271 switch (state) {
538 // postpone this change until we return to the initial state
615 * Resets the widget to default state and cancels all animation. If animate is 'true', will
664 // TODO: animate the handle based on the current state/position
779 * Sets the current grabbed state, and dispatches a grabbed state change
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp350 IPCThreadState* state = IPCThreadState::selfOrNull(); local
351 return state && state->getStrictModePolicy() != 0;
H A Dandroid_app_NativeActivity.cpp424 * Native state for interacting with the NativeActivity class.
781 jbyte* state = (jbyte*)code->callbacks.onSaveInstanceState(code, &len); local
785 env->SetByteArrayRegion(array, 0, len, state);
788 if (state != NULL) {
789 free(state);
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java126 private boolean mRectIsDirty; // internal state
925 public GradientState(GradientState state) { argument
926 mChangingConfigurations = state.mChangingConfigurations;
927 mShape = state.mShape;
928 mGradient = state.mGradient;
929 mOrientation = state.mOrientation;
930 if (state.mColors != null) {
931 mColors = state.mColors.clone();
933 if (state.mPositions != null) {
934 mPositions = state
1033 GradientDrawable(GradientState state) argument
1039 initializeWithState(GradientState state) argument
[all...]
/frameworks/base/libs/binder/
H A DIPCThreadState.cpp995 // want to run in that state in this process. The driver set our
1119 IPCThreadState* state = self(); local
1120 state->mOut.writeInt32(BC_FREE_BUFFER);
1121 state->mOut.writeInt32((int32_t)data);
/frameworks/base/libs/gui/
H A DSurfaceTexture.cpp328 // whole state (eg: we could be abandoned or disconnected)
347 const int state = mSlots[i].mBufferState; local
348 if (state == BufferSlot::DEQUEUED) {
353 LOGW_IF((state == BufferSlot::FREE) && (mCurrentTexture==i),
358 if (state == BufferSlot::FREE || i == mCurrentTexture) {
366 if (state == BufferSlot::FREE) {
556 "(state=%d)", buf, mSlots[buf].mBufferState);
628 ST_LOGE("cancelBuffer: slot %d is not owned by the client (state=%d)",
821 // state. If it has already been given to the client
822 // (synchronous mode), then it stays in DEQUEUED state
[all...]
/frameworks/base/libs/rs/
H A DrsFont.cpp91 FontState *state = &mRSC->mStateFont; local
104 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2,
118 FontState *state = &mRSC->mStateFont; local
119 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
120 const uint8_t* cacheBuffer = state->getTextTextureData();
255 // Let the font state figure out where to put the bitmap
256 FontState *state = &mRSC->mStateFont; local
257 glyph->mIsValid = state->cacheBitmap(bitmap, &startX, &startY);
271 uint32_t cacheWidth = state->getCacheTextureType()->getDimX();
272 uint32_t cacheHeight = state
[all...]
/frameworks/base/media/java/android/media/
H A DAudioSystem.java221 // phone state, match audio_mode???
247 public static native int setDeviceConnectionState(int device, int state, String device_address); argument
249 public static native int setPhoneState(int state); argument
H A DAudioTrack.java72 /** indicates AudioTrack state is stopped */
74 /** indicates AudioTrack state is paused */
76 /** indicates AudioTrack state is playing */
147 * Indicates the state of the AudioTrack instance.
151 * Indicates the play state of the AudioTrack instance.
155 * Lock to make sure mPlayState updates are reflecting the actual state of the object.
535 * Returns the state of the AudioTrack instance. This is useful after the
548 * Returns the playback state of the AudioTrack instance.
808 * Sets the initialization state of the instance. To be used in an AudioTrack subclass
809 * constructor to set a subclass-specific post-initialization state
812 setState(int state) argument
[all...]
H A DAudioManager.java670 * @param state The required solo state: true for solo ON, false for solo OFF
672 public void setStreamSolo(int streamType, boolean state) { argument
675 service.setStreamSolo(streamType, state, mICallBack);
699 * @param state The required mute state: true for mute ON, false for mute OFF
701 public void setStreamMute(int streamType, boolean state) { argument
704 service.setStreamMute(streamType, state, mICallBack);
711 * get stream mute state.
850 * connection state ha
[all...]
/frameworks/base/media/libmedia/
H A DAudioSystem.cpp78 status_t AudioSystem::muteMicrophone(bool state) { argument
81 return af->setMicMute(state);
84 status_t AudioSystem::isMicrophoneMuted(bool* state) { argument
87 *state = af->getMicMute();
510 audio_policy_dev_state_t state,
522 return aps->setDeviceConnectionState(device, state, address);
534 status_t AudioSystem::setPhoneState(int state) argument
539 return aps->setPhoneState(state);
726 status_t AudioSystem::isStreamActive(int stream, bool* state, uint32_t inPastMs) argument
730 if (state
509 setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address) argument
[all...]
H A DIAudioFlinger.cpp301 virtual status_t setMicMute(bool state) argument
305 data.writeInt32(state);
795 int state = data.readInt32(); local
796 reply->writeInt32( setMicMute(state) );
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DKeyguardViewMediator.java53 * state of the keyguard, power management events that effect whether the keyguard
64 * - are input events restricted due to the state of the keyguard?
78 * Note: in addition to normal power managment events that effect the state of
247 // last known state of the cellular connection
567 * Given the state of the keyguard, is the input restricted?
623 final IccCard.State state = mUpdateMonitor.getSimState();
624 final boolean lockedOrMissing = state.isPinLocked()
625 || ((state == IccCard.State.ABSENT
626 || state == IccCard.State.PERM_DISABLED)
645 * Send message to keyguard telling it to reset its state
1330 onRingerModeChanged(int state) argument
[all...]
H A DLockPatternKeyguardView.java219 * Used to lookup the state of the lock pattern
292 * @param updateMonitor Knows the state of the world, and passed along to each
295 * @param lockPatternUtils Used to look up state of lock pattern.
398 mSavedState = null; // clear state so we re-establish when locked again
625 if (DEBUG) Log.v(TAG, "Saving widget state");
632 if (DEBUG) Log.v(TAG, "Restoring widget state");
735 public void onRingerModeChanged(int state) {} argument
750 if (DEBUG) Log.d(TAG, "phone state: " + phoneState);
866 // SIM state changes. This typically happens when this method is called by reset()
971 // "permanently locked" state
[all...]
/frameworks/base/services/audioflinger/
H A DAudioMixer.cpp366 void AudioMixer::process__validate(state_t* state) argument
368 LOGW_IF(!state->needsChanged,
371 uint32_t changed = state->needsChanged;
372 state->needsChanged = 0; // clear the validation flag
381 track_t& t = state->tracks[i];
384 state->enabledTracks &= ~disabled;
385 state->enabledTracks |= enabled;
392 uint32_t en = state->enabledTracks;
398 track_t& t = state->tracks[i];
437 state
879 process__nop(state_t* state) argument
919 process__genericNoResampling(state_t* state) argument
1014 process__genericResampling(state_t* state) argument
1080 process__OneTrack16BitsStereoNoResampling(state_t* state) argument
1138 process__TwoTracks16BitsStereoNoResampling(state_t* state) argument
[all...]
/frameworks/base/services/java/com/android/server/accessibility/
H A DTouchExplorer.java64 // Tag for logging the current state.
117 // The current state of the touch explorer.
167 // Keep track of the pointers's state.
181 throw new IllegalStateException("Illegal state: " + mCurrentState);
187 * Handles a motion event in touch exploring state.
202 + "touch exploring state!");
273 // If we have transitioned to exploring state from another one
438 * Handles a motion event in dragging state.
447 throw new IllegalStateException("Dragging state can be reached only if two "
451 // We are in dragging state s
848 getStateSymbolicName(int state) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java98 ActivityState state; // current state we are in field in class:ActivityRecord
99 Bundle icicle; // last saved activity state
102 boolean haveState; // have we gotten the last activity state?
172 pw.print(prefix); pw.print("state="); pw.print(state);
294 state = ActivityState.INITIALIZING;
514 if (state == ActivityState.RESUMED
782 return visible || nowVisible || state == ActivityState.PAUSING ||
783 state
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGsmMmiCode.java126 State state = State.PENDING; field in class:GsmMmiCode
226 ret.state = State.PENDING;
228 ret.state = State.COMPLETE;
238 ret.state = State.PENDING;
398 return state;
410 if (state == State.COMPLETE || state == State.FAILED) {
414 state = State.CANCELLED;
796 state = State.FAILED;
803 state
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipPhone.java168 throw new CallStateException("cannot dial in current state");
175 throw new CallStateException("cannot dial in current state");
205 throw new CallStateException("wrong state to merge calls: fg="
297 // state with AudioManager instead of keeping a state here so the
298 // method with a state argument is redundant. Also rename the method
368 state = that.state;
411 if (state.isAlive()) {
466 if (state
775 setState(Call.State state) argument
[all...]
H A DSipPhoneBase.java56 private State state = State.IDLE; field in class:SipPhoneBase
127 return state;
163 * Notify any interested party of a Phone state change {@link Phone.State}
170 * Notify registrants of a change in the call state. This notifies changes in {@link Call.State}
171 * Use this when changes in the precise call state are needed, else use notifyPhoneStateChanged.
448 State oldState = state;
451 state = State.RINGING;
454 state = State.IDLE;
456 state = State.OFFHOOK;
459 if (state !
[all...]
/frameworks/base/tools/aapt/
H A DImages.cpp174 int state = TICK_START; local
179 if (state == TICK_START ||
180 (state == TICK_OUTSIDE_1 && multipleAllowed)) {
187 state = TICK_INSIDE_1;
188 } else if (state == TICK_OUTSIDE_1) {
194 if (state == TICK_INSIDE_1) {
199 state = TICK_OUTSIDE_1;
223 int state = TICK_START; local
228 if (state == TICK_START ||
229 (state
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java161 * in particular during state restore, and needs to be able to find this
163 * a runtime exception will occur in some cases during state restore.
198 * up to resumed state (interacting with the user) are:
225 * <li> {@link #onDestroy} called to do final cleanup of the fragment's state.
336 * pressing back will pop it to return the user to whatever previous state
343 static final int INVALID_STATE = -1; // Invalid state used as a null value.
358 // If mAnimatingAway != null, this is the state we should move to once the
362 // When instantiated from saved state, this is the saved state.
390 // True if the fragment is in the resumed state
477 SavedState(Bundle state) argument
691 setInitialSavedState(SavedState state) argument
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java136 * called before the state of the Preference is about to be updated and
137 * before the state is persisted.
141 * @return True to update the state of the Preference with the new value.
540 * Makes sure the view (and any children) get the enabled state changed.
713 // Enabled state can change dependent preferences' states, so notify
756 * clickable 2) should not have the view set to the disabled state.
789 * update the preference's state with the new value.
878 * internal state is set. This allows the client to ignore the user value.
890 * user (but before the internal state has been updated).
900 * user (but before the internal state ha
1766 onRestoreInstanceState(Parcelable state) argument
[all...]
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp46 Font::Font(FontRenderer* state, uint32_t fontId, float fontSize, argument
49 mState(state), mFontId(fontId), mFontSize(fontSize),
286 Font* Font::create(FontRenderer* state, uint32_t fontId, float fontSize, argument
289 Vector<Font*> &activeFonts = state->mActiveFonts;
301 Font* newFont = new Font(state, fontId, fontSize, flags, italicStyle,
422 // If the new glyph didn't fit, flush the state so far and invalidate everything
/frameworks/base/media/libeffects/preprocessing/
H A DPreProcessing.cpp48 // Session state
54 // Effect/Preprocessor state
86 uint32_t state; // current state (enum preproc_effect_state) member in struct:preproc_effect_s
95 uint32_t state; // current state (enum preproc_session_state) member in struct:preproc_session_s
591 LOG_ALWAYS_FATAL("Bad state transition from %d to %d", from, to);
593 int Effect_SetState(preproc_effect_t *effect, uint32_t state) argument
596 LOGV("Effect_SetState proc %d, new %d old %d", effect->procId, state, effect->state);
[all...]

Completed in 399 milliseconds

1234567891011>>