/frameworks/base/services/core/java/com/android/server/location/ |
H A D | GeofenceManager.java | 126 GeofenceState state = new GeofenceState(geofence, 138 mFences.add(state); 151 GeofenceState state = iter.next(); 152 if (state.mIntent.equals(intent)) { 159 if (fence.equals(state.mFence)) { 177 GeofenceState state = iter.next(); 178 if (state.mPackageName.equals(packageName)) { 190 GeofenceState state = iter.next(); 191 if (state.mExpireAt < time) { 258 for (GeofenceState state [all...] |
H A D | GeofenceState.java | 25 * 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/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 226 final ShapeState state = mShapeState; 227 final Paint paint = state.mPaint; 230 paint.setAlpha(modulateAlpha(prevAlpha, state.mAlpha)); 242 if (state.mShape != null) { 247 onDraw(state.mShape, canvas, paint); 339 final ShapeState state = mShapeState; 340 if (state.mTint != null && state.mTintMode != null) { 341 mTintFilter = updateTintFilter(mTintFilter, state.mTint, state 576 ShapeDrawable(ShapeState state, Resources res) argument 587 initializeWithState(ShapeState state, Resources res) argument [all...] |
H A D | AnimatedRotateDrawable.java | 64 final AnimatedRotateState state = mState; 65 mIncrement = 360.0f / state.mFramesCount; 66 final Drawable drawable = state.mDrawable; 241 protected boolean onStateChange(int[] state) { argument 242 return mState.mDrawable.setState(state); 282 final AnimatedRotateState state = mState; 283 if (state == null) { 287 if (state.mThemeAttrs != null) { 289 state.mThemeAttrs, R.styleable.AnimatedRotateDrawable); 300 if (state [all...] |
H A D | ScaleDrawable.java | 113 final ScaleState state = mState; 114 if (state == null) { 118 if (state.mThemeAttrs != null) { 119 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ScaleDrawable); 130 if (state.mDrawable != null && state.mDrawable.canApplyTheme()) { 131 state.mDrawable.applyTheme(t); 165 final ScaleState state = mState; 168 state.mChangingConfigurations |= a.getChangingConfigurations(); 171 state 276 onStateChange(int[] state) argument 428 ScaleDrawable(ScaleState state, Resources res) argument [all...] |
H A D | ClipDrawable.java | 128 final ClipState state = mState; 131 state.mChangingConfigurations |= a.getChangingConfigurations(); 134 state.mThemeAttrs = a.extractThemeAttrs(); 136 state.mOrientation = a.getInt(R.styleable.ClipDrawable_clipOrientation, state.mOrientation); 137 state.mGravity = a.getInt(R.styleable.ClipDrawable_gravity, state.mGravity); 141 state.mDrawable = dr; 150 final ClipState state = mState; 151 if (state 258 onStateChange(int[] state) argument 411 ClipDrawable(ClipState state, Resources res) argument [all...] |
H A D | RotateDrawable.java | 62 * Create a new rotating drawable with an empty state. 69 * Create a new rotating drawable with the specified state. A copy of 70 * this state is used as the internal state for the newly created 73 * @param rotateState the state for this drawable 361 protected boolean onStateChange(int[] state) { argument 362 final boolean changed = mState.mDrawable.setState(state); 425 final RotateState state = mState; 426 if (state == null) { 430 if (state [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IObject.c | 35 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 D | IBufferQueue.c | 22 /** 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/include/soundtrigger/ |
H A D | SoundTriggerCallback.h | 36 virtual void onServiceStateChange(sound_trigger_service_state_t state) = 0;
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 44 } state; typedef in class:android::AudioResamplerCubic 50 static inline int32_t interp(state* p, int32_t x) { 53 static inline void advance(state* p, int16_t in) { 62 state left, right;
|
/frameworks/base/core/java/android/net/ |
H A D | INetworkPolicyManager.aidl | 57 NetworkQuotaInfo getNetworkQuotaInfo(in NetworkState state); 58 boolean isNetworkMetered(in NetworkState state);
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
H A D | IStatusBar.aidl | 27 void disable(int state); 35 void setWindowState(int window, int state);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | CastTile.java | 92 protected void handleUpdateState(BooleanState state, Object arg) { argument 93 state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); 94 state.label = mContext.getString(R.string.quick_settings_cast_title); 95 state.value = false; 96 state.autoMirrorDrawable = false; 100 if (device.state == CastDevice.STATE_CONNECTED) { 101 state.value = true; 102 state.label = getDeviceName(device); 103 } else if (device.state == CastDevice.STATE_CONNECTING) { 107 if (!state 162 setToggleState(boolean state) argument [all...] |
H A D | HotspotTile.java | 90 protected void handleUpdateState(BooleanState state, Object arg) { argument 91 state.visible = mController.isHotspotSupported() && mUsageTracker.isRecentlyUsed(); 92 state.label = mContext.getString(R.string.quick_settings_hotspot_label); 94 state.value = mController.isHotspotEnabled(); 95 state.icon = state.visible && state.value ? mEnable : mDisable; 119 * This will catch broadcasts for changes in hotspot state so we can show
|
H A D | CellularTile.java | 86 protected void handleUpdateState(SignalState state, Object arg) { argument 87 state.visible = mController.hasMobileDataFeature(); 88 if (!state.visible) return; 97 state.icon = ResourceIcon.get(iconId); 98 state.isOverlayIconWide = cb.isDataTypeIconWide; 99 state.autoMirrorDrawable = !cb.noSim; 100 state.overlayIconId = cb.enabled && (cb.dataTypeIconId > 0) ? cb.dataTypeIconId : 0; 101 state.filter = iconId != R.drawable.ic_qs_no_sim; 102 state.activityIn = cb.enabled && cb.activityIn; 103 state 225 setToggleState(boolean state) argument [all...] |
H A D | WifiTile.java | 106 protected void handleUpdateState(SignalState state, Object arg) { argument 107 state.visible = true; 114 boolean enabledChanging = state.enabled != cb.enabled; 119 state.enabled = cb.enabled; 120 state.connected = wifiConnected; 121 state.activityIn = cb.enabled && cb.activityIn; 122 state.activityOut = cb.enabled && cb.activityOut; 123 state.filter = true; 126 if (!state.enabled) { 127 state 262 setToggleState(boolean state) argument [all...] |
/frameworks/compile/libbcc/lib/Support/ |
H A D | sha1.h | 10 uint32_t state[5]; member in struct:__anon1069
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraExceptionHandler.java | 35 RuntimeException e, String commandHistory, int action, int state) { 50 RuntimeException e, String commandHistory, int action, int state); 99 final int action, final int state) { 103 mCallback.onCameraException(ex, commandHistory, action, state); 49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument 97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
|
/frameworks/rs/ |
H A D | rsMesh.h | 54 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 D | rsProgramRaster.cpp | 28 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 D | rsProgramVertex.cpp | 38 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...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 48 } state; member in struct:Allocation::__anon1498 101 } state; member in struct:ProgramStore::__anon1500 129 } state; member in struct:ProgramRaster::__anon1502 166 } state; member in struct:Sampler::__anon1504 208 } state; member in struct:Element::__anon1506 248 } state; member in struct:Type::__anon1508 283 } state; member in struct:Mesh::__anon1510
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 99 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/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
H A D | BlockingStateCallback.java | 32 * 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); 73 * Device has not reported any state yet 78 * Device is in the first-opened state (transitory) 135 * Wait until the desired state i 145 waitForState(int state, long timeout) argument 212 stateToString(int state) argument [all...] |