/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpRendererTests.cpp | 58 static void drawFirstOp(RenderState& renderState, int color, SkBlendMode mode) { argument 64 paint.setBlendMode(mode);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioGainConfig.java | 35 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 D | XfermodeActivity.java | 127 private void drawRects(Canvas canvas, PorterDuff.Mode mode) { argument 132 mRedPaint.setXfermode(new PorterDuffXfermode(mode));
|
/frameworks/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) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PorterDuffUtility.java | 58 * 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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | TestAssetRepository.java | 54 public InputStream openAsset(String path, int mode) throws IOException { argument 59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { argument
|
/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/ |
H A D | RemoteAssetRepositoryAdapter.java | 42 public RemoteInputStream openAsset(String path, int mode) throws IOException, RemoteException { argument 43 return RemoteInputStreamAdapter.create(mDelegate.openAsset(path, mode)); 47 public RemoteInputStream openNonAsset(int cookie, String path, int mode) argument 49 return RemoteInputStreamAdapter.create(mDelegate.openNonAsset(cookie, path, mode));
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/ |
H A D | RemoteAssetRepository.java | 32 RemoteInputStream openAsset(String path, int mode) throws IOException; argument 35 RemoteInputStream openNonAsset(int cookie, String path, int mode) throws IOException; argument
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
H A D | RemoteAssetRepositoryAdapter.java | 41 public InputStream openAsset(String path, int mode) throws IOException, RemoteException { argument 42 return StreamUtil.getInputStream(mDelgate.openAsset(path, mode)); 46 public InputStream openNonAsset(int cookie, String path, int mode) argument 48 return StreamUtil.getInputStream(mDelgate.openNonAsset(cookie, path, mode));
|
/frameworks/native/libs/binder/ |
H A D | IShellCallback.cpp | 43 const String16& mode) { 48 data.writeString16(mode); 69 String16 mode(data.readString16()); 70 int fd = openFile(path, seLinuxContext, mode); 42 openFile(const String16& path, const String16& seLinuxContext, const String16& mode) argument
|
/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
|
/frameworks/opt/net/wifi/libwifi_hal/ |
H A D | driver_tool.cpp | 35 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/src/main/java/androidx/core/widget/ |
H A D | ImageViewCompat.java | 72 * Return the blending mode used to apply the tint to the image drawable, if specified. 85 * Specifies the blending mode used to apply the tint specified by 87 * to the image drawable. The default mode is {@link PorterDuff.Mode#SRC_IN}. 89 public static void setImageTintMode(@NonNull ImageView view, @Nullable PorterDuff.Mode mode) { argument 91 view.setImageTintMode(mode); 107 ((TintableImageSourceView) view).setSupportImageTintMode(mode);
|
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | AppCompatTintableViewActions.java | 67 * Sets the passed mode as the background tint mode on a <code>View</code>. 69 public static ViewAction setBackgroundTintMode(final PorterDuff.Mode mode) { argument 78 return "set background tint mode"; 85 ViewCompat.setBackgroundTintMode(view, mode); 119 * Sets the passed mode as the image source tint mode on a <code>View</code>. 121 public static ViewAction setImageSourceTintMode(final PorterDuff.Mode mode) { argument 130 return "set image source tint mode"; 137 ImageViewCompat.setImageTintMode((ImageView) view, mode); [all...] |
/frameworks/support/webkit/src/main/java/androidx/webkit/ |
H A D | ServiceWorkerWebSettingsCompat.java | 56 * @param mode the mode to use. One of {@link WebSettings#LOAD_DEFAULT}, 64 public abstract void setCacheMode(@CacheMode int mode); argument 68 * Gets the current setting for overriding the cache mode. 70 * @return the current setting for overriding the cache mode
|
/frameworks/av/drm/mediadrm/plugins/clearkey/default/ |
H A D | CryptoPlugin.cpp | 36 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/libaudioclient/tests/ |
H A D | test_create_utils.cpp | 79 mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH; local 103 outputFileFd = open(*argv, O_WRONLY|O_CREAT, mode);
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | d_gain_c.cpp | 59 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 D | dec_gain.cpp | 72 #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 D | sp_dec.cpp | 104 #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 D | cbsearch.cpp | 63 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 D | g_pitch.cpp | 81 #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 D | sp_enc.cpp | 79 #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 D | spreproc.cpp | 102 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 D | phase_dispersion.cpp | 50 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
|