/frameworks/base/media/java/android/media/ |
H A D | AudioGain.java | 24 * - mode: defines modes of operation or features 44 * Bit of AudioGain.mode() field indicating that 49 * Bit of AudioGain.mode() field indicating that 54 * Bit of AudioGain.mode() field indicating that 72 AudioGain(int index, int mode, int channelMask, argument 76 mMode = mode; 89 public int mode() { method in class:AudioGain 148 * @param mode: desired mode of operation 151 * @param rampDurationMs: ramp duration if mode MODE_RAM 154 buildConfig(int mode, int channelMask, int[] values, int rampDurationMs) argument [all...] |
H A D | IRemoteDisplayProvider.aidl | 26 void setDiscoveryMode(int mode);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | ComposeShader.java | 43 /** Create a new compose shader, given shaders A, B, and a combining mode. 44 When the mode is applied, it will be given the result from shader A as its 46 @param shaderA The colors from this shader are seen as the "dst" by the mode 47 @param shaderB The colors from this shader are seen as the "src" by the mode 48 @param mode The mode that combines the colors from the two shaders. If mode 51 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument 55 mXferMode = mode; 57 (mode ! 67 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument [all...] |
H A D | PorterDuffColorFilter.java | 21 * color and a specific {@link PorterDuff Porter-Duff composite mode}. 28 * Create a color filter that uses the specified color and Porter-Duff mode. 30 * @param color The ARGB source color used with the specified Porter-Duff mode 31 * @param mode The porter-duff mode that is applied 37 public PorterDuffColorFilter(int color, PorterDuff.Mode mode) { argument 39 mMode = mode; 74 * Returns the Porter-Duff mode used to composite this color filter's 87 * Specifies the Porter-Duff mode to use when compositing this color 96 public void setMode(PorterDuff.Mode mode) { argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | amrdecode.cpp | 83 Description: Changed '&' to '&&' in the setting of rx_type and mode for 153 state_data->prev_mode contains the new mode 161 used by each codec mode for WMF input format (const 165 used by each codec mode for IF2 input format (const 188 The codec mode and receive frame type is initialized based on the incoming 196 RX_NO_DATA, the mode is obtained from the buffer pointed to by 197 speech_bits_ptr, offset by MAX_SERIAL_SIZE+1, otherwise, the mode is set to 198 the previous mode (found the in state_data->prev_mode). 206 state_data is updated to the current mode. 265 // Determine AMR codec mode an 397 enum Mode mode = (enum Mode)MR475; local [all...] |
H A D | dec_gain.cpp | 72 #include "mode.h" 111 index = AMR mode of type enum Mode 183 enum Mode mode, /* i : AMR mode */ 203 /* Read the quantized gains (table depends on mode) */ 206 if (mode == MR102 || mode == MR74 || mode == MR67) 217 if (mode == MR475) 275 gc_pred(pred_state, mode, cod 181 Dec_gain( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 evenSubfr, Word16 * gain_pit, Word16 * gain_cod, Flag * pOverflow ) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | prm2bits.cpp | 59 #include "mode.h" 205 mode = AMR mode of type enum Mode 228 DESCRIPTION: depending on the mode, different numbers of parameters 246 enum Mode mode, // i : AMR mode 253 for (i = 0; i < prmno[mode]; i++) 255 Int2bin (prm[i], bitno[mode][i], bits); 256 bits += bitno[mode][i]; 290 enum Mode mode, /* 289 Prm2bits( enum Mode mode, Word16 prm[], Word16 bits[] ) argument [all...] |
H A D | g_pitch.h | 62 #include "mode.h" 103 enum Mode mode, /* i : AMR mode */
|
H A D | q_gain_c.h | 67 #include "mode.h" 116 enum Mode mode, /* i : AMR mode */
|
H A D | q_gain_p.h | 67 #include "mode.h" 108 enum Mode mode, /* i : AMR mode */
|
H A D | cbsearch.cpp | 63 mode -- enum Mode -- coder mode 143 #include "mode.h" 196 enum Mode mode, /* i : coder mode */ 209 if ((mode == MR475) || (mode == MR515)) 226 else if (mode == MR59) 241 else if (mode == MR67) 256 else if ((mode 184 cbsearch(Word16 x[], Word16 h[], Word16 T0, Word16 pitch_sharp, Word16 gain_pit, Word16 res2[], Word16 code[], Word16 y[], Word16 **anap, enum Mode mode, Word16 subNr, Flag *pOverflow) argument [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaSource.cpp | 50 void MediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument 53 mSeekMode = mode; 63 int64_t *time_us, SeekMode *mode) const { 65 *mode = mSeekMode;
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
H A D | d_gain_c.h | 58 #include "mode.h" 112 enum Mode mode, /* i : AMR mode */
|
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder.h | 122 int16 mode, /* input : used mode */ 133 int16 pvDecoder_AmrWb_homing_frame_test(int16 input_frame[], int16 mode); 135 int16 pvDecoder_AmrWb_homing_frame_test_first(int16 input_frame[], int16 mode); 142 int16 *mode,
|
H A D | homing_amr_wb_dec.cpp | 52 int16 mode 16-bit mode 63 int16 dhf_test(int16 input_frame[], int16 mode, int16 nparms) 64 int16 decoder_homing_frame_test(int16 input_frame[], int16 mode) 65 int16 decoder_homing_frame_test_first(int16 input_frame[], int16 mode) 127 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms); 248 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms) argument 275 if (mode != MRDTX) 277 if (mode != MODE_24k) 294 /*If mode i 355 pvDecoder_AmrWb_homing_frame_test(int16 input_frame[], int16 mode) argument 366 pvDecoder_AmrWb_homing_frame_test_first(int16 input_frame[], int16 mode) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 21 * Represents a contextual mode of the user interface. Action modes can be used to provide 64 * Set the title of the action mode. This method will have no visible effect if 75 * Set the title of the action mode. This method will have no visible effect if 86 * Set the subtitle of the action mode. This method will have no visible effect if 97 * Set the subtitle of the action mode. This method will have no visible effect if 108 * Set whether or not the title/subtitle display for this action mode 111 * <p>In many cases the supplied title for an action mode is merely 113 * mode to be useful. If the title is optional, the system may choose 127 * @return true if this action mode has been given a hint to consider the 138 * @return true if this action mode consider 239 onCreateActionMode(ActionMode mode, Menu menu) argument 248 onPrepareActionMode(ActionMode mode, Menu menu) argument 258 onActionItemClicked(ActionMode mode, MenuItem item) argument 265 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | PorterDuffXfermode_Delegate.java | 76 /*package*/ static long nativeCreateXfermode(int mode) { argument 77 PorterDuffXfermode_Delegate newDelegate = new PorterDuffXfermode_Delegate(mode); 83 private PorterDuffXfermode_Delegate(int mode) { argument 84 mMode = getPorterDuffMode(mode);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionMode.java | 25 * Represents a contextual mode of the user interface. Action modes can be used to provide 71 * Set the title of the action mode. This method will have no visible effect if 82 * Set the title of the action mode. This method will have no visible effect if 93 * Set the subtitle of the action mode. This method will have no visible effect if 104 * Set the subtitle of the action mode. This method will have no visible effect if 115 * Set whether or not the title/subtitle display for this action mode 118 * <p>In many cases the supplied title for an action mode is merely 120 * mode to be useful. If the title is optional, the system may choose 134 * @return true if this action mode has been given a hint to consider the 145 * @return true if this action mode consider 251 onCreateActionMode(ActionMode mode, Menu menu) argument 260 onPrepareActionMode(ActionMode mode, Menu menu) argument 270 onActionItemClicked(ActionMode mode, MenuItem item) argument 277 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | PorterDuff.cpp | 35 SkPorterDuff::Mode mode = static_cast<SkPorterDuff::Mode>(modeHandle); local 36 return reinterpret_cast<jlong>(SkPorterDuff::CreateXfermode(mode));
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | FrameBuffer1D.java | 38 public ByteBuffer lockBytes(int mode) { argument 39 assertAccessible(mode); 40 return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES); 51 public Allocation lockAllocation(int mode) { argument 52 assertAccessible(mode); 53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | BarTransitions.java | 73 public void transitionTo(int mode, boolean animate) { argument 75 if (!HIGH_END && (mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT 76 || mode == MODE_TRANSPARENT)) { 77 mode = MODE_OPAQUE; 79 if (!HIGH_END && (mode == MODE_LIGHTS_OUT_TRANSPARENT)) { 80 mode = MODE_LIGHTS_OUT; 82 if (mMode == mode) return; 84 mMode = mode; 86 modeToString(oldMode), modeToString(mode), animat 102 modeToString(int mode) argument 117 isLightsOut(int mode) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioGroup.java | 53 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will 58 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION} 66 * This mode is similar to {@link #MODE_NORMAL} except the speaker and 72 * This mode is similar to {@link #MODE_NORMAL} except the microphone is 78 * This mode indicates that the speaker, the microphone, and all 87 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression 119 * Returns the current mode. 126 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD}, 130 * @param mode The mode t 133 setMode(int mode) argument 143 nativeSetMode(int mode) argument 162 nativeAdd(int mode, int socket, String remoteAddress, int remotePort, String codecSpec, int dtmfType) argument [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | AndroidCamera2Settings.java | 356 Log.w(TAG, "Unable to convert to API 2 flash mode: " + mCurrentFlashMode); 366 Integer mode = null; 370 mode = CONTROL_AF_MODE_AUTO; 374 mode = CONTROL_AF_MODE_CONTINUOUS_PICTURE; 378 mode = CONTROL_AF_MODE_CONTINUOUS_VIDEO; 382 mode = CONTROL_AF_MODE_EDOF; 386 mode = CONTROL_AF_MODE_OFF; 391 mode = CONTROL_AF_MODE_MACRO; 395 Log.w(TAG, "Unable to convert to API 2 focus mode: " + mCurrentFocusMode); 400 mRequestSettings.set(CONTROL_AF_MODE, mode); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | SupportActionModeWrapper.java | 153 public boolean onCreateActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument 154 return mWrappedCallback.onCreateActionMode(getActionModeWrapper(mode), 159 public boolean onPrepareActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument 160 return mWrappedCallback.onPrepareActionMode(getActionModeWrapper(mode), 165 public boolean onActionItemClicked(android.support.v7.view.ActionMode mode, argument 167 return mWrappedCallback.onActionItemClicked(getActionModeWrapper(mode), 172 public void onDestroyActionMode(android.support.v7.view.ActionMode mode) { argument 173 mWrappedCallback.onDestroyActionMode(getActionModeWrapper(mode)); 185 private ActionMode getActionModeWrapper(android.support.v7.view.ActionMode mode) { argument 186 // First see if we already have a wrapper for this mode [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_main_data_size.cpp | 133 if (info->mode == MPG_MD_MONO) 147 if (info->mode == MPG_MD_MONO)
|