Searched defs:state (Results 76 - 100 of 533) sorted by relevance

1234567891011>>

/frameworks/rs/driver/
H A DrsdVertexArray.cpp85 RsdVertexArrayState *state = dc->gl.vertexArrayState; local
89 uint32_t maxAttrs = state->mAttrsEnabledSize;
92 if(state->mAttrsEnabled[ct]) {
94 state->mAttrsEnabled[ct] = false;
108 state->mAttrsEnabled[slot] = true;
/frameworks/rs/
H A DrsProgramRaster.cpp28 mHal.state.pointSprite = pointSprite;
29 mHal.state.cull = cull;
46 void ProgramRaster::setup(const Context *rsc, ProgramRasterState *state) { argument
47 if (state->mLast.get() == this && !mDirty) {
50 state->mLast.set(this);
85 if (existing->mHal.state.pointSprite != pointSprite) continue;
86 if (existing->mHal.state.cull != cull) continue;
H A DrsProgramStore.h56 State state; member in struct:android::renderscript::ProgramStore::Hal
H A DrsSampler.h50 State state; member in struct:android::renderscript::Sampler::Hal
/frameworks/support/v13/java/android/support/v13/app/
H A DFragmentStatePagerAdapter.java35 * 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/api21/android/support/v4/media/session/
H A DPlaybackStateCompatApi21.java51 public static Object newInstance(int state, long position, long bufferedPosition, argument
54 stateObj.setState(state, position, speed, updateTime);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentStatePagerAdapter.java31 * 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/support/v4/jellybean-mr2/android/support/v4/media/session/
H A DMediaSessionCompatApi18.java41 public static void setState(Object rccObj, int state, long position, float speed, argument
44 if (state == MediaSessionCompatApi14.STATE_PLAYING && position > 0) {
54 state = MediaSessionCompatApi14.getRccStateFromState(state);
55 ((RemoteControlClient) rccObj).setPlaybackState(state, position, speed);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLayoutState.java21 * Helper class that keeps temporary state while {LayoutManager} is filling out the empty
72 boolean hasMore(RecyclerView.State state) { argument
73 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount();
/frameworks/wilhelm/src/itf/
H A DIBufferQueue.c22 /** Determine the state of the audio player or audio recorder associated with a buffer queue.
28 SLuint32 state; local
31 state = ((CAudioPlayer *) thiz->mThis)->mPlay.mState;
34 state = ((CAudioRecorder *) thiz->mThis)->mRecord.mState;
39 state = SL_PLAYSTATE_STOPPED;
42 return state;
71 // set enqueue attribute if state is PLAYING and the first buffer is enqueued
129 SLBufferQueueState state; local
132 state.count = thiz->mState.count;
133 state
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dgc_pred.cpp98 state = pointer to a structure of type gc_predState
101 past_qua_en field in the structure pointed to by state is initialized
103 past_qua_en_MR122 field in the structure pointed to by state is
118 This function initializes the state memory used by gc_pred to zero.
133 int gc_pred_reset (gc_predState *state)
137 if (state == (gc_predState *) NULL){
144 state->past_qua_en[i] = MIN_ENERGY;
145 state->past_qua_en_MR122[i] = MIN_ENERGY_MR122;
173 Word16 gc_pred_reset(gc_predState *state) argument
177 if (state
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.h134 Word16 state; member in struct:Decoder_amrState
166 * Purpose : Allocates initializes state memory
175 * Purpose : Resets state memory
H A Dph_disp.cpp52 product of state->prevCbGain and ONFACTPLUS1 in the ph_disp
133 state = pointer to a structure of type ph_dispState
136 Structure pointed to by state is initialized to zeros
165 int ph_disp_reset (ph_dispState *state)
169 if (state == (ph_dispState *) NULL){
175 state->gainMem[i] = 0;
177 state->prevState = 0;
178 state->prevCbGain = 0;
179 state->lockFull = 0;
180 state
208 ph_disp_reset(ph_dispState *state) argument
299 ph_disp_lock(ph_dispState *state) argument
376 ph_disp_release(ph_dispState *state) argument
654 ph_disp( ph_dispState *state, enum Mode mode, Word16 x[], Word16 cbGain, Word16 ltpGain, Word16 inno[], Word16 pitch_fac, Word16 tmp_shift, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcl_ltp.cpp127 state = Pointer to a pointer to a clLtpState structure
130 state points to the newly created clLtpState structure.
144 Allocates state memory and initializes state memory
159 int cl_ltp_init (clLtpState **state)
163 if (state == (clLtpState **) NULL){
167 *state = NULL;
171 fprintf(stderr, "cl_ltp_init: can not malloc state structure\n");
175 // init the sub state
183 *state
212 cl_ltp_init(clLtpState **state) argument
319 cl_ltp_reset(clLtpState *state) argument
414 cl_ltp_exit(clLtpState **state) argument
[all...]
H A Dgain_q.cpp135 Allocates state memory and initializes state memory
174 Word16 gainQuant_init(gainQuantState **state) argument
178 if (state == (gainQuantState **) NULL)
183 *state = NULL;
188 /* fprintf(stderr, "gainQuant_init: can not malloc state structure\n"); */
206 *state = s;
236 Initializes state memory to zero
274 Word16 gainQuant_reset(gainQuantState *state) argument
277 if (state
361 gainQuant_exit(gainQuantState **state) argument
[all...]
H A Dlevinson.cpp91 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/av/media/libstagefright/codecs/amrwb/src/
H A De_pv_amrwbdec.h117 int16 state; member in struct:__anon391
126 Decoder_State state; member in struct:__anon392
/frameworks/av/services/camera/libcameraservice/device3/
H A DStatusTracker.cpp91 void StatusTracker::markComponent(int id, ComponentState state, argument
94 state == IDLE ? "idle" : "active");
99 state,
138 // Wait for state updates
147 ALOGE("%s: Error waiting on state changes: %s (%d)",
164 // Collect all pending state updates and see if the device
170 // Only collect changes to overall device state
173 // For each pending component state update, check if we've transitioned
174 // to a new overall device state
180 // Update single component state
[all...]
/frameworks/base/cmds/media/src/com/android/commands/media/
H A DMedia.java194 public void onPlaybackStateChanged(PlaybackState state) { argument
195 System.out.println("onPlaybackStateChanged " + state);
/frameworks/base/core/java/android/animation/
H A DStateListAnimator.java28 * drawable state.
75 * Associates the given animator with the provided drawable state specs so that it will be run
76 * when the View's drawable state matches the specs.
78 * @param specs The drawable state specs to match against
89 * Returns the current {@link android.animation.Animator} which is started because of a state
154 throw new AssertionError("cannot clone state list animator", e);
162 public void setState(int[] state) { argument
167 if (StateSet.stateSetMatches(tuple.mSpecs, state)) {
205 * If there is an animation running for a recent state change, ends it.
255 * Return a {@link android.content.res.ConstantState} instance that holds the shared state o
[all...]
/frameworks/base/core/java/android/app/
H A DExpandableListActivity.java204 protected void onRestoreInstanceState(Bundle state) { argument
206 super.onRestoreInstanceState(state);
210 * Updates the screen state (current list and other views) when the
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dpSink.java46 * Intent used to broadcast the change in connection state of the A2DP Sink
51 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
52 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile.</li>
67 * Intent used to broadcast the change in the Playing state of the A2DP Sink
72 * <li> {@link #EXTRA_STATE} - The current state of the profile. </li>
73 * <li> {@link #EXTRA_PREVIOUS_STATE}- The previous state of the profile. </li>
87 * A2DP sink device is streaming music. This state can be one of
94 * A2DP sink device is NOT streaming music. This state can be one of
101 * Intent used to broadcast the change in the Playing state of the A2DP Sink
227 * connection state inten
379 stateToString(int state) argument
[all...]
H A DBluetoothHeadsetClientCall.java23 * 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/android/content/res/
H A DColorStateList.java41 * Lets you map {@link android.view.View} state sets to colors.
56 * This defines a set of state spec / color pairs where each state spec specifies a set of
58 * with that spec. The list of state specs will be processed in order of the items in the XML file.
59 * An item with no state spec is considered to match any set of states and is generally useful as
139 * @return A color state list for the current tag.
259 * Indicates whether this color state list contains more than one state spec
260 * and will change color based on state.
262 * @return True if this color state lis
350 addFirstIfMissing( ColorStateList colorStateList, int state, int color) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DGLThreadManager.java138 * @param state {@link CameraDeviceState} to use for error handling.
140 public GLThreadManager(int cameraId, int facing, CameraDeviceState state) { argument
144 mDeviceState = state;

Completed in 249 milliseconds

1234567891011>>