Searched refs:state (Results 226 - 250 of 570) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DSubActivityScreen.java69 protected void onRestoreInstanceState(Bundle state) { argument
70 super.onRestoreInstanceState(state);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java26 // The state of a BasicTexture indicates whether its data is loaded to GL memory.
57 protected BasicTexture(GLCanvas canvas, int id, int state) { argument
60 mState = state;
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java74 void sendLockChangedBroadcast(boolean state) { argument
79 .putExtra(UpdateLock.NOW_IS_CONVENIENT, state)
H A DMountService.java128 * Internal vold volume state constants
204 /** Map from path to state */
239 * Mounted OBB tracking information. Used to track the current state of all
536 final String state = entry.getValue();
538 if (state.equals(Environment.MEDIA_UNMOUNTED)) {
544 } else if (state.equals(Environment.MEDIA_SHARED)) {
546 * Bootstrap UMS enabled state since vold indicates
554 // Push mounted state for all emulated storage
662 private void updatePublicVolumeState(StorageVolume volume, String state) { argument
666 oldState = mVolumeStates.put(path, state);
[all...]
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp72 const Vector<ComposerState>& state,
79 Vector<ComposerState>::const_iterator b(state.begin());
80 Vector<ComposerState>::const_iterator e(state.end());
81 data.writeInt32(state.size());
256 Vector<ComposerState> state; local
257 state.setCapacity(count);
260 state.add(s);
271 setTransactionState(state, displays, flags);
71 setTransactionState( const Vector<ComposerState>& state, const Vector<DisplayState>& displays, uint32_t flags) argument
H A DLayerState.cpp67 return state.write(output);
72 return state.read(input);
/frameworks/rs/driver/
H A DrsdProgram.cpp48 for (uint32_t ct=0; ct < p->mHal.state.texturesCount; ct++) {
49 const Allocation *a = p->mHal.state.textures[ct];
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp111 uint32_t state; member in struct:android::__anon482::EqualizerContext
147 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
157 pContext->state = EQUALIZER_STATE_INITIALIZED;
174 pContext->state = EQUALIZER_STATE_UNINITIALIZED;
614 if (pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
617 if (pContext->state == EQUALIZER_STATE_INITIALIZED) {
632 if (pContext == NULL || pContext->state == EQUALIZER_STATE_UNINITIALIZED) {
697 if (pContext->state != EQUALIZER_STATE_INITIALIZED) {
700 pContext->state = EQUALIZER_STATE_ACTIVE;
708 if (pContext->state !
[all...]
H A DAudioBiquadFilter.h34 // from its current state to the desired state.
52 // Resets the internal state of the filter.
53 // Coefficients are reset to identity, state becomes disabled. This change
82 // immediate If true, transitions to new state smoothly, without
88 // immediate If true, transitions to new state smoothly, without
107 // Filter state.
111 // In the process of smooth transition to bypass state.
113 // In the process of smooth transition to normal (enabled) state.
115 // In normal (enabled) state
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java230 protected boolean onStateChange(int[] state) { argument
232 return mLastDrawable.setState(state);
235 return mCurrDrawable.setState(state);
548 // sure that we're done computing values for the original state.
878 * @param state the container into which this future will be placed
881 public Drawable get(DrawableContainerState state) { argument
882 final Drawable result = (state.mRes == null) ?
883 mConstantState.newDrawable() : mConstantState.newDrawable(state.mRes);
884 result.setLayoutDirection(state.mLayoutDirection);
885 result.setCallback(state
896 setConstantState(DrawableContainerState state) argument
[all...]
H A DClipDrawable.java181 protected boolean onStateChange(int[] state) { argument
182 return mClipState.mDrawable.setState(state);
303 private ClipDrawable(ClipState state, Resources res) { argument
304 mClipState = new ClipState(state, this, res);
H A DInsetDrawable.java223 protected boolean onStateChange(int[] state) { argument
224 boolean changed = mInsetState.mDrawable.setState(state);
331 private InsetDrawable(InsetState state, Resources res) { argument
332 mInsetState = new InsetState(state, this, res);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java99 private static final String EXTRA_STATE = "state";
644 * Update UI to reflect internal state changes not from user.
651 * Set state sort order based on explicit user action.
659 * Set state mode based on explicit user action.
693 protected void onSaveInstanceState(Bundle state) { argument
694 super.onSaveInstanceState(state);
695 state.putParcelable(EXTRA_STATE, mState);
699 protected void onRestoreInstanceState(Bundle state) { argument
700 super.onRestoreInstanceState(state);
1151 /** Instance state fo
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dvad2.h119 #define STATE_1_TO_0_SHIFT_R (FRACTIONAL_BITS_1-FRACTIONAL_BITS_0) /* state correction factor */
120 #define STATE_0_TO_1_SHIFT_R (FRACTIONAL_BITS_0-FRACTIONAL_BITS_1) /* state correction factor */
188 void vad2_exit(vadState2 **state);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp98 state = pointer to a structure of type gc_predState
101 past_qua_en field in the structure pointed to by state is initialized
103 past_qua_en_MR122 field in the structure pointed to by state is
118 This function initializes the state memory used by gc_pred to zero.
133 int gc_pred_reset (gc_predState *state)
137 if (state == (gc_predState *) NULL){
144 state->past_qua_en[i] = MIN_ENERGY;
145 state->past_qua_en_MR122[i] = MIN_ENERGY_MR122;
173 Word16 gc_pred_reset(gc_predState *state) argument
177 if (state
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.h134 Word16 state; member in struct:Decoder_amrState
166 * Purpose : Allocates initializes state memory
175 * Purpose : Resets state memory
/frameworks/base/core/java/android/preference/
H A DSeekBarPreference.java171 * must save the instance state so it is able to, for example, survive
177 // No need to save instance state since it's persistent
181 // Save the instance state
189 protected void onRestoreInstanceState(Parcelable state) { argument
190 if (!state.getClass().equals(SavedState.class)) {
191 // Didn't save state for us in onSaveInstanceState
192 super.onRestoreInstanceState(state);
196 // Restore the instance state
197 SavedState myState = (SavedState) state;
205 * SavedState, a subclass of {@link BaseSavedState}, will store the state
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java72 public void setState(int [] state) { argument
75 d.setState(state);
79 public boolean hasState(int [] state) { argument
83 return d.getStateDrawableIndex(state) != -1;
89 * Returns true if the drawable is a StateListDrawable and is in the focused state.
108 * drawable in a valid state. Currently all targets with valid drawables are valid.
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardUpdateMonitorCallback.java60 * @param state the current ringer state, as defined in
63 void onRingerModeChanged(int state) { } argument
66 * Called when the phone state changes. String will be one of:
116 * Called when the SIM state changes.
145 * Called when the audio playback state changes.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java72 // state of inet connection - 0 not connected, 100 connected
75 // sync state
144 // Sync state
221 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
222 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON;
224 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE,
226 if (state == BluetoothAdapter.STATE_CONNECTED) {
/frameworks/rs/
H A DrsProgram.h57 State state; member in struct:android::renderscript::Program::Hal
H A DrsProgramRaster.h44 State state; member in struct:android::renderscript::ProgramRaster::Hal
H A DrsProgramStore.h56 State state; member in struct:android::renderscript::ProgramStore::Hal
H A DrsProgramVertex.h35 virtual void setup(Context *rsc, ProgramVertexState *state);
H A DrsSampler.h50 State state; member in struct:android::renderscript::Sampler::Hal

Completed in 1809 milliseconds

1234567891011>>