/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | BitmapDrawable.java | 277 final BitmapState state = mBitmapState; 278 if (state.mPaint.getShader() == null || 279 state.mTileModeX != xmode || state.mTileModeY != ymode) { 280 state.mTileModeX = xmode; 281 state.mTileModeY = ymode; 301 final BitmapState state = mBitmapState; 303 Shader.TileMode tmx = state.mTileModeX; 304 Shader.TileMode tmy = state.mTileModeY; 307 state 473 BitmapDrawable(BitmapState state, Resources res) argument [all...] |
H A D | ShapeDrawable.java | 71 private ShapeDrawable(ShapeState state) { argument 72 mShapeState = new ShapeState(state);
|
/frameworks/base/libs/utils/ |
H A D | CallStack.cpp | 52 stack_crawl_state_t* state = (stack_crawl_state_t*)arg; local 53 if (state->count) { 56 if (state->ignore) { 57 state->ignore--; 59 state->addrs[0] = ip; 60 state->addrs++; 61 state->count--; 71 stack_crawl_state_t state; local 72 state.count = size; 73 state [all...] |
/frameworks/base/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 110 uint32_t state; member in struct:android::__anon407::EqualizerContext 162 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 172 pContext->state = EQUALIZER_STATE_INITIALIZED; 188 pContext->state = EQUALIZER_STATE_UNINITIALIZED; 587 if (pContext->state == EQUALIZER_STATE_UNINITIALIZED) { 590 if (pContext->state == EQUALIZER_STATE_INITIALIZED) { 605 if (pContext == NULL || pContext->state == EQUALIZER_STATE_UNINITIALIZED) { 663 if (pContext->state != EQUALIZER_STATE_INITIALIZED) { 666 pContext->state = EQUALIZER_STATE_ACTIVE; 674 if (pContext->state ! [all...] |
/frameworks/base/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 64 AudioSystem::device_connection_state state, 70 data.writeInt32(static_cast <uint32_t>(state)); 88 virtual status_t setPhoneState(int state) argument 92 data.writeInt32(state); 315 AudioSystem::device_connection_state state = local 319 state, 62 setDeviceConnectionState( AudioSystem::audio_devices device, AudioSystem::device_connection_state state, const char *device_address) argument
|
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/ |
H A D | vad1.cpp | 1254 vadState1 *st, /* i/o : VAD state struct */ 1263 /* adapt speed on own state */ 1267 { /* low state */ 1271 { /* high state */ 1372 vadState1 *st, /* i/o : VAD state struct */ 1578 state -- double pointer to type vadState1 -- pointer to memory to 1582 state -- points to initalized area in memory. 1596 Allocates state memory and initializes state memory 1635 Word16 vad1_init(vadState1 **state) argument 1721 vad1_reset(vadState1 *state) argument 1846 vad1_exit(vadState1 **state) argument [all...] |
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | pitch_fr.cpp | 762 state = pointer to a pointer of structure type Pitch_fr_State. 780 Purpose: Allocates state memory and initializes state memory 795 int Pitch_fr_init (Pitch_frState **state) 799 if (state == (Pitch_frState **) NULL){ 803 *state = NULL; 807 // fprintf(stderr, "Pitch_fr_init: can not malloc state structure\n"); 812 *state = s; 839 Word16 Pitch_fr_init(Pitch_frState **state) argument 843 if (state 942 Pitch_fr_reset(Pitch_frState *state) argument 1034 Pitch_fr_exit(Pitch_frState **state) argument [all...] |
/frameworks/base/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 120 // Transition the node from its current state all the way down 131 OMX_STATETYPE state; local 132 CHECK_EQ(OMX_GetState(mHandle, &state), OMX_ErrorNone); 133 switch (state) { 139 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone 140 && state != OMX_StateIdle 141 && state != OMX_StateInvalid) { 146 if (state == OMX_StateInvalid) { 161 while ((err = OMX_GetState(mHandle, &state)) == OMX_ErrorNone 162 && state ! [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | GlobalActions.java | 92 // get notified of phone state changes 178 // In ECM mode airplane state cannot be changed 366 * A single press action maintains no state, just responds to a press 507 * Implementations may override this if their state can be in on of the intermediate 518 public void updateState(State state) { argument 519 mState = state; 575 intent.putExtra("state", on);
|
H A D | KeyguardUpdateMonitor.java | 191 if (DEBUG) Log.d(TAG, "DEVICE_PROVISIONED state = " + mDeviceProvisioned); 253 String state = intent.getStringExtra(TelephonyManager.EXTRA_STATE); 254 mHandler.sendMessage(mHandler.obtainMessage(MSG_PHONE_STATE_CHANGED, state)); 316 final IccCard.State state = simArgs.simState; 320 + "state resolved to " + state.toString()); 323 if (state != IccCard.State.UNKNOWN && state != mSimState) { 324 mSimState = state; 326 mSimStateCallbacks.get(i).onSimStateChanged(state); 435 onRingerModeChanged(int state) argument [all...] |
H A D | SimUnlockScreen.java | 416 public void onRingerModeChanged(int state) { argument
|
/frameworks/base/services/audioflinger/ |
H A D | A2dpAudioInterface.cpp | 119 status_t A2dpAudioInterface::setMicMute(bool state) argument 121 return mHardwareInterface->setMicMute(state); 124 status_t A2dpAudioInterface::getMicMute(bool* state) argument 126 return mHardwareInterface->getMicMute(state);
|
/frameworks/base/services/java/com/android/server/ |
H A D | TelephonyRegistry.java | 107 // we keep a copy of all of the state so we can send it out when folks 232 public void notifyCallState(int state, String incomingNumber) { argument 237 mCallState = state; 243 r.callback.onCallStateChanged(state, incomingNumber); 250 broadcastCallStateChanged(state, incomingNumber); 253 public void notifyServiceState(ServiceState state) { argument 257 Slog.i(TAG, "notifyServiceState: " + state); 259 mServiceState = state; 263 sendServiceState(r, state); 267 broadcastServiceStateChanged(state); 335 notifyDataActivity(int state) argument 354 notifyDataConnection(int state, boolean isDataConnectivityPossible, String reason, String apn, String[] apnTypes, String interfaceName, int networkType, String gateway) argument 425 sendServiceState(Record r, ServiceState state) argument 485 broadcastServiceStateChanged(ServiceState state) argument 521 broadcastCallStateChanged(int state, String incomingNumber) argument 544 broadcastDataConnectionStateChanged(int state, boolean isDataConnectivityPossible, String reason, String apn, String[] apnTypes, String interfaceName, String gateway) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderProxy.java | 409 public void updateNetworkState(int state, NetworkInfo info) { argument 411 mNetworkState = state; 416 provider.updateNetworkState(state, info);
|
H A D | MockProvider.java | 208 public void updateNetworkState(int state, NetworkInfo info) { argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmCallTracker.java | 85 Phone.State state = Phone.State.IDLE; field in class:GsmCallTracker 172 // note that this triggers call state changed notif 176 throw new CallStateException("cannot dial in current state"); 189 // Fake local state so that 198 throw new CallStateException("cannot dial in current state"); 275 throw new CallStateException("cannot be in the incoming state"); 384 Phone.State oldState = state; 387 state = Phone.State.RINGING; 390 state = Phone.State.OFFHOOK; 392 state [all...] |
/frameworks/base/tools/aapt/ |
H A D | XMLNode.cpp | 551 ParseState state; local 552 state.filename = file->getPrintableSource(); 553 state.parser = parser; 554 XML_SetUserData(parser, &state); 579 if (state.root == NULL) { 583 return state.root;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeXmlBlockParser.java | 89 public void setFeature(String name, boolean state) argument 91 if (FEATURE_PROCESS_NAMESPACES.equals(name) && state) { 94 if (FEATURE_REPORT_NAMESPACE_ATTRIBUTES.equals(name) && state) {
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
H A D | Am.java | 543 int waitControllerLocked(int pid, int state) { argument 600 mState = state;
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.c | 248 static int8_t state = UNINITIALIZED; variable 261 return state; 339 state = UNINITIALIZED; 379 if (state == UNINITIALIZED) { 432 state = NO_ERROR; 442 state = LOCKED; 470 int8_t state; member in struct:action 516 if (action->state && action->state != state) { [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ApplicationThreadNative.java | 125 Bundle state = data.readBundle(); 130 scheduleLaunchActivity(intent, b, ident, info, state, ri, pi, 487 ActivityInfo info, Bundle state, List<ResultInfo> pendingResults, 496 data.writeBundle(state); 486 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ImageView.java | 339 public void setImageState(int[] state, boolean merge) { argument 340 mState = state;
|
H A D | ProgressBar.java | 230 * traverse layer and state list drawables. 882 int[] state = getDrawableState(); 885 mProgressDrawable.setState(state); 889 mIndeterminateDrawable.setState(state); 934 // Force our ancestor class to save its state 945 public void onRestoreInstanceState(Parcelable state) { argument 946 SavedState ss = (SavedState) state;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | HierarchicalStateMachine.java | 31 * A hierarchical state machine is a state machine which processes messages 32 * and can have states arranged hierarchically. A state is a <code>HierarchicalState</code> 36 * cleanup of the state respectively. The <code>getName</code> method returns the 37 * name of the state the default implementation returns the class name it may be 38 * desirable to have this return the name of the state instance name instead. 39 * In particular if a particular state class has multiple instances. 41 * When a state machine is created <code>addState</code> is used to build the 43 * is the initial state. After construction the programmer calls <code>start</code> 44 * which initializes the state machin 487 HierarchicalState state; field in class:HierarchicalStateMachine.HsmHandler.StateInfo 866 addState(HierarchicalState state, HierarchicalState parent) argument 1018 addState(HierarchicalState state, HierarchicalState parent) argument 1040 addState(HierarchicalState state) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 753 protected void onRestoreInstanceState(Parcelable state) { argument 754 SavedState ss = (SavedState) state;
|