Searched defs:state (Results 101 - 125 of 757) sorted by relevance

1234567891011>>

/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantState.java26 * state. This is more fine-grained than most users will be interested in.
31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>.
35 * This state indicates that client is not associated, but is likely to
36 * start looking for an access point. This state is entered when a
44 * This state is entered if the network interface is disabled.
51 * Inactive state (wpa_supplicant disabled).
53 * This state is entered if there are no enabled networks in the
63 * This state is entered when wpa_supplicant starts scanning for a
71 * This state is entered when wpa_supplicant has found a suitable BSS
80 * This state i
169 isValidState(SupplicantState state) argument
175 isHandshakeState(SupplicantState state) argument
198 isConnecting(SupplicantState state) argument
221 isDriverActive(SupplicantState state) argument
[all...]
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DCameraStateHolder.java30 * Construct a new instance of @{link CameraStateHolder} with an initial state.
32 * @param state The initial state.
34 public CameraStateHolder(int state) { argument
35 setState(state);
40 * Change to a new state.
42 * @param state The new state.
44 public synchronized void setState(int state) { argument
45 if (mState != state) {
[all...]
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateWaiter.java31 * Block until a specific state change occurs.
33 * <p>Provides wait calls that block until the next unobserved state of the
58 * Create a new state waiter.
60 * <p>All {@code state}/{@code states} arguments used in other methods must be
72 public void onStateChanged(int state) {
73 queueStateTransition(checkStateInRange(state));
83 * Wait until the desired state is observed, checking all state
84 * transitions since the last time a state was waited on.
86 * <p>Any intermediate state transition
97 waitForState(int state, long timeoutMs) argument
173 getStateName(int state) argument
194 queueStateTransition(int state) argument
204 checkStateInRange(int state) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DGsmCdmaCall.java72 mState = stateFromDCState (dc.state);
75 public void attachFake(Connection conn, State state) { argument
78 mState = state;
118 newState = stateFromDCState(dc.state);
/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/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DRsBrickedBitMask.java47 public RsBrickedBitMask(VrState state) { argument
49 mVolume = state.mVolume;
59 Type.Builder b = new Type.Builder(state.mRs, android.renderscript.Element.U32(state.mRs));
61 mBrick_allocation = Allocation.createTyped(state.mRs, b.create(), Allocation.USAGE_SCRIPT);
63 scriptC_bricked = new ScriptC_bricked(state.mRs);
69 scriptC_bricked.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs));
70 state.mRs.finish();
74 Allocation tmp = Allocation.createTyped(state
[all...]
H A DVrPipline1.java36 public void initBuffers(VrState state) { argument
37 super.initBuffers(state);
55 private void creatOpacityAllocation(VrState state) { argument
56 scriptC_vr.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs));
59 private void creatColorMapAllocation(VrState state) { argument
60 scriptC_vr.set_color_map(state.mMaterial.getColorMapAllocation(state.mRs));
64 public void setupTriangles(VrState state) { argument
65 super.setupTriangles(state);
92 raycast(VrState state) argument
[all...]
/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/design/base/android/support/design/widget/
H A DStateListAnimator.java41 * Associates the given Animation with the provided drawable state specs so that it will be run
42 * when the View's drawable state matches the specs.
44 * @param specs The drawable state specs to match against
56 void setState(int[] state) { argument
61 if (StateSet.stateSetMatches(tuple.mSpecs, state)) {
93 * If there is an animation running for a recent state change, ends it.
/frameworks/support/fragment/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
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/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
100 // from its saved state, where the fragment manager has already
183 Bundle state = null;
185 state = new Bundle();
188 state.putParcelableArray("states", fss);
193 if (state == null) {
194 state = new Bundle();
197 mFragmentManager.putFragment(state, key, f);
200 return state;
204 restoreState(Parcelable state, ClassLoader loader) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DTwilightCalculator.java37 /** Value of {@link #state} if it is currently day */
40 /** Value of {@link #state} if it is currently night */
74 * Current state
76 public int state; field in class:TwilightCalculator
114 state = NIGHT;
119 state = DAY;
131 state = DAY;
133 state = NIGHT;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DDividerItemDecoration.java97 public void onDraw(Canvas c, RecyclerView parent, RecyclerView.State state) { argument
162 RecyclerView.State state) {
161 getItemOffsets(Rect outRect, View view, RecyclerView parent, RecyclerView.State state) argument
H A DLayoutState.java22 * Helper class that keeps temporary state while {LayoutManager} is filling out the empty
89 boolean hasMore(RecyclerView.State state) { argument
90 return mCurrentPosition >= 0 && mCurrentPosition < state.getItemCount();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DRecyclerViewPrefetchTest.java47 public void onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state) { argument
48 super.onLayoutChildren(recycler, state);
54 public void onLayoutCompleted(RecyclerView.State state) { argument
55 super.onLayoutCompleted(state);
65 int gatherPrefetchIndices(int dx, int dy, RecyclerView.State state, int[] outIndices) { argument
/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;
70 // set enqueue attribute if state is PLAYING and the first buffer is enqueued
132 SLBufferQueueState state; local
135 state.count = thiz->mState.count;
136 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:__anon427
126 Decoder_State state; member in struct:__anon428

Completed in 684 milliseconds

1234567891011>>