Home
last modified time | relevance | path

Searched refs:cap (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/av/media/libmedia/
DMediaProfiles.cpp106 MediaProfiles::logVideoEncoderCap(const MediaProfiles::VideoEncoderCap& cap) in logVideoEncoderCap() argument
109 ALOGV("codec = %d", cap.mCodec); in logVideoEncoderCap()
110 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate); in logVideoEncoderCap()
111 ALOGV("frame width: min = %d and max = %d", cap.mMinFrameWidth, cap.mMaxFrameWidth); in logVideoEncoderCap()
112 ALOGV("frame height: min = %d and max = %d", cap.mMinFrameHeight, cap.mMaxFrameHeight); in logVideoEncoderCap()
113 ALOGV("frame rate: min = %d and max = %d", cap.mMinFrameRate, cap.mMaxFrameRate); in logVideoEncoderCap()
117 MediaProfiles::logAudioEncoderCap(const MediaProfiles::AudioEncoderCap& cap) in logAudioEncoderCap() argument
120 ALOGV("codec = %d", cap.mCodec); in logAudioEncoderCap()
121 ALOGV("bit rate: min = %d and max = %d", cap.mMinBitRate, cap.mMaxBitRate); in logAudioEncoderCap()
122 ALOGV("sample rate: min = %d and max = %d", cap.mMinSampleRate, cap.mMaxSampleRate); in logAudioEncoderCap()
[all …]
/frameworks/base/core/java/android/text/method/
DTextKeyListener.java70 public TextKeyListener(Capitalize cap, boolean autotext) { in TextKeyListener() argument
71 mAutoCap = cap; in TextKeyListener()
83 Capitalize cap) { in getInstance() argument
84 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
87 sInstance[off] = new TextKeyListener(cap, autotext); in getInstance()
111 public static boolean shouldCap(Capitalize cap, CharSequence cs, int off) { in shouldCap() argument
115 if (cap == Capitalize.NONE) { in shouldCap()
118 if (cap == Capitalize.CHARACTERS) { in shouldCap()
122 return TextUtils.getCapsMode(cs, off, cap == Capitalize.WORDS in shouldCap()
291 boolean cap = System.getInt(resolver, System.TEXT_AUTO_CAPS, 1) > 0; in updatePrefs()
[all …]
DMultiTapKeyListener.java60 public MultiTapKeyListener(Capitalize cap, in MultiTapKeyListener() argument
62 mCapitalize = cap; in MultiTapKeyListener()
71 Capitalize cap) { in getInstance() argument
72 int off = cap.ordinal() * 2 + (autotext ? 1 : 0); in getInstance()
75 sInstance[off] = new MultiTapKeyListener(cap, autotext); in getInstance()
DQwertyKeyListener.java44 private QwertyKeyListener(Capitalize cap, boolean autoText, boolean fullKeyboard) { in QwertyKeyListener() argument
45 mAutoCap = cap; in QwertyKeyListener()
50 public QwertyKeyListener(Capitalize cap, boolean autoText) { in QwertyKeyListener() argument
51 this(cap, autoText, false); in QwertyKeyListener()
58 public static QwertyKeyListener getInstance(boolean autoText, Capitalize cap) { in getInstance() argument
59 int off = cap.ordinal() * 2 + (autoText ? 1 : 0); in getInstance()
62 sInstance[off] = new QwertyKeyListener(cap, autoText); in getInstance()
DTouch.java133 boolean cap = (event.getMetaState() & KeyEvent.META_SHIFT_ON) != 0 in onTouchEvent()
140 if (cap) { in onTouchEvent()
/frameworks/native/opengl/libagl/
Dstate.cpp136 static void enable_disable(ogles_context_t* c, GLenum cap, int enabled) in enable_disable() argument
138 if ((cap >= GL_LIGHT0) && (cap<GL_LIGHT0+OGLES_MAX_LIGHTS)) { in enable_disable()
139 c->lighting.lights[cap-GL_LIGHT0].enable = enabled; in enable_disable()
140 c->lighting.enabledLights &= ~(1<<(cap-GL_LIGHT0)); in enable_disable()
141 c->lighting.enabledLights |= (enabled<<(cap-GL_LIGHT0)); in enable_disable()
145 switch (cap) { in enable_disable()
166 c->transforms.rescaleNormals = enabled ? cap : 0; in enable_disable()
176 c->clipPlanes.enable &= ~(1<<(cap-GL_CLIP_PLANE0)); in enable_disable()
177 c->clipPlanes.enable |= (enabled<<(cap-GL_CLIP_PLANE0)); in enable_disable()
193 c->rasterizer.procs.enableDisable(c, cap, enabled); in enable_disable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaProfileReader.java106 for (VideoEncoderCap cap: videoEncoders) { in getMinOrMaxFrameRateForCodec()
107 if (cap.mCodec == codec) { in getMinOrMaxFrameRateForCodec()
108 if (max) return cap.mMaxFrameRate; in getMinOrMaxFrameRateForCodec()
109 else return cap.mMinFrameRate; in getMinOrMaxFrameRateForCodec()
/frameworks/av/include/media/
DMediaProfiles.h391 static void logVideoEncoderCap(const VideoEncoderCap& cap);
392 static void logAudioEncoderCap(const AudioEncoderCap& cap);
393 static void logVideoDecoderCap(const VideoDecoderCap& cap);
394 static void logAudioDecoderCap(const AudioDecoderCap& cap);
395 static void logVideoEditorCap(const VideoEditorCap& cap);
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp108 jobject cap = env->NewObject(videoEncoderCapClazz, in android_media_MediaProfiles_native_get_video_encoder_cap() local
115 return cap; in android_media_MediaProfiles_native_get_video_encoder_cap()
155 jobject cap = env->NewObject(audioEncoderCapClazz, in android_media_MediaProfiles_native_get_audio_encoder_cap() local
161 return cap; in android_media_MediaProfiles_native_get_audio_encoder_cap()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL11Ext.java115 int cap in glEnable() argument
DGL10.java426 int cap in glDisable() argument
447 int cap in glEnable() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.1ext10 void glEnable ( GLenum cap )
Dglspec-1.1extpack12 void glEnable ( GLint cap )
Dglspec-1.127 GLboolean glIsEnabled ( GLenum cap )
Dglspec-1.027 void glDisable ( GLenum cap )
31 void glEnable ( GLenum cap )
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in196 void API_ENTRY(glDisable)(GLenum cap) {
197 CALL_GL_API(glDisable, cap);
208 void API_ENTRY(glEnable)(GLenum cap) {
209 CALL_GL_API(glEnable, cap);
286 GLboolean API_ENTRY(glIsEnabled)(GLenum cap) {
287 CALL_GL_API_RETURN(glIsEnabled, cap);
/frameworks/base/libs/hwui/
DPathTessellator.cpp97 style(paint->getStyle()), cap(paint->getStrokeCap()), isAA(paint->isAntiAlias()), in PaintInfo()
120 SkPaint::Cap cap; member
151 if (cap == SkPaint::kRound_Cap) { in capExtraDivisions()
410 if (paintInfo.cap != SkPaint::kRound_Cap) { in storeCapAA()
419 if (paintInfo.cap == SkPaint::kSquare_Cap) { in storeCapAA()
434 bool isRound = paintInfo.cap == SkPaint::kRound_Cap; in storeCapAA()
DPathCache.cpp46 cap(SkPaint::kDefault_Cap), in PathDescription()
57 cap(paint->getStrokeCap()), in PathDescription()
68 hash = JenkinsHashMix(hash, cap); in hash()
/frameworks/native/opengl/libs/GLES2/
Dgl2_api.in115 void API_ENTRY(glDisable)(GLenum cap) {
116 CALL_GL_API(glDisable, cap);
127 void API_ENTRY(glEnable)(GLenum cap) {
128 CALL_GL_API(glEnable, cap);
247 GLboolean API_ENTRY(glIsEnabled)(GLenum cap) {
248 CALL_GL_API_RETURN(glIsEnabled, cap);
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp127 CodecCapabilities cap = caps[j]; in isYUV420PlanarSupported() local
128 for (size_t i = 0; i < cap.mColorFormats.size(); ++i) { in isYUV420PlanarSupported()
129 if (cap.mColorFormats[i] == OMX_COLOR_FormatYUV420Planar) { in isYUV420PlanarSupported()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES20.spec39 void glDisable ( GLenum cap )
44 void glEnable ( GLenum cap )
84 GLboolean glIsEnabled ( GLenum cap )
DGLES10.spec27 void glDisable ( GLenum cap )
31 void glEnable ( GLenum cap )
DGLES11.spec29 GLboolean glIsEnabled ( GLenum cap )
/frameworks/base/opengl/java/android/opengl/
DGLES20.java660 int cap in glDisable() argument
698 int cap in glEnable() argument
1252 int cap in glIsEnabled() argument
DGLErrorWrapper.java243 public void glDisable(int cap) { in glDisable() argument
245 mgl.glDisable(cap); in glDisable()
267 public void glEnable(int cap) { in glEnable() argument
269 mgl.glEnable(cap); in glEnable()
1218 public boolean glIsEnabled(int cap) { in glIsEnabled() argument
1220 boolean valid = mgl11.glIsEnabled(cap); in glIsEnabled()

123