/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...] |
H A D | ton_stab.cpp | 104 state = pointer to pointer to structure type tonStabState. 122 Purpose: Allocates state memory and initializes state memory 137 int ton_stab_init (tonStabState **state) 141 if (state == (tonStabState **) NULL){ 145 *state = NULL; 149 // fprintf(stderr, "ton_stab_init: can not malloc state structure\n"); 155 *state = s; 184 Word16 ton_stab_init(tonStabState **state) argument 188 if (state 381 ton_stab_exit(tonStabState **state) argument [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 44 } state; member in struct:Allocation::__anon1620 96 } state; member in struct:ProgramStore::__anon1622 124 } state; member in struct:ProgramRaster::__anon1624 156 } state; member in struct:Sampler::__anon1626 194 } state; member in struct:Element::__anon1628 230 } state; member in struct:Type::__anon1630 264 } state; member in struct:Mesh::__anon1632
|
H A D | rs_sampler.c | 14 return prog->mHal.state.minFilter; 23 return prog->mHal.state.magFilter; 32 return prog->mHal.state.wrapS; 41 return prog->mHal.state.wrapT; 50 return prog->mHal.state.aniso;
|
/frameworks/base/core/java/android/view/ |
H A D | InputEventConsistencyVerifier.java | 74 // Linked list of key state objects. 77 // Current state of the trackball. 140 * Resets the state of the input event consistency verifier. 153 final KeyState state = mKeyStateList; 154 mKeyStateList = state.next; 155 state.recycle(); 207 KeyState state = findKeyState(deviceId, source, keyCode, /*remove*/ false); 208 if (state != null) { 213 if (state.unhandled) { 214 state [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UndoManager.java | 28 * Top-level class for managing and interacting with the global undo state for 34 * a stack of undo states; each state can have one or more undo operations 72 * Never merge with the last undo state. 77 * Allow merge with the last undo state only if it contains 83 * Always allow merge with the last undo state, if possible. 122 * Flatten the current undo state into a Parcelable object, which can later be restored 127 throw new IllegalStateException("Can't save state while updating"); 170 * Restore an undo state previously created with {@link #saveInstanceState()}. This will 171 * restore the UndoManager's state to almost exactly what it was at the point it had 176 public void restoreInstanceState(Parcelable state) { argument 674 matchOwners(UndoState state, UndoOwner[] owners) argument 798 setCanMerge(boolean state) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | DeferredDisplayList.cpp | 69 virtual void add(DrawOp* op, const DeferredDisplayState* state, bool opaqueOverBounds) { argument 71 mBounds.unionWith(state->mBounds); 73 mOps.add(OpStatePair(op, state)); 80 if (rect.intersects(mOps[i].state->mBounds)) { 83 mOps[i].state->mBounds.left, mOps[i].state->mBounds.top, 84 mOps[i].state->mBounds.right, mOps[i].state->mBounds.bottom); 101 const DeferredDisplayState* state = mOps[i].state; local 187 canMergeWith(const DrawOp* op, const DeferredDisplayState* state) argument 252 add(DrawOp* op, const DeferredDisplayState* state, bool opaqueOverBounds) argument 305 StateOpBatch(const StateOp* op, const DeferredDisplayState* state) argument 326 RestoreToCountBatch(const StateOp* op, const DeferredDisplayState* state, int restoreCount) argument 493 DeferredDisplayState* const state = createState(); local 619 DeferredDisplayState* state = createState(); local 632 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...] |
H A D | StateSet.java | 23 * represents the state of a {@link android.view.View} (e.g. focused, 27 * A state spec is an array of signed ints where each element 29 * {@link android.view.View} state. 31 * Utils dealing with state sets. 33 * In theory we could encapsulate the state set and state spec arrays 47 * @param stateSetOrSpec a state set or state spec. 82 final int state = stateSet[j]; 83 if (state 120 stateSetMatches(int[] stateSpec, int state) argument [all...] |
/frameworks/base/services/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 48 * Manages persistent state recorded by the input manager service as an XML file. 53 * <input-mananger-state> 57 * >/input-manager-state> 63 // Input device state by descriptor. 75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml")); 86 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false); 87 return state != null ? state.getCurrentKeyboardLayout() : null; 92 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true); 93 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...] |
/frameworks/rs/ |
H A D | rsType.h | 55 State state; member in struct:android::renderscript::Type::Hal 66 uint32_t getDimX() const {return mHal.state.dimX;} 67 uint32_t getDimY() const {return mHal.state.dimY;} 68 uint32_t getDimZ() const {return mHal.state.dimZ;} 70 bool getDimFaces() const {return mHal.state.faces;} 71 uint32_t getDimYuv() const {return mHal.state.dimYuv;} 74 rsAssert(lod < mHal.state.lodCount); 75 return mHal.state.lodDimX[lod]; 78 rsAssert(lod < mHal.state.lodCount); 79 return mHal.state [all...] |
H A D | rsSampler.cpp | 37 mHal.state.magFilter = magFilter; 38 mHal.state.minFilter = minFilter; 39 mHal.state.wrapS = wrapS; 40 mHal.state.wrapT = wrapT; 41 mHal.state.wrapR = wrapR; 42 mHal.state.aniso = aniso; 89 if (existing->mHal.state.magFilter != magFilter) continue; 90 if (existing->mHal.state.minFilter != minFilter ) continue; 91 if (existing->mHal.state.wrapS != wrapS) continue; 92 if (existing->mHal.state [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | TextGraphReader.java | 199 int state = STATE_COMMAND; 210 switch (state) { 214 state = STATE_IMPORT_PKG; 216 state = STATE_ADD_LIBRARY; 218 state = STATE_FILTER_CLASS; 220 state = STATE_SOURCE_FILTERNAME; 222 state = STATE_ASSIGNMENT; 224 state = STATE_EXTERNAL; 226 state = STATE_SETTING; 236 state [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | ICalendar.java | 431 ParserState state = new ParserState(); 432 state.index = 0; 441 current = parseLine(line, state, current); 466 private static Component parseLine(String line, ParserState state, argument 469 state.line = line; 470 int len = state.line.length(); 474 for (state.index = 0; state.index < len; ++state.index) { 475 c = line.charAt(state 525 extractValue(ParserState state) argument 541 extractParameter(ParserState state) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | preemph.cpp | 118 Initializes state memory to zero 156 Word16 preemphasis_reset(preemphasisState *state) argument 158 if (state == (preemphasisState *) NULL) 164 state->mem_pre = 0; 176 st -- Pointer to preemphasisState -- preemphasis filter state 182 st -- Pointer to preemphasisState -- preemphasis filter state 237 preemphasisState *st, /* (i/o) : preemphasis filter state */
|
/frameworks/base/libs/storage/ |
H A D | IObbActionListener.cpp | 33 virtual void onObbResult(const String16& filename, const int32_t nonce, const int32_t state) { } argument 48 int32_t state = data.readInt32(); local 49 onObbResult(filename, nonce, state);
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_eglapi.cpp | 47 GLTraceState *state = (GLTraceState *)arg; local 48 TCPStream *stream = state->getStream(); 97 state->setCollectFbOnEglSwap(collectFbOnEglSwap); 98 state->setCollectFbOnGlDraw(collectFbOnGlDraw); 99 state->setCollectTextureDataOnGlTexImage(collectTextureData); 140 // initialize tracing state 164 GLTraceState *state = sGLTraceState; local 167 if (state == NULL) return; 169 // update trace state for new EGL context 170 GLTraceContext *traceContext = state 179 GLTraceState *state = sGLTraceState; local [all...] |
/frameworks/opt/colorpicker/src/com/android/colorpicker/ |
H A D | ColorStateDrawable.java | 42 for (int state : states) { 43 if (state == android.R.attr.state_pressed || state == android.R.attr.state_focused) {
|
/frameworks/rs/driver/ |
H A D | rsdProgramStore.cpp | 49 switch (ps->mHal.state.depthFunc) { 80 if ((ps->mHal.state.blendSrc == RS_BLEND_SRC_ONE) && 81 (ps->mHal.state.blendDst == RS_BLEND_DST_ZERO)) { 85 switch (ps->mHal.state.blendSrc) { 118 switch (ps->mHal.state.blendDst) { 159 RSD_CALL_GL(glColorMask, ps->mHal.state.colorRWriteEnable, 160 ps->mHal.state.colorGWriteEnable, 161 ps->mHal.state.colorBWriteEnable, 162 ps->mHal.state.colorAWriteEnable); 172 RSD_CALL_GL(glDepthMask, ps->mHal.state [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardStatus.java | 66 public void setCardState(int state) { argument 67 switch(state) { 78 throw new RuntimeException("Unrecognized RIL_CardState: " + state); 82 public void setUniversalPinState(int state) { argument 83 switch(state) { 103 throw new RuntimeException("Unrecognized RIL_PinState: " + state);
|
/frameworks/base/core/java/android/os/ |
H A D | ConditionVariable.java | 37 * Create the ConditionVariable in the default closed state. 45 * Create the ConditionVariable with the given state. 50 public ConditionVariable(boolean state) argument 52 mCondition = state; 74 * Reset the condition to the closed state.
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodClient.aidl | 23 * itself and receive information about changes to the global manager state. 26 void setUsingInputMethod(boolean state);
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 64 bool state = false; local 65 AudioSystem::isMicrophoneMuted(&state); 66 return state; 72 bool state = false; local 73 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 74 return state; 81 bool state = false; local 82 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); 83 return state; 89 bool state local 135 android_media_AudioSystem_setDeviceConnectionState(JNIEnv *env, jobject thiz, jint device, jint state, jstring device_address) argument 149 int state = static_cast <int>(AudioSystem::getDeviceConnectionState(static_cast <audio_devices_t>(device), local 156 android_media_AudioSystem_setPhoneState(JNIEnv *env, jobject thiz, jint state) argument [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | BarController.java | 34 * Controls state/behavior specific to a system bar window. 132 final int state = computeStateLw(wasVis, wasAnim, mWin, change); 133 final boolean stateChanged = updateStateLw(state); 156 private boolean updateStateLw(final int state) { argument 157 if (state != mState) { 158 mState = state; 159 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state)); 166 statusbar.setWindowState(mStatusBarManagerId, state); 169 if (DEBUG) Slog.w(mTag, "Error posting window state", e); 239 private void setTransientBarState(int state) { argument 259 transientBarStateToString(int state) argument [all...] |