Searched refs:state (Results 1 - 25 of 870) sorted by relevance

1234567891011>>

/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/tests/servicestests/src/com/android/server/pm/
H A DPackageVerificationStateTest.java32 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null);
35 state.isVerificationComplete());
37 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_ALLOW);
40 state.isVerificationComplete());
43 state.isInstallAllowed());
47 PackageVerificationState state = new PackageVerificationState(REQUIRED_UID, null);
50 state.isVerificationComplete());
52 state.setVerifierResponse(REQUIRED_UID, PackageManager.VERIFICATION_REJECT);
55 state.isVerificationComplete());
58 state
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DBasicPipeline.java40 public void initBuffers(VrState state) { argument
45 public void setupTriangles(VrState state) { argument
46 Matrix m = state.mTransform.getMatrix(Transform.VOLUME_SPACE, Transform.SCREEN_SPACE);
47 state.mCubeVolume.transform(m, state.mCubeScreen);
51 public void rasterizeTriangles(VrState state) { argument
53 scriptC_rasterize = new ScriptC_rasterize(state.mRs);
55 scriptC_rasterize.set_index(state.mCubeScreen.mIndex);
56 scriptC_rasterize.set_vert(state.mCubeScreen.mVert);
58 scriptC_rasterize.invoke_setup_triangles(state
66 raycast(VrState state) argument
[all...]
H A DPipeline.java35 * @param state
37 public void initBuffers(VrState state); argument
41 * @param state
43 public void setupTriangles(VrState state); argument
47 * @param state
49 public void rasterizeTriangles(VrState state); argument
53 * @param state
55 public void raycast(VrState state); argument
H A DVrPipline1.java36 public void initBuffers(VrState state) { argument
37 super.initBuffers(state);
55 private void creatOpacityAllocation(VrState state) { argument
56 scriptC_vr.set_opacity(state.mMaterial.getOpacityAllocation(state.mRs));
59 private void creatColorMapAllocation(VrState state) { argument
60 scriptC_vr.set_color_map(state.mMaterial.getColorMapAllocation(state.mRs));
64 public void setupTriangles(VrState state) { argument
65 super.setupTriangles(state);
92 raycast(VrState state) argument
[all...]
/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 Dph_disp.cpp52 product of state->prevCbGain and ONFACTPLUS1 in the ph_disp
133 state = pointer to a structure of type ph_dispState
136 Structure pointed to by state is initialized to zeros
165 int ph_disp_reset (ph_dispState *state)
169 if (state == (ph_dispState *) NULL){
175 state->gainMem[i] = 0;
177 state->prevState = 0;
178 state->prevCbGain = 0;
179 state->lockFull = 0;
180 state
208 ph_disp_reset(ph_dispState *state) argument
299 ph_disp_lock(ph_dispState *state) argument
376 ph_disp_release(ph_dispState *state) argument
654 ph_disp( ph_dispState *state, enum Mode mode, Word16 x[], Word16 cbGain, Word16 ltpGain, Word16 inno[], Word16 pitch_fac, Word16 tmp_shift, Flag *pOverflow ) 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, int brightness); argument
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
H A DStateChangeListener.java20 void onStateChanged(int state); argument
/frameworks/rs/
H A DrsProgram.cpp32 mHal.state.inputElementsCount++;
35 mHal.state.constantsCount++;
38 mHal.state.texturesCount++;
42 mTextures = new ObjectBaseRef<Allocation>[mHal.state.texturesCount];
43 mSamplers = new ObjectBaseRef<Sampler>[mHal.state.texturesCount];
44 mInputElements = new ObjectBaseRef<Element>[mHal.state.inputElementsCount];
45 mConstantTypes = new ObjectBaseRef<Type>[mHal.state.constantsCount];
46 mConstants = new ObjectBaseRef<Allocation>[mHal.state.constantsCount];
48 mHal.state.textures = new Allocation*[mHal.state
[all...]
H A DrsFBOCache.cpp28 mHal.state.colorTargetsCount = 1;
29 mHal.state.colorTargets = new Allocation*[mHal.state.colorTargetsCount];
30 mColorTargets = new ObjectBaseRef<Allocation>[mHal.state.colorTargetsCount];
35 delete[] mHal.state.colorTargets;
48 if (slot >= mHal.state.colorTargetsCount) {
53 if (!(a->getIsTexture() || (a->mHal.state.usageFlags & RS_ALLOCATION_USAGE_IO_OUTPUT))) {
59 mHal.state.colorTargets[slot] = a;
71 mHal.state.depthTarget = a;
76 for (uint32_t i = 0; i < mHal.state
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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...]
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...]
/frameworks/native/libs/gui/
H A DBufferSlot.cpp21 const char* BufferSlot::bufferStateName(BufferState state) { argument
22 switch (state) {
/frameworks/base/core/java/android/view/
H A DViewStructure.java76 * Set the visibility state of this view, as per
82 public abstract void setAssistBlocked(boolean state); argument
85 * Set the enabled state of this view, as per {@link View#isEnabled View.isEnabled()}.
87 public abstract void setEnabled(boolean state); argument
90 * Set the clickable state of this view, as per {@link View#isClickable View.isClickable()}.
92 public abstract void setClickable(boolean state); argument
95 * Set the long clickable state of this view, as per
98 public abstract void setLongClickable(boolean state); argument
101 * Set the context clickable state of this view, as per
104 public abstract void setContextClickable(boolean state); argument
109 setFocusable(boolean state) argument
114 setFocused(boolean state) argument
120 setAccessibilityFocused(boolean state) argument
126 setCheckable(boolean state) argument
132 setChecked(boolean state) argument
137 setSelected(boolean state) argument
142 setActivated(boolean state) argument
[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/base/core/java/android/text/method/
H A DMetaKeyKeyListener.java28 * This base class encapsulates the behavior for tracking the state of
29 * meta keys such as SHIFT, ALT and SYM as well as the pseudo-meta state of selecting text.
31 * Key listeners that care about meta state should inherit from this class;
34 * This class provides two mechanisms for tracking meta state that can be used
39 * {@link #getMetaState(long)} operate on a meta key state bit mask.</li>
41 * {@link #getMetaState(CharSequence, int)} operate on meta key state flags stored
43 * meta key state of the text editor; they do not carry any positional information.</li>
51 * When key modifiers are toggled into a latched or locked state, the state
53 * meta state intege
432 resetLockedMeta(long state) argument
457 getMetaState(long state) argument
489 getMetaState(long state, int meta) argument
517 adjustMetaAfterKeypress(long state) argument
541 handleKeyDown(long state, int keyCode, KeyEvent event) argument
560 press(long state, int what, long mask, long locked, long pressed, long released, long used) argument
579 handleKeyUp(long state, int keyCode, KeyEvent event) argument
598 release(long state, int what, long mask, long pressed, long released, long used, KeyEvent event) argument
622 clearMetaKeyState(long state, int which) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp160 int16 i, j, state; local
173 state = 0;
177 state = 1;
181 state = 2;
193 if (state < 2)
195 state++;
211 state = 0;
213 if (state > *prev_state + 1)
215 state--;
220 *prev_state = state;
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcActivityManager.java51 final List<NfcApplicationState> mApps; // Application(s) that have NFC state. Usually one
52 final List<NfcActivityState> mActivities; // Activities that have NFC state
107 * NFC state associated with an {@link Activity}
161 /** find activity state from mActivities */
163 for (NfcActivityState state : mActivities) {
164 if (state.activity == activity) {
165 return state;
171 /** find or create activity state from mActivities */
173 NfcActivityState state = findActivityState(activity);
174 if (state
[all...]
/frameworks/base/libs/input/
H A DSpriteController.cpp139 if (update.state.surfaceControl == NULL && update.state.wantSurfaceVisible()) {
140 update.state.surfaceWidth = update.state.icon.bitmap.width();
141 update.state.surfaceHeight = update.state.icon.bitmap.height();
142 update.state.surfaceDrawn = false;
143 update.state.surfaceVisible = false;
144 update.state.surfaceControl = obtainSurface(
145 update.state
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowManager.java40 * Encapsulates all logic for the status bar window state management.
72 * @param barHeight The height of the status bar in collapsed state.
101 private void applyKeyguardFlags(State state) { argument
102 if (state.keyguardShowing) {
111 private void adjustScreenOrientation(State state) { argument
112 if (state.isKeyguardShowingAndNotOccluded()) {
123 private void applyFocusableFlag(State state) { argument
124 boolean panelFocusable = state.statusBarFocusable && state.panelExpanded;
125 if (state
137 applyHeight(State state) argument
146 isExpanded(State state) argument
152 applyFitsSystemWindows(State state) argument
156 applyUserActivityTimeout(State state) argument
166 applyInputFeatures(State state) argument
178 apply(State state) argument
194 applyForceStatusBarVisibleFlag(State state) argument
204 applyModalFlag(State state) argument
212 applyBrightness(State state) argument
269 setStatusBarState(int state) argument
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DMsgHandler.cpp31 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
32 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr.data();
38 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string;
39 m_Engine.state().ArgumentStrs[m_NumArgs++] = pStr;
46 m_Engine.state().ArgumentKinds[m_NumArgs] = pKind;
47 m_Engine.state().ArgumentVals[m_NumArgs++] = pValue;
/frameworks/base/wifi/java/android/net/wifi/
H A DSupplicantState.java26 * state. This is more fine-grained than most users will be interested in.
31 * state constants in <code>defs.h</code> in <code>wpa_supplicant</code>.
35 * This state indicates that client is not associated, but is likely to
36 * start looking for an access point. This state is entered when a
44 * This state is entered if the network interface is disabled.
51 * Inactive state (wpa_supplicant disabled).
53 * This state is entered if there are no enabled networks in the
63 * This state is entered when wpa_supplicant starts scanning for a
71 * This state is entered when wpa_supplicant has found a suitable BSS
80 * This state i
169 isValidState(SupplicantState state) argument
175 isHandshakeState(SupplicantState state) argument
198 isConnecting(SupplicantState state) argument
221 isDriverActive(SupplicantState state) argument
[all...]
/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...]

Completed in 1115 milliseconds

1234567891011>>