/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | lsp_avg.h | 118 lsp_avgState *state
|
H A D | post_pro.cpp | 141 state = pointer to a structure of type Post_ProcessState 144 structure pointed to by state will have all its fields initialized 159 This function initializes state memory to zero. 174 int Post_Process_reset (Post_ProcessState *state) 176 if (state == (Post_ProcessState *) NULL){ 181 state->y2_hi = 0; 182 state->y2_lo = 0; 183 state->y1_hi = 0; 184 state->y1_lo = 0; 185 state 213 Post_Process_reset(Post_ProcessState *state) argument [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | OnObbStateChangeListener.java | 80 * @param path path to the OBB file the state change has happened on 81 * @param state the current state of the OBB 83 public void onObbStateChange(String path, int state) { argument
|
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | StateSetTest.java | 39 // Add another state to the spec which the stateSet doesn't match 45 // Add an irrelevent state to the stateSpec 63 // Add another matching state to the the stateSet. We still fail 80 // Add another arrelevent state to the stateSet 86 // Add another state to the spec which the stateSet doesn't match 89 // Add an irrelevent state to the stateSet 124 int state; 127 state = 1; 128 assertTrue(StateSet.stateSetMatches(stateSpec, state)); 130 state [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | InsetDrawable.java | 121 final InsetState state = mState; 135 state.mInsetLeft = inset; 136 state.mInsetTop = inset; 137 state.mInsetRight = inset; 138 state.mInsetBottom = inset; 142 state.mInsetLeft = a.getDimensionPixelOffset(attr, state.mInsetLeft); 145 state.mInsetTop = a.getDimensionPixelOffset(attr, state.mInsetTop); 148 state 277 InsetDrawable(InsetState state, Resources res) argument [all...] |
H A D | RotateDrawable.java | 90 final RotateState state = mState; 93 state.mThemeAttrs = a.extractThemeAttrs(); 97 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; 98 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 103 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; 104 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 107 state.mFromDegrees = a.getFloat( 108 R.styleable.RotateDrawable_fromDegrees, state 352 RotateDrawable(RotateState state, Resources res) argument [all...] |
H A D | NinePatchDrawable.java | 417 * Updates the constant state from the values in the typed array. 421 final NinePatchState state = mNinePatchState; 424 state.mChangingConfigurations |= a.getChangingConfigurations(); 427 state.mThemeAttrs = a.extractThemeAttrs(); 429 state.mDither = a.getBoolean(R.styleable.NinePatchDrawable_dither, state.mDither); 434 options.inDither = !state.mDither; 462 state.mNinePatch = new NinePatch(bitmap, bitmap.getNinePatchChunk()); 463 state.mPadding = padding; 464 state 647 NinePatchState(@onNull NinePatchState state) argument 698 NinePatchDrawable(NinePatchState state, Resources res) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_element.c | 13 return element->mHal.state.fieldsCount; 19 if (element == NULL || index >= element->mHal.state.fieldsCount) { 23 rs_element returnElem = {element->mHal.state.fields[index]}; 30 if (element == NULL || index >= element->mHal.state.fieldsCount) { 33 return element->mHal.state.fieldNameLengths[index]; 39 if (element == NULL || index >= element->mHal.state.fieldsCount || 44 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index]; 51 const char *nameSource = element->mHal.state.fieldNames[index]; 61 if (element == NULL || index >= element->mHal.state.fieldsCount) { 64 return element->mHal.state [all...] |
H A D | rs_program.c | 16 return prog->mHal.state.depthFunc; 25 return prog->mHal.state.depthWriteEnable; 34 return prog->mHal.state.colorRWriteEnable; 43 return prog->mHal.state.colorGWriteEnable; 52 return prog->mHal.state.colorBWriteEnable; 61 return prog->mHal.state.colorAWriteEnable; 70 return prog->mHal.state.blendSrc; 79 return prog->mHal.state.blendDst; 88 return prog->mHal.state.ditherEnable; 100 return prog->mHal.state [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothHeadsetPhone.aidl | 38 void cdmaSetSecondCallState(boolean state);
|
/frameworks/base/core/java/android/os/ |
H A D | SystemService.java | 42 State(String state) { argument 43 sStates.put(state, this); 76 * Return current state of given service. 80 final State state = sStates.get(rawState); 81 if (state != null) { 82 return state; 103 * Wait until given service has entered specific state. 105 public static void waitForState(String service, State state, long timeoutMillis) argument 111 if (state.equals(currentState)) { 117 + "; waited " + timeoutMillis + "ms for " + state); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | IntentFilterVerificationState.java | 53 public void setState(int state) { argument 54 if (state > STATE_VERIFICATION_FAILURE || state < STATE_UNDEFINED) { 57 mState = state; 106 int state = STATE_UNDEFINED; 108 state = STATE_VERIFICATION_SUCCESS; 110 state = STATE_VERIFICATION_FAILURE; 113 setState(state);
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraStateHolder.java | 30 * 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/rs/driver/ |
H A D | rsdMeshObj.cpp | 55 RsDataType dt = elem->mHal.state.fields[fieldIdx]->mHal.state.dataType; 63 uint32_t arraySize = elem->mHal.state.fieldArraySizes[fieldIdx]; 77 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 78 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 79 for (uint32_t ct=0; ct < elem->mHal.state.fieldsCount; ct++) { 100 for (uint32_t ct=0; ct < mRSMesh->mHal.state.vertexBuffersCount; ct++) { 101 const Element *elem = mRSMesh->mHal.state.vertexBuffers[ct]->getType()->getElement(); 102 uint32_t stride = elem->mHal.state.elementSizeBytes; 103 for (uint32_t fieldI=0; fieldI < elem->mHal.state [all...] |
H A D | rsdShader.cpp | 50 StateBasedKey *state = mStateBasedShaders.itemAt(i); local 51 if (state->mShaderID) { 52 glDeleteShader(state->mShaderID); 54 delete state; 81 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { 83 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { 84 Allocation *a = mRSProgram->mHal.state.textures[ct]; 85 if (a && a->mHal.state.surfaceTextureID) { 103 StateBasedKey *state = getExistingState(); local 104 if (state ! [all...] |
/frameworks/rs/ |
H A D | rsType.h | 58 State state; member in struct:android::renderscript::Type::Hal 71 uint32_t getDimX() const {return mHal.state.dimX;} 72 uint32_t getDimY() const {return mHal.state.dimY;} 73 uint32_t getDimZ() const {return mHal.state.dimZ;} 75 bool getDimFaces() const {return mHal.state.faces;} 76 uint32_t getDimYuv() const {return mHal.state.dimYuv;} 78 if (idx < mHal.state.arrayCount) { 79 return mHal.state.arrays[idx]; 85 rsAssert(lod < mHal.state.lodCount); 86 return mHal.state [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | TwilightManager.java | 56 final TwilightState state = sTwilightState; 58 if (isStateValid(state)) { 59 // If the current twilight state is still valid, use it 60 return state.isNight; 67 return state.isNight; 123 private boolean isStateValid(TwilightState state) { argument 124 return state != null && state.nextUpdate > System.currentTimeMillis(); 128 final TwilightState state = sTwilightState; 139 final boolean isNight = (calculator.state [all...] |
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 312 CodecState *state = local 316 state->mNumFramesWritten = 0; 317 state->mCodec = MediaCodec::CreateByType( 320 CHECK(state->mCodec != NULL); 322 err = state->mCodec->configure( 333 state->mCSD.push_back(buffer); 340 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 342 status_t err = state->mCodec->start(); 345 err = state->mCodec->getInputBuffers(&state 401 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 420 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 475 CodecState *state = &mStateByTrackIndex.editValueFor(trackIndex); local 516 CodecState *state = &mStateByTrackIndex.editValueAt(i); local 568 onOutputFormatChanged( size_t trackIndex __unused, CodecState *state) argument 599 renderAudio( CodecState *state, BufferInfo *info, const sp<ABuffer> &buffer) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | FlashlightTile.java | 73 protected void handleUpdateState(BooleanState state, Object arg) { argument 74 state.visible = mFlashlightController.isAvailable(); 75 state.label = mHost.getContext().getString(R.string.quick_settings_flashlight_label); 78 if (value == state.value) { 81 state.value = value; 83 state.value = mFlashlightController.isEnabled(); 85 final AnimationIcon icon = state.value ? mEnable : mDisable; 87 state.icon = icon; 88 int onOrOffId = state.value 91 state [all...] |
H A D | BluetoothTile.java | 93 protected void handleUpdateState(BooleanState state, Object arg) { argument 98 state.visible = supported; 99 state.value = enabled; 100 state.autoMirrorDrawable = false; 102 state.label = null; 104 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_connected); 105 state.contentDescription = mContext.getString( 107 state.label = mController.getLastDeviceName(); 109 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_connecting); 110 state 187 setToggleState(boolean state) argument [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | RsBrickedBitMask.java | 47 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...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | gain_q.cpp | 135 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...] |
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 71 virtual void add(DrawOp* op, const DeferredDisplayState* state, bool opaqueOverBounds) { argument 73 mBounds.unionWith(state->mBounds); 75 mOps.add(OpStatePair(op, state)); 82 if (rect.intersects(mOps[i].state->mBounds)) { 85 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top, 86 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom); 101 const DeferredDisplayState* state = mOps[i].state; variable 181 canMergeWith(const DrawOp* op, const DeferredDisplayState* state) argument 289 StateOpBatch(const StateOp* op, const DeferredDisplayState* state) argument 309 RestoreToCountBatch(const StateOp* op, const DeferredDisplayState* state, int restoreCount) argument 473 DeferredDisplayState* const state = createState(); local 601 DeferredDisplayState* state = createState(); local 614 DeferredDisplayState* state = createState(); local [all...] |
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 82 * this object. Will finalize the coder state and 233 * State 6 is the error state; an error has been detected 236 private int state; // state number (0 to 6) field in class:Base64.Decoder 245 state = 0; 260 * @return true if the state machine is still healthy. false if 264 if (this.state == 6) return false; 274 int state = this.state; 295 if (state [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | PrintJob.java | 27 * service. It provides APIs for observing the print job state and 65 * current print job state. Every call to this method returns a fresh 66 * info object that reflects the current print job state. 144 * is successfully printed. This is a final state. 157 * not successfully printed due to an error. This is a final state. 170 * cancelled as a result of a user request. This is a final state. 193 final int state = getInfo().getState(); 194 if (state == PrintJobInfo.STATE_QUEUED 195 || state == PrintJobInfo.STATE_BLOCKED) { 216 final int state 377 setState(int state, String error) argument [all...] |