/frameworks/base/graphics/java/android/graphics/ |
H A D | AvoidXfermode.java | 42 * There are two modes, and each mode interprets a tolerance value. 44 * Avoid: In this mode, drawing is allowed only on destination pixels that 49 * Target: In this mode, drawing only occurs on destination pixels that 54 public AvoidXfermode(int opColor, int tolerance, Mode mode) { argument
|
H A D | ComposeShader.java | 34 * 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 D | PorterDuff.java | 22 * of {@link Paint}'s {@link Paint#setXfermode(Xfermode) transfer mode}. 74 * PorterDuff.Mode mode = // choose a mode 75 * paint.setXfermode(new PorterDuffXfermode(mode)); 171 * <p>The documentation of each individual alpha compositing or blending mode below 373 public static int modeToInt(Mode mode) { argument 374 return mode.nativeInt;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glDrawElementsInstanced.cpp | 1 /* 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
|
H A D | glDrawElementsInstancedBaseVertex.cpp | 1 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) { 25 (GLenum)mode, 39 /* void glDrawElementsInstancedBaseVertex ( GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instanceCount, GLint basevertex ) */ 42 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) { 44 (GLenum)mode, 3 android_glDrawElementsInstancedBaseVertex__IIILjava_nio_Buffer_2II(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount, jint basevertex) argument 41 android_glDrawElementsInstancedBaseVertex__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount, jint basevertex) argument
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | RtpStream.java | 33 * 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/opt/net/wifi/libwifi_hal/testlib/include/wifi_hal_test/ |
H A D | mock_driver_tool.h | 31 MOCK_METHOD1(ChangeFirmwareMode, bool(int mode));
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
H A D | ActionMode.java | 28 * Represents a contextual mode of the user interface. Action modes can be used to provide 74 * Set the title of the action mode. This method will have no visible effect if 85 * Set the title of the action mode. This method will have no visible effect if 96 * Set the subtitle of the action mode. This method will have no visible effect if 107 * Set the subtitle of the action mode. This method will have no visible effect if 118 * Set whether or not the title/subtitle display for this action mode 121 * <p>In many cases the supplied title for an action mode is merely 123 * mode to be useful. If the title is optional, the system may choose 137 * @return true if this action mode has been given a hint to consider the 148 * @return true if this action mode consider 255 onCreateActionMode(ActionMode mode, Menu menu) argument 264 onPrepareActionMode(ActionMode mode, Menu menu) argument 274 onActionItemClicked(ActionMode mode, MenuItem item) argument 281 onDestroyActionMode(ActionMode mode) argument [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | amrencode.cpp | 56 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...] |
H A D | cl_ltp.cpp | 442 mode = codec mode value, of type enum Mode 496 enum Mode mode, // i : coder mode 524 mode, T_op, exc, xn, h1, 544 *gain_pit = G_pitch(mode, xn, y1, g_coeff, L_SUBFR); 556 // special for the MR475, MR515 mode; limit the gain to 0.85 to 558 if ((sub (mode, MR475) == 0) || (sub (mode, MR515) == 0)) { 575 if (sub(mode, MR12 619 cl_ltp( clLtpState *clSt, tonStabState *tonSt, enum Mode mode, Word16 frameOffset, Word16 T_op[], Word16 *h1, Word16 *exc, Word16 res2[], Word16 xn[], Word16 lsp_flag, Word16 xn2[], Word16 yl[], Word16 *T0, Word16 *T0_frac, Word16 *gain_pit, Word16 g_coeff[], Word16 **anap, Word16 *gp_limit, Flag *pOverflow ) argument [all...] |
H A D | pre_big.cpp | 95 mode = enum Mode -- coder mode 159 enum Mode mode, /* i : coder mode */ 177 if (mode <= MR795) 158 pre_big( enum Mode mode, const Word16 gamma1[], const Word16 gamma1_12k2[], const Word16 gamma2[], Word16 A_t[], Word16 frameOffset, Word16 speech[], Word16 mem_w[], Word16 wsp[], Flag *pOverflow ) argument
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
H A D | amrwbdec_test.cpp | 114 // Read mode. 118 int16 mode = ((modeByte >> 3) & 0x0f); local 120 // AMR-WB file format cannot have mode 10, 11, 12 and 13. 121 if (mode >= 10 && mode <= 13) { 122 fprintf(stderr, "Encountered illegal frame type %d\n", mode); 127 if (mode >= 9) { 130 } else /* if (mode < 9) */ { 132 int32_t frameSize = kFrameSizes[mode]; 138 frameMode = mode; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | PorterDuffColorFilter_Delegate.java | 64 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) {
|
H A D | BlendComposite.java | 59 private BlendingMode mode; field in class:BlendComposite 61 private BlendComposite(BlendingMode mode) { argument 62 this(mode, 1.0f); 65 private BlendComposite(BlendingMode mode, float alpha) { argument 66 this.mode = mode; 70 public static BlendComposite getInstance(BlendingMode mode) { argument 71 return mode.getBlendComposite(); 74 public static BlendComposite getInstance(BlendingMode mode, float alpha) { argument 76 return getInstance(mode); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dec_amr.cpp | 41 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 D | c_g_aver.cpp | 87 #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...] |
H A D | d_plsf_3.cpp | 42 mode -- enum Mode -- coder mode 164 enum Mode mode, /* i : coder mode */ 206 if (mode != MRDTX) 231 } /* if (mode == MRDTX) */ 269 if ((mode == MR475) || (mode == MR515)) 278 else if (mode == MR795) 317 if (mode 162 D_plsf_3( D_plsfState *st, enum Mode mode, Word16 bfi, Word16 * indice, Word16 * lsp1_q, Flag *pOverflow ) argument [all...] |
H A D | pstfilt.h | 65 #include "mode.h" 122 enum Mode mode, /* i : AMR mode */
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioGain.cpp | 45 config->mode = mGain.mode; 47 if ((mGain.mode & AUDIO_GAIN_MODE_JOINT) == AUDIO_GAIN_MODE_JOINT) { 60 if ((mGain.mode & AUDIO_GAIN_MODE_RAMP) == AUDIO_GAIN_MODE_RAMP) { 67 if ((config->mode & ~mGain.mode) != 0) { 70 if ((config->mode & AUDIO_GAIN_MODE_JOINT) == AUDIO_GAIN_MODE_JOINT) { 92 if ((config->mode & AUDIO_GAIN_MODE_RAMP) == AUDIO_GAIN_MODE_RAMP) { 109 snprintf(buffer, SIZE, "%*s- mode: %08x\n", spaces, "", mGain.mode); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 44 printf ("Options +M* for seting compression bitrate mode, default is 23.85kbps\n"); 60 printf ("Options +DTX enable DTX mode, default is disable.\n"); 74 int mode, 185 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_MODE, &mode); 264 int mode, r; local 281 mode = VOAMRWB_MD2385; 295 case '0': mode = VOAMRWB_MD66; 297 case '1': mode = VOAMRWB_MD885; 299 case '2': mode = VOAMRWB_MD1265; 301 case '3': mode 73 encode( int mode, short allow_dtx, VOAMRWBFRAMETYPE frameType, const char* srcfile, const char* dstfile ) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayTransformManager.java | 135 * Returns the current Daltonization mode. 144 * Sets the current Daltonization mode. This adjusts the color space to correct for or simulate 147 * @param mode the new Daltonization mode, or -1 to disable 149 public void setDaltonizerMode(int mode) { argument 151 if (mDaltonizerMode != mode) { 152 mDaltonizerMode = mode; 153 applyDaltonizerMode(mode); 185 * Propagates the provided Daltonization mode to the SurfaceFlinger. 187 private static void applyDaltonizerMode(int mode) { argument [all...] |
/frameworks/av/media/libaaudio/examples/utils/ |
H A D | AAudioExampleUtils.h | 28 static const char *getSharingModeText(aaudio_sharing_mode_t mode) { argument 30 switch (mode) {
|
/frameworks/base/libs/hwui/ |
H A D | VkLayer.h | 31 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/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | TestAssetRepository.java | 46 public InputStream openAsset(String path, int mode) throws IOException { argument 51 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
|
/frameworks/webview/chromium/plat_support/ |
H A D | draw_gl.h | 45 } mode; member in struct:AwDrawGLInfo 101 // Called to map a GraphicBuffer in |mode|. 102 typedef int AwMapFunction(long buffer_id, AwMapMode mode, void** vaddr); 112 // Set of functions used in rendering in hardware mode
|