/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | SetArcTransmissionStateAction.java | 135 void handleTimerEvent(int state) { argument 136 if (mState != state || mState != STATE_WAITING_TIMEOUT) {
|
H A D | SystemAudioAutoInitiationAction.java | 90 void handleTimerEvent(int state) { argument 91 if (mState != state) {
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraExceptionHandler.java | 35 RuntimeException e, String commandHistory, int action, int state) { 50 RuntimeException e, String commandHistory, int action, int state); 99 final int action, final int state) { 103 mCallback.onCameraException(ex, commandHistory, action, state); 49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument 97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | BasicPipeline.java | 40 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...] |
/frameworks/rs/ |
H A D | rsProgramRaster.h | 44 State state; member in struct:android::renderscript::ProgramRaster::Hal
|
/frameworks/support/v4/api22/android/support/v4/media/session/ |
H A D | PlaybackStateCompatApi22.java | 30 public static Object newInstance(int state, long position, long bufferedPosition, argument 35 stateObj.setState(state, position, speed, updateTime);
|
/frameworks/support/v4/kitkat/android/support/v4/graphics/drawable/ |
H A D | DrawableWrapperKitKat.java | 30 DrawableWrapperKitKat(DrawableWrapperState state, Resources resources) { argument 31 super(state, resources);
|
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyServiceClient.cpp | 74 void onDynamicPolicyMixStateUpdate(String8 regId, int32_t state) argument 79 data.writeInt32(state); 119 int32_t state = data.readInt32(); local 120 onDynamicPolicyMixStateUpdate(regId, state);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | agc.cpp | 508 state = pointer to a structure of type agcState 511 Structure pointed to by state is initialized to zeros 526 Reset of agc (i.e. set state memory to 1.0). 541 int agc_reset (agcState *state) 543 if (state == (agcState *) NULL) 549 state->past_gain = 4096; // initial value of past_gain = 1.0 577 Word16 agc_reset(agcState *state) argument 579 if (state == (agcState *) NULL) 585 state->past_gain = 4096; /* initial value of past_gain = 1.0 */ 599 st = pointer to agc state [all...] |
H A D | bgnscd.cpp | 91 state = points to memory of type Bgn_scdState. 94 The memory of type Bgn_scdState pointed to by state is set to all 110 Resets state memory. 125 Word16 Bgn_scd_reset (Bgn_scdState *state) 127 if (state == (Bgn_scdState *) NULL){ 133 Set_zero (state->frameEnergyHist, L_ENERGYHIST); 136 state->bgHangover = 0; 164 Word16 Bgn_scd_reset(Bgn_scdState *state) argument 166 if (state == (Bgn_scdState *) NULL) 173 memset(state [all...] |
H A D | c_g_aver.cpp | 121 state = pointer to a structure of type Cb_gain_averageState 124 Structure pointed to by state is initialized to zeros 139 Resets state memory 154 Word16 Cb_gain_average_reset (Cb_gain_averageState *state) 156 if (state == (Cb_gain_averageState *) NULL){ 162 Set_zero (state->cbGainHistory, L_CBGAINHIST); 165 state->hangVar = 0; 166 state->hangCount= 0; 194 Word16 Cb_gain_average_reset(Cb_gain_averageState *state) argument 196 if (state [all...] |
H A D | pstfilt.cpp | 166 state = pointer to structure of type Post_FilterState 169 fields of the structure pointed to by state is initialized to zero 183 This function initializes the state memory used by the Post_Filter function 199 int Post_Filter_reset (Post_FilterState *state) 201 if (state == (Post_FilterState *) NULL){ 206 Set_zero (state->mem_syn_pst, M); 207 Set_zero (state->res2, L_SUBFR); 208 Set_zero (state->synth_buf, L_FRAME + M); 209 agc_reset(state->agc_state); 210 preemphasis_reset(state 238 Post_Filter_reset(Post_FilterState *state) argument [all...] |
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerCubic.h | 44 } state; typedef in class:android::AudioResamplerCubic 50 static inline int32_t interp(state* p, int32_t x) { 53 static inline void advance(state* p, int16_t in) { 62 state left, right;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | StatusTracker.h | 38 * State tracking for idle and other collective state transitions. 43 * internal state correctly, which means the notifyStatus call to the parent may 56 // New components start in the idle state. 62 // Set the state of a tracked component to be idle. Ignores unknown IDs; can 68 // Set the state of a tracked component to be active. Ignores unknown IDs. 82 void markComponent(int id, ComponentState state, 92 ComponentState state; member in struct:android::camera3::StatusTracker::StateChange 95 // A queue of yet-to-be-processed state changes to components 108 // Merged fence for all processed state changes 110 // Current overall device state [all...] |
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
H A D | Ime.java | 138 private void runSetEnabled(boolean state) { argument 147 boolean res = mImm.setInputMethodEnabled(id, state); 148 if (state) {
|
/frameworks/base/core/java/android/app/ |
H A D | ListActivity.java | 152 * // requerying or closing it as the activity changes state. 217 protected void onRestoreInstanceState(Bundle state) { argument 219 super.onRestoreInstanceState(state); 232 * Updates the screen state (current list and other views) when the
|
H A D | TabActivity.java | 83 protected void onRestoreInstanceState(Bundle state) { argument 84 super.onRestoreInstanceState(state); 86 String cur = state.getString("currentTab"); 120 * Updates the screen state (current list and other views) when the
|
/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/core/java/com/android/internal/app/procstats/ |
H A D | SysMemUsageTable.java | 66 final int state = SparseMappingTable.getIdFromKey(key); 70 mergeStats(state, addData, addOff); 77 * @param state The state 81 public void mergeStats(int state, long[] addData, int addOff) { argument 82 final int key = getOrAddKey((byte)state, SYS_MEM_USAGE_COUNT);
|
/frameworks/base/core/java/com/android/internal/net/ |
H A D | LegacyVpnInfo.java | 42 public int state = -1; field in class:LegacyVpnInfo 53 out.writeInt(state); 63 info.state = in.readInt(); 75 * Return best matching {@link LegacyVpnInfo} state based on given 89 Log.w(TAG, "Unhandled state " + info.getDetailedState()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | SubActivityScreen.java | 69 protected void onRestoreInstanceState(Bundle state) { argument 70 super.onRestoreInstanceState(state);
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 80 void BM_TessellateShadows_roundrect_opaque(benchmark::State& state) { argument 86 while (state.KeepRunning()) { 96 void BM_TessellateShadows_roundrect_translucent(benchmark::State& state) { argument 103 while (state.KeepRunning()) {
|
/frameworks/base/media/java/android/media/ |
H A D | MediaActionSound.java | 105 public int state; field in class:MediaActionSound.SoundState 110 state = STATE_NOT_LOADED; 137 sound.state = STATE_LOADING; 161 switch (sound.state) { 168 Log.e(TAG, "load() called in wrong state: " + sound + " for sound: "+ soundName); 211 switch (sound.state) { 221 sound.state = STATE_LOADING_PLAY_REQUESTED; 227 Log.e(TAG, "play() called in wrong state: " + sound.state + " for sound: "+ soundName); 244 sound.state [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | Preconditions.java | 25 * <p>Typically used to sanity check arguments or the current object state.</p> 114 * Checks that the state is currently {@link true}. 116 * @param message Message to raise an exception with if the state checking fails. 117 * @param state State to check 119 * @throws IllegalStateException if state was {@code false} 121 * @return The state value (always {@code true}). 123 public static boolean checkState(String message, boolean state) { argument 124 if (!state) { 128 return state;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | GridDocumentHolder.java | 75 // and this method will be called to setup initial state. 114 * @param state Current display state. 116 public void bind(Cursor cursor, String modelId, State state) { argument 154 if (!state.showSize || Document.MIME_TYPE_DIR.equals(docMimeType) || docSize == -1) {
|