/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 117 state = pointer to a pointer to structures of type Decoder_amrState 120 structure pointed to by the pointer which is pointed to by state is 123 state pointer points to the address of the memory allocated by 138 This function allocates and initializes state memory used by the Decoder_amr 139 function. It stores the pointer to the filter status structure in state. This 156 int Decoder_amr_init (Decoder_amrState **state) 161 if (state == (Decoder_amrState **) NULL){ 165 *state = NULL; 169 fprintf(stderr, "Decoder_amr_init: can not malloc state structure\n"); 200 *state 395 Decoder_amr_reset(Decoder_amrState *state, enum Mode mode) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_VelocityTracker.cpp | 151 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 152 delete state; 156 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 157 state->clear(); 168 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 169 state->addMovement(event); 174 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 175 state->computeCurrentVelocity(units, maxVelocity); 180 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 182 state 188 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local 196 VelocityTrackerState* state = reinterpret_cast<VelocityTrackerState*>(ptr); local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | ITelephonyRegistry.aidl | 40 void notifyCallState(int state, String incomingNumber); 41 void notifyCallStateForSubscriber(in int subId, int state, String incomingNumber); 42 void notifyServiceStateForPhoneId(in int phoneId, in int subId, in ServiceState state); 48 void notifyDataActivity(int state); 49 void notifyDataActivityForSubscriber(in int subId, int state); 50 void notifyDataConnection(int state, boolean isDataConnectivityPossible, 53 void notifyDataConnectionForSubscriber(int subId, int state, boolean isDataConnectivityPossible,
|
H A D | IccCardConstants.java | 27 /* UNKNOWN means the ICC state is unknown */ 37 //TODO: we can remove this state in the future if Bug 18489776 analysis 62 * UNKNOWN is a transient state, for example, after user inputs ICC pin under 63 * PIN_REQUIRED state, the query for ICC status returns UNKNOWN before it 89 public static State intToState(int state) throws IllegalArgumentException { argument 90 switch(state) {
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | RecyclerViewAnimationsTest.java | 119 AnimationLayoutManager lm, RecyclerView.State state) { 127 RecyclerView.State state) { 185 RecyclerView.State state) { 186 super.afterPreLayout(recycler, layoutManager, state); 198 RecyclerView.State state) { 199 super.afterPostLayout(recycler, layoutManager, state); 285 RecyclerView.State state) { 299 AnimationLayoutManager layoutManager, RecyclerView.State state) { 310 super.beforePostLayout(recycler, layoutManager, state); 547 RecyclerView.State state) { 730 findByPos(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int position) argument 742 collectPositions(RecyclerView recyclerView, RecyclerView.Recycler recycler, RecyclerView.State state, int... positions) argument 900 prepareLog(RecyclerView.Recycler recycler, RecyclerView.State state, boolean done) argument 931 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument 948 validateClearedOldPositions(RecyclerView.Recycler recycler, RecyclerView.State state) argument 961 validateOldPositions(RecyclerView.Recycler recycler, RecyclerView.State state) argument 984 scrollVerticallyBy(int dy, RecyclerView.Recycler recycler, RecyclerView.State state) argument 1028 beforePreLayout(RecyclerView.Recycler recycler, AnimationLayoutManager lm, RecyclerView.State state) argument 1039 doLayout(RecyclerView.Recycler recycler, AnimationLayoutManager lm, RecyclerView.State state) argument 1075 onLayoutChildren(RecyclerView.Recycler recycler, AnimationLayoutManager lm, RecyclerView.State state) argument 1104 afterPreLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, RecyclerView.State state) argument 1108 beforePostLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, RecyclerView.State state) argument 1112 afterPostLayout(RecyclerView.Recycler recycler, AnimationLayoutManager layoutManager, RecyclerView.State state) argument 1119 onScroll(int dx, RecyclerView.Recycler recycler, RecyclerView.State state) argument 1370 validate(RecyclerView.State state, CollectPositionResult result, String log) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SupplicantStateTracker.java | 42 * Tracks the state changes in supplicant and provides functionality 43 * that is based on these state changes: 113 //start the state machine 134 SupplicantState supState = (SupplicantState) stateChangeResult.state; 136 if (DBG) Log.d(TAG, "Supplicant state: " + supState.toString() + "\n"); 169 Log.e(TAG, "Unknown supplicant state " + supState); 174 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { argument 176 switch (state) { 193 Slog.w(TAG, "Unknown supplicant state " + state); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DriverCall.java | 36 // If you add a state, make sure to look for the switch() 42 public State state; // May be null if unavail field in class:DriverCall 60 // index,isMT,state,mode,isMpty(,number,TOA)? 66 ret.state = stateFromCLCC(p.nextInt()); 108 + state + "," 120 stateFromCLCC(int state) throws ATParseEx { argument 121 switch(state) { 129 throw new ATParseEx("illegal call state " + state);
|
H A D | DefaultPhoneNotifier.java | 153 PhoneConstants.DataState state) { 154 doNotifyDataConnection(sender, reason, apnType, state); 158 PhoneConstants.DataState state) { 171 if (state == PhoneConstants.DataState.CONNECTED) { 181 convertDataState(state), 315 public static int convertCallState(PhoneConstants.State state) { argument 316 switch (state) { 330 public static PhoneConstants.State convertCallState(int state) { argument 331 switch (state) { 345 public static int convertDataState(PhoneConstants.DataState state) { argument 152 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 157 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument 362 convertDataState(int state) argument 379 convertDataActivityState(Phone.DataActivityState state) argument 398 convertDataActivityState(int state) argument 417 convertPreciseCallState(Call.State state) argument 444 convertPreciseCallState(int state) argument 468 onDataStateChanged(int subId, String state, String reason, String apnName, String apnType, boolean unavailable) argument [all...] |
/frameworks/native/libs/input/ |
H A D | VelocityTracker.cpp | 228 ALOGD("VelocityTracker: stopped for %0.3f ms, clearing state.", 715 State& state = mPointerState[id]; local 718 updateState(state, eventTime, position.x, position.y); 720 initState(state, eventTime, position.x, position.y); 732 const State& state = mPointerState[id]; local 733 populateEstimator(state, outEstimator); 740 void IntegratingVelocityTrackerStrategy::initState(State& state, argument 742 state.updateTime = eventTime; 743 state.degree = 0; 745 state 753 updateState(State& state, nsecs_t eventTime, float xpos, float ypos) const argument 795 populateEstimator(const State& state, VelocityTracker::Estimator* outEstimator) const argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | levinson.cpp | 91 state = pointer to an array of pointers to structures of type 95 pointer pointed to by state points to the newly allocated memory to 110 This function allocates and initializes the state memory used by the 126 int Levinson_init (LevinsonState **state) 130 if (state == (LevinsonState **) NULL){ 134 *state = NULL; 138 //fprint(stderr, "Levinson_init: can not malloc state structure\n"); 143 *state = s; 171 Word16 Levinson_init(LevinsonState **state) argument 175 if (state 279 Levinson_reset(LevinsonState *state) argument 375 Levinson_exit(LevinsonState **state) argument [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | OnePlayerActivity.java | 143 final int state = mPlaybackState.getState(); 146 Log.d(TAG, "Play button pressed, in state " + state); 147 if (state == PlaybackState.STATE_PAUSED 148 || state == PlaybackState.STATE_STOPPED) { 150 } else if (state == PlaybackState.STATE_PLAYING) { 155 Log.d(TAG, "Start button pressed, in state " + state); 177 public void onPlaybackStateChange(PlaybackState state) { 178 mPlaybackState = state; [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 101 RecyclerView.State state) { 105 if (state.getItemCount() < 1) { 108 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1); 113 RecyclerView.State state) { 117 if (state.getItemCount() < 1) { 120 return getSpanGroupIndex(recycler, state, state.getItemCount() - 1); 125 RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) { 132 int spanGroupIndex = getSpanGroupIndex(recycler, state, gl 100 getRowCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument 112 getColumnCountForAccessibility(RecyclerView.Recycler recycler, RecyclerView.State state) argument 124 onInitializeAccessibilityNodeInfoForItem(RecyclerView.Recycler recycler, RecyclerView.State state, View host, AccessibilityNodeInfoCompat info) argument 147 onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) argument 253 onAnchorReady(RecyclerView.State state, AnchorInfo anchorInfo) argument 272 getSpanGroupIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int viewPosition) argument 289 getSpanIndex(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) argument 310 getSpanSize(RecyclerView.Recycler recycler, RecyclerView.State state, int pos) argument 332 layoutChunk(RecyclerView.Recycler recycler, RecyclerView.State state, LayoutState layoutState, LayoutChunkResult result) argument 500 assignSpans(RecyclerView.Recycler recycler, RecyclerView.State state, int count, int consumedSpanCount, boolean layingOutInPrimaryDirection) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 146 private boolean mGradientIsDirty; // internal state 258 * <p>Set the stroke width and color state list for the drawable. If width 265 * @param colorStateList The color state list of the stroke 295 * <p>Set the stroke width and color state list for the drawable. If width 303 * @param colorStateList The color state list of the stroke 723 * Changes this drawable to use a single color state list instead of a 732 * @param colorStateList The color state list used to fill the shape 1028 final GradientState state = mGradientState; 1029 if (state == null) { 1033 if (state 1585 GradientState(GradientState state) argument 1754 GradientDrawable(GradientState state) argument 1763 initializeWithState(GradientState state) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkIdentity.java | 158 public static NetworkIdentity buildNetworkIdentity(Context context, NetworkState state) { argument 159 final int type = state.networkInfo.getType(); 160 final int subType = state.networkInfo.getSubtype(); 167 if (state.subscriberId == null) { 171 subscriberId = state.subscriberId; 172 roaming = state.networkInfo.isRoaming(); 175 if (state.networkId != null) { 176 networkId = state.networkId;
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceScreen.java | 158 private void showDialog(Bundle state) { argument 181 if (state != null) { 182 dialog.onRestoreInstanceState(state); 237 protected void onRestoreInstanceState(Parcelable state) { argument 238 if (state == null || !state.getClass().equals(SavedState.class)) { 239 // Didn't save state for us in onSaveInstanceState 240 super.onRestoreInstanceState(state); 244 SavedState myState = (SavedState) state;
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | TestedActivity.java | 37 protected void onRestoreInstanceState(Bundle state) argument 39 super.onRestoreInstanceState(state);
|
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/ |
H A D | MapView.java | 112 public void onSaveInstanceState(Bundle state) { argument 115 public void onRestoreInstanceState(Bundle state) { argument
|
/frameworks/rs/ |
H A D | rsProgramFragment.cpp | 48 if (mHal.state.constants[0] == NULL) { 57 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]); 60 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]); 63 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument 64 if ((state->mLast.get() == this) && !mDirty) { 67 state->mLast.set(this); 69 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) { 70 if (!mHal.state.textures[ct]) {
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AHierarchicalStateMachine.cpp | 70 ALOGW("Warning message %s unhandled in root state.", 74 void AHierarchicalStateMachine::changeState(const sp<AState> &state) { argument 75 if (state == mState) { 91 cur = state; 106 mState = state;
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | ConferenceParticipant.java | 24 * Parcelable representation of a participant's state in a conference call. 46 * The state of the participant in the conference. 58 * @param state The state of the participant in the conference. 60 public ConferenceParticipant(Uri handle, String displayName, Uri endpoint, int state) { argument 64 mState = state; 79 int state = source.readInt(); 80 return new ConferenceParticipant(handle, displayName, endpoint, state); 151 * The state of the participant in the conference.
|
/frameworks/webview/chromium/plat_support/ |
H A D | graphics_utils.cpp | 49 state = SkCanvasStateUtils::CaptureCanvasState(canvas); 53 if (state) 54 SkCanvasStateUtils::ReleaseCanvasState(state); 73 if (!pixels->state) {
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityGroup.java | 67 Bundle state = mLocalActivityManager.saveInstanceState(); 68 if (state != null) { 69 outState.putBundle(STATES_KEY, state);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | LegacyVpnInfo.java | 42 public int state = -1; field in class:LegacyVpnInfo 53 out.writeInt(state); 63 info.state = in.readInt(); 75 * Return best matching {@link LegacyVpnInfo} state based on given 89 Log.w(TAG, "Unhandled state " + info.getDetailedState()
|
/frameworks/base/libs/input/ |
H A D | SpriteController.h | 172 /* Describes the state of a sprite. 206 * Requests acquire a lock on the controller, update local state and request the 210 * the sprite state before the work and update the sprite surface control afterwards. 227 return mLocked.state; 231 mLocked.state.dirty = 0; 236 mLocked.state.surfaceControl = surfaceControl; 237 mLocked.state.surfaceWidth = width; 238 mLocked.state.surfaceHeight = height; 239 mLocked.state.surfaceDrawn = drawn; 240 mLocked.state 247 SpriteState state; member in struct:android::SpriteController::SpriteImpl::Locked 256 SpriteUpdate(const sp<SpriteImpl> sprite, const SpriteState& state) argument 261 SpriteState state; member in struct:android::SpriteController::SpriteUpdate [all...] |
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | DevicePowerStatusAction.java | 87 void handleTimerEvent(int state) { argument 88 if (mState != state) { 91 if (state == STATE_WAITING_FOR_REPORT_POWER_STATUS) {
|