Searched refs:mode (Results 26 - 50 of 609) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DAudioGain.java24 * - 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 DIRemoteDisplayProvider.aidl26 void setDiscoveryMode(int mode);
/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java43 /** 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 DPorterDuffColorFilter.java21 * 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 Damrdecode.cpp83 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 Ddec_gain.cpp72 #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 Dprm2bits.cpp59 #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 Dg_pitch.h62 #include "mode.h"
103 enum Mode mode, /* i : AMR mode */
H A Dq_gain_c.h67 #include "mode.h"
116 enum Mode mode, /* i : AMR mode */
H A Dq_gain_p.h67 #include "mode.h"
108 enum Mode mode, /* i : AMR mode */
H A Dcbsearch.cpp63 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 DMediaSource.cpp50 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 Dd_gain_c.h58 #include "mode.h"
112 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.h122 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 Dhoming_amr_wb_dec.cpp52 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 DActionMode.java21 * 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 DPorterDuffXfermode_Delegate.java76 /*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 DActionMode.java25 * 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 DPorterDuff.cpp35 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 DFrameBuffer1D.java38 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 DBarTransitions.java73 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 DAudioGroup.java53 * 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 DAndroidCamera2Settings.java356 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 DSupportActionModeWrapper.java153 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 Dpvmp3_get_main_data_size.cpp133 if (info->mode == MPG_MD_MONO)
147 if (info->mode == MPG_MD_MONO)

Completed in 5876 milliseconds

1234567891011>>