Searched refs:state (Results 76 - 100 of 559) sorted by relevance

1234567891011>>

/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DBarController.java34 * Controls state/behavior specific to a system bar window.
131 final int state = computeStateLw(wasVis, wasAnim, mWin, change);
132 updateStateLw(state);
153 private void updateStateLw(final int state) { argument
154 if (state != mState) {
155 mState = state;
156 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state));
163 statusbar.setWindowState(mStatusBarManagerId, state);
166 if (DEBUG) Slog.w(mTag, "Error posting window state", e);
230 private void setTransientBarState(int state) { argument
250 transientBarStateToString(int state) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDefaultPhoneNotifier.java111 PhoneConstants.DataState state) {
112 doNotifyDataConnection(sender, reason, apnType, state);
116 PhoneConstants.DataState state) {
125 if (state == PhoneConstants.DataState.CONNECTED) {
134 convertDataState(state),
190 public static int convertCallState(PhoneConstants.State state) { argument
191 switch (state) {
205 public static PhoneConstants.State convertCallState(int state) { argument
206 switch (state) {
220 public static int convertDataState(PhoneConstants.DataState state) { argument
110 notifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
115 doNotifyDataConnection(Phone sender, String reason, String apnType, PhoneConstants.DataState state) argument
237 convertDataState(int state) argument
254 convertDataActivityState(Phone.DataActivityState state) argument
273 convertDataActivityState(int state) argument
[all...]
H A DDriverCall.java36 // 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);
/frameworks/wilhelm/src/itf/
H A DIObject.c35 SLuint8 state; local
37 // check object state
39 state = thiz->mState;
40 switch (state) {
49 state = SL_RESULT_SUCCESS == result ? SL_OBJECT_STATE_REALIZED :
53 state = SL_OBJECT_STATE_REALIZED;
59 state = SL_OBJECT_STATE_UNREALIZED;
69 // mutex is locked, update state
70 thiz->mState = state;
79 (*callback)(&thiz->mItf, context, SL_OBJECT_EVENT_ASYNC_TERMINATION, result, state, NUL
89 SLuint8 state; local
178 SLuint8 state; local
233 SLuint8 state; local
293 SLuint8 state = thiz->mState; local
589 SLuint32 state = *--interfaceStateP; local
[all...]
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
128 SLBufferQueueState state; local
131 state.count = thiz->mState.count;
132 state
[all...]
/frameworks/base/core/java/android/net/
H A DINetworkPolicyManager.aidl53 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state);
54 boolean isNetworkMetered(in NetworkState state);
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBar.aidl30 void disable(int state);
41 void setWindowState(int window, int state);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIPhoneStateListener.aidl32 void onCallStateChanged(int state, String incomingNumber);
33 void onDataConnectionStateChanged(int state, int networkType);
/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantStateTracker.java35 * Tracks the state changes in supplicant and provides functionality
36 * that is based on these state changes:
92 //start the state machine
107 SupplicantState supState = (SupplicantState) stateChangeResult.state;
109 if (DBG) Log.d(TAG, "Supplicant state: " + supState.toString() + "\n");
142 Log.e(TAG, "Unknown supplicant state " + supState);
147 private void sendSupplicantStateChangedBroadcast(SupplicantState state, boolean failedAuth) { argument
151 intent.putExtra(WifiManager.EXTRA_NEW_STATE, (Parcelable) state);
179 SupplicantState state = stateChangeResult.state;
[all...]
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.h8 unsigned long state[5]; member in struct:__anon1247
/frameworks/rs/
H A DrsMesh.h54 State state; member in struct:android::renderscript::Mesh::Hal
69 mHal.state.vertexBuffers[index] = vb;
74 mHal.state.indexBuffers[index] = idx;
75 mHal.state.primitives[index] = prim;
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 DrsProgramVertex.cpp38 void ProgramVertex::setup(Context *rsc, ProgramVertexState *state) { argument
39 if ((state->mLast.get() == this) && !mDirty) {
44 if (mHal.state.constants[0] == NULL) {
50 rsc, mHal.state.constants[0]));
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 state->mLast.set(this);
73 if (mHal.state.constants[0] == NULL) {
79 rsc, mHal.state.constants[0]));
82 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
91 if (mHal.state
[all...]
H A DrsProgramFragment.cpp47 if (mHal.state.constants[0] == NULL) {
56 void *p = rsc->mHal.funcs.allocation.lock1D(rsc, mHal.state.constants[0]);
59 rsc->mHal.funcs.allocation.unlock1D(rsc, mHal.state.constants[0]);
62 void ProgramFragment::setup(Context *rsc, ProgramFragmentState *state) { argument
63 if ((state->mLast.get() == this) && !mDirty) {
66 state->mLast.set(this);
68 for (uint32_t ct=0; ct < mHal.state.texturesCount; ct++) {
69 if (!mHal.state.textures[ct]) {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DColorDrawable.java60 private ColorDrawable(ColorState state) { argument
61 mState = new ColorState(state);
184 ColorState(ColorState state) { argument
185 if (state != null) {
186 mBaseColor = state.mBaseColor;
187 mUseColor = state.mUseColor;
188 mChangingConfigurations = state.mChangingConfigurations;
/frameworks/rs/driver/
H A DrsdAllocation.cpp99 ptr += xoff * alloc->mHal.state.elementSizeBytes;
114 if (alloc->mHal.state.hasFaces) {
130 if (alloc->mHal.state.hasFaces) {
136 for (uint32_t lod = 0; lod < alloc->mHal.state.type->getLODCount(); lod++) {
140 if (alloc->mHal.state.hasFaces) {
146 alloc->mHal.state.type->getLODDimX(lod),
147 alloc->mHal.state.type->getLODDimY(lod),
151 alloc->mHal.state.type->getLODDimX(lod),
152 alloc->mHal.state.type->getLODDimY(lod),
158 if (alloc->mHal.state
255 DeriveYUVLayout(int yuv, Allocation::Hal::DrvState *state) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGeofenceState.java25 * Represents state associated with a geofence
43 int mState; // current state
101 String state;
104 state = "IN";
107 state = "OUT";
110 state = "?";
112 return String.format("%s d=%.0f %s", mFence.toString(), mDistanceToCenter, state);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateListener.java32 * A camera device listener that implements blocking operations on state changes.
34 * <p>Provides wait calls that block until the next unobserved state of the
55 private void setCurrentState(int state) { argument
56 if (VERBOSE) Log.v(TAG, "Camera device state now " + stateToString(state));
58 mRecentStates.put(state);
60 throw new RuntimeException("Unable to set device state", e);
77 * Device has not reported any state yet
82 * Device is in the first-opened state (transitory)
183 * Wait until the desired state i
193 waitForState(int state, long timeout) argument
260 stateToString(int state) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Ddec_amr.cpp117 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 Dandroid_view_VelocityTracker.cpp151 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/native/libs/input/
H A DVelocityTracker.cpp228 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 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/base/core/java/android/preference/
H A DPreferenceScreen.java159 private void showDialog(Bundle state) { argument
182 if (state != null) {
183 dialog.onRestoreInstanceState(state);
238 protected void onRestoreInstanceState(Parcelable state) { argument
239 if (state == null || !state.getClass().equals(SavedState.class)) {
240 // Didn't save state for us in onSaveInstanceState
241 super.onRestoreInstanceState(state);
245 SavedState myState = (SavedState) state;
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DTestedActivity.java37 protected void onRestoreInstanceState(Bundle state) argument
39 super.onRestoreInstanceState(state);
/frameworks/base/tools/layoutlib/bridge/src/com/google/android/maps/
H A DMapView.java112 public void onSaveInstanceState(Bundle state) { argument
115 public void onRestoreInstanceState(Bundle state) { argument

Completed in 1852 milliseconds

1234567891011>>