Searched refs:state (Results 176 - 200 of 527) sorted by relevance

1234567891011>>

/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorBuffer.h56 VIDEOEDITOR_BUFFER_State state; /**< Buffer state */ member in struct:__anon311
108 * @brief Returns a buffer in a given state
111 * @param desiredState : IN The buffer state
/frameworks/base/core/java/com/android/internal/view/menu/
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
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);
/frameworks/compile/libbcc/lib/Renderscript/runtime/
H A Drs_sample.c11 const Type_t *type = (const Type_t*)alloc->mHal.state.type;
14 const uint32_t offset = type->mHal.state.lodOffset[lod];
15 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
23 const Type_t *type = (const Type_t*)alloc->mHal.state.type;
26 const uint32_t eSize = alloc->mHal.state.elementSizeBytes;
27 const uint32_t offset = type->mHal.state.lodOffset[lod];
32 stride = type->mHal.state.lodDimX[lod] * eSize;
145 const Type_t *type = (const Type_t*)alloc->mHal.state.type; \
158 uint32_t maxLOD = type->mHal.state.lodCount - 1; \
167 uint32_t maxLOD = type->mHal.state
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneNotifier.java42 PhoneConstants.DataState state);
41 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTestPhoneNotifier.java55 PhoneConstants.DataState state) {
54 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
/frameworks/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1552
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.h101 status_t onOutputFormatChanged(size_t trackIndex, CodecState *state);
104 CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer);
/frameworks/base/core/java/android/app/
H A DListActivity.java152 * // requerying or closing it as the activity changes state.
217 protected void onRestoreInstanceState(Bundle state) { argument
219 super.onRestoreInstanceState(state);
232 * Updates the screen state (current list and other views) when the
H A DLocalActivityManager.java58 Bundle instanceState; // Last retrieved freeze state.
59 int curState = RESTORED; // Current state the activity is in.
89 /** Current state the owner (ActivityGroup) is in */
152 // the launching of the activity gets its state a little ahead
155 // group's state catches up.
247 * include an explicit component, we can restore the state for a different
248 * activity class than was previously running when the state was saved (if
380 * all state are removed from the group.
438 * Restore a state that was previously returned by {@link #saveInstanceState}. This
441 * user later navigates to them the correct state wil
451 dispatchCreate(Bundle state) argument
[all...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DDiagnosticEngine.h125 State& state() function in class:mcld::DiagnosticEngine
128 const State& state() const function in class:mcld::DiagnosticEngine
/frameworks/native/libs/gui/
H A DLayerState.cpp55 return state.write(output);
60 return state.read(input);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mockril/
H A DMockRilTest.java65 assertTrue(String.format("expected rs.state == 0 was %d", rs.getState()),
68 assertTrue(String.format("expected rs.state == 1 was %d", rs.getState()),
73 assertTrue(String.format("expected rsNew.state == 1 was %d", rs.getState()),
154 * Test case 3: test get radio state
173 int state = rsp.getState();
174 log("testGetRadioState state=" + state);
175 assertTrue(String.format("expected RadioState >= 0 && RadioState <= 9 was %d", state),
176 ((state >= 0) && (state <
[all...]
/frameworks/av/include/media/
H A DAudioSystem.h46 static status_t muteMicrophone(bool state);
47 static status_t isMicrophoneMuted(bool *state);
70 // returns true in *state if tracks are active on the specified stream or has been active
72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs = 0);
73 // returns true in *state if a recorder is currently recording with the specified source
74 static status_t isSourceActive(audio_source_t source, bool *state);
186 static status_t setDeviceConnectionState(audio_devices_t device, audio_policy_dev_state_t state, const char *device_address);
188 static status_t setPhoneState(audio_mode_t state);
/frameworks/base/core/java/android/webkit/
H A DAutoCompletePopup.java78 KeyEvent.DispatcherState state = mAnchor.getKeyDispatcherState();
79 if (state != null) {
80 state.startTracking(event, this);
84 KeyEvent.DispatcherState state = mAnchor.getKeyDispatcherState();
85 if (state != null) {
86 state.handleUpEvent(event);
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java137 ParcelFileDescriptor state = ParcelFileDescriptor.open(
138 new File(getFilesDir(), "state"),
145 h.performBackup(null, data, state);
147 state.close();
161 ParcelFileDescriptor state = ParcelFileDescriptor.open(
166 dispatch.performRestore(data, 0, state);
168 state.close();
/frameworks/wilhelm/src/itf/
H A DIRecord.c22 static SLresult IRecord_SetRecordState(SLRecordItf self, SLuint32 state) argument
26 switch (state) {
33 thiz->mState = state;
35 android_audioRecorder_setRecordState(InterfaceToCAudioRecorder(thiz), state); local
59 SLuint32 state = thiz->mState; local
61 *pState = state;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmMmiCode.java129 State state = State.PENDING; field in class:GsmMmiCode
239 ret.state = State.PENDING;
241 ret.state = State.COMPLETE;
253 ret.state = State.PENDING;
417 return state;
429 if (state == State.COMPLETE || state == State.FAILED) {
433 state = State.CANCELLED;
816 state = State.FAILED;
823 state
[all...]
/frameworks/base/core/java/android/net/
H A DMobileDataStateTracker.java45 * Track the state of mobile data connectivity. This is done by
47 * the state of data connectivity changes.
198 PhoneConstants.DataState state = Enum.valueOf(PhoneConstants.DataState.class,
212 log("Received state=" + state + ", old=" + mMobileDataState +
215 if (mMobileDataState != state) {
216 mMobileDataState = state;
217 switch (state) {
254 // There was no state change. Check if LinkProperties has been updated.
390 * Record the detailed state o
398 setDetailedState(NetworkInfo.DetailedState state, String reason, String extraInfo) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp129 // Transition the node from its current state all the way down
140 OMX_STATETYPE state; local
141 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone);
142 switch (state) {
149 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone
150 && state != OMX_StateIdle
151 && state != OMX_StateInvalid) {
153 ALOGE("component failed to enter Idle state, aborting.");
154 state = OMX_StateInvalid;
162 if (state
269 getState(OMX_STATETYPE* state) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java143 public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) { argument
146 handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
349 private void updatePlayPauseState(int state) { argument
351 "updatePlayPauseState(), old=" + mCurrentPlayState + ", state=" + state);
352 if (state == mCurrentPlayState) {
357 switch (state) {
383 mCurrentPlayState = state;
426 public void onRestoreInstanceState(Parcelable state) { argument
427 if (!(state instanceo
487 wasPlayingRecently(int state, long stateChangeTimeMs) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java64 public int state = -1; field in class:MountServiceTests.ObbObserver
68 public void onObbStateChange(String path, int state) { argument
69 Log.d(TAG, "Received message. path=" + path + ", state=" + state);
72 this.state = state;
79 assertTrue("Expected ObbObserver to have received a state change.", done);
84 assertTrue("Expected ObbObserver to have received a state change.", done);
85 return state;
90 this.state
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dmultiplay.c26 // Describes the state of one player
236 SLuint32 state; local
237 result = (*p->mPlayerPlay)->GetPlayState(p->mPlayerPlay, &state);
239 printf("state = ");
240 switch (state) {
251 printf("%u", (unsigned) state);
255 if (state == SL_PLAYSTATE_STOPPED || state == SL_PLAYSTATE_PAUSED) {
266 if (state != SL_PLAYSTATE_STOPPED) {

Completed in 5078 milliseconds

1234567891011>>