Searched refs:mode (Results 1 - 25 of 285) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DPorterDuffXfermode.java21 * Create an xfermode that uses the specified porter-duff mode.
23 * @param mode The porter-duff mode that is applied
25 public PorterDuffXfermode(PorterDuff.Mode mode) { argument
26 native_instance = nativeCreateXfermode(mode.nativeInt);
29 private static native int nativeCreateXfermode(int mode); argument
H A DPorterDuffColorFilter.java21 * Create a colorfilter that uses the specified color and porter-duff mode.
24 * porter-duff mode
25 * @param mode The porter-duff mode that is applied
27 public PorterDuffColorFilter(int srcColor, PorterDuff.Mode mode) { argument
29 mode.nativeInt);
H A DComposeShader.java23 /** Create a new compose shader, given shaders A, B, and a combining mode.
24 When the mode is applied, it will be given the result from shader A as its
26 @param shaderA The colors from this shader are seen as the "dst" by the mode
27 @param shaderB The colors from this shader are seen as the "src" by the mode
28 @param mode The mode that combines the colors from the two shaders. If mode
31 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument
33 (mode != null) ? mode
43 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument
[all...]
H A DAvoidXfermode.java39 * There are two modes, and each mode interprets a tolerance value.
41 * Avoid: In this mode, drawing is allowed only on destination pixels that
46 * Target: In this mode, drawing only occurs on destination pixels that
51 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument
55 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt);
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/
H A Dreverse_bits.h36 Description: Adding #include "mode.h" so that it compiles and works for the
65 #include "mode.h"
105 void reverse_bits(enum Mode mode, unsigned char *pCompressedBlock);
H A Dd_gain_p.h52 #include "mode.h"
72 enum Mode mode, /* i : AMR mode */
H A Dbits2prm.h53 #include "mode.h"
82 enum Mode mode,
H A Dd_gain_c.h58 #include "mode.h"
112 enum Mode mode, /* i : AMR mode */
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dol_ltp.cpp91 mode = coder mode (Mode)
133 enum Mode mode, // i : coder mode
143 if (sub ((Word16)mode, (Word16)MR102) != 0 )
149 if (sub ((Word16)mode, (Word16)MR475) == 0 || sub ((Word16)mode, (Word16)MR515) == 0 )
151 *T_op = Pitch_ol(vadSt, mode, wsp, PIT_MIN, PIT_MAX, L_FRAME, idx, dtx);
155 if ( sub ((Word16)mode, (Word16)MR795) <= 0 )
157 *T_op = Pitch_ol(vadSt, mode, ws
201 ol_ltp( pitchOLWghtState *st, vadState *vadSt, enum Mode mode, Word16 wsp[], Word16 *T_op, Word16 old_lags[], Word16 ol_gain_flg[], Word16 idx, Flag dtx, Flag *pOverflow ) argument
[all...]
H A Dets_to_if2.h66 #include "mode.h"
108 void ets_to_if2(enum Frame_Type_3GPP mode,
H A Dprm2bits.h53 #include "mode.h"
72 enum Mode mode, /* i : AMR mode */
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 */
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_p.cpp58 mode -- enumerated type -- AMR mode
125 #include "mode.h"
177 enum Mode mode, /* i : AMR mode */
185 if (mode == MR122)
176 d_gain_pitch( enum Mode mode, Word16 index ) argument
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...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffXfermode.java25 * Create an xfermode that uses the specified porter-duff mode.
27 * @param mode The porter-duff mode that is applied
29 public PorterDuffXfermode(PorterDuff.Mode mode) { argument
30 mMode = mode;
H A DComposeShader.java25 /** Create a new compose shader, given shaders A, B, and a combining mode.
26 When the mode is applied, it will be given the result from shader A as its
28 @param shaderA The colors from this shader are seen as the "dst" by the mode
29 @param shaderB The colors from this shader are seen as the "src" by the mode
30 @param mode The mode that combines the colors from the two shaders. If mode
33 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument
37 /** Create a new compose shader, given shaders A, B, and a combining PorterDuff mode.
38 When the mode i
44 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dbits2prm.cpp52 #include "mode.h"
189 mode = AMR mode of type enum Mode
226 enum Mode mode, // i : AMR mode
233 for (i = 0; i < prmno[mode]; i++)
235 prm[i] = Bin2int (bitno[mode][i], bits);
236 bits += bitno[mode][i];
270 enum Mode mode, /* i : AMR mode */
269 Bits2prm( enum Mode mode, Word16 bits[], Word16 prm[] ) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIUiModeManager.aidl25 * Enables the car mode. Only the system can do this.
31 * Disables the car mode.
36 * Return the current running mode.
41 * Sets the night mode.
42 * The mode can be one of:
43 * 1 - notnight mode
44 * 2 - night mode
45 * 3 - automatic mode switching
47 void setNightMode(int mode);
50 * Gets the currently configured night mode
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPorterDuff.cpp35 SkPorterDuff::Mode mode) {
36 return SkPorterDuff::CreateXfermode(mode);
34 CreateXfermode(JNIEnv* env, jobject, SkPorterDuff::Mode mode) argument
/frameworks/base/include/media/
H A DMediaMetadataRetrieverInterface.h35 virtual status_t setMode(int mode) = 0;
36 virtual status_t getMode(int* mode) const = 0;
52 // @param mode The intended mode of operations:
59 virtual status_t setMode(int mode) { argument
60 if (mode < METADATA_MODE_NOOP ||
61 mode > METADATA_MODE_FRAME_CAPTURE_AND_METADATA_RETRIEVAL) {
65 mMode = mode;
69 virtual status_t getMode(int* mode) const { *mode
[all...]
/frameworks/base/libs/audioflinger/
H A DAudioHardwareInterface.cpp56 static const char* displayMode(int mode) argument
58 if ((mode < -2) || (mode > 2))
60 return routingModeStrings[mode+3];
121 status_t AudioHardwareBase::setMode(int mode) argument
124 LOGD("setMode(%s)", displayMode(mode));
126 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES))
128 if (mMode == mode)
130 mMode = mode;
[all...]
/frameworks/base/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,

Completed in 235 milliseconds

1234567891011>>