/frameworks/base/media/libstagefright/omx/ |
H A D | OMXComponentBase.h | 72 virtual OMX_ERRORTYPE getState(OMX_STATETYPE *state) = 0;
|
H A D | SoftOMXComponent.cpp | 249 OMX_STATETYPE *state) { 254 return me->getState(state); 322 OMX_ERRORTYPE SoftOMXComponent::getState(OMX_STATETYPE *state) { argument 247 GetStateWrapper( OMX_HANDLETYPE component, OMX_STATETYPE *state) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBarPolicy.java | 104 // state of inet connection - 0 not connected, 100 connected 107 // sync state 183 // Sync state 263 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR); 264 mBluetoothEnabled = state == BluetoothAdapter.STATE_ON; 266 int state = intent.getIntExtra(BluetoothAdapter.EXTRA_CONNECTION_STATE, 268 if (state == BluetoothAdapter.STATE_CONNECTED) {
|
/frameworks/media/libvideoeditor/osal/inc/ |
H A D | M4OSA_Thread.h | 106 M4OSA_ThreadState* state );
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerAdapter.java | 233 * Save any instance state associated with this adapter and its pages that should be 234 * restored if the current UI state needs to be reconstructed. 236 * @return Saved state for this adapter 243 * Restore any instance state associated with this adapter and its pages 246 * @param state State previously saved by a call to {@link #saveState()} 249 public void restoreState(Parcelable state, ClassLoader loader) { argument
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
H A D | Ime.java | 138 private void runSetEnabled(boolean state) { argument 147 boolean res = mImm.setInputMethodEnabled(id, state); 148 if (state) {
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothA2dp.java | 49 * Intent used to broadcast the change in connection state of the A2DP 54 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li> 55 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li> 71 * Intent used to broadcast the change in the Playing state of the A2DP 76 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li> 77 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li> 92 * A2DP sink device is streaming music. This state can be one of 99 * A2DP sink device is NOT streaming music. This state can be one of 146 * connection state intent for the profile will be broadcasted with 147 * the state 453 stateToString(int state) argument [all...] |
/frameworks/base/core/java/android/speech/srec/ |
H A D | Recognizer.java | 371 * 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/graphics/java/android/graphics/drawable/ |
H A D | AnimationDrawable.java | 354 private AnimationDrawable(AnimationState state, Resources res) { argument 355 AnimationState as = new AnimationState(state, this, res); 358 if (state != null) {
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.h | 61 int state() { return mState; } function in class:android::Sample 118 enum state { IDLE, RESUMING, STOPPING, PAUSED, PLAYING }; enum in class:android::SoundChannel 134 int state() { return mState; } function in class:android::SoundChannel
|
/frameworks/base/media/libeffects/testlibs/ |
H A D | AudioBiquadFilter.cpp | 90 void AudioBiquadFilter::setState(state_t state) { argument 91 switch (state) { 119 mState = state;
|
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | agc.cpp | 508 state = pointer to a structure of type agcState 511 Structure pointed to by state is initialized to zeros 526 Reset of agc (i.e. set state memory to 1.0). 541 int agc_reset (agcState *state) 543 if (state == (agcState *) NULL) 549 state->past_gain = 4096; // initial value of past_gain = 1.0 577 Word16 agc_reset(agcState *state) argument 579 if (state == (agcState *) NULL) 585 state->past_gain = 4096; /* initial value of past_gain = 1.0 */ 599 st = pointer to agc state [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 85 public void disable(int state); argument 140 public void disable(int state) { argument 143 mHandler.obtainMessage(MSG_DISABLE, state, 0, null).sendToTarget();
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
H A D | VideoEditorBuffer.c | 155 * @brief Returns a buffer in a given state 158 * @param desiredState : IN The buffer state 171 LOGV("VIDEOEDITOR_BUFFER_getBuffer from %s in state=%d", 178 bFound = (ppool->pNXPBuffer[i].state == desiredState); 188 LOGV("VIDEOEDITOR_BUFFER_getBuffer No buffer available in state %d", 230 pool->pNXPBuffer[index].state = VIDEOEDITOR_BUFFER_kEmpty; 249 if(pool->pNXPBuffer[index].state == desiredState)
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 111 * Internal vold volume state constants 181 // true if we should fake MEDIA_MOUNTED state for external storage 203 * Mounted OBB tracking information. Used to track the current state of all 498 String state = states[i]; 500 if (state.equals(Environment.MEDIA_UNMOUNTED)) { 506 } else if (state.equals(Environment.MEDIA_SHARED)) { 508 * Bootstrap UMS enabled state since vold indicates 574 private void updatePublicVolumeState(String path, String state) { argument 577 oldState = mVolumeStates.put(path, state); 579 if (state [all...] |
/frameworks/base/core/java/android/server/ |
H A D | BluetoothEventLoop.java | 60 // from remote device when Android is in Suspend state. 86 // We always have only 1 device in BONDING state. 452 // not go to BOND_BONDED state until we have received a 463 log("set trust state succeeded, value is: " + propValues[1]); 483 boolean state = false; 485 state = true; 487 mBluetoothService.handleInputDevicePropertyChange(address, state); 541 // Set state to BONDING. For incoming connections it will be set here. 543 // Also set it only when the state is not already Bonded, we can sometimes 783 // If AVCTP connection fails, we get stuck in IncomingA2DP state i [all...] |
/frameworks/base/media/libmedia/ |
H A D | AudioSystem.cpp | 78 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...] |
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 174 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/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder.cpp | 155 Decoder_State *st = &(((PV_AmrWbDec *)pt_st)->state); 240 dec_state->state = 0; 345 /* find the new DTX state SPEECH OR DTX */ 353 /* SPEECH action state machine */ 377 st->state += 1; 379 if (st->state > 6) 381 st->state = 6; 386 st->state >>= 1; 390 * set the BFH state machine to an appropriate state dependin [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | NetworkPolicyManagerServiceTest.java | 506 NetworkState[] state = null; 518 state = new NetworkState[] { buildWifi() }; 519 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); 531 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); 580 NetworkState[] state = null; 592 state = new NetworkState[] {}; 598 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); 615 state = new NetworkState[] { buildWifi() }; 621 expect(mConnManager.getAllNetworkState()).andReturn(state).atLeastOnce(); 685 expect(mConnManager.getAllNetworkState()).andReturn(state) [all...] |
/frameworks/base/tools/localize/ |
H A D | XMLHandler.cpp | 571 xml_handler_data state; local 572 state.stack.push_back(handler); 573 state.parser = parser; 574 state.filename = filename; 576 XML_SetUserData(parser, &state); 610 xml_handler_data state; 611 state.stack.push_back(handler); 612 state.parser = parser; 613 state.filename = filename; 615 XML_SetUserData(parser, &state); [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Fragment.java | 161 * 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/widget/ |
H A D | AutoCompleteTextView.java | 617 KeyEvent.DispatcherState state = getKeyDispatcherState(); 618 if (state != null) { 619 state.startTracking(event, this); 623 KeyEvent.DispatcherState state = getKeyDispatcherState(); 624 if (state != null) { 625 state.handleUpEvent(event);
|
H A D | ListPopupWindow.java | 938 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState(); 939 if (state != null) { 940 state.startTracking(event, this); 944 KeyEvent.DispatcherState state = anchorView.getKeyDispatcherState(); 945 if (state != null) { 946 state.handleUpEvent(event); 1184 * <p>Returns the focus state in the drop down.</p> 1194 * <p>Returns the focus state in the drop down.</p> 1204 * <p>Returns the focus state in the drop down.</p>
|
/frameworks/base/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 83 if (lhs.state.surface < rhs.state.surface) return -1; 84 if (lhs.state.surface > rhs.state.surface) return 1; 167 s.state.surface = id; 176 return &(out[index].state);
|