/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
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/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | LocationTile.java | 70 protected void handleUpdateState(BooleanState state, Object arg) { argument 75 // state.visible = !(mKeyguard.isSecure() && mKeyguard.isShowing()); 76 state.visible = !mKeyguard.isShowing(); 77 state.value = locationEnabled; 79 state.icon = mEnable; 80 state.label = mContext.getString(R.string.quick_settings_location_label); 81 state.contentDescription = mContext.getString( 84 state.icon = mDisable; 85 state.label = mContext.getString(R.string.quick_settings_location_label); 86 state [all...] |
H A D | AirplaneModeTile.java | 72 protected void handleUpdateState(BooleanState state, Object arg) { argument 75 state.value = airplaneMode; 76 state.visible = true; 77 state.label = mContext.getString(R.string.airplane_mode); 79 state.icon = mEnable; 80 state.contentDescription = mContext.getString( 83 state.icon = mDisable; 84 state.contentDescription = mContext.getString(
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | HardwareConfig.java | 53 * hardware state of the resource. 78 * state - see DEV_HARDWARE_STATE_ 82 public int state; field in class:HardwareConfig 130 Integer.parseInt(split[2]), /* state */ 142 Integer.parseInt(split[2]), /* state */ 150 public void assignModem(String id, int state, int model, int ratBits, argument 155 state = state; 167 public void assignSim(String id, int state, String link) { argument 171 state [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | ScrollbarHelper.java | 29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, argument 32 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null || 41 ? Math.max(0, state.getItemCount() - maxPosition - 1) 60 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation, argument 63 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null || 79 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation, argument 82 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null || 87 return state.getItemCount(); 96 return (int) ((float) laidOutArea / laidOutRange * state.getItemCount());
|
/frameworks/rs/driver/runtime/ |
H A D | rs_sampler.c | 13 return prog->mHal.state.minFilter; 22 return prog->mHal.state.magFilter; 31 return prog->mHal.state.wrapS; 40 return prog->mHal.state.wrapT; 49 return prog->mHal.state.aniso;
|
/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 74 * Never merge with the last undo state. 79 * Allow merge with the last undo state only if it contains 85 * Always allow merge with the last undo state, if possible. 122 * Flatten the current undo state into a Parcel object, which can later be restored 127 throw new IllegalStateException("Can't save state while updating"); 168 * Restore an undo state previously created with {@link #saveInstanceState(Parcel)}. This 169 * will restore the UndoManager's state to almost exactly what it was at the point it had 176 throw new IllegalStateException("Can't save state whil 678 matchOwners(UndoState state, UndoOwner[] owners) argument 802 setCanMerge(boolean state) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | StateListDrawable.java | 40 * Each state Drawable is defined in a nested <code><item></code> element. For more 83 // in case the new state matches our current state... 121 * Updates the constant state from the values in the typed array. 124 final StateListState state = mStateListState; 127 state.mChangingConfigurations |= a.getChangingConfigurations(); 130 state.mThemeAttrs = a.extractThemeAttrs(); 132 state.mVariablePadding = a.getBoolean( 133 R.styleable.StateListDrawable_variablePadding, state.mVariablePadding); 134 state 375 setConstantState(@onNull DrawableContainerState state) argument 383 StateListDrawable(StateListState state, Resources res) argument 394 StateListDrawable(@ullable StateListState state) argument [all...] |
H A D | ClipDrawable.java | 109 final ClipState state = mState; 110 state.mOrientation = a.getInt( 111 R.styleable.ClipDrawable_clipOrientation, state.mOrientation); 112 state.mGravity = a.getInt( 113 R.styleable.ClipDrawable_gravity, state.mGravity); 123 final ClipState state = mState; 124 if (state == null) { 128 if (state.mThemeAttrs != null) { 129 final TypedArray a = t.resolveAttributes(state.mThemeAttrs, R.styleable.ClipDrawable); 222 private ClipDrawable(ClipState state, Resource argument [all...] |
H A D | AnimatedRotateDrawable.java | 153 final AnimatedRotateState state = mState; 157 state.mPivotXRel = tv.type == TypedValue.TYPE_FRACTION; 158 state.mPivotX = state.mPivotXRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 163 state.mPivotYRel = tv.type == TypedValue.TYPE_FRACTION; 164 state.mPivotY = state.mPivotYRel ? tv.getFraction(1.0f, 1.0f) : tv.getFloat(); 168 R.styleable.AnimatedRotateDrawable_framesCount, state.mFramesCount)); 170 R.styleable.AnimatedRotateDrawable_frameDuration, state.mFrameDuration)); 180 final AnimatedRotateState state 241 AnimatedRotateDrawable(AnimatedRotateState state, Resources res) argument [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/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/rs/ |
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/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/libs/hwui/ |
H A D | Snapshot.cpp | 190 RoundRectClipState* state = new (allocator) RoundRectClipState; local 192 state->highPriority = highPriority; 198 state->matrix.loadInverse(roundRectDrawingMatrix); 202 state->dangerRects[i] = bounds; 204 state->dangerRects[0].bottom = state->dangerRects[1].bottom = bounds.top + radius; 205 state->dangerRects[0].right = state->dangerRects[2].right = bounds.left + radius; 206 state->dangerRects[1].left = state [all...] |
/frameworks/base/media/java/android/media/audiopolicy/ |
H A D | IAudioPolicyCallback.aidl | 30 void notifyMixStateUpdate(in String regId, int state);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputManagerCallback.aidl | 24 void onInputStateChanged(in String inputId, int state);
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | PersistentDataStore.java | 51 * Manages persistent state recorded by the input manager service as an XML file. 56 * <input-mananger-state> 60 * >/input-manager-state> 66 // Input device state by descriptor. 78 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml")); 89 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, false); 90 if (state == null) { 94 TouchCalibration cal = state.getTouchCalibration(surfaceRotation); 102 InputDeviceState state = getInputDeviceState(inputDeviceDescriptor, true); 104 if (state [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | BarController.java | 34 * Controls state/behavior specific to a system bar window. 152 final int state = computeStateLw(wasVis, wasAnim, mWin, change); 153 final boolean stateChanged = updateStateLw(state); 176 private boolean updateStateLw(final int state) { argument 177 if (state != mState) { 178 mState = state; 179 if (DEBUG) Slog.d(mTag, "mState: " + StatusBarManager.windowStateToString(state)); 186 statusbar.setWindowState(mStatusBarManagerId, state); 189 if (DEBUG) Slog.w(mTag, "Error posting window state", e); 267 private void setTransientBarState(int state) { argument 287 transientBarStateToString(int state) argument [all...] |