/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.h | 72 : op(NULL), state(NULL) {} 74 : op(newOp), state(newState) {} 76 : op(other.op), state(other.state) {} 78 const DeferredDisplayState* state; member in class:android::uirenderer::OpStatePair 107 * Adjusts the state of the renderer as necessary, and restores it when complete 129 void tryRecycleState(DeferredDisplayState* state) { argument 130 mAllocator.rewindIfLastAlloc(state, sizeof(DeferredDisplayState));
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | wb_vad.c | 622 * Purpose: Allocates state memory and initializes state memory 627 VadVars ** state, /* i/o : State structure */ 633 if (state == (VadVars **) NULL) 638 *state = NULL; 643 fprintf(stderr, "vad_init: can not malloc state structure\n"); 648 *state = s; 656 * Purpose: Initializes state memory 661 VadVars * state /* i/o : State structure */ 666 if (state 626 wb_vad_init( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument 715 wb_vad_exit( VadVars ** state, VO_MEM_OPERATOR *pMemOP ) argument [all...] |
/frameworks/support/v13/java/android/support/v13/app/ |
H A D | FragmentStatePagerAdapter.java | 35 * saving and restoring of fragment's state. 40 * state of that fragment. This allows the pager to hold on to much less 96 // from its saved state, where the fragment manager has already 178 Bundle state = null; 180 state = new Bundle(); 183 state.putParcelableArray("states", fss); 188 if (state == null) { 189 state = new Bundle(); 192 mFragmentManager.putFragment(state, key, f); 195 return state; 199 restoreState(Parcelable state, ClassLoader loader) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentStatePagerAdapter.java | 31 * saving and restoring of fragment's state. 36 * state of that fragment. This allows the pager to hold on to much less 92 // from its saved state, where the fragment manager has already 174 Bundle state = null; 176 state = new Bundle(); 179 state.putParcelableArray("states", fss); 184 if (state == null) { 185 state = new Bundle(); 188 mFragmentManager.putFragment(state, key, f); 191 return state; 195 restoreState(Parcelable state, ClassLoader loader) argument [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | Connection.java | 166 int state = SEND; 168 while (state != DONE) { 170 states[state] + " pipe " + pipe.size()); 182 switch (state) { 185 state = READ; 196 state = DRAIN; 219 state = DONE; 253 state = clearPipe(pipe) ? DONE : SEND; 259 if (!mCanPersist) state = READ; 267 if (state ! [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DirectoryFragment.java | 240 final State state = getDisplayState(DirectoryFragment.this); 252 MimePredicate.VISUAL_MIMES, state.acceptMimes); 271 if (state.action == ACTION_MANAGE) { 275 context, mType, root, doc, contentsUri, state.userSortOrder); 279 if (state.action == ACTION_MANAGE) { 283 context, mType, root, doc, contentsUri, state.userSortOrder); 286 return new RecentLoader(context, roots, state); 298 // Push latest state up to UI 301 state.derivedMode = result.mode; 303 state [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
H A D | Connection.java | 44 * Implementations are then responsible for updating the state of the {@code Connection}, and 71 public void onStateChanged(Connection c, int state) {} argument 518 * @return The state of this Connection. 525 * Returns the video state of the call. 531 * @return The video state of the call. 539 * @return The audio state of the call, describing how its audio is currently 541 * does not directly know about its audio state. 578 * Assign a listener to be notified of state changes. 591 * Remove a previously assigned listener that was being notified of state changes. 613 * Inform this Connection that the state o 618 setAudioState(AudioState state) argument 628 stateToString(int state) argument 947 onAudioStateChanged(AudioState state) argument 955 onStateChanged(int state) argument 1057 setState(int state) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | TransitionDrawable.java | 60 * The current state of the transition. One of {@link #TRANSITION_STARTING}, 92 private TransitionDrawable(TransitionState state, Resources res, Theme theme) { argument 93 super(state, res, theme); 96 private TransitionDrawable(TransitionState state, Drawable[] layers) { argument 97 super(layers, state); 101 LayerState createConstantState(LayerState state, Resources res) { argument 102 return new TransitionState((TransitionState) state, this, res);
|
/frameworks/base/media/java/android/media/ |
H A D | RemoteController.java | 170 * Called whenever the playback state has changed. 173 * @param state one of the playback states authorized 176 public void onClientPlaybackStateUpdate(int state); argument 178 * Called whenever the playback state has changed, and playback position 180 * @param state one of the playback states authorized 182 * @param stateChangeTimeMs the system time at which the state change was reported, 188 * playing (e.g. when state is {@link RemoteControlClient#PLAYSTATE_ERROR}). 190 public void onClientPlaybackStateUpdate(int state, long stateChangeTimeMs, argument 231 * The time returned by this method is calculated from the last state change time based 246 PlaybackState state 586 setPlaybackState(int genId, int state, long stateChangeTimeMs, long currentPosMs, float speed) argument 699 onPlaybackStateChanged(PlaybackState state) argument 1011 onNewPlaybackState(PlaybackState state) argument 1062 PlaybackInfo(int state, long stateChangeTimeMs, long currentPosMs, float speed) argument [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiCecFeatureAction.java | 35 * state as the process progresses, and if necessary, returns the result to the caller which 50 // Default state used in common by all the feature actions. 53 // Internal state indicating the progress of action. 100 * @param state the state associated with the time when the timer was created 102 abstract void handleTimerEvent(int state); argument 111 * Also carries the state of the action when the timer is created. Later this state is 115 * @param state state o 118 sendTimerMessage(int state, long delayMillis) argument 133 sendTimerMessage(int state, long delayMillis) argument 162 addTimer(int state, int delayMillis) argument [all...] |
H A D | OneTouchPlayAction.java | 37 // if the TV is brought of out standby state. 111 void handleTimerEvent(int state) { argument 112 if (mState != state) { 115 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
|
H A D | OneTouchRecordAction.java | 102 // If recording started successfully, change state and keep this action until <Record Off> 120 void handleTimerEvent(int state) { argument 121 if (mState != state) { 122 Slog.w(TAG, "Timeout in invalid state:[Expected:" + mState + ", Actual:" + state + "]");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 132 public AppState AppStateFromRILInt(int state) { argument 135 switch(state) { 144 loge("AppStateFromRILInt: bad state: " + state + " use APPSTATE_UNKNOWN"); 186 public PinState PinStateFromRILInt(int state) { argument 188 switch(state) { 209 loge("PinStateFromRILInt: bad pin state: " + state + " use PINSTATE_UNKNOWN");
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | KeyEventCompat.java | 37 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument 112 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument 135 public boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument 137 return KeyEventCompatEclair.dispatch(event, receiver, state, target); 207 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument 209 return IMPL.dispatch(event, receiver, state, target);
|
/frameworks/base/core/java/android/app/ |
H A D | TabActivity.java | 83 protected void onRestoreInstanceState(Bundle state) { argument 84 super.onRestoreInstanceState(state); 86 String cur = state.getString("currentTab"); 120 * Updates the screen state (current list and other views) when the
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewLayoutTest.java | 267 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { 279 if (state.mOldChangedHolders != null) { 280 for (int i = state.mOldChangedHolders.size() - 1; i >= 0; i--) { 283 state.mOldChangedHolders.valueAt(i).itemView); 286 state.mOldChangedHolders.valueAt(i).itemView, recycler); 292 state.mPreLayoutHolderMap.size()); 294 state.mPostLayoutHolderMap.size()); 295 if (state.mOldChangedHolders != null) { 297 state.mOldChangedHolders.size()); 306 super.onLayoutChildren(recycler, state); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | bgnscd.cpp | 91 state = points to memory of type Bgn_scdState. 94 The memory of type Bgn_scdState pointed to by state is set to all 110 Resets state memory. 125 Word16 Bgn_scd_reset (Bgn_scdState *state) 127 if (state == (Bgn_scdState *) NULL){ 133 Set_zero (state->frameEnergyHist, L_ENERGYHIST); 136 state->bgHangover = 0; 164 Word16 Bgn_scd_reset(Bgn_scdState *state) argument 166 if (state == (Bgn_scdState *) NULL) 173 memset(state [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | p_ol_wgh.cpp | 110 state = pointer to a pointer of structure type pitchOLWghtState 128 This function allocates state memory and initializes state memory 143 int p_ol_wgh_init (pitchOLWghtState **state) 147 if (state == (pitchOLWghtState **) NULL){ 151 *state = NULL; 155 // fprintf(stderr, "p_ol_wgh_init: can not malloc state structure\n"); 161 *state = s; 189 Word16 p_ol_wgh_init(pitchOLWghtState **state) argument 193 if (state 391 p_ol_wgh_exit(pitchOLWghtState **state) argument [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHeadsetClientCall.java | 23 * This class represents a single call, its state and properties. 29 /* Call state */ 35 * Call is in held state. 51 * Waiting call state when there is already an active call. 73 public BluetoothHeadsetClientCall(int id, int state, String number, boolean multiParty, argument 76 mState = state; 83 * Sets call's state. 87 * @param state new call state. 89 public void setState(int state) { argument [all...] |
/frameworks/base/core/java/com/android/internal/preference/ |
H A D | YesNoPreference.java | 103 // No need to save instance state since it's persistent 113 protected void onRestoreInstanceState(Parcelable state) { argument 114 if (!state.getClass().equals(SavedState.class)) { 115 // Didn't save state for us in onSaveInstanceState 116 super.onRestoreInstanceState(state); 120 SavedState myState = (SavedState) state;
|
/frameworks/base/include/storage/ |
H A D | IObbActionListener.h | 32 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) = 0;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaRecorderStateUnitTestTemplate.java | 65 * Calls method under test in the given state of the MediaRecorder object. 67 * @param state the MediaRecorder state in which the method under test is called. 69 private void callMediaRecorderMethodUnderTestInState(MediaRecorderStateErrors.MediaRecorderState state) { argument 70 Log.v(TAG, "call " + mMethodUnderTest + ": started in state " + state); 71 setMediaRecorderToState(state); 77 Log.v(TAG, "call " + mMethodUnderTest + ": ended in state " + state); 82 * object to the corresponding state, give 215 setMediaRecorderToState(MediaRecorderStateErrors.MediaRecorderState state) argument 251 setStateError(MediaRecorderStateErrors.MediaRecorderState state, boolean error) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSimPukView.java | 54 private int state = ENTER_PUK; field in class:KeyguardSimPukView.StateMachine 58 if (state == ENTER_PUK) { 60 state = ENTER_PIN; 65 } else if (state == ENTER_PIN) { 67 state = CONFIRM_PIN; 72 } else if (state == CONFIRM_PIN) { 74 state = DONE; 78 state = ENTER_PIN; // try again? 91 state = ENTER_PUK;
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintProgressFragment.java | 36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | CastController.java | 42 public int state = STATE_DISCONNECTED; field in class:CastController.CastDevice
|