Searched defs:mode (Results 51 - 75 of 623) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/input/
H A DInputManagerInternal.java30 public abstract boolean injectInputEvent(InputEvent event, int displayId, int mode); argument
/frameworks/base/core/java/android/os/
H A DShellCallback.java39 String mode) {
40 return onOpenFile(path, seLinuxContext, mode);
57 * @param mode Mode to open file in: "r" for input/reading an existing file,
62 public ParcelFileDescriptor openFile(String path, String seLinuxContext, String mode) { argument
63 if (DEBUG) Log.d(TAG, "openFile " + this + " mode=" + mode + ": mLocal=" + mLocal
67 return onOpenFile(path, seLinuxContext, mode);
72 return mShellCallback.openFile(path, seLinuxContext, mode);
80 public ParcelFileDescriptor onOpenFile(String path, String seLinuxContext, String mode) { argument
38 openFile(String path, String seLinuxContext, String mode) 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...]
/frameworks/base/libs/hwui/
H A DGlLayer.cpp35 sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend)
36 : Layer(renderState, Api::OpenGL, colorFilter, alpha, mode)
34 GlLayer(RenderState& renderState, uint32_t layerWidth, uint32_t layerHeight, sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend) argument
H A DLayer.cpp27 SkBlendMode mode)
33 , mode(mode) {
26 Layer(RenderState& renderState, Api api, sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode) argument
H A DVkLayer.h31 sk_sp<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, sk_sp<SkColorFilter> colorFilter, int alpha, SkBlendMode mode, bool blend) argument
/frameworks/base/libs/hwui/renderstate/
H A DBlend.cpp28 SkBlendMode mode; member in struct:android::uirenderer::Blender
72 // this array's SrcOver blending mode is actually DstOver. You can refer to
107 void Blend::getFactors(SkBlendMode mode, ModeOrderSwap modeUsage, GLenum* outSrc, GLenum* outDst) { argument
108 int index = static_cast<int>(mode);
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java68 int type, String domain, String relpath, long mode, long mtime)
67 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/os/
H A DFakeHandler.java50 public void setMode(Mode mode) { argument
51 mMode = mode;
/frameworks/base/services/backup/java/com/android/server/backup/
H A DFileMetadata.java36 public long mode; // e.g. 0666 (actually int) field in class:FileMetadata
63 // mode string
65 b.append(((mode & 0400) != 0) ? 'r' : '-');
66 b.append(((mode & 0200) != 0) ? 'w' : '-');
67 b.append(((mode & 0100) != 0) ? 'x' : '-');
68 b.append(((mode & 0040) != 0) ? 'r' : '-');
69 b.append(((mode & 0020) != 0) ? 'w' : '-');
70 b.append(((mode & 0010) != 0) ? 'x' : '-');
71 b.append(((mode & 0004) != 0) ? 'r' : '-');
72 b.append(((mode
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameBuffer1D.java38 public ByteBuffer lockBytes(int mode) { argument
39 assertAccessible(mode);
40 return (ByteBuffer)mBackingStore.lockData(mode, BackingStore.ACCESS_BYTES);
51 public Allocation lockAllocation(int mode) { argument
52 assertAccessible(mode);
53 return (Allocation) mBackingStore.lockData(mode, BackingStore.ACCESS_ALLOCATION);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFramebufferBlendActivity.java87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument
93 mPaint.setXfermode(new PorterDuffXfermode(mode));
99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument
104 mPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/native/libs/vr/libdisplay/
H A Dshared_buffer_helpers.cpp12 CPUMappedBuffer::CPUMappedBuffer(DvrGlobalBufferKey key, CPUUsageMode mode) argument
13 : buffer_key_(key), usage_mode_(mode) {
18 CPUUsageMode mode)
21 usage_mode_(mode) {
25 CPUMappedBuffer::CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode) argument
26 : buffer_(buffer), usage_mode_(mode) {
17 CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode) argument
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstancedBaseVertex.cpp1 /* 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/native/services/sensorservice/
H A DRotationVectorSensor.cpp30 RotationVectorSensor::RotationVectorSensor(int mode) : argument
31 mMode(mode) {
/frameworks/support/compat/src/main/java/androidx/core/view/
H A DViewGroupCompat.java109 * @return the layout mode to use during layout operations
125 * @param mode the layout mode to use during layout operations
129 public static void setLayoutMode(@NonNull ViewGroup group, int mode) { argument
131 group.setLayoutMode(mode);
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.cpp22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument
26 switch (mode) {
32 thiz->mMode = mode;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerDrm.h99 CryptoPlugin::Mode mode; member in struct:android::NuPlayerDrm::CryptoInfo
108 CryptoPlugin::Mode mode,
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp87 #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 Dd_plsf_3.cpp42 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 Dpstfilt.cpp94 #include "mode.h"
265 mode = AMR mode
313 enum Mode mode, // i : AMR mode
346 if (sub(mode, MR122) == 0 || sub(mode, MR102) == 0)
441 enum Mode mode, /* i : AMR mode */
474 if (mode
439 Post_Filter( Post_FilterState *st, enum Mode mode, Word16 *syn, Word16 *Az_4, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/
H A Damrnbdec_test.cpp105 // Read mode
106 uint8_t mode; local
107 bytesRead = fread(&mode, 1, 1, fpInput);
111 Frame_Type_3GPP frameType = (Frame_Type_3GPP)((mode >> 3) & 0x0f);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Damrencode.cpp56 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 Dspstproc.cpp102 mode -- enum Mode -- coder mode
174 enum Mode mode, /* i : coder mode */
205 if (mode != MR122)
172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument

Completed in 484 milliseconds

1234567891011>>