Searched defs:mode (Results 26 - 50 of 567) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DLayer.cpp27 SkBlendMode mode)
33 , mode(mode) {
26 Layer(RenderState& renderState, Api api, SkColorFilter* colorFilter, int alpha, SkBlendMode mode) argument
H A DGlLayer.cpp36 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend)
37 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode)
35 GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DVkLayer.h31 SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend)
32 : Layer(renderState, Api::Vulkan, colorFilter, alpha, mode)
30 VkLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, SkColorFilter* colorFilter, int alpha, SkBlendMode mode, bool blend) argument
/frameworks/base/media/java/android/media/
H A DAudioGainConfig.java35 AudioGainConfig(int index, AudioGain gain, int mode, int channelMask, argument
39 mMode = mode;
57 public int mode() { method in class:AudioGainConfig
78 * Ramp duration in milliseconds. N/A if mode() does not
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DXfermodeActivity.java127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { argument
132 mRedPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPorterDuffColorFilter_Delegate.java64 return "PorterDuff Color Filter is not supported for mode: " + mMode.name() + ".";
86 private PorterDuffColorFilter_Delegate(int srcColor, int mode) { argument
88 mMode = getCompatibleMode(getPorterDuffMode(mode));
94 // in such cases, they can usually be mapped to some other mode, which produces an approximately
96 private Mode getCompatibleMode(Mode mode) { argument
97 Mode m = mode;
101 switch (mode) {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPorterDuffUtility.java58 * PorterDuff mode and the alpha. Defaults to {@link Mode#SRC_OVER} for invalid modes.
60 public static Composite getComposite(Mode mode, int alpha255) { argument
62 switch (mode) {
101 String.format("Unsupported PorterDuff Mode: %1$s", mode.name()),
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
H A DTestAssetRepository.java46 public InputStream openAsset(String path, int mode) throws IOException { argument
51 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.cpp1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) {
16 (GLenum)mode,
27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
30 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) {
32 (GLenum)mode,
3 android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) argument
29 android_glDrawElementsInstanced__IIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) argument
/frameworks/native/services/surfaceflinger/Effects/
H A DDaltonizer.cpp29 void Daltonizer::setMode(ColorBlindnessMode mode) { argument
30 if (mode != mMode) {
32 mMode = mode;
/frameworks/opt/net/wifi/libwifi_hal/
H A Ddriver_tool.cpp35 return true; // HAL doesn't think we need to load firmware for any mode.
59 bool DriverTool::IsFirmwareModeChangeNeeded(int mode) { argument
60 return (wifi_get_fw_path(mode) != nullptr);
63 bool DriverTool::ChangeFirmwareMode(int mode) { argument
64 const char* fwpath = wifi_get_fw_path(mode);
66 return true; // HAL doesn't think we need to load firmware for this mode.
/frameworks/support/compat/java/android/support/v4/widget/
H A DImageViewCompat.java38 void setImageTintMode(ImageView view, PorterDuff.Mode mode); argument
57 public void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
59 ((TintableImageSourceView) view).setSupportImageTintMode(mode);
98 public void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
99 view.setImageTintMode(mode);
146 * Return the blending mode used to apply the tint to the image drawable, if specified.
153 * Specifies the blending mode used to apply the tint specified by
155 * to the image drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}.
157 public static void setImageTintMode(ImageView view, PorterDuff.Mode mode) { argument
158 IMPL.setImageTintMode(view, mode);
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DAppCompatDelegateImplV23.java45 int mapNightMode(@NightMode final int mode) { argument
46 if (mode == MODE_NIGHT_AUTO
48 // If we're set to AUTO and the system's auto night mode is already enabled,
52 return super.mapNightMode(mode);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DAppCompatTintableViewActions.java66 * Sets the passed mode as the background tint mode on a <code>View</code>.
68 public static ViewAction setBackgroundTintMode(final PorterDuff.Mode mode) { argument
77 return "set background tint mode";
84 ViewCompat.setBackgroundTintMode(view, mode);
118 * Sets the passed mode as the image source tint mode on a <code>View</code>.
120 public static ViewAction setImageSourceTintMode(final PorterDuff.Mode mode) { argument
129 return "set image source tint mode";
136 ImageViewCompat.setImageTintMode((ImageView) view, mode);
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp36 Mode mode, const Pattern &/* pattern */, const void* srcPtr,
45 if (mode == kMode_Unencrypted) {
65 } else if (mode == kMode_AES_CTR) {
77 "Selected encryption mode is not supported by the ClearKey DRM "
35 decrypt(bool secure, const KeyId keyId, const Iv iv, Mode mode, const Pattern & , const void* srcPtr, const SubSample* subSamples, size_t numSubSamples, void* dstPtr, AString* errorDetailMsg) argument
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd_gain_c.cpp59 mode = AMR mode (MR795 or MR122) of type enum Mode
130 #include "mode.h"
192 enum Mode mode, /* i : AMR mode (MR795 or MR122) */
217 gc_pred(pred_state, mode, code, &exp, &frac,
226 temp = sub((Word16)mode, (Word16)MR122, pOverflow);
190 d_gain_code( gc_predState *pred_state, enum Mode mode, Word16 index, Word16 code[], Word16 *gain_code, Flag *pOverflow ) argument
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 Dsp_dec.cpp104 #include "mode.h"
140 mode (Flag)
512 mode = GSM AMR codec mode (enum Mode)
560 enum Mode mode, // i : AMR mode
581 // Override mode to MRDTX
584 Bits2prm (mode, serial, parm);
588 Decoder_amr(st->decoder_amrState, mode, parm, frame_type,
591 Post_Filter(st->post_state, mode, synt
633 GSMFrameDecode( Speech_Decode_FrameState *st, enum Mode mode, Word16 *serial, enum RXFrameType frame_type, Word16 *synth) 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 Dg_pitch.cpp81 #include "mode.h"
115 mode = AMR mode (enum Mode)
164 enum Mode mode, // i : AMR mode
266 if (sub(mode, MR122) == 0)
299 enum Mode mode, /* i : AMR mode */
457 if (mode == MR122)
298 G_pitch( enum Mode mode, Word16 xn[], Word16 y1[], Word16 g_coeff[], Word16 L_subfr, Flag *pOverflow ) argument
H A Dsp_enc.cpp79 #include "mode.h"
599 mode = AMR mode of type enum Mode
603 usedMode = pointer to the used mode of type enum Mode
646 enum Mode mode, // i : speech coder mode
649 enum Mode *usedMode // o : used speech coder mode
681 cod_amr(st->cod_amr_state, mode, new_speech, prm, usedMode, syn);
717 enum Mode mode, /* i : speech coder mode */
715 GSMEncodeFrame( void *state_data, enum Mode mode, Word16 *new_speech, Word16 *serial, enum Mode *usedMode ) argument
[all...]
H A Dspreproc.cpp102 mode -- enum Mode -- coder mode
172 enum Mode mode, /* i : coder mode */
194 /* mode specific pointer to gamma1 values */
195 if (mode == MR122 || mode == MR102)
171 subframePreProc( enum Mode mode, const Word16 gamma1[], const Word16 gamma1_12k2[], const Word16 gamma2[], Word16 *A, Word16 *Aq, Word16 *speech, Word16 *mem_err, Word16 *mem_w0, Word16 *zero, Word16 ai_zero[], Word16 exc[], Word16 h1[], Word16 xn[], Word16 res2[], Word16 error[] ) argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp50 int16 mode, (i) : level, 0=hi, 1=lo, 2=off
155 int16 mode, /* (i) : level, 0=hi, 1=lo, 2=off */
224 state += mode; /* level of dispersion */
151 phase_dispersion( int16 gain_code, int16 gain_pit, int16 code[], int16 mode, int16 disp_mem[], int16 ScratchMem[] ) argument
/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java34 * Create a new compose shader, given shaders A, B, and a combining mode.
35 * When the mode is applied, it will be given the result from shader A as its
38 * @param shaderA The colors from this shader are seen as the "dst" by the mode
39 * @param shaderB The colors from this shader are seen as the "src" by the mode
40 * @param mode The mode that combines the colors from the two shaders. If mode
43 public ComposeShader(@NonNull Shader shaderA, @NonNull Shader shaderB, @NonNull Xfermode mode) { argument
44 this(shaderA, shaderB, mode.porterDuffMode);
48 * Create a new compose shader, given shaders A, B, and a combining PorterDuff mode
56 ComposeShader(@onNull Shader shaderA, @NonNull Shader shaderB, @NonNull PorterDuff.Mode mode) argument
[all...]
H A DPorterDuffColorFilter.java24 * color and a specific {@link PorterDuff Porter-Duff composite mode}.
32 * Create a color filter that uses the specified color and Porter-Duff mode.
34 * @param color The ARGB source color used with the specified Porter-Duff mode
35 * @param mode The porter-duff mode that is applied
41 public PorterDuffColorFilter(@ColorInt int color, @NonNull PorterDuff.Mode mode) { argument
43 mMode = mode;
80 * Returns the Porter-Duff mode used to composite this color filter's
93 * Specifies the Porter-Duff mode to use when compositing this color
102 public void setMode(@NonNull PorterDuff.Mode mode) { argument
[all...]

Completed in 347 milliseconds

1234567891011>>