Searched refs:mode (Results 1 - 25 of 529) 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.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 !
75 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,
/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 */
/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/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.java1 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
4 int mode,
11 // C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
14 int mode,
3 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument
13 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument
/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/support/v4/jellybean-mr2/android/support/v4/view/
H A DViewGroupCompatJellybeanMR2.java27 public static void setLayoutMode(ViewGroup group, int mode) { argument
28 group.setLayoutMode(mode);
/frameworks/support/v4/kitkat/android/support/v4/view/
H A DViewCompatKitKat.java29 public static void setAccessibilityLiveRegion(View view, int mode) { argument
30 view.setAccessibilityLiveRegion(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/packages/Keyguard/src/com/android/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/base/wifi/java/android/net/wifi/p2p/
H A DIWifiP2pManager.aidl29 void setMiracastMode(int mode);
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatKitKat.java29 public static void setLiveRegion(Object info, int mode) { argument
30 ((AccessibilityNodeInfo) info).setLiveRegion(mode);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarTransitions.java59 private float getNonBatteryClockAlphaFor(int mode) { argument
60 return mode == MODE_LIGHTS_OUT ? ICON_ALPHA_WHEN_LIGHTS_OUT_NON_BATTERY_CLOCK
61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE
65 private float getBatteryClockAlpha(int mode) { argument
66 return mode == MODE_LIGHTS_OUT ? ICON_ALPHA_WHEN_LIGHTS_OUT_BATTERY_CLOCK
67 : getNonBatteryClockAlphaFor(mode);
70 private boolean isOpaque(int mode) { argument
71 return !(mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT);
80 private void applyMode(int mode, boolea argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarImplHC.java68 // Only allow animation if we're not currently showing an action mode
80 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
81 final boolean wrappedResult = mWrappedCallback.onCreateActionMode(mode, menu);
83 // Keep reference to action mode
84 mCurActionMode = mode;
92 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
93 return mWrappedCallback.onPrepareActionMode(mode, menu);
97 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
98 return mWrappedCallback.onActionItemClicked(mode, item);
102 public void onDestroyActionMode(ActionMode mode) { argument
[all...]

Completed in 639 milliseconds

1234567891011>>