Searched defs:state (Results 1 - 25 of 525) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_plsf.cpp114 state = pointer to structure of type D_plsf_reset
117 fields of the structure pointed to by state is initialized to zero
131 Resets state memory
146 int D_plsf_reset (D_plsfState *state)
150 if (state == (D_plsfState *) NULL){
156 state->past_r_q[i] = 0; // Past quantized prediction error
160 Copy(mean_lsf, &state->past_lsf_q[0], M);
187 Word16 D_plsf_reset(D_plsfState *state) argument
191 if (state == (D_plsfState *) NULL)
199 state
[all...]
H A Dpreemph.cpp118 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/libs/gui/
H A DBufferSlot.cpp21 const char* BufferSlot::bufferStateName(BufferState state) { argument
22 switch (state) {
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf.cpp74 * Purpose : Allocates memory and initializes state variables
78 Word16 Q_plsf_init(Q_plsfState **state) argument
82 if (state == (Q_plsfState **) NULL)
87 *state = NULL;
92 /* fprintf(stderr, "Q_plsf_init: can not malloc state structure\n"); */
97 *state = s;
106 * Purpose : Resets state memory
110 Word16 Q_plsf_reset(Q_plsfState *state) argument
114 if (state == (Q_plsfState *) NULL)
121 state
134 Q_plsf_exit(Q_plsfState **state) argument
[all...]
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayBlanker.java20 * Interface used to update the actual display state.
23 void requestDisplayState(int state); argument
/frameworks/compile/libbcc/lib/Support/
H A Dsha1.h10 uint32_t state[5]; member in struct:__anon1056
/frameworks/base/core/java/android/os/
H A DConditionVariable.java37 * 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/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintProgressFragment.java36 public View onCreateView(LayoutInflater inflater, ViewGroup root, Bundle state) { argument
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateChangeListener.java20 public void onStateChanged(int state); argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DStateChangeResult.java23 * Stores supplicant state change information passed from WifiMonitor to
24 * a state machine. WifiStateMachine, SupplicantStateTracker and WpsStateMachine
25 * are example state machines that handle it.
30 SupplicantState state) {
31 this.state = state;
40 SupplicantState state; field in class:StateChangeResult
49 sb.append(" state: ").append(state);
29 StateChangeResult(int networkId, WifiSsid wifiSsid, String BSSID, SupplicantState state) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dlpc.cpp100 state = pointer to pointer of state data of type lpcState
117 This function initializes the state data for the LPC module.
135 if (state == (lpcState **) NULL){
139 *state = NULL;
143 // fprintf(stderr, "lpc_init: can not malloc state structure\n");
157 *state = s;
183 Word16 lpc_init(lpcState **state) argument
187 if (state == (lpcState **) NULL)
192 *state
286 lpc_reset(lpcState *state) argument
374 lpc_exit(lpcState **state) argument
[all...]
H A Dpre_proc.cpp131 state = pointer to an array of pointer to structures of type
135 Structure pointed to by the pointer pointed to by state is
137 state points to the allocated memory
152 Allocates state memory and initializes state memory.
167 int Pre_Process_init (Pre_ProcessState **state)
171 if (state == (Pre_ProcessState **) NULL){
175 *state = NULL;
179 fprintf(stderr, "Pre_Process_init: can not malloc state structure\n");
184 *state
212 Pre_Process_init(Pre_ProcessState **state) argument
320 Pre_Process_reset(Pre_ProcessState *state) argument
416 Pre_Process_exit(Pre_ProcessState **state) argument
[all...]
H A Dsid_sync.cpp46 Description: Changed type definition of state pointer to 'void' for
107 state = pointer containing a pointer to the state structure used for
114 return_value = status of sid_sync_reset function; -1, if state is pointing
127 the pointer to state struct in *st. This pointer has to be passed to sid_sync
166 Word16 sid_sync_init(void **state) argument
170 if (state == NULL)
172 /* fprintf(stderr, "sid_sync_init:invalid state parameter\n"); */
176 *state = NULL;
184 "can not malloc state structur
260 sid_syncState *state = (sid_syncState *) st; local
335 sid_sync_exit(void **state) argument
495 sid_sync(void *state, enum Mode mode, enum TXFrameType *tx_frame_type) argument
[all...]
/frameworks/base/core/java/android/os/storage/
H A DOnObbStateChangeListener.java80 * @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/java/android/util/
H A DStateSet.java23 * 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/core/tests/coretests/src/android/app/activity/
H A DTestedActivity.java37 protected void onRestoreInstanceState(Bundle state) argument
39 super.onRestoreInstanceState(state);
/frameworks/base/libs/storage/
H A DIObbActionListener.cpp33 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/base/services/core/java/com/android/server/hdmi/
H A DRequestArcAction.java82 final void handleTimerEvent(int state) { argument
83 if (mState != state || state != STATE_WATING_FOR_REQUEST_ARC_REQUEST_RESPONSE) {
/frameworks/native/cmds/ip-up-vpn/
H A Dip-up-vpn.c69 FILE *state = fopen(DIR ".tmp", "wb"); local
70 if (!state) {
71 ALOGE("Cannot create state: %s", strerror(errno));
77 fprintf(state, "%s\n", argv[1]);
78 fprintf(state, "%s/32\n", argv[4]);
79 fprintf(state, "0.0.0.0/0\n");
80 fprintf(state, "%s %s\n", env("DNS1"), env("DNS2"));
81 fprintf(state, "\n");
82 fprintf(state, "\n");
118 fprintf(state, "
[all...]
/frameworks/native/services/surfaceflinger/
H A DBarrier.h29 inline Barrier() : state(CLOSED) { }
37 state = OPENED;
44 state = CLOSED;
52 while (state == CLOSED) {
60 volatile int state; member in class:android::Barrier
/frameworks/rs/
H A DrsFBOCache.h51 State state; member in struct:android::renderscript::FBOCache::Hal
H A DrsPath.h36 State state; member in struct:android::renderscript::Path::__anon1511
/frameworks/support/v4/eclair/android/support/v4/view/
H A DKeyEventCompatEclair.java28 public static boolean dispatch(KeyEvent event, KeyEvent.Callback receiver, Object state, argument
30 return event.dispatch(receiver, (KeyEvent.DispatcherState)state, target);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DScrollbarHelper.java29 static int computeScrollOffset(RecyclerView.State state, OrientationHelper orientation, argument
32 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null ||
39 ? Math.max(0, state.getItemCount() - maxPosition - 1)
57 static int computeScrollExtent(RecyclerView.State state, OrientationHelper orientation, argument
60 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null ||
76 static int computeScrollRange(RecyclerView.State state, OrientationHelper orientation, argument
79 if (lm.getChildCount() == 0 || state.getItemCount() == 0 || startChild == null ||
84 return state.getItemCount();
92 return (int) ((float) laidOutArea / laidOutRange * state.getItemCount());
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.h39 downmix_state_t state; member in struct:__anon95

Completed in 3453 milliseconds

1234567891011>>