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

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DPorterDuffXfermode.java23 public final PorterDuff.Mode mode; field in class:PorterDuffXfermode
26 * Create an xfermode that uses the specified porter-duff mode.
28 * @param mode The porter-duff mode that is applied
30 public PorterDuffXfermode(PorterDuff.Mode mode) { argument
31 this.mode = mode;
32 native_instance = nativeCreateXfermode(mode.nativeInt);
35 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
28 native_instance = native_CreatePorterDuffFilter(srcColor, mode.nativeInt);
29 nativeColorFilter = nCreatePorterDuffFilter(native_instance, srcColor, mode.nativeInt);
H A DComposeShader.java31 /** Create a new compose shader, given shaders A, B, and a combining mode.
32 When the mode is applied, it will be given the result from shader A as its
34 @param shaderA The colors from this shader are seen as the "dst" by the mode
35 @param shaderB The colors from this shader are seen as the "src" by the mode
36 @param mode The mode that combines the colors from the two shaders. If mode
39 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument
43 (mode != null) ? mode
61 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument
[all...]
H A DAvoidXfermode.java40 * There are two modes, and each mode interprets a tolerance value.
42 * Avoid: In this mode, drawing is allowed only on destination pixels that
47 * Target: In this mode, drawing only occurs on destination pixels that
52 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument
56 native_instance = nativeCreate(opColor, tolerance, mode.nativeInt);
/frameworks/av/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/av/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/av/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/support/v4/gingerbread/android/support/v4/view/
H A DViewCompatGingerbread.java26 public static void setOverScrollMode(View v, int mode) { argument
27 v.setOverScrollMode(mode);
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorVideoEncoder.h28 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode);
31 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode);
34 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode);
/frameworks/av/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/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityModel.java79 SecurityMode mode = SecurityMode.None;
81 mode = SecurityMode.SimPin;
84 mode = SecurityMode.SimPuk;
89 mode = mLockPatternUtils.isLockPasswordEnabled() ?
95 mode = mLockPatternUtils.isLockPasswordEnabled() ?
102 mode = mLockPatternUtils.isPermanentlyLocked() ?
108 throw new IllegalStateException("Unknown unlock mode:" + mode);
111 return mode;
117 * returns @param mode
122 getAlternateFor(SecurityMode mode) argument
138 getBackupSecurityMode(SecurityMode mode) 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/compile/linkloader/
H A DSConstruct57 mode = ARGUMENTS.get('mode', 'release')
60 if not mode in configs:
61 print 'ERROR: Unknown building mode:', mode
68 build_config = configs[mode]
72 print '===> BUILDING IN', mode.upper(), 'MODE ...'
/frameworks/av/media/libstagefright/
H A DMediaSource.cpp37 void MediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument
40 mSeekMode = mode;
50 int64_t *time_us, SeekMode *mode) const {
52 *mode = mSeekMode;

Completed in 1019 milliseconds

1234567891011>>