Searched defs:mode (Results 201 - 225 of 309) sorted by last modified time

1234567891011>>

/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp109 static void setHinting(JNIEnv* env, jobject paint, jint mode) { argument
112 mode == 0 ? SkPaint::kNo_Hinting : SkPaint::kSlight_Hinting);
H A DPorterDuff.cpp35 SkPorterDuff::Mode mode) {
36 return SkPorterDuff::CreateXfermode(mode);
34 CreateXfermode(JNIEnv* env, jobject, SkPorterDuff::Mode mode) argument
H A DShader.cpp465 SkShader* shaderA, SkShader* shaderB, SkXfermode* mode)
467 return new SkComposeShader(shaderA, shaderB, mode);
474 SkXfermode* mode = (SkXfermode*) au.get(); local
475 return new SkComposeShader(shaderA, shaderB, mode);
481 SkXfermode::Mode mode = SkPorterDuff::ToXfermodeMode(porterDuffMode); local
482 return new SkiaComposeShader(shaderA, shaderB, mode, shader);
489 SkiaShader* shaderA, SkiaShader* shaderB, SkXfermode* mode) {
492 if (!SkXfermode::IsMode(mode, &skiaMode)) {
464 ComposeShader_create1(JNIEnv* env, jobject o, SkShader* shaderA, SkShader* shaderB, SkXfermode* mode) argument
488 ComposeShader_postCreate1(JNIEnv* env, jobject o, SkShader* shader, SkiaShader* shaderA, SkiaShader* shaderB, SkXfermode* mode) argument
H A DXfermode.cpp35 U8CPU tolerance, SkAvoidXfermode::Mode mode)
37 return new SkAvoidXfermode(opColor, tolerance, mode);
34 avoid_create(JNIEnv* env, jobject, SkColor opColor, U8CPU tolerance, SkAvoidXfermode::Mode mode) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES10.cpp402 /* void glCullFace ( GLenum mode ) */
405 (JNIEnv *_env, jobject _this, jint mode) {
407 (GLenum)mode
553 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */
556 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) {
558 (GLenum)mode,
564 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
567 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) {
588 (GLenum)mode,
927 /* void glFrontFace ( GLenum mode ) */
404 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument
555 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument
566 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument
929 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument
1814 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument
2918 android_glMatrixMode__I(JNIEnv *_env, jobject _this, jint mode) argument
3322 android_glShadeModel__I(JNIEnv *_env, jobject _this, jint mode) argument
[all...]
H A Dandroid_opengl_GLES11.cpp466 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */
469 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) {
474 (GLenum)mode,
468 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
H A Dandroid_opengl_GLES11Ext.cpp144 /* void glBlendEquationOES ( GLenum mode ) */
147 (JNIEnv *_env, jobject _this, jint mode) {
149 (GLenum)mode
146 android_glBlendEquationOES__I(JNIEnv *_env, jobject _this, jint mode) argument
H A Dandroid_opengl_GLES20.cpp230 /* void glBlendEquation ( GLenum mode ) */
233 (JNIEnv *_env, jobject _this, jint mode) {
235 (GLenum)mode
533 /* void glCullFace ( GLenum mode ) */
536 (JNIEnv *_env, jobject _this, jint mode) {
538 (GLenum)mode
920 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */
923 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) {
925 (GLenum)mode,
931 /* void glDrawElements ( GLenum mode, GLsize
232 android_glBlendEquation__I(JNIEnv *_env, jobject _this, jint mode) argument
535 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument
922 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument
933 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
951 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument
1047 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument
4157 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument
[all...]
H A Dandroid_os_FileUtils.cpp37 jstring file, jint mode,
55 return chmod(file8.string(), mode) == 0 ? 0 : errno;
36 android_os_FileUtils_setPermissions(JNIEnv* env, jobject clazz, jstring file, jint mode, jint uid, jint gid) argument
H A Dandroid_os_Parcel.cpp374 jstring name, jint mode)
389 switch (mode&0x30000000) {
402 if (mode&0x08000000) flags |= O_CREAT;
403 if (mode&0x04000000) flags |= O_TRUNC;
404 if (mode&0x02000000) flags |= O_APPEND;
407 if (mode&0x00000001) realMode |= S_IROTH;
408 if (mode&0x00000002) realMode |= S_IWOTH;
605 // mode policy in sync for the libcore
373 android_os_Parcel_openFileDescriptor(JNIEnv* env, jclass clazz, jstring name, jint mode) argument
H A Dandroid_util_AssetManager.cpp117 jstring fileName, jint mode)
131 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM
132 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) {
133 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode");
137 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode);
211 jint mode)
225 if (mode != Asset::ACCESS_UNKNOWN && mode !
116 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument
208 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument
[all...]
H A Dandroid_util_Process.cpp708 const jint mode = formatData[fi]; local
709 if ((mode&PROC_PARENS) != 0) {
712 const char term = (char)(mode&PROC_TERM_MASK);
720 if ((mode&PROC_PARENS) != 0) {
736 if ((mode&PROC_COMBINE) != 0) {
743 //ALOGI("Field %d: %d-%d dest=%d mode=0x%x\n", i, start, end, di, mode);
745 if ((mode&(PROC_OUT_FLOAT|PROC_OUT_LONG|PROC_OUT_STRING)) != 0) {
748 if ((mode&PROC_OUT_FLOAT) != 0 && di < NR) {
752 if ((mode
[all...]
H A Dandroid_view_GLES20Canvas.cpp95 Caches::FlushMode mode) {
97 Caches::getInstance().flush(mode);
419 OpenGLRenderer* renderer, jint color, SkXfermode::Mode mode) {
420 renderer->drawColor(color, mode);
94 android_view_GLES20Canvas_flushCaches(JNIEnv* env, jobject clazz, Caches::FlushMode mode) argument
418 android_view_GLES20Canvas_drawColor(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, jint color, SkXfermode::Mode mode) argument
H A Dcom_android_internal_content_NativeLibraryHelper.cpp249 // Set the mode to 755
250 static const mode_t mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH; local
251 if (chmod(localTmpFileName, mode) < 0) {
H A Dcom_google_android_gles_jni_GLImpl.cpp530 /* void glCullFace ( GLenum mode ) */
533 (JNIEnv *_env, jobject _this, jint mode) {
535 (GLenum)mode
681 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */
684 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) {
686 (GLenum)mode,
692 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
695 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) {
716 (GLenum)mode,
1055 /* void glFrontFace ( GLenum mode ) */
532 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument
683 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument
694 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument
1057 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument
1942 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument
3046 android_glMatrixMode__I(JNIEnv *_env, jobject _this, jint mode) argument
3450 android_glShadeModel__I(JNIEnv *_env, jobject _this, jint mode) argument
4454 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
7271 android_glBlendEquation__I(JNIEnv *_env, jobject _this, jint mode) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/
H A DFwdLockGlue.c46 * @param[in] mode The access mode to use for the directories being created.
50 static int FwdLockGlue_CreateDirectories(const char *path, mode_t mode) { argument
61 if (mkdir(partialPath, mode) != 0 && errno != EEXIST) {
/frameworks/av/libvideoeditor/lvpp/
H A DDummyAudioSource.cpp124 ReadOptions::SeekMode mode; local
126 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
H A DPreviewPlayer.cpp1320 M4xVSS_MediaRendering mode,
1323 mRenderingMode = mode;
1319 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
H A DVideoEditorPlayer.cpp277 M4xVSS_MediaRendering mode,
281 return mPlayer->setMediaRenderingMode(mode, outputVideoSize);
276 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
H A DVideoEditorPreviewController.cpp918 // Apply the rendering mode
934 // Apply the rendering mode
1413 M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) {
1416 mRenderingMode = mode;
1412 setPreviewFrameRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
H A DVideoEditorSRC.cpp124 ReadOptions::SeekMode mode = ReadOptions::SEEK_PREVIOUS_SYNC; local
125 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
128 mSeekMode = mode;
214 ReadOptions::SeekMode mode = mSeekMode; local
215 options.setSeekTo(mSeekTimeUs, mode);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileCommon.c54 * @param fileModeAccess: (IN) File mode access
63 * @return M4ERR_FILE_BAD_MODE_ACCESS: the file mode access is not correct
75 M4OSA_Char mode[4] = ""; local
113 /* Read mode not set for the reader */
117 /* Read mode not set for the reader */
121 /* M4OSAfileReadOpen cannot be used with Write file mode access */
132 /* Write mode not set for the writer */
140 strncat((char *)mode, (const char *)pWriteString, (size_t)1);
141 strncat((char *)mode, (const char *)pPlusString, (size_t)1);
147 strncat((char *)mode, (cons
[all...]
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp153 MediaSource::ReadOptions::SeekMode mode; local
154 options->getSeekTo(&time_us, &mode);
155 if (mode != MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC) {
H A DVideoEditorVideoEncoder.cpp1218 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1226 pEncoderInterface, mode);
1284 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1286 pEncoderInterface, mode);
1290 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1292 pEncoderInterface, mode);
1296 M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode){
1298 pEncoderInterface, mode);
1216 VideoEditorVideoEncoder_getInterface(M4ENCODER_Format format, M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1283 VideoEditorVideoEncoder_getInterface_H263(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1289 VideoEditorVideoEncoder_getInterface_MPEG4(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
1295 VideoEditorVideoEncoder_getInterface_H264(M4ENCODER_Format* pFormat, M4ENCODER_GlobalInterface** pEncoderInterface, M4ENCODER_OpenMode mode) argument
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp138 PREPROC_CMD_DUAL_MIC_ENABLE = EFFECT_CMD_FIRST_PROPRIETARY, // enable dual mic mode
518 webrtc::EchoControlMobile::RoutingMode mode = webrtc::EchoControlMobile::kQuietEarpieceOrHeadset; local
526 mode = webrtc::EchoControlMobile::kEarpiece;
529 mode = webrtc::EchoControlMobile::kSpeakerphone;
536 aec->set_routing_mode(mode);

Completed in 198 milliseconds

1234567891011>>