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

1234567891011>>

/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...]
H A Dmime_io.cpp169 /* size of packed frame for each mode, excluding TOC byte */
174 /* number of unused speech bits in packed format for each mode */
532 int16 * mode,
551 const int16 * pt_AmrWbSortingTables = AmrWbSortingTables[*mode];
556 unpacked_size[*mode]*sizeof(*sorted_bits_into_int16));
561 for (i = unpacked_size[*mode] >> 3; i != 0; i--)
658 if (unpacked_size[*mode] % 4)
669 switch (*mode)
707 /* set mode index */
708 *mode
529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) 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/core/java/android/webkit/
H A DSelectActionModeCallback.java53 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
54 mode.getMenuInflater().inflate(com.android.internal.R.menu.webview_copy, menu);
57 mode.setTitle(context.getString(com.android.internal.R.string.textSelectionCABTitle));
58 mode.setTitleOptionalHint(true);
60 // If the action mode UI we're running in isn't capable of taking window focus
67 boolean isFocusable = mode.isUiFocusable();
79 mActionMode = mode;
84 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
89 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
93 mode
139 onDestroyActionMode(ActionMode mode) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffXfermode_Delegate.java70 public static PorterDuff.Mode getPorterDuffMode(int mode) { argument
72 if (m.nativeInt == mode) {
78 String.format("Unknown PorterDuff.Mode: %d", mode), null /*data*/);
83 public static Composite getComposite(PorterDuff.Mode mode, int alpha) { argument
85 switch (mode) {
121 String.format("Unsupported PorterDuff Mode: %s", mode.name()),
130 /*package*/ static int nativeCreateXfermode(int mode) { argument
131 PorterDuffXfermode_Delegate newDelegate = new PorterDuffXfermode_Delegate(mode);
137 private PorterDuffXfermode_Delegate(int mode) { argument
138 mMode = mode;
[all...]
/frameworks/base/voip/java/android/net/rtp/
H A DAudioGroup.java52 * allowed to run in a mode other than {@link #MODE_ON_HOLD}. The others will
57 * should set the audio mode to {@link AudioManager#MODE_IN_COMMUNICATION}
65 * This mode is similar to {@link #MODE_NORMAL} except the speaker and
71 * This mode is similar to {@link #MODE_NORMAL} except the microphone is
77 * This mode indicates that the speaker, the microphone, and all
86 * This mode is similar to {@link #MODE_NORMAL} except the echo suppression
118 * Returns the current mode.
125 * Changes the current mode. It must be one of {@link #MODE_ON_HOLD},
129 * @param mode The mode t
132 setMode(int mode) argument
142 nativeSetMode(int mode) argument
161 nativeAdd(int mode, int socket, String remoteAddress, int remotePort, String codecSpec, int dtmfType) argument
[all...]
H A DRtpStream.java33 * This mode indicates that the stream sends and receives packets at the
34 * same time. This is the initial mode for new streams.
39 * This mode indicates that the stream only sends packets.
44 * This mode indicates that the stream only receives packets.
117 * Returns the current mode.
124 * Changes the current mode. It must be one of {@link #MODE_NORMAL},
127 * @param mode The mode to change to.
128 * @throws IllegalArgumentException if the mode is invalid.
132 public void setMode(int mode) { argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DCompatModeButton.java51 int mode = mAM.getFrontActivityScreenCompatMode();
52 if (mode == ActivityManager.COMPAT_MODE_UNKNOWN) {
56 final boolean vis = (mode != ActivityManager.COMPAT_MODE_NEVER
57 && mode != ActivityManager.COMPAT_MODE_ALWAYS);
58 if (DEBUG) Slog.d(TAG, "compat mode is " + mode + "; icon will " + (vis ? "show" : "hide"));
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
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...]
H A Ddec_gain.h63 #include "mode.h"
109 enum Mode mode, /* i : AMR mode */
H A Ddec_amr.cpp41 codec mode. The functions used to initialize, reset, and exit are also
276 mode = codec mode (enum Mode)
309 int Decoder_amr_reset (Decoder_amrState *state, enum Mode mode)
324 if (mode != MRDTX)
333 if (mode != MRDTX) {
345 if (mode != MRDTX) {
354 if (mode != MRDTX)
360 if (mode != MRDTX)
366 if (mode !
395 Decoder_amr_reset(Decoder_amrState *state, enum Mode mode) argument
1333 Decoder_amr( Decoder_amrState *st, enum Mode mode, Word16 parm[], enum RXFrameType frame_type, Word16 synth[], Word16 A_t[] ) argument
[all...]
H A Dc_g_aver.cpp87 #include "mode.h"
222 mode = AMR mode (enum Mode)
266 enum Mode mode, // i : AMR mode
342 if ((sub(mode, MR67) <= 0) || (sub(mode, MR102) == 0))
348 ((sub(mode, MR475) == 0) ||
349 (sub(mode, MR515) == 0) ||
350 (sub(mode, MR5
463 Cb_gain_average( Cb_gain_averageState *st, enum Mode mode, Word16 gain_code, Word16 lsp[], Word16 lspAver[], Word16 bfi, Word16 prev_bf, Word16 pdfi, Word16 prev_pdf, Word16 inBackgroundNoise, Word16 voicedHangover, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
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...]
H A Dcbsearch.h70 #include "mode.h"
121 enum Mode mode, /* i : coder mode */
H A Dlpc.h52 for mode 12.2. For all other modes a
68 #include "mode.h"
131 enum Mode mode, /* i : coder mode */
H A Dol_ltp.h63 #include "mode.h"
107 enum Mode mode, /* i : coder mode */
H A Dpitch_ol.h61 #include "mode.h"
104 enum Mode mode, /* i : coder mode */
H A Dpre_big.h69 #include "mode.h"
111 enum Mode mode, /* i : coder mode */
H A Dq_gain_c.cpp73 #include "mode.h"
125 mode -- enum Mode -- AMR mode
192 enum Mode mode, /* i : AMR mode */
212 if (mode == MR122)
231 if (mode == MR122)
279 if (mode == MR122)
191 q_gain_code( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 *gain, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
H A Damrencode.cpp56 Added SID type and mode info to ets_output_bfr for ETS SID
86 #include "mode.h"
493 mode = codec mode (enum Mode)
506 mode or -1, if an error occurred (int)
510 data bytes per codec mode for WMF output
513 data bytes per codec mode for IF2 output
530 used mode. For SID frames, the SID type information and mode information are
558 followed by the encoded speech parameters. The codec mode informatio
746 AMREncode( void *pEncState, void *pSidSyncState, enum Mode mode, Word16 *pEncInput, UWord8 *pEncOutput, enum Frame_Type_3GPP *p3gpp_frame_type, Word16 output_format ) argument
[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)
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dqua_gain.h64 #include "mode.h"
109 enum Mode mode, /* i : AMR mode */
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dmain.h29 Word16 * mode, /* input : used mode */
32 Word16 * ser_size, /* output: bit rate of the used mode */
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c43 printf ("Options +M* for seting compression bitrate mode, default is 23.85kbps\n");
59 printf ("Options +DTX enable DTX mode, default is disable.\n");
73 int mode,
184 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode);
263 int mode, r; local
280 mode = VOAMRWB_MD2385;
294 case '0': mode = VOAMRWB_MD66;
296 case '1': mode = VOAMRWB_MD885;
298 case '2': mode = VOAMRWB_MD1265;
300 case '3': mode
72 encode( int mode, short allow_dtx, VOAMRWBFRAMETYPE frameType, const char* srcfile, const char* dstfile ) argument
[all...]

Completed in 3495 milliseconds

1234567891011>>